CN105184559A - System and method for payment - Google Patents

System and method for payment Download PDF

Info

Publication number
CN105184559A
CN105184559A CN201510508271.2A CN201510508271A CN105184559A CN 105184559 A CN105184559 A CN 105184559A CN 201510508271 A CN201510508271 A CN 201510508271A CN 105184559 A CN105184559 A CN 105184559A
Authority
CN
China
Prior art keywords
payment
mark
information
user
request
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.)
Granted
Application number
CN201510508271.2A
Other languages
Chinese (zh)
Other versions
CN105184559B (en
Inventor
李�浩
罗云彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201510508271.2A priority Critical patent/CN105184559B/en
Publication of CN105184559A publication Critical patent/CN105184559A/en
Application granted granted Critical
Publication of CN105184559B publication Critical patent/CN105184559B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/325Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wireless networks
    • G06Q20/3255Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wireless networks using mobile network messaging services for payment, e.g. SMS

Abstract

The invention discloses a system and a method for payment, and relates to the technical field of mobile Internet. The system and the method are invented for solving problems in the prior art that time delay of mobile payment is relatively long. The payment method comprises: a payment platform server receiving a payment request sent by an APP client; if the payment request carries a payment identification, the payment platform server analyzing the payment request to obtain user information, and sending the payment identification to an authentication server; the authentication server obtaining information of a target user corresponding to the payment identification according to the payment identification, and sending the information of the target user to the payment platform server, the information of the target user being obtained by user internet original records of interfaces between a SGSN and a GGSN; the payment platform server comparing the information of the target user with the user information obtained by analysis, and if the information is consistent, returning a transaction successful message to the APP client. The system and the method are applied in a process of mobile payment in APP clients of mobile phones.

Description

A kind of payment system and method
Technical field
The present invention relates to mobile internet technical field, particularly relate to a kind of payment system and method.
Background technology
Along with the development of development of Mobile Internet technology, increasing user carries out shopping online by mobile terminals such as mobile phones.Such as: the application program (Application such as sky cat, Jingdone district are installed on the mobile terminals such as mobile phone, APP) client, user just can use mounted APP client by picking commodities, filling in order, carry out the steps such as mobile payment and complete and once conclude the business.
At present, in order to the security of the process of guaranteeing payment, conventional payment flow is: user profile is sent to payment platform server by the mode of encryption by (1) APP client, and wherein this user profile comprises the phone number of user.(2 payment platform servers obtain the user profile comprising the phone number of user by deciphering.(3) payment platform server stochastic generation one group of random digit for current transaction preserving, and be sent to user mobile phone with the form of note.(4) user manually input mode random digit is filled up in APP client, and be equally sent to payment platform server in the mode of encryption.(5) random digit received and local random digit of preserving compare by payment platform server, if consistent, think that this transaction is true sale, return transaction successful message to APP client.
The existing this modes of payments of being carried out transaction authentication by short message verification code, although the security of process of can guaranteeing payment, but be the increase in and receive the process that note fills in identifying code, and the problem of the time delay due to obstruction may be there is in the transmission of note, user may can not receive note for a long time, and thus this modes of payments is consuming time longer.
Summary of the invention
The embodiment of the present invention provides a kind of payment system and method, the longer problem consuming time of the process for solving the mobile payment existed in prior art.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of payment system, comprises payment platform server and authentication server, wherein:
Described payment platform server, for receiving the payment request that application A PP client sends;
When carrying payment mark in described payment request, resolving described payment request to obtain user profile, and sending described payment mark to described authentication server;
Described authentication server, for identifying according to described payment, obtain and identify corresponding targeted customer's information with described payment and send described targeted customer's information to described payment platform server, described targeted customer's information is that the user of the interface of basis between Serving GPRS Support Node SGSN and Gateway GPRS Support Node GGSN raw readings of surfing the Net obtains;
Described payment platform server, the described user profile also for described targeted customer's information and parsing being obtained compares, if unanimously, then returns transaction successful message to described APP client.
A kind of method of payment, comprising:
Payment platform server receives the payment request that application A PP client sends;
If carry in described payment request and pay mark, then the request that pays described in described payment platform server parses to obtain user profile, and sends described payment mark to authentication server;
Described authentication server identifies according to described payment, obtain and identify corresponding targeted customer's information with described payment and send described targeted customer's information to described payment platform server, described targeted customer's information is that the user of the interface of basis between Serving GPRS Support Node SGSN and Gateway GPRS Support Node GGSN raw readings of surfing the Net obtains;
The described user profile that described targeted customer's information and parsing obtain compares by described payment platform server, if unanimously, then returns transaction successful message to described APP client.
Payment system provided by the invention and method, when payment platform server receives the payment request of APP client transmission, on the one hand, by resolving user profile corresponding to this this payment request of payment acquisition request, on the other hand, payment platform server is sent to authentication platform by paying the payment mark of carrying in request, authentication platform obtains user profile corresponding to this payment request according to this payment mark, and due to this user profile be acquire according to interface between GGSN and SGSN, thus be real user profile, and this real user profile is back to payment platform server, self can be resolved the user profile obtained and compare with the real user profile received by payment platform server, when only having comparison result eligible, just send transaction successful message to APP client, with prior art, need this step of transmission increasing note, and may exist due to send block and time delay is compared, method of payment provided by the invention can reduce the flow process receiving note, the input of short message verification code is carried out without the need to user, realized the authentication process of mobile payment by backstage, the consuming time of mobile payment can be reduced.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The structural representation of a kind of payment system that Fig. 1 provides for the embodiment of the present invention;
The structural representation of the another kind of payment system that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of method of payment that Fig. 3 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of method of payment that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 to be surfed the Net raw readings stored the schematic flow sheet forming final user profile by screening for collection user that the embodiment of the present invention provides;
Transforming relationship schematic diagram between the UUID that Fig. 6 provides for the embodiment of the present invention and Hash codes;
The schematic flow sheet of another method of payment that Fig. 7 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the present embodiment, be clearly and completely described the technical scheme in the present embodiment, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of payment system, as shown in Figure 1, comprise payment platform server 101 and authentication server 102, wherein:
Described payment platform server 101, for receiving the payment request that application A PP client sends.
When carrying payment mark in described payment request, resolving described payment request to obtain user profile, and sending described payment mark to described authentication server 102.
Described authentication server 102, for identifying according to described payment, obtain and identify corresponding targeted customer's information with described payment and send described targeted customer's information to described payment platform server 101, described targeted customer's information is that the user of the interface of basis between Serving GPRS Support Node SGSN and Gateway GPRS Support Node GGSN raw readings of surfing the Net obtains.
Described payment platform server 101, the described user profile also for described targeted customer's information and parsing being obtained compares, if unanimously, then returns transaction successful message to described APP client.
Further, described payment platform server 101 also for, receive the payment mark that APP client sends and obtain request;
Generate according to preset rules and pay mark, each described payment mark is used for mark and once pays request;
Described payment mark is returned to described APP client.
Further, as shown in Figure 2, described system also comprises collecting device 201 and streaming real-time processing devices 202, wherein:
Described collecting device 201, is sent described user to surf the Net raw readings for being obtained every bar user raw readings co-current flow formula real-time processing devices 202 of surfing the Net by the interface between described SGSN and described GGSN.
Described streaming real-time processing devices 202, to surf the Net the uniform resource position mark URL field of raw readings for obtaining user described in every bar;
When described url field comprise pay mark time, obtain described pay mark value and with the described user profile paying user corresponding to the url field that identifies place and surf the Net in raw readings;
The value of described payment mark and described user profile is sent to described authentication server 102.
Described authentication server 102, also forms Hash codes for the described value paying mark is carried out Hash coding and is stored in internal memory with the form of Hash code table;
Identify corresponding user profile be stored in internal memory with the form of hash table by described payment mark and with described payment.
Further, described authentication server 102, also for according to described payment mark, searches in described Hash code table and whether stores the described Hash codes paying mark correspondence;
If existed, then obtain from described hash table and identify corresponding targeted customer's information with described payment.
Payment system provided by the invention, when payment platform server receives the payment request of APP client transmission, on the one hand, by resolving user profile corresponding to this this payment request of payment acquisition request, on the other hand, payment platform server is sent to authentication platform by paying the payment mark of carrying in request, authentication platform obtains user profile corresponding to this payment request according to this payment mark, and due to this user profile be acquire according to interface between GGSN and SGSN, thus be real user profile, and this real user profile is back to payment platform server, self can be resolved the user profile obtained and compare with the real user profile received by payment platform server, when only having comparison result eligible, just send transaction successful message to APP client, with prior art, need this step of transmission increasing note, and may exist due to send block and time delay is compared, method of payment provided by the invention can reduce the flow process receiving note, the input of short message verification code is carried out without the need to user, realized the authentication process of mobile payment by backstage, the consuming time of mobile payment can be reduced.
The embodiment of the present invention additionally provides a kind of method of payment, is applied to the payment system shown in above-mentioned Fig. 1 and Fig. 2, and as shown in Figure 3, described method comprises:
301: payment platform server receives the payment request that application A PP client sends.
Wherein, in the present embodiment, the payment platform of indication is " middleware " that carry out in both parties' process of exchange of shopping online, is alternatively " technology plug-in ", is the independent agency ensureing both parties' interests under banking supervision.Such as: Alipay, Wealth tong etc.
In the present embodiment, application program (Application, the APP) client of indication refers to that the APP for mobile payment be arranged in user mobile phone applies, as store, Jingdone district, sky cat etc.
APP client is the initiator paying request, and payment platform server is the take over party paying request, mutual by carrying out after information encryption waiting for transmission by privately owned cryptographic protocol between the two.
302: pay mark if carried in described payment request, then the request that pays described in described payment platform server parses to obtain user profile, and sends described payment mark to authentication server.
In the embodiment of the present invention, in order to distinguish different payment request, payment request and the request of other types, need in URL(uniform resource locator) (UniformResourceLocator, the URL) address of payment request, carry payment mark.Pay mark and have uniqueness, each payment mark only once pays request for representing.
In this step, the relevant information (user profile) of the mobile-phone payment user of indication at least comprises cell-phone number, for identifying mobile phone and having mobile device international identity code (InternationalMobileEquipmentIdentity, IMEI) of uniqueness and pay the request initiation time.
In addition, also may comprise for identifying Mobile phone card and there is the international mobile subscriber identity (InternationalMobileSubscriberIdentificationNumber of uniqueness in this user profile, IMSI) and the attribute information of APP client, such as: the application identities etc. of APP client.
Only processing carrying the payment request paying mark in this step, paying mark if pay in request not carry, then not processing this payment request.
303: described authentication server identifies according to described payment, obtain and identify corresponding targeted customer's information with described payment and send described targeted customer's information to described payment platform server.
Wherein, described targeted customer's information is obtain according to the user of interface between Serving GPRS Support Node SGSN and Gateway GPRS Support Node GGSN raw readings of surfing the Net.
Wherein, targeted customer's information of indication, as shown in following table table 1, comprises 5 fields.
Table 1
The content of above-mentioned 5 fields is by being positioned at Serving GPRS Support Node (ServingGPRSSupportNode, SGSN) gn interface and between Gateway GPRS Support Node (GatewayGPRSSupportNode, GGSN) gathers user and to surf the Net original recorded data obtaining after screening.
The user that Gn mouth collects surf the Net raw readings contain every bar pay request whole relevant informations, totally 22 fields, above-mentioned 5 fields are a part wherein.Because this user surfs the Net raw readings for from bottom link acquisition, be thus real user profile, there is not the possibility of forgery.
304: the described user profile that described targeted customer's information and parsing obtain compares by described payment platform server, if unanimously, then returns transaction successful message to described APP client.
APP client is when sending payment request to payment platform server, pay the information of part field in the information or above-mentioned 5 fields carrying above-mentioned 5 fields in request, owing to paying request based on HTML (Hypertext Markup Language) (HyperTextTransferProtocol, HTTP) agreement, above 5 fields all belong to can edit field in http bag, therefore when APP client place terminal is poisoning or carry out simulation group bag by other-end, can produce " vacation is asked " identical with normally paying request content, so there is the possibility of forging in the content comprised in above-mentioned payment request.
Therefore, in this step payment platform server need by real user profile with resolve the existence that obtains and forge possible user profile and compare; Only have when resolving the user profile obtained and being consistent with real user profile, just return transaction successful message to APP client.
Relatively time, " cell-phone number " and " IMEI " two fields are necessary completely the same, and any one does not conform to, and is judged to be the request of forging; In addition, owing to there is the problems such as network delay, resolving the payment request initiation time included in the user profile that obtains may be not quite identical with the content of " start time " field that gets in targeted customer's information.Collect user corresponding to the request of payment from Gn mouth to surf the Net the information of raw readings because the start time refers to, thus it is more late than resolving the payment request initiation time obtained, if there is such relation, then shows consistent therebetween; Otherwise, show inconsistent.In addition, if the content that parsing obtains also comprises the attribute information of IMSI and APP client, then judge whether completely the same.
Method of payment provided by the invention, when payment platform server receives the payment request of APP client transmission, on the one hand, by resolving user profile corresponding to this this payment request of payment acquisition request, on the other hand, payment platform server is sent to authentication platform by paying the payment mark of carrying in request, authentication platform obtains user profile corresponding to this payment request according to this payment mark, and due to this user profile be acquire according to interface between GGSN and SGSN, thus be real user profile, and this real user profile is back to payment platform server, self can be resolved the user profile obtained and compare with the real user profile received by payment platform server, when only having comparison result eligible, just send transaction successful message to APP client, with prior art, need this step of transmission increasing note, and may exist due to send block and time delay is compared, method of payment provided by the invention can reduce the flow process receiving note, the input of short message verification code is carried out without the need to user, realized the authentication process of mobile payment by backstage, the consuming time of mobile payment can be reduced.
In addition, in prior art, in order to improve Consumer's Experience, some application program is when adopting short-message verification, certain authority can be obtained, and then the automatic short message content reading user mobile phone and receive, save the step that user inputs short message verification code, but in this process automatically read, if some malicious application obtains the highest weight limit of user mobile phone, such as: root authority, then other user profile may be obtained, the security thus cannot guaranteed payment in process.And the modes of payments that the embodiment of the present invention provides, the targeted customer's information used when carrying out authentication is real user profile, the reliability that authentication can ensure authenticating result is carried out based on real user profile, there is not the process obtaining certain authority and then read the user profile on mobile phone, the security of process of thus can guaranteeing payment.
Supplementing as method shown in Fig. 3, before step 301 " described payment platform server receives the payment request that application A PP client sends ", as shown in Figure 4, described method also comprises:
401: described payment platform server receives the payment mark acquisition request that APP client sends.
In prior art, after user uses APP client to fill in payment information and clicks submit operation, just can trigger APP send to payment platform server the request of payment.Unlike the prior art, send when user uses APP client to click can't to trigger APP immediately after submit operation the request of payment in the embodiment of the present invention, but trigger APP and sent by defined good proprietary protocol and obtain the request that pays mark and return payment mark for representing this transaction record to make payment platform server.
402: described payment platform server generates according to preset rules and pays mark, each described payment mark is used for mark and once pays request.
In a kind of implementation paying mark, the payment of indication is designated general unique identifier (UniversallyUniqueIdentifier, UUID).The UUID code of standard is usually by following a few incorporating aspects: current date and time, clock sequence, overall unique IEEE machine recognition number.Pay request to prevent the different APP of same terminal to occur to produce collision, the embodiment of the present invention has carried out following improvement on the basis of standard UUID code: adopt IMEI to represent the IEEE machine recognition number that the described overall situation is unique simultaneously; Increase IMSI and APP identifies two new fields.UUID generating algorithm can the generating algorithm of normative reference UUID, and the embodiment of the present invention repeats no more.
403: described payment platform server returns described payment mark to described APP client.
Pay identification field when adding after payment request after APP client receives this payment mark, and be again sent to payment platform.
Take payment platform as Alipay be example, certain payment link address paying request is as follows, for:
https://alipay.com?UUID=80378E44-DC7D-5947-032B-370A632B6D9D。
Wherein, " UUID=80378E44-DC7D-5947-032B-370A632B6D9D " is just for certain pays the payment mark of carrying in request.
Further, supplementing as method shown in Fig. 3, before step 303 " described authentication server identifies according to described payment; obtain and identify corresponding targeted customer's information with described payment and send described targeted customer's information to described payment platform server ", described method also comprises collection user and surfs the Net raw readings also by screening the process storing the final user profile of formation, this process as shown in Figure 5, specifically comprises:
501: collecting device obtains every bar user raw readings co-current flow formula real-time processing devices of surfing the Net by the interface between described SGSN and described GGSN and sends described user and to surf the Net raw readings.
The streaming real-time processing devices of indication refers to the equipment that can carry out streaming calculating, it is calculate the most frequently used mode for the treatment of real-time that the streaming of indication calculates, can be different fritters by Task-decomposing according to processing mode, and the mode being packaged into task type run on the different port of each node of system.The task process higher to requirement of real-time has obvious advantage, and supports the parallel processing of multitask.
Initiate to pay the process of asking payment platform server to respond its payment request from APP client and all require higher real-time, all operations thus in this process all will be tried one's best fast.Therefore, when collecting device acquire various user surf the Net raw readings time, need adopt streaming calculate method rapid screening go out pay request relative recording.Detailed process is following step 502 and 503.
502: described streaming real-time processing devices obtains user described in every bar and to surf the Net the uniform resource position mark URL field of raw readings.
User is surfed the Net raw readings with last field of the direct cutting of separator, obtain url field value, namely URL character string.
503: if described url field comprises pay mark, then obtain described pay mark value and with the described user profile paying user corresponding to the url field that identifies place and surf the Net in raw readings.
Judge whether to comprise in URL character string and pay mark, if comprise, extract the value paying mark, and extract the user profile such as cell-phone number, IMSI, IMEI from user surfs the Net raw readings; If do not comprise, then directly give up this record.
504: described streaming real-time processing devices sends the value of described payment mark and described user profile to described authentication server.
505: the described value paying mark is carried out Hash coding and formed Hash codes and be stored in internal memory with the form of Hash code table by described authentication server.
The value paying mark is carried out Hash coding and form Hash codes, then Hash codes step-by-step is stored and form Hash code table and be stored in internal memory.
506: described authentication server identifies corresponding user profile be stored in internal memory with the form of hash table by described payment mark and with described payment.
Except Hash codes off-balancesheet, also store an other table-hash table in internal memory, the content of preserving in hash table is the value paying mark and the user profile extracted from the user at this payment mark place surfs the Net raw readings.
It should be noted that, above-mentioned collecting device, streaming calculating treatmenting equipment and authentication server can integratedly be arranged, and also can separate independent setting.
In order to carry out clearly concrete explanation to the processing procedure of above-mentioned steps 501 to step 503, be called that the streaming real-time processing devices of " Storm cluster " is described for name.Storm cluster is made up of a host node and multiple working node, and wherein host node has run Nimbus finger daemon, for distributing to each working node operation code, assign a task, the function such as operation detection, hereinafter referred host node is Nimbus; Working node runs Supervisor finger daemon, for the work of monitoring, starts and stops the progress of work, hereinafter referred to as Supervisor; Zookeeper is not actual node, but coordinates the software of Nimbus and Supervisor two work, is mainly used in the different assemblies in management cluster.Working node Supervisor runs streaming and calculates data source (logic) node Sprout and data processing (logic) Node B olt.
Adopt Storm cluster user to be paid request extraction task to carry out decomposing and calculate with streaming and combine, realize the extract real-time to user's payment request information.Specifically comprise following 4 processes:
(1) user surf the Net raw readings flow into task
User's original recorded data of surfing the Net that in prior art, collecting device produces stores in the mode of text (TXT).In order to improve the efficiency of process in real time, original recorded data of the user that collecting device produces being surfed the Net in the present embodiment is encapsulated as Sprout task type (also referred to as data source nodes).That is the user that collecting device obtains in real time original recorded data of surfing the Net directly can enter in Storm in the mode of " stream " and processes, and eliminates and is first saved as TXT form, then the tedious steps read.
(2) request extraction task is paid
This task is Bolt type tasks, and its specific implementation process is: the raw readings flowed into from Sprout (data source nodes), with last field of the direct cutting of separator, obtains url field value, namely URL character string.
Judge whether to comprise in URL character string and pay identification field (hereafter all for UUID), if comprise, perform user profile and extract task; Otherwise give up this record.
(3) user profile extracts task
This task is Bolt type tasks, its specific implementation process is: extract the UUID value in url field, extract the cell-phone number in online raw readings, IMSI, terminal type, start time and these 5 fields of UserAgent, the value of 5 fields of the value of UUID and extraction is combined into <K, V> key-value pair, wherein K is UUID value, and V is above-mentioned 5 field values, and splits with decollator between 5 field values.
Like this, payment request extraction task and user profile are extracted task separately, thus as far as possible calculated amount is decomposed, utilize streaming to calculate advantage, improve treatment effeciency.
(4) streaming calculates and realizes task process
User's raw readings of surfing the Net flows into task and calculates Sprout task with streaming and realize, as input data source; Payment request extraction task, originating end information extraction task realize with Bolt task.Meanwhile, according to the complexity of different task, rational proportioning is carried out to the quantity of task.Such as: user surfs the Net, and to flow into task computation complexity minimum for raw readings, and it is the highest that task computation complexity is extracted in the request of payment, and user profile extracts task computation complexity between.Therefore, according to the proportioning between calculated amount dynamic conditioning three tasks in the present invention, as 2:4:3.
In order to carry out explanation clearly to above-mentioned steps 505 and 506, its storing process is specific as follows: memory itself is exactly that index is set up in step-by-step, a known character byte has 8 byte bit, stores shaping 0-7 numeral, is namely set to 1 expression according to bit institute is in place.If want representative digit 5,6, then the file layout in internal memory is [00000110], is exactly on the 6th, 7, changes 1 into.Namely carry out representative digit x with xth position.If store 0-7 totally 8 numbers, adopt memory altogether to take 1byte space, if 8 numerals are int type, be total up to 32byte.Thus adopt memory, store continuous type numeral and there is clear superiority, large quantity space can be saved, be applicable to being positioned in the middle of internal memory, thus raise the efficiency.Therefore the mode adopting step-by-step to store in the present invention, carries out Hash coding by UUID and stores, and makes it form the numeral of fixing figure place, is illustrated in figure 6 the corresponding relation schematic diagram of UUID and Hash codes.Adopt 8 bit digital to represent Hash codes in the present embodiment, thus only need to ward off 10 9the space of bit size just can be used for storing Hash codes.
Authentication platform server except have store Hash code table and hash table function except, also need to upgrade the content stored and the attended operation such as deletion.Such as: to by the record that payment platform server authenticates is crossed, carry out deletion action to reduce space hold; When getting the multiple payment record carrying identical payment mark, being as the criterion with last payment record, upgrading Hash code table and hash table.
Further, composition graphs 1 and Fig. 5, step 303 " described authentication server identifies according to described payment, obtains and identifies corresponding targeted customer's information with described payment and send described targeted customer's information to described payment platform server ", as shown in Figure 7, specifically comprise:
601: described authentication server identifies according to described payment, search in described Hash code table and whether store the described Hash codes paying mark correspondence.
In this step, first whether store in audit memory and pay Hash codes corresponding to mark, if stored, then perform following step 602.If do not stored, then return the information of failed authentication directly to payment platform server, without the need to performing following step 602.
602: if existed, then obtain from described hash table and identify corresponding targeted customer's information with described payment and send described targeted customer's information to described payment platform server.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computing machine, hard disk or CD etc., comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.

Claims (9)

1. a payment system, is characterized in that, comprises payment platform server and authentication server, wherein:
Described payment platform server, for receiving the payment request that application A PP client sends;
When carrying payment mark in described payment request, resolving described payment request to obtain user profile, and sending described payment mark to described authentication server;
Described authentication server, for identifying according to described payment, obtain and identify corresponding targeted customer's information with described payment and send described targeted customer's information to described payment platform server, described targeted customer's information is that the user of the interface of basis between Serving GPRS Support Node SGSN and Gateway GPRS Support Node GGSN raw readings of surfing the Net obtains;
Described payment platform server, the described user profile also for described targeted customer's information and parsing being obtained compares, if unanimously, then returns transaction successful message to described APP client.
2. payment system according to claim 1, is characterized in that, described payment platform server also for, receive the payment mark that APP client sends and obtain request;
Generate according to preset rules and pay mark, each described payment mark is used for mark and once pays request;
Described payment mark is returned to described APP client.
3. payment system according to claim 1, is characterized in that, described system also comprises collecting device and streaming real-time processing devices, wherein:
Described collecting device, is sent described user to surf the Net raw readings for being obtained every bar user raw readings co-current flow formula real-time processing devices of surfing the Net by the interface between described SGSN and described GGSN;
Described streaming real-time processing devices, to surf the Net the uniform resource position mark URL field of raw readings for obtaining user described in every bar;
When described url field comprise pay mark time, obtain described pay mark value and with the described user profile paying user corresponding to the url field that identifies place and surf the Net in raw readings;
The value of described payment mark and described user profile is sent to described authentication server;
Described authentication server, also forms Hash codes for the described value paying mark is carried out Hash coding and is stored in internal memory with the form of Hash code table;
Identify corresponding user profile be stored in internal memory with the form of hash table by described payment mark and with described payment.
4. payment system according to claim 3, is characterized in that,
Described authentication server, also for according to described payment mark, searches in described Hash code table and whether stores the described Hash codes paying mark correspondence;
If existed, then obtain from described hash table and identify corresponding targeted customer's information with described payment.
5. a method of payment, is characterized in that, described method comprises:
Payment platform server receives the payment request that application A PP client sends;
If carry in described payment request and pay mark, then the request that pays described in described payment platform server parses to obtain user profile, and sends described payment mark to authentication server;
Described authentication server identifies according to described payment, obtain and identify corresponding targeted customer's information with described payment and send described targeted customer's information to described payment platform server, described targeted customer's information is that the user of the interface of basis between Serving GPRS Support Node SGSN and Gateway GPRS Support Node GGSN raw readings of surfing the Net obtains;
The described user profile that described targeted customer's information and parsing obtain compares by described payment platform server, if unanimously, then returns transaction successful message to described APP client.
6. method of payment according to claim 5, is characterized in that, before described payment platform server receives the payment request of application A PP client transmission, described method also comprises:
Described payment platform server receives the payment mark acquisition request that APP client sends;
Generate according to preset rules and pay mark, each described payment mark is used for mark and once pays request;
Described payment mark is returned to described APP client.
7. method of payment according to claim 5, it is characterized in that, described authentication server identifies according to described payment, obtains and identifies corresponding targeted customer's information and before sending described targeted customer's information to described payment platform server, described method also comprises with described payment:
Collecting device obtains every bar user raw readings co-current flow formula real-time processing devices of surfing the Net by the interface between described SGSN and described GGSN and sends described user and to surf the Net raw readings;
Described streaming real-time processing devices obtains user described in every bar and to surf the Net the uniform resource position mark URL field of raw readings;
If described url field comprises pay mark, then obtain described pay mark value and with the described user profile paying user corresponding to the url field that identifies place and surf the Net in raw readings;
Described streaming real-time processing devices sends the value of described payment mark and described user profile to described authentication server;
The described value paying mark is carried out Hash coding and is formed Hash codes and be stored in internal memory with the form of Hash code table by described authentication server;
Described authentication server identifies corresponding user profile be stored in internal memory with the form of hash table by described payment mark and with described payment.
8. method of payment according to claim 7, it is characterized in that, described authentication server identifies according to described payment, obtains and identifies corresponding targeted customer's information with described payment and send described targeted customer's information to described payment platform server, specifically comprise:
Described authentication server identifies according to described payment, searches in described Hash code table and whether stores the described Hash codes paying mark correspondence;
If existed, then obtain from described hash table and identify corresponding targeted customer's information with described payment.
9. the method for payment according to any one of claim 5 to 8, is characterized in that, described user profile at least comprises cell-phone number, mobile device international identity code IMEI and pays the request initiation time.
CN201510508271.2A 2015-08-18 2015-08-18 A kind of payment system and method Active CN105184559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510508271.2A CN105184559B (en) 2015-08-18 2015-08-18 A kind of payment system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510508271.2A CN105184559B (en) 2015-08-18 2015-08-18 A kind of payment system and method

Publications (2)

Publication Number Publication Date
CN105184559A true CN105184559A (en) 2015-12-23
CN105184559B CN105184559B (en) 2018-12-28

Family

ID=54906621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510508271.2A Active CN105184559B (en) 2015-08-18 2015-08-18 A kind of payment system and method

Country Status (1)

Country Link
CN (1) CN105184559B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993281A (en) * 2017-03-31 2017-07-28 苏州乐麟无线信息科技有限公司 The charging method and system of short message transaction events based on json
CN107180346A (en) * 2016-05-16 2017-09-19 上海阿意梯医疗器械有限公司 A kind of cosmetics payment system
CN108153858A (en) * 2017-12-22 2018-06-12 平安养老保险股份有限公司 Information-pushing method, device, storage medium and computer equipment
CN111210210A (en) * 2020-01-07 2020-05-29 贵阳货车帮科技有限公司 Payment data processing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006004277A1 (en) * 2004-03-30 2006-01-12 Widerthan.Com Co., Ltd. Service system and method for mobile payment of small amount using virtual caller id
CN101576982A (en) * 2009-03-19 2009-11-11 宇龙计算机通信科技(深圳)有限公司 Method, terminal and system for network payment
CN102223354A (en) * 2010-04-14 2011-10-19 阿里巴巴集团控股有限公司 Network payment authentication method, server and system
CN102457842A (en) * 2010-10-22 2012-05-16 中国移动通信集团宁夏有限公司 Method, device and system for transaction by mobile phone
CN102930435A (en) * 2012-09-19 2013-02-13 中国联合网络通信集团有限公司 Authentication method and system for mobile payment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006004277A1 (en) * 2004-03-30 2006-01-12 Widerthan.Com Co., Ltd. Service system and method for mobile payment of small amount using virtual caller id
CN101576982A (en) * 2009-03-19 2009-11-11 宇龙计算机通信科技(深圳)有限公司 Method, terminal and system for network payment
CN102223354A (en) * 2010-04-14 2011-10-19 阿里巴巴集团控股有限公司 Network payment authentication method, server and system
CN102457842A (en) * 2010-10-22 2012-05-16 中国移动通信集团宁夏有限公司 Method, device and system for transaction by mobile phone
CN102930435A (en) * 2012-09-19 2013-02-13 中国联合网络通信集团有限公司 Authentication method and system for mobile payment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
20120203集中化上网记录查询及分析技术规范V1.0.5: "中国联通集中化上网记录查询及分析系统技术规范", 《HTTPS://WENKU.BAIDU.COM/VIEW/631F8C3F580216FC700AFDA1.HTML》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107180346A (en) * 2016-05-16 2017-09-19 上海阿意梯医疗器械有限公司 A kind of cosmetics payment system
CN106993281A (en) * 2017-03-31 2017-07-28 苏州乐麟无线信息科技有限公司 The charging method and system of short message transaction events based on json
CN106993281B (en) * 2017-03-31 2020-05-22 苏州乐麟无线信息科技有限公司 Json-based charging method and system for short message transaction event
CN108153858A (en) * 2017-12-22 2018-06-12 平安养老保险股份有限公司 Information-pushing method, device, storage medium and computer equipment
CN108153858B (en) * 2017-12-22 2020-07-07 平安养老保险股份有限公司 Information pushing method and device, storage medium and computer equipment
CN111210210A (en) * 2020-01-07 2020-05-29 贵阳货车帮科技有限公司 Payment data processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN105184559B (en) 2018-12-28

Similar Documents

Publication Publication Date Title
US20210165686A1 (en) Task processing method, system, device, and storage medium
EP2748781B1 (en) Multi-factor identity fingerprinting with user behavior
WO2016101635A1 (en) Method, apparatus and device for synchronizing login status, and computer storage medium
CN109040252A (en) Document transmission method, system, computer equipment and storage medium
CN104144419A (en) Identity authentication method, device and system
CN104640114B (en) A kind of verification method and device of access request
CN110096551A (en) Credit data storage method, device, equipment and medium based on block chain
CN110661829B (en) File downloading method and device, client and computer readable storage medium
CN108632213A (en) Facility information processing method and processing device
CN105184559A (en) System and method for payment
CN111460394A (en) Copyright file verification method and device and computer readable storage medium
JP6629973B2 (en) Method and apparatus for recognizing a service request to change a mobile phone number
CN110807209B (en) Data processing method, device and storage medium
WO2019114246A1 (en) Identity authentication method, server and client device
CN106899564A (en) A kind of login method and device
CN113159750A (en) Block chain-based equipment determination method
CN111966967A (en) Copyright storage method and system based on block chain technology and CDN
CN114640464A (en) Block chain-based subscription data transmission method, device, equipment and storage medium
CN105656979A (en) Method for processing unstructured message, client, server, and platform
CN113129002A (en) Data processing method and equipment
CN106875184B (en) Abnormal scene simulation method, device and equipment
CN112100689A (en) Trusted data processing method, device and equipment
CN116302889A (en) Performance test method and device for functional module and server
CN109389271B (en) Application performance management method and system
CN109992614B (en) Data acquisition method, device and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant