The content of the invention
The embodiment of the present application provides a kind of method and device of business processing, to solve in the prior art for
One user is present for many different identity identifiers, to identity identifier use and management is
Very not convenient the problem of.
A kind of method for business processing that the embodiment of the present application is provided, methods described includes:
The service request that service request side is sent is received, wherein, the business is carried in the service request
The mark of requesting party and the mark of user;
According to the mark of the service request side and the mark of user, it is determined that the service request side preserved
The identity identifier distributed in advance for the user;
The identity identifier is returned into the service request side, makes the service request root according to described
Identity identifier, generates the corresponding business information of the user;
The business information that the service request side is sent is received, is carried out according to the business information at business
Reason.
A kind of method for business processing that the embodiment of the present application is provided, methods described includes:
The payment request that service request side is sent is received, wherein, described pay in request carries the business
The mark of requesting party and the mark of user;
According to the mark of the service request side and the mark of user, it is determined that the service request side preserved
The information of member card distributed in advance for the user;
The information of member card is returned into the service request side, makes the service request root according to the meeting
Member's card information, generates the corresponding payment information of the user;
The payment information that the service request side is sent is received, is carried out according to the payment information at payment
Reason.
A kind of device for business processing that the embodiment of the present application is provided, described device includes:
Receiving module, the service request for receiving the transmission of service request side, wherein, in the service request
Carry the mark of the service request side and the mark of user;
Determining module, for the mark and the mark of user according to the service request side, it is determined that preserve
The identity identifier that the service request side distributes for the user in advance;
Module is returned, for the identity identifier to be returned into the service request side, makes the business
Requesting party generates the corresponding business information of the user according to the identity identifier;
Processing module, for receiving the business information that the service request side is sent, according to the business
Information carries out business processing.
A kind of device for business processing that the embodiment of the present application is provided, described device includes:
Receiving module, the payment request for receiving the transmission of service request side, wherein, it is described to pay in request
Carry the mark of the service request side and the mark of user;
Determining module, for the mark and the mark of user according to the service request side, it is determined that preserve
The information of member card that the service request side distributes for the user in advance;
Module is returned, for the information of member card to be returned into the service request side, makes the business please
Root is sought according to the information of member card, the corresponding payment information of the user is generated;
Processing module, for receiving the payment information that the service request side is sent, pays according to described
Information carries out payment processes.
The embodiment of the present application provides a kind of method and device of business processing, and this method receives business by server
What requesting party sent carries the mark of service request side and the identification service request of user, according to the business
The mark of requesting party and the mark of user, it is determined that what the service request side preserved distributed for the user in advance
Identity identifier, and the identity identifier is returned into the service request side, make the service request side
According to the identity identifier, the corresponding business information of the user is generated, server receives the service request side
The business information sent, carries out business processing, by the above method, user need not according to the business information
The identity identifier of service request side's distribution is carried and shown to service request side again, it is possible to use business please
The corresponding business of identity identifier that the side of asking is provided, improves user's using and managing to identity identifier
The convenience of reason.
Embodiment
It is specifically real below in conjunction with the application to make the purpose, technical scheme and advantage of the application clearer
Apply example and technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, it is described
Embodiment is only some embodiments of the present application, rather than whole embodiments.Based on the implementation in the application
Example, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of the application protection.
The process for the business processing that Fig. 1 provides for the embodiment of the present application, specifically includes following steps:
S101:Receive the service request that service request side is sent.
In actual applications, user generally can use the offer of service request side to reach certain purpose
Business, the service request side can be businessman or other can provide the user the group of business
Knit or mechanism.
In this application, user receives service request side first in the business provided using service request side
The service request of offer, and receive service request and completed by server or had by other
What the equipment for having data processing function was completed, it is described in detail below by taking server as an example.
Further, since server perform business processing during the entire process of, it is necessary to know which user uses
The business of which service request side, therefore, in this application, needs to carry described in the service request
The mark of service request side and the mark of user.
For example, it is assumed that the Library Consortia being made up of multiple libraries, which provides the user e-book, consults business,
And provide different e-books for different users and consult business, it is assumed that user A is needed in library's connection
Books are consulted in some library in alliance, therefore, the library (that is, service request side) passes through equipment
Directly scanning user A ID card information, and the request of e-book inquiry business is sent to server, wherein,
Library number (that is, the mark of service request side) and use are carried in the request of e-book inquiry business
Family A identification card number (that is, user A mark).
S102:According to the mark of the service request side and the mark of user, it is determined that the business preserved
The identity identifier that requesting party distributes for the user in advance.
In actual applications, service request side is in order to preferably provide the user business, it usually needs using from
The identity identifier of definition distinguishes different users, that is to say, that service request side needs to use to each
A fixed identity identifier is distributed at family, and distinguishes by identity identifier different users, e.g.,
Different user numbers are distributed for different users, and the identity identifier can be using actual resource as carrier
(e.g., entity card), can also be using e-sourcing as carrier (e.g., virtual electronic card), subsequently, and business please
Corresponding business can be provided the user according to the identity identifier of user by asking.
Further, because server needs to know which business service request side will provide the user on earth,
Therefore, server needs the mark and the mark of user according to service request side, determines that service request side is pre-
The identity identifier first distributed for user.
Continuation of the previous cases, it is assumed that library is that each user has allocated user number in advance, and server is being received
After the e-book inquiry business request that library is sent, according to user A identification card number and Library
Number, it is the user number that user distributes to determine library.
Further, since in this application, server after the service request of service request side's transmission is received,
The mark according to the service request side in the service request and the mark of user are needed, it is determined that the business preserved
Requesting party is the identity identifier that user distributes, therefore, is asked in this application, it is necessary to prestore business
The side of asking is the identity identifier that user distributes.
During whole storage service requesting party is the identity identifier that user distributes, the application is provided
A kind of feasible embodiment, it is specific as follows:
The service log-on request of service request side transmission is received, wherein, carried in service log-on request
The mark of the service request side, the mark of the user and the service request side are the identity that the user distributes
Certification is identified, and according to the mark of the service request side, the mark of the user, judges whether to have preserved this
Service request side is the original authentication mark that the user distributes, and is inquired if so, then being sent to the service request side
Information, and the inquiry object information returned according to the service request side, judge whether to identify the original authentication
Replace with the identity identifier, if it is not, then set up the mark of the service request side, the mark of the user with
And the service request side is the corresponding relation for the identity identifier that the user distributes, and store, subsequently, clothes
Be engaged in device then can according to the mark and the mark of user of the service request side in the service request received, it is determined that
The service request side of preservation is the identity identifier that user distributes, wherein, original authentication mark be
Service request side just saved is the authentication mark that user distributes before receiving service log-on request
Know.
Herein it should be noted that service log-on request mentioned above, which is the scanning of service request side, obtains user
Mark after, generated by service request side, and the mark of the user includes:In Quick Response Code, bar code
It is at least one.
Further, since the situation that service request side distributes identity identifier to user again is there may exist,
That is, server is after the service log-on request of service request side's transmission is received, can be in preservation
Have in the identity identifier that the service request side distributes for user, it is user point to determine the service request side
The identity identifier matched somebody with somebody, i.e. original authentication is identified, still, original authentication mark and service log-on request
The identity identifier of middle carrying is different, therefore, faced with this situation, in this application, can
Inquiry message is sent to the service request side, subsequently, when the inquiry object information received is the first specified letter
During breath (e.g., first designating the information as replacing), original authentication mark is replaced with into the identity identifier and protected
Deposit, when the inquiry object information received is the second specify information (e.g., second designating the information as not replacing)
When, abandon service log-on request.
S103:The identity identifier is returned into the service request side, makes the service request root
According to the identity identifier, the corresponding business information of the user is generated.
S104:The business information that the service request side is sent is received, is carried out according to the business information
Business processing.
In this application, because service request side is to need to be recognized according to the identity of the user distributed for user in advance
Card mark, to determine which business provided the user on earth, therefore, server is determining service request
After the identity identifier that side distributes for the user in advance, the identity identifier is returned into service request side,
And service request can determine the corresponding authority of identity identifier according to the identity identifier, so that really
Determine which business user uses on earth, and generate the corresponding business information of user, wherein, wrapped in business information
Contained perform the business needed for all information and dates.
Further, the corresponding business information of the user of generation is sent to server by service request side, clothes
Device be engaged in directly according to the corresponding business processing of business information execution.
The user number determined is returned to library by continuation of the previous cases, server, and library is according to user A's
User number, determines the corresponding e-book search access right of user number, and generates that user A is corresponding to be carried
The e-book Query Information of e-book to be checked, and e-book Query Information is sent to server,
Corresponding e-book is returned to library by server according to the corresponding e-book Query Informations of user A.
By the above method, body of the user without carrying and showing to service request side the distribution of service request side again
Part certification mark, it is possible to use the corresponding business of identity identifier that service request side is provided, improves use
The convenience that uses and manage of the family to identity identifier.
Above is a kind of method for business processing that the application is provided, and in actual applications, businessman is in order to inhale
Draw more customers, it will usually different users are distinguished using customized information of member card, subsequently, can
According to the different corresponding authorities of information of member card, different payment transactions are provided for different users, entirely
The processing procedure of payment transaction is as shown in Figure 2.
The process for the business processing that Fig. 2 provides for the embodiment of the present application, specifically includes following steps:
S201:Receive the payment request that service request side is sent.
In actual applications, user would generally go to buy commodity in the solid shop/brick and mortar store that businessman opens up, and to purchasing
The commodity bought are paid.
During whole payment transaction, service request side (e.g., businessman) buys according to user first
Commodity generate goods orders, and by scanning the mark (e.g., Quick Response Code, bar code etc.) of user, generation
And payment request is sent to server, that is, server receives the payment request that service request side is sent, its
In, the mark for paying mark and user that service request side is carried in request.
Herein it should be noted that due to being that whole business is payment transaction, therefore, being mentioned in the application
Server is the corresponding server of Third-party payment platform, that is to say, that the user that service request side is scanned
Mark it is corresponding be which Third-party payment platform, then the corresponding server of the Third-party payment platform will
The payment request of service request side's transmission is received, in addition, the mark of the user can also be third party's branch
The payment accounts that platform distributes to the user are paid, the mark of the service request side can also be Third-party payment
Platform distributes to the payment accounts of the service request side.
For example, it is assumed that user A have purchased businessman B commodity, user A to businessman B pay it is whole
During, businessman B generates goods orders according to the user A commodity bought, and is swept by barcode scanning equipment
The payment Quick Response Code on user A mobile phone terminal is retouched, to the corresponding Third-party payment platform of payment Quick Response Code
Server, which is sent, pays request, wherein, pay in request and carry businessman B (that is, the marks of service request side
Know) and user A payment Quick Response Code (that is, user A mark), server receive businessman B hair
After the payment request sent, step S202 is performed.
S202:According to the mark of the service request side and the mark of user, it is determined that the business preserved
The information of member card that requesting party distributes for the user in advance.
In this application, due to service request side (e.g., businessman) in order to attract more customers, it will usually
Different users are distinguished using customized information of member card, therefore, service request side can be user in advance
Information of member card is distributed, subsequently, service request can be that user carries according to the corresponding authority of information of member card
For corresponding business.
In this application, server, please according to paying after the payment request of service request side's transmission is received
The mark of the user of middle carrying and the mark of service request side are asked, it is determined that the service request side preserved is in advance
The information of member card of user's distribution.
Continuation of the previous cases, it is assumed that server receive businessman B transmission payment request after, according to businessman B with
And user A payment Quick Response Code, it is determined that the information of member card that the businessman B preserved distributes for user A in advance.
In addition, during the information of member card that storage service requesting party distributes for user in advance, the application
A kind of feasible embodiment is also provided, it is specific as follows:
The payment register request that service request side is sent is received, wherein, carry this in payment register request
The mark of service request side, the mark of the user and the service request side are the information of member card that user distributes,
According to the mark of the service request side, the mark of the user, judge whether to have preserved the service request side
The chartered member's card information distributed for the user, if so, sending inquiry message, and root to the service request side
The inquiry object information returned according to the service request side, judges whether chartered member's card information replacing with this
Information of member card, please if it is not, then setting up the mark of the service request side, the mark of the user and the business
The side of asking is the corresponding relation for the information of member card that the user distributes, and stores.
Herein it should be noted that payment register request mentioned above is equally by being the scanning of service request side
After the mark for obtaining user, generated by service request side, and the mark of the user includes:Quick Response Code, bar
At least one of shape code.
It lost information of member card further, since being possible to occur user and made up new member card letter again
The situation of breath, that is to say, that server receive service request side transmission payment register request after,
What is preserved has in the information of member card that the service request side distributes for user, and the service request side determined is
The information of member card of user's distribution, i.e. chartered member's card information, the information of member card held with present user
Inconsistent, therefore, in this application, server is judging to have preserved the service request side for the use
After chartered member's card information of family distribution, inquiry message can be sent to the service request side, subsequently, work as reception
It is when the inquiry object information arrived is the first specify information (e.g., first designating the information as replacing), this is original
Information of member card replaces with information of member card preservation, when the inquiry object information received is the second specified letter
When ceasing (e.g., second designating the information as not replacing), payment register request is abandoned.
For example, it is assumed that businessman B is assigned with information of member card C for user A in advance, still, user A by
In having lost information of member card C, businessman B is assigned with information of member card D for user A again, subsequently,
Payment Quick Response Code (that is, user A mark) corresponding Third-party payment platform from businessman B to user A
Server send payment register request, wherein, payment register request in carry businessman B (that is, businessmans
B mark) and user A payment Quick Response Code and information of member card D, server according to businessman B (i.e.,
Businessman B mark) and user A payment Quick Response Code judge to have preserved businessman B for A points of user
The information of member card C (that is, chartered member's card information) matched somebody with somebody, server sends inquiry message to businessman B,
Assuming that the inquiry object information that server is received is replaces, then it is directly that information of member card C is (that is, former
Beginning information of member card) information of member card D is replaced with, and preserve.
S203:The information of member card is returned into the service request side, makes the service request root evidence
The information of member card, generates the corresponding payment information of the user.
Continue first example in step S202, it is assumed that server returns to the information of member card determined
Businessman B, businessman B determine the corresponding authority of information of member card, so as to generate use according to information of member card
The corresponding payments of family A (that is, payment information), and the payment of generation is sent to server.
S204:The payment information that the service request side is sent is received, is carried out according to the payment information
Payment processes.
Use the example above, server receives the payment of businessman B transmissions, is propped up according to the payment
Processing is paid, it is, deduct corresponding payment from user A payment account, and by the branch of deduction
The amount of money is paid to be added in businessman B payment account.
By the above method, user in the business provided using service request side (e.g., businessman), without
The information of member card of service request side's distribution is carried and shown to service request side again, it is possible to use service request
The corresponding business of information of member card that side is provided, improves user's using and managing just to information of member card
Profit.
The method of the two kinds of business processings provided above for the embodiment of the present application, based on same thinking, this Shen
Please embodiment provide two kinds of business processings device, i.e. the device of the first business processing, as shown in figure 3,
The device of second of business processing, as shown in Figure 4.
The apparatus structure schematic diagram for the first business processing that Fig. 3 provides for the embodiment of the present application, described device
Including:
Receiving module 301, the service request for receiving the transmission of service request side, wherein, the business please
The mark of the service request side and the mark of user are carried in asking;
Determining module 302, for the mark and the mark of user according to the service request side, it is determined that protecting
The identity identifier that the service request side deposited distributes for the user in advance;
Module 303 is returned, for the identity identifier to be returned into the service request side, is made described
Service request root generates the corresponding business information of the user according to the identity identifier;
Processing module 304, for receiving the business information that the service request side is sent, according to described
Business information carries out business processing.
The determining module 302 specifically for, receive the service log-on request that the service request side is sent,
The identifying of the service request side, the mark of the user and described are carried in service log-on request
Service request side is the identity identifier that the user distributes, according to the mark of the service request side, institute
The mark of user is stated, judges whether to have preserved original recognizing of the service request side for user distribution
Card mark, if so, sending inquiry message to the service request side, and is returned according to the service request side
Inquiry object information, judge whether by the original authentication mark replace with the identity identifier, if
It is no, then set up the identifying of the service request side, the mark of the user and the service request side are institute
The corresponding relation of the identity identifier of user's distribution is stated, and is stored.
The service log-on request is that service request side's scanning is obtained after the mark of the user, by described
The generation of service request side, the mark of the user includes:At least one of Quick Response Code, bar code.
The determining module 302 specifically for, when the inquiry object information received be the first specify information when,
Original authentication mark is replaced with into the identity identifier to preserve, when the inquiry object information received
During for the second specify information, the service log-on request is abandoned.
The apparatus structure schematic diagram for second of business processing that Fig. 4 provides for the embodiment of the present application, described device
Including:
Receiving module 401, the payment request for receiving the transmission of service request side, wherein, the payment please
The mark of the service request side and the mark of user are carried in asking;
Determining module 402, for the mark and the mark of user according to the service request side, it is determined that protecting
The information of member card that the service request side deposited distributes for the user in advance;
Module 403 is returned, for the information of member card to be returned into the service request side, makes the industry
Requesting party be engaged according to the information of member card, the corresponding payment information of the user is generated;
Processing module 404, for receiving the payment information that the service request side is sent, according to described
Payment information carries out payment processes.
The determining module 402 specifically for, receive the payment register request that the service request side is sent,
The identifying of the service request side, the mark of the user and described are carried in payment register request
Service request side is the information of member card that the user distributes, according to the identifying of the service request side, described
The mark of user, judges whether that it is the chartered member that the user distributes to have preserved the service request side
Card information, if so, sending inquiry message to the service request side, and is returned according to the service request side
Inquiry object information, judge whether chartered member's card information replacing with the information of member card, if
It is no, then set up the identifying of the service request side, the mark of the user and the service request side are institute
The corresponding relation of the information of member card of user's distribution is stated, and is stored.
The payment register request is that service request side's scanning is obtained after the mark of the user, by described
The generation of service request side, the mark of the user includes:At least one of Quick Response Code, bar code.
The determining module 402 specifically for, when the inquiry object information received be the first specify information when,
Chartered member's card information is replaced with into the information of member card to preserve, when the inquiry object information received
During for the second specify information, the payment register request is abandoned.
In a typical configuration, computing device includes one or more processors (CPU), input/defeated
Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
And/or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM).
Internal memory is the example of computer-readable medium.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by appointing
What method or technique realizes that information is stored.Information can be computer-readable instruction, data structure, program
Module or other data.The example of the storage medium of computer include, but are not limited to phase transition internal memory (PRAM),
Static RAM (SRAM), dynamic random access memory (DRAM), it is other kinds of with
Machine access memory (RAM), read-only storage (ROM), Electrically Erasable Read Only Memory
(EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic rigid disk are stored or it
His magnetic storage apparatus or any other non-transmission medium, the letter that can be accessed by a computing device available for storage
Breath.Defined according to herein, computer-readable medium does not include temporary computer readable media (transitory
Media), such as the data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, commodity or equipment including a series of key elements not only include
Those key elements, but also other key elements including being not expressly set out, or also include for this process,
Method, commodity or the intrinsic key element of equipment.In the absence of more restrictions, by sentence " including
One ... " key element that limits, it is not excluded that in the process including the key element, method, commodity or set
Also there is other identical element in standby.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey
Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the application can be used wherein includes calculating one or more
Machine usable program code computer-usable storage medium (include but is not limited to magnetic disk storage, CD-ROM,
Optical memory etc.) on the form of computer program product implemented.
Embodiments herein is the foregoing is only, the application is not limited to.For this area skill
For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle
Any modification, equivalent substitution and improvements of work etc., should be included within the scope of claims hereof.