CN106993281B - Json-based charging method and system for short message transaction event - Google Patents
Json-based charging method and system for short message transaction event Download PDFInfo
- Publication number
- CN106993281B CN106993281B CN201710207371.0A CN201710207371A CN106993281B CN 106993281 B CN106993281 B CN 106993281B CN 201710207371 A CN201710207371 A CN 201710207371A CN 106993281 B CN106993281 B CN 106993281B
- Authority
- CN
- China
- Prior art keywords
- json
- instruction set
- payment
- sending
- charging
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a json-based short message transaction event charging method and a system, wherein the json-based short message transaction event charging method comprises the following steps: s1, sending a payment request of the game item expense; s2, responding the payment request and prompting to confirm payment information; s3, confirming the payment information, uploading client information, and requesting to obtain a json instruction set; s4, analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result; s5, after executing json task flow, judging whether the charging is finished upstream, if so, sending a charging log upstream, and returning a result; and S6, according to the returned result, the game prop is issued only to the game account. The invention can master the payment condition of the user in real time, avoid the occurrence of information delay, reduce the complicated operation amount of the user, improve the payment efficiency, realize the payment safety and realize the real-time information through Log record.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a json-based short message transaction event charging method and system.
Background
Today, more and more people use mobile phones to replace computers to perform office, game, business contact and other operations, and on the basis, many high-quality stand-alone games are derived, and the stand-alone games are diversified. Is very suitable for the fast-paced life of mobile interconnection. However, the existing billing method for the stand-alone game has the problems of low efficiency and profit loss.
Specifically, the existing billing method for the stand-alone game only depends on the callback result of the operator, the current billing efficiency cannot be known in real time, and the quality judgment of the game also becomes a difficult problem. Meanwhile, the traditional charging generally belongs to the separation of short message sending and android broadcast receiving, so that the current game property payment condition cannot be recorded in detail in the task execution process, and further the actual charging efficiency cannot be mastered.
In view of the above, there is a need for further solutions to the above problems.
Disclosure of Invention
The invention aims to provide a json-based short message transaction event charging method and a json-based short message transaction event charging system, so as to overcome the defects in the prior art.
In order to achieve the above object, the present invention provides a json-based method for charging short message transaction events, which comprises the following steps:
s1, sending a payment request of the game item expense;
s2, responding the payment request and prompting to confirm payment information;
s3, confirming the payment information, uploading client information, and requesting to obtain a json instruction set;
s4, analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result;
s5, after executing json task flow, judging whether the charging is finished upstream, if so, sending a charging log upstream, and returning a result;
and S6, according to the returned result, the game item is issued to the game account.
As an improvement of the json-based charging method for the short message transaction event, in step S2, the payment information includes one or a combination of several of payment amount, game item name, actually paid-out game item, and game currency amount.
As an improvement of the json-based charging method for short message transaction events, in step S3, the client information includes: operator information, payment amount, and current data network condition parameters.
As an improvement of the json-based charging method for the short message transaction event, the step S3 further includes: and verifying the legality of the obtained json instruction set, if the obtained json instruction set is legal, analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result.
As an improvement of the json-based charging method for short message transaction events, in S4, the task flow is one or a combination of several of the following task types: directly sending short messages, sending verification code short messages, sending content analysis short messages, sending binary short messages and charging web pages.
In order to achieve the above object, the present invention provides a json-based charging system for short message transaction events, which comprises: the payment system comprises a payment request module, a prompt module, an instruction set receiving module, an analysis execution module, a judgment module and a distribution module;
the payment request module is configured to: sending a payment request of the game item expense;
the prompt module is used for: responding the payment request and prompting to confirm payment information;
the instruction set receiving module is to: confirming the payment information, uploading client information, and requesting to acquire a json instruction set;
the analysis execution module is used for: analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result;
the judging module is used for: after executing the json task flow, judging whether the charging is finished or not upstream, if so, sending a charging log upstream, and returning a result;
the issuing module is used for: and issuing the game prop to the game account according to the return result.
As an improvement of the json-based charging system for the short message transaction events, in the instruction set receiving module, the payment information comprises one or a combination of several of payment amount, game item name, actually-paid game item and game currency amount.
As an improvement of the json-based charging system for short message transaction events, in the instruction set receiving module, the client information includes: operator information, payment amount, and current data network condition parameters.
As an improvement of the json-based short message transaction event charging system of the present invention, the instruction set receiving module is further configured to: and verifying the legality of the obtained json instruction set, if the obtained json instruction set is legal, analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result.
As an improvement of the json-based charging system for short message transaction events, in the analysis execution module, the task flow is one or a combination of several of the following task types: directly sending short messages, sending verification code short messages, sending content analysis short messages, sending binary short messages and charging web pages.
Compared with the prior art, the invention has the beneficial effects that: the json-based charging method and system for the short message transaction event can master the payment condition of the user in real time, avoid information delay, reduce the complicated operation amount of the user, improve the payment efficiency, realize payment safety and realize information real-time through Log record.
Drawings
Fig. 1 is a schematic diagram illustrating a method principle of an embodiment of a json-based short message transaction event charging method according to the present invention;
fig. 2 is a schematic block diagram of a system for charging for json-based short message transaction events according to an embodiment of the present invention.
Detailed Description
The present invention is described in detail with reference to the embodiments shown in the drawings, but it should be understood that these embodiments are not intended to limit the present invention, and those skilled in the art should understand that functional, methodological, or structural equivalents or substitutions made by these embodiments are within the scope of the present invention.
As shown in fig. 1, the json-based charging method for short message transaction events of the present invention includes the following steps:
and S1, sending a payment request of the game item cost.
Wherein, the payment request is sent, so that the user sends the payment request of the game prop fee through a payment bullet box in the mobile phone game.
And S2, responding the payment request and prompting to confirm payment information.
And carrying out secondary confirmation on the payment information through the popup box according to a payment request sent by the user. Specifically, the payment information includes one or a combination of several of payment amount, game item name, actual account-arrived game item, and game currency amount.
And S3, confirming the payment information, uploading client information, and requesting to acquire a json instruction set.
Wherein the client information includes: operator information, payment amount, and current data network condition parameters. Namely, the operator information of the user's mobile phone, the amount actually paid by the user, and the current data network condition parameters of the user. Further, the json instruction set is based on the json specification, which is stored in an upstream server. In order to ensure the security of the transaction, the validity of the obtained json instruction set needs to be verified, and if the obtained json instruction set is legal, the obtained json instruction set is analyzed, and the json task flow in the json instruction set is executed in sequence according to an analysis result.
And S4, analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result.
Wherein the json task stream has a plurality of task types. Specifically, the task flow is one or a combination of several of the following task types: directly sending short messages, sending verification code short messages, sending content analysis short messages, sending binary short messages and charging web pages. Therefore, by executing the task in the json instruction set, the payment condition of the user can be mastered, the occurrence of information delay is avoided, the complicated operation amount of the user is reduced, and the payment efficiency is improved. The method overcomes the defect that the current game prop payment condition cannot be recorded in detail in the task execution process due to the separation of the short message sending and the android broadcast receiving in the prior art.
And S5, after executing the json task flow, judging whether the charging is finished upstream, if so, sending the charging log upstream, and returning the result.
And S6, according to the returned result, the game item is issued to the game account.
In steps S5 and S6, after executing the json task flow, the upstream server determines whether to complete the charging, at this time, the operator analyzes the result of the order, and if successful, issues a prop to the specified account, thereby completing the entire process. Meanwhile, real-time information is realized through Log recording.
As shown in fig. 2, according to the json-based charging method for short message transaction events, the present invention further provides a json-based charging system for short message transaction events, which includes: payment request module 10, prompt module 20, instruction set receiving module 30, parsing execution module 40, determination module 50, and issuing module 60.
The payment request module 10 is configured to: sending a payment request of the game item expense;
the prompt module 20 is configured to: and responding to the payment request and prompting to confirm payment information.
The instruction set receiving module 30 is configured to: and confirming the payment information, uploading client information, and requesting to acquire a json instruction set. The payment information comprises one or more of payment amount, game item name, actual account-arriving game item and game currency amount. The client information includes: operator information, payment amount, and current data network condition parameters.
And verifying the legality of the obtained json instruction set, if the obtained json instruction set is legal, analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result.
The parsing execution module 40 is configured to: analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result. The task flow is one or a combination of several of the following task types: directly sending short messages, sending verification code short messages, sending content analysis short messages, sending binary short messages and charging web pages.
The determining module 50 is configured to: after executing the json task flow, judging whether the charging is finished or not upstream, if so, sending a charging log upstream, and returning a result;
the issuing module 60 is configured to: and issuing the game prop to the game account according to the return result.
In summary, the json-based charging method and system for short message transaction events can grasp the payment condition of the user in real time, avoid the occurrence of information delay, reduce the complicated operation amount of the user, improve the payment efficiency, realize the payment safety and realize the real-time information through Log records.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.
Claims (8)
1. A json-based short message transaction event charging method is characterized by comprising the following steps:
s1, sending a payment request of the game item expense;
s2, responding the payment request and prompting to confirm payment information;
s3, confirming the payment information, uploading client information, and requesting to obtain a json instruction set;
s4, analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result, wherein the task flows are one or a combination of several of the following task types: directly sending short messages, sending verification code short messages, sending content analysis short messages, sending binary short messages and charging web pages;
s5, after executing json task flow, judging whether the charging is finished upstream, if so, sending a charging log upstream, and returning a result;
and S6, according to the returned result, the game item is issued to the game account.
2. The json-based method for charging for short message transaction events as claimed in claim 1, wherein in step S2, the payment information comprises one or more of payment amount, game item name, actual account-arrived game item, and game currency amount.
3. The json-based charging method for short message transaction events as claimed in claim 1, wherein in the step S3, the client information includes: operator information, payment amount, and current data network condition parameters.
4. The json-based charging method for short message transaction events as claimed in claim 1, wherein the step S3 further comprises: and verifying the legality of the obtained json instruction set, if the obtained json instruction set is legal, analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result.
5. A json-based charging system for short message transaction events is characterized in that the charging system comprises: the payment system comprises a payment request module, a prompt module, an instruction set receiving module, an analysis execution module, a judgment module and a distribution module;
the payment request module is configured to: sending a payment request of the game item expense;
the prompt module is used for: responding the payment request and prompting to confirm payment information;
the instruction set receiving module is to: confirming the payment information, uploading client information, and requesting to acquire a json instruction set;
the analysis execution module is used for: analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result, wherein the task flows are one or a combination of several of the following task types: directly sending short messages, sending verification code short messages, sending content analysis short messages, sending binary short messages and charging web pages;
the judging module is used for: after executing the json task flow, judging whether the charging is finished or not upstream, if so, sending a charging log upstream, and returning a result;
the issuing module is used for: and issuing the game prop to the game account according to the return result.
6. The json-based short message transaction event billing system of claim 5 wherein the payment information in the instruction set receiving module comprises one or a combination of payment amount, game item name, actual account-arriving game item, game currency amount.
7. The json-based short message transaction event charging system of claim 5, wherein in the instruction set receiving module, the client information comprises: operator information, payment amount, and current data network condition parameters.
8. The json-based short message transaction event charging system of claim 5, wherein the instruction set receiving module is further configured to: and verifying the legality of the obtained json instruction set, if the obtained json instruction set is legal, analyzing the obtained json instruction set, and sequentially executing json task flows in the json instruction set according to an analysis result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710207371.0A CN106993281B (en) | 2017-03-31 | 2017-03-31 | Json-based charging method and system for short message transaction event |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710207371.0A CN106993281B (en) | 2017-03-31 | 2017-03-31 | Json-based charging method and system for short message transaction event |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106993281A CN106993281A (en) | 2017-07-28 |
CN106993281B true CN106993281B (en) | 2020-05-22 |
Family
ID=59415823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710207371.0A Active CN106993281B (en) | 2017-03-31 | 2017-03-31 | Json-based charging method and system for short message transaction event |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106993281B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102536A (en) * | 2007-07-09 | 2008-01-09 | 康佳集团股份有限公司 | Statistical method of SMS pricing information |
CN101527018A (en) * | 2009-04-10 | 2009-09-09 | 吴淑容 | Method for dealing virtual objects in network game |
CN102421079A (en) * | 2010-09-27 | 2012-04-18 | 中国电信股份有限公司 | On-line game content billing realization system and method as well as billing platform |
CN105184559A (en) * | 2015-08-18 | 2015-12-23 | 中国联合网络通信集团有限公司 | System and method for payment |
CN105844467A (en) * | 2016-04-22 | 2016-08-10 | 北京展鸿软通科技股份有限公司 | Mobile phone game payment server, payment method and payment system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8311940B2 (en) * | 2010-03-29 | 2012-11-13 | Gary Stephen Shuster | Conditional balance management for non-issuer debit instruments |
-
2017
- 2017-03-31 CN CN201710207371.0A patent/CN106993281B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102536A (en) * | 2007-07-09 | 2008-01-09 | 康佳集团股份有限公司 | Statistical method of SMS pricing information |
CN101527018A (en) * | 2009-04-10 | 2009-09-09 | 吴淑容 | Method for dealing virtual objects in network game |
CN102421079A (en) * | 2010-09-27 | 2012-04-18 | 中国电信股份有限公司 | On-line game content billing realization system and method as well as billing platform |
CN105184559A (en) * | 2015-08-18 | 2015-12-23 | 中国联合网络通信集团有限公司 | System and method for payment |
CN105844467A (en) * | 2016-04-22 | 2016-08-10 | 北京展鸿软通科技股份有限公司 | Mobile phone game payment server, payment method and payment system |
Also Published As
Publication number | Publication date |
---|---|
CN106993281A (en) | 2017-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113706091B (en) | Intelligent remote auditing method, device, system, computer equipment and storage medium | |
US20170148021A1 (en) | Homogenization of online flows and backend processes | |
EP3399441A1 (en) | Copyright authorisation management method and system | |
CN114997977B (en) | Data processing method, device, electronic equipment and computer readable medium | |
CN111523817B (en) | Order business processing method, device, equipment and medium based on big data | |
CN112915548B (en) | Data processing method, device, equipment and storage medium of multimedia playing platform | |
CN109166040B (en) | Transaction auditing method, device, equipment and storage medium based on block chain | |
CN101860835B (en) | Value added service payment method and system | |
CN104933207A (en) | Method and system for acquiring user behavior data in application | |
CN103236005A (en) | Detection, evaluation and prevention method for e-commerce risky payments | |
US20160149918A1 (en) | Secure information interaction method for electronic resources transfer | |
CN107748952A (en) | Prestige checking method, device and storage medium based on consumer's risk control | |
WO2017133028A1 (en) | Passenger ticket changing system and method | |
CN113822669A (en) | Method and system for selling wealth management products | |
CN110827124B (en) | Method for realizing tourism-first and payment-later product, composition system and electronic equipment | |
CN111541819A (en) | Harvesting accelerating method and system | |
CN112492533A (en) | 5G rich media message pushing method and device based on block chain technology | |
CN108242021B (en) | Accounting data processing system, method and device | |
CN107203713A (en) | Verification code generation method and device | |
CN106993281B (en) | Json-based charging method and system for short message transaction event | |
CN118521349A (en) | Information processing method, information processing device, computer storage medium and electronic equipment | |
CN113487360A (en) | Data processing method, system and storage medium for coupon management system | |
CN111160960A (en) | Service promotion method and device based on electronic red packet, computer equipment and readable storage medium | |
CN117575693A (en) | Carbon-plague platform and carbon-plague Hui Jitong | |
CN109658083A (en) | Memory, broadband payment method, device and equipment based on WeChat applet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |