CN107784554A - Method, apparatus, storage medium, server and the terminal device of order processing - Google Patents

Method, apparatus, storage medium, server and the terminal device of order processing Download PDF

Info

Publication number
CN107784554A
CN107784554A CN201710895999.4A CN201710895999A CN107784554A CN 107784554 A CN107784554 A CN 107784554A CN 201710895999 A CN201710895999 A CN 201710895999A CN 107784554 A CN107784554 A CN 107784554A
Authority
CN
China
Prior art keywords
order
request
check information
orders
acknowledgement
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
CN201710895999.4A
Other languages
Chinese (zh)
Other versions
CN107784554B (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.)
Shenzhen Lexin Software Technology Co Ltd
Original Assignee
Shenzhen Lexin Software Technology 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 Shenzhen Lexin Software Technology Co Ltd filed Critical Shenzhen Lexin Software Technology Co Ltd
Priority to CN201710895999.4A priority Critical patent/CN107784554B/en
Publication of CN107784554A publication Critical patent/CN107784554A/en
Application granted granted Critical
Publication of CN107784554B publication Critical patent/CN107784554B/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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • G06Q30/0637Approvals

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of method, apparatus of order processing, storage medium, server and terminal device.This method includes:When receiving the acknowledgement of orders accessing page request of client, check information is generated;The acknowledgement of orders accessing page request is fed back, and the check information is sent to the client;When the order for receiving the client generates request, order generation request is verified;If verification failure, refuse the order generation request.The technical scheme provided by using the embodiment of the present invention, it is possible to achieve prevent from carrying out the single effect of brush using improper means.

Description

Method, apparatus, storage medium, server and the terminal device of order processing
Technical field
The present embodiments relate to network order processing technical field, more particularly to a kind of method, apparatus of order processing, Storage medium, server and terminal device.
Background technology
At this stage, as the development of technology of Internet of things, the mode of shopping at network are received by users.
In order to attract consumer, each electric business often releases all kinds of commercial articles vending activities, e.g., releases commodity price for member, commodity Limitation panic buying in limited time etc..User can be on the client sales page panic buying carried out to commodity placed an order.
However, some users can be linked into the interface of the generation order page of commodity by non-page flow, and short In time commodity are carried out with the single purchase of substantial amounts of brush, cause to walk the user of normal page flow have no idea to enjoy it is preferential.It is right The image of electric business and users cause strong influence.Therefore, how to prevent from carrying out the single row of brush using improper means To have become technical problem urgently to be resolved hurrily.
The content of the invention
The embodiment of the present invention provides a kind of method, apparatus of order processing, storage medium, server and terminal device, with Realizing prevents from carrying out the single effect of brush using improper means.
In a first aspect, the embodiments of the invention provide a kind of method of order processing, this method includes:
When receiving the acknowledgement of orders accessing page request of client, check information is generated;
The acknowledgement of orders accessing page request is fed back, and the check information is sent to the client;
When the order for receiving the client generates request, order generation request is verified;
If verification failure, refuse the order generation request.
Further, when the order for receiving the client generates request, school is carried out to order generation request Test, including:
When the order for receiving the client generates request, judge whether the client returns to the verification letter Breath;
If it is not, request verification failure is then generated to the order.
Further, it is described when receiving the acknowledgement of orders accessing page request of client, generate check information, bag Include:
When receiving the acknowledgement of orders accessing page request of client, encryption factor is encrypted, generation verification letter Breath, wherein, the encryption factor includes:The attribute information of commodity and the special of commodity sell action message;
Accordingly, when the order for receiving the client generates request, order generation request is verified, Including:
When the order for receiving the client generates request, the check information is decrypted, obtains solving secret letter Breath;
Verify whether the solution confidential information includes the encryption factor;
If it is not, request verification failure is then generated to the order.
Further, the encryption factor also includes:First time point, the first time point include receiving described order Single time for confirming accessing page request;
Accordingly, when the order for receiving the client generates request, order generation request is verified, Also include:
When the order for receiving the client generates request, the check information is decrypted, obtains solving secret letter Breath;
Calculate in the solution confidential information, the first time point and the time interval at the second time point, judge the time Whether interval is less than setting duration, wherein, second time point includes the time for receiving the order generation request;
If it is not, request verification failure is then generated to the order.
Further, the encryption factor also includes dedicated encrypted constant;
Accordingly, when the order for receiving the client generates request, order generation request is verified, Also include:
When the order for receiving the client generates request, the check information is decrypted, obtains solving secret letter Breath;
Judge the dedicated encrypted constant that includes of solution confidential information whether with include special of the encryption factor plus Close constant is consistent;
If it is not, request verification failure is then generated to the order.
Further, the acknowledgement of orders accessing page request is fed back, and the check information is sent to the client End, including:
The check information is carried and fed back in the data of the acknowledgement of orders accessing page request.
Second aspect, the embodiment of the present invention additionally provide a kind of device of order processing, and the device is configured in server, The device includes:
Check information generation module, for when receiving the acknowledgement of orders accessing page request of client, generation to verify Information;
Acknowledgement of orders accessing page request feedback module, for feeding back the acknowledgement of orders accessing page request, and by institute Check information is stated to send to the client;
Order generation request correction verification module, for when the order for receiving the client generates request, being ordered to described Single generation request is verified;
Order generates request processing module, if failing for verifying, refuses the order generation request.
The third aspect, the embodiment of the present invention additionally provide a kind of method of order processing, and this method includes:
Acknowledgement of orders accessing page request is sent to server;
The feedback result of the acknowledgement of orders accessing page request of the server is received, and receives check information;
Order generation request is sent to server, and returns the check information, the check information is described for obtaining The order generation request process instruction of server;
The execution of order processing of request process instruction is generated according to the order.
Fourth aspect, the embodiment of the present invention additionally provide a kind of device of order processing, and the device is configured in terminal and set Standby, the device includes:
Acknowledgement of orders accessing page request sending module, for sending acknowledgement of orders accessing page request to server;
Feedback result receiving module, the feedback result of the acknowledgement of orders accessing page request for receiving the server, And receive check information;
Order generates request process instruction acquisition module, for sending order generation request to server, and described in passback Check information, the check information are used for the order generation request process instruction for obtaining the server;
Execution module is instructed, for generating the execution of order processing of request process instruction according to the order.
5th aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, order processing method as described in the present embodiment of the invention is realized when the program is executed by processor.
6th aspect, the embodiments of the invention provide a kind of server, the server includes:Processor, memory, communication Interface and bus;The processor is connected by the bus with the memory and the communication interface;The memory is deposited Contain computer executed instructions;The processor calls the computer executed instructions stored in the memory so that institute State the order processing method of computing device as described in the present embodiment of the invention.
7th aspect, the embodiments of the invention provide a kind of terminal device, the terminal device is connected with server communication, The terminal device includes:Processor;For storing the memory of the processor-executable instruction;Wherein, the processor quilt It is configured to:
Acknowledgement of orders accessing page request is sent to server;
The feedback result of the acknowledgement of orders accessing page request of the server is received, and receives check information;
Order generation request is sent to server, and returns the check information, the check information is described for obtaining The order generation request process instruction of server;
The execution of order processing of request process instruction is generated according to the order.
During acknowledgement of orders accessing page request of the embodiment of the present invention by receiving client in server, generation verification Information, and when feeding back client acknowledgement of orders accessing page request, the check information is sent to client, works as server When receiving the order generation request of the client, in order generation request whether containing the check information and Whether the check information is correctly verified, and when verification of the server to check information fails, refuses ordering for client Single generation request, solves the problems, such as can to carry out by improper means in the prior art to brush single, and realization is prevented using anon-normal Normal means carry out the single effect of brush.
Brief description of the drawings
Fig. 1 is the flow chart of the method for the order processing that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the method for the order processing that the embodiment of the present invention two provides;
Fig. 3 is the flow chart of the method for the order processing that the embodiment of the present invention three provides;
Fig. 4 is the flow chart of the method for the order processing that the embodiment of the present invention four provides;
Fig. 5 is the flow chart of the method for the order processing that the embodiment of the present invention five provides;
Fig. 6 is the structural representation of the device for the order processing that the embodiment of the present invention six provides;
Fig. 7 is the structural representation of the device for the order processing that the embodiment of the present invention seven provides;
Fig. 8 is a kind of structural representation for server that the embodiment of the present invention nine provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
Embodiment one
Fig. 1 is the flow chart of the method for the order processing that the embodiment of the present invention one provides, at the applicable order of the present embodiment The situation of reason, this method can be performed by the device for the order processing that the embodiment of the present invention is provided, and the device can be by soft The mode of part and/or hardware is realized, and can be integrated in server.
As shown in figure 1, the method for the order processing includes:
S110, when receiving the acknowledgement of orders accessing page request of client, generate check information.
Wherein, client can be mounted in application program or browser in terminal device.The acknowledgement of orders page can To be the page being determined to the information in order shown in client as user, ship-to, addressee, connection are such as selected It is the page that the information such as mode and the quantity of each commodity of purchase is confirmed.In the good needs that user selects from shopping cart Commodity of purchase or after the commodity bought immediately are directly selected from commodity details, it may be desirable to sent by user end to server Enter the access request of the acknowledgement of orders page.
When server receives the acknowledgement of orders accessing page request of client, check information is generated.Wherein, verification letter Breath can be the character string by encryption.Merchandise news can be included in check information, the action message of commodity can also be included, Wherein, merchandise news, which can be understood as each commodity in electric business, different codings, can determine business by verifying the coding Product information.The action message of commodity can be electric business for some activities done propaganda, e.g., limitation panic buying in limited time and meeting Price for member etc. is enjoyed in member's purchase.Other can also be included in check information and be used for verification or the information of other functions, can be incited somebody to action Various information are mixed with the rule set, and so as to obtain mixed character string, mixed character string can be carried out Encryption, obtain encrypted characters string.
S120, the feedback acknowledgement of orders accessing page request, and the check information is sent to the client.
After receiving the acknowledgement of orders accessing page request of client and generating check information, it is true to feed back the order Recognize accessing page request, and the check information is sent to the client.Wherein, feeding back acknowledgement of orders page access please Ask, can be in the case that acknowledgement of orders accessing page request is out of question, by acknowledgement of orders page downloading to client.
In embodiments of the present invention, optionally, the check information is carried in the acknowledgement of orders accessing page request Data in fed back.With reference to above-mentioned example, that is, encrypted characters string is placed in the data of the acknowledgement of orders page and issued To server, the benefit so set is while the display of the acknowledgement of orders page is neither influenceed, it is not necessary to is additionally increased to school The flow that information is issued is tested, saves workflow, and can enough reaches the increase concealed effect of order checking procedure.
S130, when receive the client order generate request when, to the order generation request verify.
After the data that client receives the acknowledgement of orders page, the acknowledgement of orders page is shown to user, it is true in user After recognizing no problem, the button of " generation order " can be clicked on, so as to generate corresponding order.Sent when server receives client Order generation request when, to order generation request verify.Specifically, can include to whether containing in order generation request Have whether check information and the check information are correctly verified.With reference to above-mentioned example, if the check information is encrypted word Symbol string, can first determine whether wherein whether contain the encrypted characters string, if it is, entering when receiving order generation request Can one step judge the encrypted characters string be decrypted, if it can, then determining whether is the encryption factor that decrypts It is consistent with the encryption factor before encryption, if unanimously, verifying order generation request and the single problem of brush being not present, can continue Processing.
If S140, verification failure, refuse the order generation request.
Fail if verified for check information, refuse the order generation request, order generation error can be returned Prompting, and sent to client and prompt user to refresh the prompt message for reentering the acknowledgement of orders page.Wherein, failure is verified Situation can include:Server does not contain the encrypted characters string when receiving order generation request, or, it is impossible to the encrypted word Symbol string is decrypted, or, the encryption factor before the encryption factor decrypted and encryption is inconsistent.
During acknowledgement of orders accessing page request of the embodiment of the present invention by receiving client in server, generation verification Information, and when feeding back client acknowledgement of orders accessing page request, the check information is sent to client, works as server When receiving the order generation request of the client, in order generation request whether containing the check information and Whether the check information is correctly verified, and when verification of the server to check information fails, refuses ordering for client Single generation request, solves the problems, such as can to carry out by improper means in the prior art to brush single, and realization is prevented using anon-normal Normal means carry out the single effect of brush.
On the basis of above-mentioned technical proposal, optionally, when the order for receiving the client generates request, to institute Order generation request is stated to be verified, including:When the order for receiving the client generates request, the client is judged Whether the check information is returned;If it is not, request verification failure is then generated to the order.So setting is advantageous in that, can By determining whether contain the check information in order generation request, and then to determine whether the order is ordering for normal flow It is single, if not including the check information, it can illustrate that the order does not send the acknowledgement of orders page normal through client and visited Ask request to server, it is possible to determine that to be the brush single act of non-normal flow, and then improve in order dealing process Operating efficiency.
Embodiment two
Fig. 2 is the flow chart of the method for the order processing that the embodiment of the present invention two provides.The present embodiment is in above-described embodiment On the basis of, to when receiving the acknowledgement of orders accessing page request of client, check information is generated, and, when receiving During the order generation request of the client, order generation request is verified, has carried out further restriction.
As shown in Fig. 2 the method for the order processing includes:
S210, when receiving the acknowledgement of orders accessing page request of client, encryption factor is encrypted, generate school Information is tested, wherein, the encryption factor includes:The attribute information of commodity and the special of commodity sell action message.
Wherein, the attribute information of the commodity in encryption factor can be unique identification information corresponding with commodity.Business The special action message of selling of product can be the information to go on the razzle-dazzle, such as panic buying start time, the number of packages of limitation or Member exclusively enjoys the information of price, is such as directed to the favor information of membership buying, limits the number of packages of purchase, can also be some other preferential work Dynamic corresponding information.
When encryption factor is encrypted, symmetry encryption can be preferably selected, is such as added using Base64 symmetrical expressions It is close.The benefit so set is that Base64 encryptions have unreadable property, the level of security of check information can be improved, in addition, adopting It is in embodiments of the present invention, without encrypted characters string is decrypted in client, but directly with the benefit of symmetry encryption It is connected on and the server that encryption factor is encrypted is decrypted, so encryption can be set according to the actual requirements by so setting Mode, improve the security of check information.
S220, the feedback acknowledgement of orders accessing page request, and the check information is sent to the client.
S230, when receive the client order generate request when, the check information is decrypted, solved Confidential information.
When the order for receiving the client generates request, the check information is decrypted, obtains solving secret letter Breath.Wherein, decryption oprerations are carried out by server end.Because in aforementioned schemes, to the cryptographic operation of encryption factor by server Carry out, and it is corresponding, also it is decrypted to receiving the check information returned during order generation request by client by server, In the process, if there is the phenomenon that can not be decrypted, then illustrate that client sends the verification letter returned during order generation request The check information for forgery is ceased, also illustrates that very possible client is not carried out according to normal order processing flow, but it is logical Cross forgery check information to want to by verification, the single purpose of brush is carried out so as to realize.
Whether S240, the verification solution confidential information include the encryption factor.
If can normally decrypt, information reading can be carried out to solution confidential information, and then determine that check information whether can It is enough normal verified.Wherein, if solution confidential information includes foregoing encryption factor, i.e., the attribute information of commodity and commodity is special Action message is sold, then can normally complete verification.
S250, if it is not, then to the order generate request verification failure.
If do not include encryption factor in solution confidential information, or when included encryption factor and generation encrypted characters string Encryption factor mismatches, then order generation request verification failure.
What deserves to be explained is in embodiments of the present invention, if the decryption information includes the encryption factor, it can recognize Had no problem for the verification to this part, other verifications can be carried out or determine that the order is normal order, therefore, in this hair In bright embodiment, for the verification by current procedures, it is not specifically limited.
If S260, verification failure, refuse the order generation request.
The present embodiment is on the basis of above-described embodiment, there is provided a kind of to determine to service according to the encryption factor of check information Whether the check information that device receives client passback is correct, so that it is determined that whether the generation request of client order can pass through school Test.Realize according to determining whether order generation request is carried out by normal flow to the verification of check information, such as Fruit is not to terminate order processing by server, improves the fairness of shopping at network environment.
Embodiment three
Fig. 3 is the flow chart of the method for the order processing that the embodiment of the present invention three provides.The present embodiment is in above-described embodiment On the basis of, further restriction has been carried out to encryption factor.
As shown in figure 3, the method for the order processing includes:
S310, when receiving the acknowledgement of orders accessing page request of client, encryption factor is encrypted, generate school Information is tested, wherein, the encryption factor includes:The attribute information of commodity, the special of commodity sell action message and the very first time Point, wherein, the first time point includes receiving the time of the acknowledgement of orders accessing page request.
Wherein, encryption factor further comprises the time that server receives the acknowledgement of orders accessing page request.
S320, the feedback acknowledgement of orders accessing page request, and the check information is sent to the client.
S330, when receive the client order generate request when, the check information is decrypted, solved Confidential information.
S340, calculate in the solution confidential information, the first time point and the time interval at the second time point, described in judgement Whether time interval is less than setting duration, wherein, second time point includes the time for receiving the order generation request.
Calculate the time two that the first time point in the solution confidential information receives the order generation request with server Whether the time interval of person is less than setting duration.Wherein, it can be 30 minutes or shorter or longer to set duration Time, it is believed that when time interval is more than setting duration, then the check information that receives may be by illegal means and break The check information of solution.In order to avoid there is this possibility, the embodiment of the present invention also add the limitation of timeliness, so that it is guaranteed that order Verification is more accurate, maintains the fairness of shopping at network environment.
S350, if it is not, then to the order generate request verification failure.
What deserves to be explained is in embodiments of the present invention, if the time interval is less than setting duration, it is considered that pair The verification of this part has no problem, and can carry out other verifications or determine that the order is normal order, therefore, of the invention real Apply in example, for the verification by current procedures, be not specifically limited.
If S360, verification failure, refuse the order generation request.
The present embodiment is on the basis of above-described embodiment, there is provided a kind of to be asked by receiving order generation according to server The interval of time of the time asked with receiving the acknowledgement of orders page, determine the check information included in order generation request Whether effectively, the standard for order verification is improved, realizes and is preferably protected for shopping at network environment.
Example IV
Fig. 4 is the flow chart of the method for the order processing that the embodiment of the present invention four provides.The present embodiment is in above-described embodiment On the basis of, further restriction has been carried out to encryption factor.
As shown in figure 4, the method for the order processing includes:
S410, when receiving the acknowledgement of orders accessing page request of client, encryption factor is encrypted, generate school Information is tested, wherein, the encryption factor includes:The attribute information of commodity, the special of commodity sell action message and dedicated encrypted Constant.
Wherein, dedicated encrypted constant can be understood as the exclusive encryption constant of the server, can be change, also may be used To be fixed.Dedicated encrypted constant is added in encryption factor can not only increase the non-reproduction of check information, simultaneously The complexity of check information can also be increased, improve the security of check information.
S420, the feedback acknowledgement of orders accessing page request, and the check information is sent to the client.
S430, when receive the client order generate request when, the check information is decrypted, solved Confidential information.
S440, to judge whether the dedicated encrypted constant that includes of solution confidential information includes with the encryption factor special It is consistent with encryption constant.
Wherein, can if the dedicated encrypted constant decrypted and the dedicated encrypted constant in encryption factor are inconsistent To think that the check information is invalid, verification failure.
S450, if it is not, then to the order generate request verification failure.
What deserves to be explained is in embodiments of the present invention, if dedicated encrypted constant verification is correct, it is considered that pair The verification of this part has no problem, and can carry out other verifications or determine that the order is normal order, therefore, of the invention real Apply in example, for the verification by current procedures, be not specifically limited.
If S460, verification failure, refuse the order generation request.
The present embodiment is on the basis of the various embodiments described above, there is provided a kind of method of verification to dedicated encrypted constant, On the basis of above-mentioned each scheme, increase dedicated encrypted constant in encryption factor, the not reproducible of check information can be increased Property, while the complexity of check information can also be increased, improve the security of check information.
Embodiment five
Fig. 5 is the flow chart of the method for the order processing that the embodiment of the present invention five provides.At the applicable order of the present embodiment The situation of reason, this method can be performed by terminal device, and the terminal device can be by the mode of software and/or hardware Lai real It is existing.
As shown in figure 5, the method for the order processing includes:
S510, to server send acknowledgement of orders accessing page request.
Terminal device can send acknowledgement of orders accessing page request by user end to server.
S520, receive the server acknowledgement of orders accessing page request feedback result, and receive check information.
When client receives the feedback result of server, receive in the acknowledgement of orders page data of feedback comprising verification Information.
S530, order generation request is sent to server, and return the check information, the check information is used to obtain The order generation request process instruction of the server.
Client receive user order generation operation after, to server send order generation request, and will described in Check information returns to server in the lump in order generates request data, so that server carries out school to the check information Test.And include refusal order generation according to the check results of server, the process instruction of the reception server, the process instruction and refer to Order and reception order generation instruction.
S540, the execution of order processing of request process instruction is generated according to the order.
Generated according to order or refuse instruction, execution of order processing operation, and order processing result is fed back into user.
Present embodiments provide in order dealing process, the order processing operation of terminal device, by being sent out to server Send acknowledgement of orders accessing page request;The feedback result of the acknowledgement of orders accessing page request of the server is received, and is received Check information;Order generation request is sent to server, and returns the check information, the check information is described for obtaining The order generation request process instruction of server;The execution of order processing of request process instruction is generated according to the order, solved By improper means can brush the problem of single in the prior art, realizing prevents from carrying out the single effect of brush using improper means Fruit.
Embodiment six
Fig. 6 is the structural representation of the device for the order processing that the embodiment of the present invention six provides, and the device can be integrated in In server.As shown in fig. 6, the device of the order processing, including:
Check information generation module 610, for when receiving the acknowledgement of orders accessing page request of client, generating school Test information;
Acknowledgement of orders accessing page request feedback module 620, for feeding back the acknowledgement of orders accessing page request, and will The check information is sent to the client;
Order generation request correction verification module 630, for when receive the client order generate request when, to described Order generation request is verified;
Order generates request processing module 640, if failing for verifying, refuses the order generation request.
During acknowledgement of orders accessing page request of the embodiment of the present invention by receiving client in server, generation verification Information, and when feeding back client acknowledgement of orders accessing page request, the check information is sent to client, works as server When receiving the order generation request of the client, in order generation request whether containing the check information and Whether the check information is correctly verified, and when verification of the server to check information fails, refuses ordering for client Single generation request, solves the problems, such as can to carry out by improper means in the prior art to brush single, and realization is prevented using anon-normal Normal means carry out the single effect of brush.
The method that the device of the above order processing can perform the order processing that the embodiment of the present invention one to four is provided, possesses The corresponding functional module of method and beneficial effect of execution of order processing.
Embodiment seven
Fig. 7 is the structural representation of the device for the order processing that the embodiment of the present invention seven provides, and the device can be integrated in In terminal device.As shown in fig. 7, the device of the order processing, including:
Acknowledgement of orders accessing page request sending module 710, for sending acknowledgement of orders accessing page request to server;
Feedback result receiving module 720, the feedback knot of the acknowledgement of orders accessing page request for receiving the server Fruit, and receive check information;
Order generation request process instruction acquisition module 730, for sending order generation request to server, and return institute Check information is stated, the check information is used for the order generation request process instruction for obtaining the server;
Execution module 740 is instructed, for generating the execution of order processing of request process instruction according to the order.
Present embodiments provide in order dealing process, the order processing operation of terminal device, by being sent out to server Send acknowledgement of orders accessing page request;The feedback result of the acknowledgement of orders accessing page request of the server is received, and is received Check information;Order generation request is sent to server, and returns the check information, the check information is described for obtaining The order generation request process instruction of server;The execution of order processing of request process instruction is generated according to the order, solved By improper means can brush the problem of single in the prior art, realizing prevents from carrying out the single effect of brush using improper means Fruit.
The method that the device of the above order processing can perform the order processing that the embodiment of the present invention five is provided, possesses execution The corresponding functional module of method and beneficial effect of order processing.
Embodiment eight
The embodiment of the present invention also provides a kind of storage medium for including computer executable instructions, and the computer can perform When being performed by computer processor for performing a kind of method of order processing, this method includes for instruction:
When receiving the acknowledgement of orders accessing page request of client, check information is generated;
The acknowledgement of orders accessing page request is fed back, and the check information is sent to the client;
When the order for receiving the client generates request, order generation request is verified;
If verification failure, refuse the order generation request.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.In addition, storage medium can be located at program in the computer system being wherein performed, or It can be located in different second computer systems, second computer system is connected to computer by network (such as internet) System.Second computer system can provide programmed instruction and be used to perform to computer.Term " storage medium " can include can To reside in diverse location two or more storage mediums of (such as in different computer systems by network connection). Storage medium can store the programmed instruction (such as being implemented as computer program) that can be performed by one or more processors.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer The operation for the order processing that executable instruction is not limited to the described above, can also carry out that any embodiment of the present invention provided orders Associative operation in the method singly handled.
Embodiment nine
The present invention may also provide a kind of server.Fig. 8 is that a kind of structure for server that the embodiment of the present invention nine provides is shown It is intended to.As shown in figure 8, the server 800 may include:Processor 801, memory 802, communication interface 803 and bus 804.Place Reason device 801 is connected by bus 804 with memory 802 and communication interface 803.
Wherein, processor 801 can be central processing unit (Central Processing Unit, abbreviation CPU).Processing Device 801 can also be other general processors, digital signal processor (Digital Signal Processing, abbreviation DSP), application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), scene can compile Journey gate array (Field-Programmable Gate Array, abbreviation FPGA) or other PLDs, discrete gate Or transistor logic, discrete hardware components etc..General processor can be that microprocessor or the processor can also It is any conventional processor etc..
Memory 802, volatile memory (volatile memory), such as random access memory can be included (Random-Access Memory, abbreviation RAM);Memory 802 can also include nonvolatile memory (non-volatile Memory), such as read-only storage (Read-Only Memory, abbreviation ROM), flash memory (flash memory), firmly Disk (Hard Disk Drive, abbreviation HDD) or solid state hard disc (Solid-State Drive, abbreviation SSD);Memory 802 is also The combination of the memory of mentioned kind can be included.
Communication interface 803 can be specially interface circuit, during receiving and sending messages or asking, the reception of signal and hair Send, after communication interface 803 receives the information that external equipment is sent, handled to processor 801;In addition, communication interface 803 can lead to Radio communication is crossed to communicate with network and other equipment.
And bus 804 can include data/address bus, power bus, controlling bus and signal condition bus etc..The present embodiment In for clear explanation, various buses are all illustrated as straight line in fig. 8.
Wherein, memory 802 is stored with computer executed instructions.
Processor 801 calls the computer executed instructions stored in memory 802 so that processor 801 performs above-mentioned Any described order processing method.
Server provided by the invention, the method that can perform any of the above-described described order processing, it implements process And beneficial effect is similar to the above embodiments, will not be repeated here.
Embodiment ten
The present invention also provides a kind of terminal device, including:Processor;For storing depositing for the processor-executable instruction Reservoir.Wherein, the processor is configured as:
Acknowledgement of orders accessing page request is sent to server;
The feedback result of the acknowledgement of orders accessing page request of the server is received, and receives check information;
Order generation request is sent to server, and returns the check information, the check information is described for obtaining The order generation request process instruction of server;
The execution of order processing of request process instruction is generated according to the order.
Present embodiments provide in order dealing process, the order processing operation of terminal device, by being sent out to server Send acknowledgement of orders accessing page request;The feedback result of the acknowledgement of orders accessing page request of the server is received, and is received Check information;Order generation request is sent to server, and returns the check information, the check information is described for obtaining The order generation request process instruction of server;The execution of order processing of request process instruction is generated according to the order, solved By improper means can brush the problem of single in the prior art, realizing prevents from carrying out the single effect of brush using improper means Fruit.
Preferred embodiment
In order to allow the technical scheme of the application to be understood by technical staff, present invention also offers preferred embodiment, tool Body is as follows:
Step 1, single product commodity sales promotion generate a token in clearing page, wherein, the encryption factor that token includes includes:
sku_id;That is the id information of commodity;
Constant limit_token_key;
Begin_time between at the beginning of advertising campaign configuration;
Generate server time during token.
Step 2, token cipher modes are Base64 symmetric cryptographies.
When accessing acknowledgement of orders page, token, begin_time can be issued to inside the list of the page by step 3, user.
Token is verified when single under step 4, user, main checking procedure is:
Whether the begin_time of passback and the begin_time decrypted from token are consistent;
Whether the constant limit_token_key decrypted from token is correct;
The server time decrypted from token whether with current time difference within 30 minutes.
Step 5, token verifications can not only obtain new token by user by refresh page again.
In addition, also include:3rd, verification is by the way that acknowledgement of orders page can arouse bullet layer guiding user refresh page and reacquire token。
By using such scheme, it is possible to achieve single product commodity sales promotion places an order, it is impossible to generated by non-page flow Order, token verification ensure that the uniformity of lower single process.After the program, the user that goes on the razzle-dazzle can be liberally Placed an order from the page, more orders can not be generated by script or in other means short time.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (12)

  1. A kind of 1. method of order processing, it is characterised in that including:
    When receiving the acknowledgement of orders accessing page request of client, check information is generated;
    The acknowledgement of orders accessing page request is fed back, and the check information is sent to the client;
    When the order for receiving the client generates request, order generation request is verified;
    If verification failure, refuse the order generation request.
  2. 2. the method for order processing according to claim 1, it is characterised in that when the order for receiving the client is given birth to Into during request, order generation request is verified, including:
    When the order for receiving the client generates request, judge whether the client returns to the check information;
    If it is not, request verification failure is then generated to the order.
  3. 3. the method for order processing according to claim 1, it is characterised in that described when the order for receiving client is true When recognizing accessing page request, check information is generated, including:
    When receiving the acknowledgement of orders accessing page request of client, encryption factor is encrypted, generates check information, its In, the encryption factor includes:The attribute information of commodity and the special of commodity sell action message;
    Accordingly, when the order for receiving the client generates request, order generation request is verified, wrapped Include:
    When the order for receiving the client generates request, the check information is decrypted, obtains solving confidential information;
    Verify whether the solution confidential information includes the encryption factor;
    If it is not, request verification failure is then generated to the order.
  4. 4. the method for order processing according to claim 3, it is characterised in that the encryption factor also includes:When first Between point, the first time point includes receiving time of the acknowledgement of orders accessing page request;
    Accordingly, when the order for receiving the client generates request, order generation request is verified, also wrapped Include:
    When the order for receiving the client generates request, the check information is decrypted, obtains solving confidential information;
    Calculate in the solution confidential information, the first time point and the time interval at the second time point, judge the time interval Whether setting duration is less than, wherein, second time point includes the time for receiving the order generation request;
    If it is not, request verification failure is then generated to the order.
  5. 5. the method for order processing according to claim 3, it is characterised in that the encryption factor also includes dedicated encrypted Constant;
    Accordingly, when the order for receiving the client generates request, order generation request is verified, also wrapped Include:
    When the order for receiving the client generates request, the check information is decrypted, obtains solving confidential information;
    Judge that the dedicated encrypted whether the dedicated encrypted constant that includes of solution confidential information includes with the encryption factor is normal Amount is consistent;
    If it is not, request verification failure is then generated to the order.
  6. 6. the method for order processing according to claim 3, it is characterised in that feeding back the acknowledgement of orders page access please Ask, and the check information is sent to the client, including:
    The check information is carried and fed back in the data of the acknowledgement of orders accessing page request.
  7. A kind of 7. device of order processing, it is characterised in that including:
    Check information generation module, for when receiving the acknowledgement of orders accessing page request of client, generating check information;
    Acknowledgement of orders accessing page request feedback module, for feeding back the acknowledgement of orders accessing page request, and by the school Information is tested to send to the client;
    Order generation request correction verification module, for when the order for receiving the client generates request, being given birth to the order Verified into request;
    Order generates request processing module, if failing for verifying, refuses the order generation request.
  8. A kind of 8. method of order processing, it is characterised in that including:
    Acknowledgement of orders accessing page request is sent to server;
    The feedback result of the acknowledgement of orders accessing page request of the server is received, and receives check information;
    Order generation request is sent to server, and returns the check information, the check information is used to obtain the service The order generation request process instruction of device;
    The execution of order processing of request process instruction is generated according to the order.
  9. A kind of 9. device of order processing, it is characterised in that including:
    Acknowledgement of orders accessing page request sending module, for sending acknowledgement of orders accessing page request to server;
    Feedback result receiving module, the feedback result of the acknowledgement of orders accessing page request for receiving the server, and connect Receive check information;
    Order generation request process instruction acquisition module, for sending order generation request to server, and return the verification Information, the check information are used for the order generation request process instruction for obtaining the server;
    Execution module is instructed, for generating the execution of order processing of request process instruction according to the order.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The order processing method as described in any in claim 1-6 is realized during execution.
  11. A kind of 11. server, it is characterised in that including:Processor, memory, communication interface and bus;The processor passes through The bus is connected with the memory and the communication interface;The memory storage has computer executed instructions;The place Reason device calls the computer executed instructions stored in the memory so that the computing device the claims 1- Order processing method any one of 6.
  12. 12. a kind of terminal device, the terminal device is connected with server communication, it is characterised in that including:Processor;For Store the memory of the processor-executable instruction;Wherein, the processor is configured as:
    Acknowledgement of orders accessing page request is sent to server;
    The feedback result of the acknowledgement of orders accessing page request of the server is received, and receives check information;
    Order generation request is sent to server, and returns the check information, the check information is used to obtain the service The order generation request process instruction of device;
    The execution of order processing of request process instruction is generated according to the order.
CN201710895999.4A 2017-09-28 2017-09-28 Order processing method and device, storage medium, server and terminal equipment Active CN107784554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710895999.4A CN107784554B (en) 2017-09-28 2017-09-28 Order processing method and device, storage medium, server and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710895999.4A CN107784554B (en) 2017-09-28 2017-09-28 Order processing method and device, storage medium, server and terminal equipment

Publications (2)

Publication Number Publication Date
CN107784554A true CN107784554A (en) 2018-03-09
CN107784554B CN107784554B (en) 2020-11-27

Family

ID=61434199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710895999.4A Active CN107784554B (en) 2017-09-28 2017-09-28 Order processing method and device, storage medium, server and terminal equipment

Country Status (1)

Country Link
CN (1) CN107784554B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255671A (en) * 2018-07-18 2019-01-22 北京京东尚科信息技术有限公司 Processing method, device and the computer readable storage medium of order request
CN110381078A (en) * 2019-07-29 2019-10-25 迈普通信技术股份有限公司 Determination method, apparatus, electronic equipment and the storage medium that token renews
CN111260440A (en) * 2020-01-15 2020-06-09 中国铁道科学研究院集团有限公司电子计算技术研究所 Order processing method, device, storage medium and computer equipment
CN113222685A (en) * 2021-04-07 2021-08-06 上海多维度网络科技股份有限公司 Order form verification and cancellation method, device, equipment and storage medium
CN113794679A (en) * 2021-08-02 2021-12-14 浪潮软件股份有限公司 Method and system for preventing automatic script number robbing

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080196069A1 (en) * 2007-02-13 2008-08-14 Samsung Electronics Co., Ltd. Broadcast receiving device to report purchasing information and a reporting method thereof
CN101816148A (en) * 2007-08-06 2010-08-25 伯纳德·德莫森纳特 Be used to verify, data transmit and the system and method for protection against phishing
CN102761580A (en) * 2011-04-29 2012-10-31 阿里巴巴集团控股有限公司 Information safety processing method, processing server and processing client side
CN105160572A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Device and method for controlling order to generate, and seckilling system
CN105225145A (en) * 2015-09-30 2016-01-06 努比亚技术有限公司 Data processing method and device
CN105447700A (en) * 2014-08-27 2016-03-30 阿里巴巴集团控股有限公司 Payment security detection method and device
CN105678553A (en) * 2015-08-05 2016-06-15 腾讯科技(深圳)有限公司 Method, device and system for processing order information
CN106101080A (en) * 2016-05-31 2016-11-09 乐视控股(北京)有限公司 Page access control method and device
CN107067178A (en) * 2017-04-18 2017-08-18 携程计算机技术(上海)有限公司 Order method for evaluating quality and system
CN107180175A (en) * 2017-05-18 2017-09-19 北京京东尚科信息技术有限公司 Allocator and dispenser and delivery system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080196069A1 (en) * 2007-02-13 2008-08-14 Samsung Electronics Co., Ltd. Broadcast receiving device to report purchasing information and a reporting method thereof
CN101816148A (en) * 2007-08-06 2010-08-25 伯纳德·德莫森纳特 Be used to verify, data transmit and the system and method for protection against phishing
CN102761580A (en) * 2011-04-29 2012-10-31 阿里巴巴集团控股有限公司 Information safety processing method, processing server and processing client side
CN104767735A (en) * 2011-04-29 2015-07-08 阿里巴巴集团控股有限公司 Information safety processing method, processing server and processing client side
CN105447700A (en) * 2014-08-27 2016-03-30 阿里巴巴集团控股有限公司 Payment security detection method and device
CN105678553A (en) * 2015-08-05 2016-06-15 腾讯科技(深圳)有限公司 Method, device and system for processing order information
CN105160572A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Device and method for controlling order to generate, and seckilling system
CN105225145A (en) * 2015-09-30 2016-01-06 努比亚技术有限公司 Data processing method and device
CN106101080A (en) * 2016-05-31 2016-11-09 乐视控股(北京)有限公司 Page access control method and device
CN107067178A (en) * 2017-04-18 2017-08-18 携程计算机技术(上海)有限公司 Order method for evaluating quality and system
CN107180175A (en) * 2017-05-18 2017-09-19 北京京东尚科信息技术有限公司 Allocator and dispenser and delivery system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255671A (en) * 2018-07-18 2019-01-22 北京京东尚科信息技术有限公司 Processing method, device and the computer readable storage medium of order request
CN110381078A (en) * 2019-07-29 2019-10-25 迈普通信技术股份有限公司 Determination method, apparatus, electronic equipment and the storage medium that token renews
CN111260440A (en) * 2020-01-15 2020-06-09 中国铁道科学研究院集团有限公司电子计算技术研究所 Order processing method, device, storage medium and computer equipment
CN113222685A (en) * 2021-04-07 2021-08-06 上海多维度网络科技股份有限公司 Order form verification and cancellation method, device, equipment and storage medium
CN113222685B (en) * 2021-04-07 2024-02-20 上海多维度网络科技股份有限公司 Order verification method, device, equipment and storage medium
CN113794679A (en) * 2021-08-02 2021-12-14 浪潮软件股份有限公司 Method and system for preventing automatic script number robbing

Also Published As

Publication number Publication date
CN107784554B (en) 2020-11-27

Similar Documents

Publication Publication Date Title
CN107784554A (en) Method, apparatus, storage medium, server and the terminal device of order processing
KR101250871B1 (en) Distributing premium content with advertising sponsorship
CN102982259B (en) Encrypted content key control device
KR102170008B1 (en) Controlled application distribution
US8645226B1 (en) Coordinating multiple devices in a product purchasing system
US20120130900A1 (en) System and Method for Trading Unused Digital Rights
US20110085667A1 (en) Various methods and apparatuses for securing an application container
CN109191212A (en) Determine method, apparatus, equipment and the computer readable storage medium for sharing user
CN105099675A (en) Method and device for generating authentication data for identity authentication and method and device for identity authentication
CN101427268A (en) Authentication for a commercial transaction using a mobile module
JP2015515762A (en) System and method for accessing digital content using electronic tickets and ticket tokens
US9118622B2 (en) Method and server for sending and lending digital service content
CN110033340A (en) Interior purchase management method, device and the client device of virtual goods
CN111709752A (en) Virtual resource processing method and device, computer readable medium and electronic equipment
CN109831431B (en) Random number encryption method for service provider to initiate generation of access request
CN110717128A (en) Method, device, terminal and storage medium for processing in-application webpage
JP2004013743A (en) Protection/sales support system for digital contents
JP2007293380A (en) Information distribution device, information processor, information processing system, information processing method, and control program
US7073710B2 (en) Method of purchasing refill units online
CN109831433B (en) Third-party-based request encryption method and system between user and server
US20190258827A1 (en) Authentication servers that authenticate items provided by source computer servers
WO2020142993A1 (en) Control method, ticket selling and checking systems and storage medium
TW575826B (en) Software payment and download system and method thereof
KR20130007372A (en) Method for using multimedia service through smart phone
CN116167760A (en) Best practice method for data provider in data transaction environment, electronic device and readable storage medium

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