CN106899565A - One kind request sending method and device - Google Patents

One kind request sending method and device Download PDF

Info

Publication number
CN106899565A
CN106899565A CN201610597555.8A CN201610597555A CN106899565A CN 106899565 A CN106899565 A CN 106899565A CN 201610597555 A CN201610597555 A CN 201610597555A CN 106899565 A CN106899565 A CN 106899565A
Authority
CN
China
Prior art keywords
request
server
payment
sdk
sent
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.)
Pending
Application number
CN201610597555.8A
Other languages
Chinese (zh)
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610597555.8A priority Critical patent/CN106899565A/en
Publication of CN106899565A publication Critical patent/CN106899565A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

This application discloses one kind request sending method, it is used to solve the problems, such as that prior art can cause request to send when user account authority is lifted and interrupt.Method includes:Operation requests are sent to server based on user account;The operating result that the reception server is returned according to the operation requests;When the operating right that operating result is the user account is mismatched with the operation requests, the operation requests are preserved, and operating right lifting request is sent to the server;After the operating right lifting of the user account, the operation requests for preserving are sent to the server.Disclosed herein as well is a kind of send-request unit.

Description

One kind request sending method and device
Technical field
The application is related to field of computer technology, more particularly to a kind of request sending method and device.
Background technology
With continuing to develop for Internet information technique, various Internet resources (such as network storage resources, security monitoring Resource etc.) also continuously emerge.
Internet resources can be existed with text, picture, audio, video, software, database diversified forms.With The data such as personal photo, video, audio can be uploaded to internet by family, and other users are shared to as Internet resources.
And in actual use, user may be expected to the Internet resources of oneself or internet that other people share money Source carries out some operations, such as personal Internet resources are inquired about, or other people Internet resources are inquired about, Or be other people Internet resources obtain etc..
And if an operating right for the Internet resources of user opened to every other user, then may to The information security at family causes very big hidden danger.In order to ensure the safety of the information of user, prior art proposes a kind of user's account Number operating right classification mechanism, using the mechanism can to user to view Internet when the account that is used carry out Permission Levels and draw Point, the Permission Levels of user account are higher, then the operation that user can perform is also more, conversely, authority of user account etc. Level is lower, then the operation that user can perform is also fewer.
It is assumed that the Permission Levels of user account have been divided into tri- ranks from high to low of A, B, C, Permission Levels A can To inquire about the Internet resources of 600,000,000 (Mbyte, MB), the Internet resources that Permission Levels B can inquire about 400MB are carried out, and are weighed Limit grade C can inquire about the Internet resources of 200MB.In this case, it is assumed that the account Permission Levels of certain user are C, should User is currently in use the account and reads caricature, and when the user reads the flux cumulating of caricature more than 200MB, the user will be unable to Continue to read caricature, if now user needs to continue to read caricature, need user to the authority of currently used account Grade is lifted, because when the Permission Levels to user account are lifted, user needs to terminate current ongoing Operant activity, and after Permission Levels lifting, it is impossible to the operant activity before automatically switching back into, it is not easy to the use of user.
Thus how under the premise of not influenceing the transmission of user's current operation request successional, complete to user account authority Lifting turn into prior art problem demanding prompt solution.
The content of the invention
The embodiment of the present application provides a kind of request sending method and device, is used to solve prior art in lifting user account Request can be caused the problem interrupted is sent during authority;
The embodiment of the present application also provides a kind of payment and asks sending method and device, is used to solve prior art in lifting use Family account can cause to pay the problem that request sends interruption when paying amount.
The embodiment of the present application uses following technical proposals:
One kind request sending method, including:
Operation requests are sent to server based on user account;
The operating result that the reception server is returned according to the operation requests;
When the operating right that operating result is the user account is mismatched with the operation requests, the operation is preserved Request, and send operating right lifting request to the server;
After the operating right lifting of the user account, the operation requests for preserving are sent to the server.
One kind pays request sending method, including:
Sent to server based on user account and pay request;
The reception server pays the payment result that request is returned according to described;
When the payment amount that payment result is the user account is mismatched with the request amount of money to be paid that pays When, preserve described payment and ask, and payment amount lifting request is sent to server;
After the payment amount lifting of the user account, the payment for preserving is sent to the server and is asked.
A kind of send-request unit, including:
Request sends first module, for sending operation requests to server based on user account;
Operating result receiving unit, for the operating result that the reception server is returned according to the operation requests;
Privilege-escalation request transmitting unit, the operating result for being received when operating result receiving unit is the user When the operating right of account is mismatched with the operation requests, the operation requests are preserved, and operation is sent to the server Privilege-escalation is asked;
Request sends second unit, after the operating right lifting of the user account, is sent to the server and preserved Operation requests.
One kind pays send-request unit, including:
The first transmitting element of request is paid, request is paid for being sent to server based on user account;
Payment result receiving unit, the payment result that request is returned is paid for the reception server according to described;
Amount lifting request transmitting unit is paid, for being described when the payment result that payment result receiving unit is received When the payment amount of user account is mismatched with the payment request amount of money to be paid, preserve described payment and ask, and to Server sends and pays amount lifting request;
The second transmitting element of request is paid, for after the lifting of the payment amount of the user account, to the server Send the payment request for preserving.
Above-mentioned at least one technical scheme that the embodiment of the present application is used can reach following beneficial effect:
After operation requests are sent to server based on user account, can be asked according to the operation server is received Ask the operating result of return for the user account operating right mismatched with the operation requests when, preserving the operation please Ask, while operating right lifting request is sent to server, and after the lifting of operating right in the user account, from trend Server sends the operation requests for preserving, due to that after user account authority is lifted, can be sent from trend server again and grasped Ask, be input into the operation requests again without user, so as to ensure that the continuity that operation requests send.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen Schematic description and description please does not constitute the improper restriction to the application for explaining the application.In the accompanying drawings:
A kind of request sending method that Fig. 1 is provided for the embodiment of the present application implements schematic flow sheet;
A kind of design sketch at operating result displaying interface that Fig. 2 is provided for the embodiment of the present application;
A kind of effect at operating result displaying interface comprising privilege-escalation page address that Fig. 3 is provided for the embodiment of the present application Fruit is schemed;
A kind of design sketch of privilege-escalation page that Fig. 4 is provided for the embodiment of the present application;
A kind of payment request sending method that Fig. 5 is provided for the embodiment of the present application implements schematic flow sheet;
A kind of concrete structure schematic diagram of send-request unit that Fig. 6 is provided for the embodiment of the present application;
A kind of concrete structure schematic diagram of payment send-request unit that Fig. 7 is provided for the embodiment of the present application.
Specific embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Corresponding accompanying drawing is clearly and completely described to technical scheme.Obviously, described embodiment is only the application one Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
The embodiment of the present application provide request sending method executive agent, can be, but not limited to for mobile phone, panel computer, PC (Personal Computer, PC), intelligent television and any can run application (Application, APP) Terminal device at least one.Additionally, the executive agent, or APP of the method are in itself.
For ease of description, as a example by hereafter executive agent in this way is for reading APP, the implementation method to the method is carried out Introduce.It is appreciated that it is a kind of exemplary explanation that the executive agent of the method is reading APP, it is not construed as to this The restriction of method.
The embodiment of the present application provides a kind of request sending method, is used to solve prior art in lifting user account authority When can cause request send interrupt problem.The method implements schematic flow sheet as shown in figure 1, following steps can be included Suddenly:
Step 11, operation requests are sent based on user account to server;
The user account can refer to that user is reading the account of Active Registration on APP, such as user's Active Registration Caricature reads APP accounts or text reading APP accounts etc.;Or can also be read APP according to the behavior of user from The dynamic account for creating, for example, it is assumed that user A is not reading registered user account on APP, when user A starts reading APP When, reading APP can for user A creates account, (device number of the terminal device for such as, being used according to user A be automatically User A creates user account corresponding with the device number).
Subsequent user often logs in reading APP firstly the need of by user account, and then is read using reading APP Read.
It is then described that operation requests are sent to server based on user account, can refer to that user is logged in by user account After reading APP, the operation requests that reading APP sends to server are triggered by assigned operation.
Step 12, the operating result that the reception server is returned according to the operation requests;
Usually, server can carry out operating right classification, the operating right of user account to different user accounts Grade higher, and the content that can read is also abundanter after the user account is logged in and reads APP, conversely, user account Operating right lower grade, then the content by that can be read after user account login reading APP is also less.
In order to avoid being mismatched with the operating right of user account to the operation requests that server sends based on user account Problem, in one embodiment, server receive based on user account send operation requests after, first will be right The operating right of user account for sending operation requests is inquired about, when Query Result for user account operating right be based on When the operation requests that the user account sends are matched, server can perform according to operation requests and operate and returned to APP is read Operating result.And work as the operating right that Query Result is user account and the operation requests sent based on the user account and mismatch When, server will not perform the corresponding operation of the operation requests, and return to operating result to APP is read, and be received when APP is read The operating result for arriving for the operating right of user account is mismatched with the operation requests when, subsequently reading APP will perform step Rapid 13.
For example, read APP server can by the operating right grade classification of user account into a, b, c Three Estate, The books of D classes, E classes and F classes can be read by the user account that Permission Levels are a grades, by the use that Permission Levels are b grades Family account can read the books of D classes and E classes, and passing through the user account that Permission Levels are c grades can only read the book of D classes Nationality, in this case, when user account Permission Levels please for the reading of E class books with user orientation server transmission for c grades When asking, server is inquired about the operating right of the user account, determines that the user account does not possess the power for reading E class books Limit, server will not perform the corresponding operation of the operation requests, and return to the operation that attendant exclusion is performed to reading APP As a result, read after APP receives the operating result, can by interface as shown in Figure 2, to user show operating result and The reason for causing the attendant exclusion to perform.
Step 13, when the operating result received by performing step 12 be the operating right of the user account with it is described When operation requests are mismatched, the operation requests are preserved, and operating right lifting request is sent to the server;
Usually, APP often by the APP SDK (Software Development Kit, SDK the correlation function of the APP) is realized, wherein, the SDK can be the software frame created for the functional realiey for specifying APP The set of the instruments such as frame, operating system, application programming interface API.For example, read APP can be by the SDK of the APP SDK for sending operation requests, read request is sent to server.
Then when the operating right that the operating result received by performing step 12 is the user account and the operation When request is mismatched, the operation requests are preserved, can specifically included:By the software development for sending the operation requests Kit SDK preserves the operation requests.
It should be noted that it is only a kind of implementation method, in addition, the application to preserve the operation requests by SDK Embodiment can also be preserved using other modes to operation requests, such as, and can also be by slow corresponding to reading APP Deposit to preserve the operation requests.Do not limited for how to preserve described operation requests the embodiment of the present application.
When the operating right that operating result is the user account is mismatched with the operation requests, user can be to clothes Business device sends operating right lifting request, and still as a example by reading APP, user can log in the net of reading APP by browser Stand, and the page is lifted by the website visiting operating right, sending operating right to the server for reading APP by the page carries Rise request.
User's opening operation privilege-escalation page for convenience, and lift the page by Permission Levels and sent to server and grasp Make the operation of privilege-escalation request, in one embodiment, in the operating result that the server that APP is received is returned, often Include the address that operating right lifts the page, the address such as can be URL number (Uniform Resource Locator, URL), i.e., for the website links of the linked operation privilege-escalation page, then sent to server and operated Privilege-escalation is asked, and can specifically be included:The address of the page is lifted according to the operating right included in the operating result, to institute State server and send operating right lifting request.
For example, as shown in figure 3, comprising operating right lifting the page address operating result, wherein, with underscore Network address " www.quanxiantishe.com " is the address that operating right lifts the page.
It should be noted that the Permission Levels lifting page is generally HTML (HyperText Markup Language, HTML) page, and conventional at present is the 5th version HTML, i.e. HTML5.
Usually, the HTML5 pages are loaded generally by HTLM5 containers, in order to load the operating right lifting The HTML5 pages are, it is necessary to call HTML5 containers.
In one embodiment, the address of the page is lifted according to the operating right included in the operating result, to institute State server and send operating right lifting request, can specifically include:Call HTML HTML containers;By described HTML containers, according to the URL, the access request that operating right lifts the page are sent to the server;Load the service The operating right that device is returned according to the access request lifts the page;The page is lifted by the operating right, to the service Device sends operating right lifting request.
Step 14, after the operating right lifting of the user account, the operation requests for preserving is sent to the server.
It is connected it should be noted that reading APP and often setting up real-time Communication for Power with the server of reading APP, to read APP can obtain the information change of the user account for currently logging in reading APP from server in real time, then as reading APP from clothes After business device obtains the information about user account operating right lifting, reading APP can send to server and protect again The operation requests deposited.
For example, reading the operating right lifting request that APP sends when server is received, and carried in response to the operating right Rise after asking to lift user account operating right grade, server can return to user account and operate to reading APP Permission Levels lift completion notice, read APP and lift completion in the user account operating right grade for receiving server return After notice, you can send the operation requests for preserving with to server.In this case, user's using terminal is currently displayed The page may still for operating right lifts the page, due to that cannot show reading APP warp-wise services on the operating right lifting page Device resends the relevant information of operation requests, this may cause user cannot confirm read APP whether again to clothes Business device have sent the operation requests of preservation, and then be likely to result in user by reading APP repetition transmission operation requests.
In order to avoid above mentioned problem, in one embodiment, the HTML5 pages are lifted to clothes by operating right in user After business device sends operating right lifting request, the HTLM5 containers for loading the operating right lifting HTML5 pages can adjust back reading APP, to cause after operating right lifting request is sent, terminal can again show reading APP, then step 13 is implemented Mode can include:The SDK of preservation operation requests in the reading APP is adjusted back by the HTML containers;And by the SDK The operation requests for preserving are sent to the server.
In order to ensure that HTML containers can adjust back the SDK for reading APP, when reading APP calls HTML containers, will set up For sending the SDK of operation requests and the corresponding relation of the HTML containers in reading APP, meanwhile, the SDK will hold to the HTML Device sends readjustment condition, and to cause when the readjustment condition is met, HTML containers are according to the corresponding relation for pre-building, readjustment SDK。
Wherein, the readjustment condition, such as can be to work as HTML container receptions to the assigned operation instruction of user input Triggering, for example, as described in Figure 4, when HTML container receptions to user are by click " submission " button, and the operating right being input into After instruction is submitted in lifting request to, HTML container receptions can be considered as and meet the readjustment condition to the submission instruction, HTML appearances Device will send operating right lifting request to server, while by according to the corresponding relation for pre-setting, adjusting back SDK, work as reading After being used to preserve the SDK of operation requests in APP by HTML containers readjustment, reading APP can be considered as the user account operating rights Limit lifting is completed, and sends the operation requests for preserving to server by the SDK.
A kind of specific implementation of the request sending method for being provided for the embodiment of the present application above, below will be with shopping As a example by APP, it is specific introduce when using shopping APP it is a kind of pay request sending method, the method implements flow Schematic diagram is as shown in figure 5, mainly comprise the steps:
Step 21, is sent to server based on user account and pays request;
User logs in shopping APP by user account, and then carries out commodity purchasing using shopping APP, when user is in purchase After the commodity for expecting to buy are chosen on thing APP, user is somebody's turn to do by clicking on " payment " button, or other operations, and then triggering Shopping APP sends to server and pays request.
Step 22, the reception server pays the payment result that request is returned according to described;
Usually, server can carry out paying amount classification, the payment amount of user account to different user accounts Higher, user is also higher by the payment that can be used after user account login shopping APP, conversely, user account Payment amount it is lower, then the user's payment that can use after the user account logs in shopping APP is also fewer.
In order to avoid being mismatched with the payment amount of user account to the payment request that server sends based on user account Problem, in one embodiment, server receive based on user account send payment request after, first will be right The payment amount for sending the user account of operation requests is inquired about, when Query Result for the payment amount of user account is more than base When the amount of money paid required by the payment request that the user account sends, server can perform payment behaviour according to request is paid Make and return to payment result to shopping APP.And work as the payment amount that Query Result is user account and be less than based on the user account During the amount of money paid required by the payment request of transmission, server will be unable to complete delivery operation, and return to payment to shopping APP As a result, when the operating result that payment APP is received pays the gold paid required by request for the payment amount of user account is less than During volume, in order to complete this time transaction, user may need to lift the payment amount of active user's account by the APP that does shopping, specifically The mode that lifting pays amount refers to step 13.
Step 23, preserves described payment and asks, and sends payment amount lifting request to server;
Wherein, it is general to pass through to preserve the payment request for sending the SDK SDK for paying request.
It should be noted that preserve described payment by SDK to ask to be only a kind of implementation method, in addition, the application Embodiment can also be preserved using other modes to paying request, such as, and can also be by slow corresponding to shopping APP Deposit to preserve the payment request.Do not limited for how to preserve the described request the embodiment of the present application that pays.
User opens and pays the amount lifting page for convenience, and lifts the page to server transmission branch by paying amount The operation of amount lifting request is paid, in one embodiment, in the payment result that the server that shopping APP is received is returned, Usually contain and pay the address that amount lifts the page, the address such as can be URL number (Uniform Resource Locator, URL), i.e., the website links of the amount lifting page are paid for linking, then sent to server and paid Amount lifting request, can specifically include:The address of the page is lifted according to the operating right included in the payment result, to institute State server and send operating right lifting request.
It should be noted that the payment amount lifting page is generally the HTML5 pages, and the HTML5 pages are usually logical Cross HTLM5 containers to load, thus the HTML5 pages are lifted, it is necessary to call HTML5 containers to load the operating right.
In one embodiment, the address of the page is lifted according to the payment amount included in the payment result, to institute State server and send operating right lifting request, can specifically include:Call HTML containers;By the HTML containers, according to The URL, sends to the server and pays the access request that amount lifts the page;The server is loaded according to the access Ask the payment amount lifting page for returning;The page is lifted by the payment amount, is sent to the server and is paid amount Lifting request.
Step 24, after the payment amount lifting of the user account, the payment for preserving is sent to the server and is asked.
In one embodiment, the HTML5 pages are lifted to server transmission payment amount by paying amount in user After lifting request, the HTLM5 containers for loading the payment amount lifting HTML5 pages can adjust back reading APP, to cause sending After paying amount lifting request, terminal can again arouse shopping APP, and show the payment interface of shopping APP, then step 13 Specific implementation can include:The SDK for paying request is preserved in adjusting back the shopping APP by the HTML containers;And lead to Cross the SDK and the payment request for preserving is sent to server.
When the APP that does shopping calls HTML containers, will set up in shopping APP and the SDK and the HTML of request are paid for sending The corresponding relation of container, meanwhile, the SDK will send readjustment condition to the HTML containers, to cause meeting the readjustment bar During part, HTML containers adjust back SDK according to the corresponding relation for pre-building.
Wherein, the readjustment condition, such as can be to work as HTML container receptions to the assigned operation instruction of user input Triggering, for example, when HTML container receptions to user are by clicking on " submission " button, and the payment amount lifting request being input into is carried After interdigital order, HTML container receptions can be considered as and meet the readjustment condition to the submission instruction, and HTML containers will be to service Device sends and pays amount lifting request, while by according to the corresponding relation that pre-sets, adjust back SDK, when in the APP that does shopping for protecting After the SDK for paying request is deposited by HTML containers readjustment, the payment amount that reading APP can be considered as the user account has been lifted Into, and the payment for preserving request is sent to server by the SDK, the payment request that now server meeting basis is received, Again inquiry send the payment request user account payment amount, when server lookup to the account payment amount After lifting, then server performs delivery operation, and return to payment successful result to shopping APP according to the payment request for receiving.
The embodiment of the present application additionally provides a kind of send-request unit, is used to solve prior art in lifting user account power Request can be caused to send the problem interrupted in limited time.The concrete structure schematic diagram of the device as shown in fig. 6, including:Request sends the One unit 31, operating result receiving unit 32, privilege-escalation request transmitting unit 33 and request send second unit 34.
Wherein, request sends first module 31, for sending operation requests to server based on user account;
Operating result receiving unit 32, for the operating result that the reception server is returned according to the operation requests;
Privilege-escalation request transmitting unit 33, for being described when the operating result that operating result receiving unit 32 is received When the operating right of user account is mismatched with the operation requests, the operation requests are preserved, and send to the server Operating right lifting request;
Request sends second unit 34, after the operating right lifting of the user account, is sent to the server and protected The operation requests deposited.
In one embodiment, privilege-escalation request transmitting unit 33, specifically for:Wrapped according in the operating result The operating right for containing lifts the address of the page, and operating right lifting request is sent to the server.
In one embodiment, the address is uniform resource position mark URL, then privilege-escalation request transmitting unit 33, specifically for:Call HTML HTML containers;By the HTML containers, according to the URL, to the clothes Business device sends the access request that operating right lifts the page;Load the operating rights that the server is returned according to the access request The limit lifting page;The page is lifted by the operating right, operating right lifting request is sent to the server.
In one embodiment, privilege-escalation request transmitting unit 33, specifically for:By for sending the operation The SDK SDK of request preserves the operation requests.
In one embodiment, privilege-escalation request transmitting unit 33, specifically for:Call the HTML containers;Build Found the corresponding relation of the SDK and the HTML containers;Determine that the HTML containers adjust back the readjustment condition of the SDK.
In one embodiment, request sends second unit 34, specifically for:When the readjustment condition is met, root According to the corresponding relation, the SDK is adjusted back by the HTML containers;Send what is preserved to the server by the SDK Operation requests.
The embodiment of the present application additionally provides a kind of payment send-request unit, is used to solve prior art in lifting user's account Number pay amount when can cause pay request send interrupt problem.The concrete structure schematic diagram of the device is as shown in fig. 7, bag Include:Pay request and send first module 41, payment result receiving unit 42, payment amount lifting request transmitting unit 43 and branch Pay request and send second unit 44.
Wherein, pay request and send first module 41, request is paid for being sent to server based on user account;
Payment result receiving unit 42, the payment result that request is returned is paid for the reception server according to described;
Amount lifting request transmitting unit 43 is paid, for being when the payment result that payment result receiving unit 42 is received When the payment amount of the user account is mismatched with the payment request amount of money to be paid, preserve described payment and ask, And send payment amount lifting request to the server;
Pay request and send second unit 44, after the payment amount lifting of the user account, sent out to the server The payment of preservation is sent to ask.
In one embodiment, amount lifting request transmitting unit 43 is paid, specifically for:According to the payment result In the payment amount that includes lift the address of the page, sent to the server and pay amount lifting request.
In one embodiment, the address is uniform resource position mark URL, then pay amount lifting request and send single Unit 43, specifically for:Call HTML HTML containers;By the HTML containers, according to the URL, to described Server sends and pays the access request that amount lifts the page;Load the payment that the server is returned according to the access request Amount lifts the page;The page is lifted by the payment amount, is sent to the server and is paid amount lifting request.
In one embodiment, amount lifting request transmitting unit 43 is paid, specifically for:By described for sending The SDK SDK for paying request preserves the payment request.
In one embodiment, amount lifting request transmitting unit 43 is paid, specifically for:The HTML is called to hold Device;Set up the corresponding relation of the SDK and the HTML containers;Determine that the HTML containers adjust back the readjustment condition of the SDK.
In one embodiment, pay request and send second unit 44, specifically for:When meeting the readjustment condition When, according to the corresponding relation, the SDK is adjusted back by the HTML containers;Sent to the server by the SDK and protected The payment request deposited.
Using the embodiment of the present application provide request sending method, when based on user account to server send operation requests Afterwards, can be the user account operating right and institute server is received according to the operating result that the operation requests are returned When stating operation requests mismatch, the operation requests are preserved, while operating right lifting request is sent to server, and described After the lifting of the operating right of user account, the operation requests for preserving are sent from trend server, due in lifting user account After authority, operation requests can be sent from trend server again, be input into the operation requests again without user, so that Ensure that the continuity that operation requests send.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information Store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable 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, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, can be used to store the information that can be accessed by a computing device.Defined according to herein, calculated Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant be intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements not only include those key elements, but also wrapping Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment is intrinsic wants Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.And, the application can be used to be can use in one or more computers for wherein including computer usable program code and deposited The shape of the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent Replace, improve etc., within the scope of should be included in claims hereof.

Claims (20)

1. it is a kind of to ask sending method, it is characterised in that including:
Operation requests are sent to server based on user account;
The operating result that the reception server is returned according to the operation requests;
When the operating right that operating result is the user account is mismatched with the operation requests, preserving the operation please Ask, and operating right lifting request is sent to the server;
After the operating right lifting of the user account, the operation requests for preserving are sent to the server.
2. the method for claim 1, it is characterised in that send operating right lifting request to the server, specifically Including:
The address of the page is lifted according to the operating right included in the operating result, sending operating right to the server carries Rise request.
3. method as claimed in claim 2, it is characterised in that the address is uniform resource position mark URL;
The address of the page is lifted according to the operating right included in the operating result, sending operating right to the server carries Request is risen, is specifically included:
Call HTML HTML containers;
By the HTML containers, according to the URL, the access request that operating right lifts the page is sent to the server;
Load the operating right lifting page that the server is returned according to the access request;
The page is lifted by the operating right, operating right lifting request is sent to the server.
4. method as claimed in claim 3, it is characterised in that preserve the operation requests, specifically include:
The operation requests are preserved by for sending the SDK SDK of the operation requests;
HTML HTML containers are called, is specifically included:
Call the HTML containers;
Set up the corresponding relation of the SDK and the HTML containers;
Determine that the HTML containers adjust back the readjustment condition of the SDK.
5. method as claimed in claim 4, it is characterised in that after the operating right lifting of the user account, to described Server sends the operation requests for preserving, and specifically includes:
When the readjustment condition is met, according to the corresponding relation, the SDK is adjusted back by the HTML containers;
The operation requests for preserving are sent to the server by the SDK.
6. it is a kind of to pay request sending method, it is characterised in that including:
Sent to server based on user account and pay request;
The reception server pays the payment result that request is returned according to described;
When the payment amount that payment result is the user account is mismatched with the payment request amount of money to be paid, protect Deposit described payment to ask, and payment amount lifting request is sent to server;
After the payment amount lifting of the user account, the payment for preserving is sent to the server and is asked.
7. method as claimed in claim 6, it is characterised in that sent to server and pay amount lifting request, specifically included:
The address of the page is lifted according to the payment amount included in the payment result, sending payment amount to the server carries Rise request.
8. method as claimed in claim 7, it is characterised in that the address is uniform resource position mark URL;
The address of the page is lifted according to the payment amount included in the payment result, sending payment amount lifting to server please Ask, specifically include:
HTML containers are called, according to the URL, is sent to the server and is paid the access request that amount lifts the page;
Load the payment amount lifting page that the server is returned according to the access request;
The page is lifted by the payment amount, is sent to the server and is paid amount lifting request.
9. method as claimed in claim 8, it is characterised in that preserve it is described pay request, specifically include:
The payment request is preserved by for sending the SDK SDK for paying request;
HTML containers are called, is specifically included:
Call the HTML containers;
Set up the call relation of the SDK and the HTML containers;
Determine that the HTML containers adjust back the readjustment condition of the SDK.
10. method as claimed in claim 9, it is characterised in that after the payment amount lifting of the user account, to described Server sends the payment request for preserving, and specifically includes:
When the readjustment condition is met, according to the corresponding relation, the SDK is adjusted back by the HTML containers;
The payment for preserving is sent to the server by the SDK to ask.
A kind of 11. send-request units, it is characterised in that including:
Request sends first module, for sending operation requests to server based on user account;
Operating result receiving unit, for the operating result that the reception server is returned according to the operation requests;
Privilege-escalation request transmitting unit, the operating result for being received when operating result receiving unit is the user account Operating right when being mismatched with the operation requests, preserve the operation requests, and operating right is sent to the server Lifting request;
Request sends second unit, after the operating right lifting of the user account, the behaviour for preserving is sent to the server Ask.
12. devices as claimed in claim 11, it is characterised in that privilege-escalation request transmitting unit, specifically for:
The address of the page is lifted according to the operating right included in the operating result, sending operating right to the server carries Rise request.
13. devices as claimed in claim 12, it is characterised in that the address is uniform resource position mark URL;
Privilege-escalation request transmitting unit, specifically for:
Call HTML HTML containers;
By the HTML containers, according to the URL, the access request that operating right lifts the page is sent to the server;
Load the operating right lifting page that the server is returned according to the access request;
The page is lifted by the operating right, operating right lifting request is sent to the server.
14. device as described in power requires 13, it is characterised in that privilege-escalation request transmitting unit, specifically for:
The operation requests are preserved by for sending the SDK SDK of the operation requests;
Privilege-escalation request transmitting unit, specifically for:
Call the HTML containers;
Set up the corresponding relation of the SDK and the HTML containers;
Determine that the HTML containers adjust back the readjustment condition of the SDK.
15. devices as claimed in claim 14, it is characterised in that request sends second unit, specifically for:
When the readjustment condition is met, according to the corresponding relation, the SDK is adjusted back by the HTML containers;
The operation requests for preserving are sent to the server by the SDK.
A kind of 16. payment send-request units, it is characterised in that including:
The first transmitting element of request is paid, request is paid for being sent to server based on user account;
Payment result receiving unit, the payment result that request is returned is paid for the reception server according to described;
Amount lifting request transmitting unit is paid, the payment result for being received when payment result receiving unit is the user When the payment amount of account is mismatched with the payment request amount of money to be paid, preserve described payment and ask, and to service Device sends and pays amount lifting request;
The second transmitting element of request is paid, for after the lifting of the payment amount of the user account, being sent to the server The payment request of preservation.
17. devices as claimed in claim 16, it is characterised in that pay amount lifting request transmitting unit, specifically for:
The address of the page is lifted according to the payment amount included in the payment result, sending payment amount to the server carries Rise request.
18. devices as claimed in claim 17, it is characterised in that the address is uniform resource position mark URL;
Amount lifting request transmitting unit is paid, specifically for:
HTML containers are called, according to the URL, is sent to the server and is paid the access request that amount lifts the page;
Load the payment amount lifting page that the server is returned according to the access request;
The page is lifted by the payment amount, is sent to the server and is paid amount lifting request.
19. devices as claimed in claim 18, it is characterised in that pay amount lifting request transmitting unit, specifically for:
The payment request is preserved by for sending the SDK SDK for paying request;
Amount lifting request transmitting unit is paid, specifically for:
Call the HTML containers;
Set up the call relation of the SDK and the HTML containers;
Determine that the HTML containers adjust back the readjustment condition of the SDK.
20. devices as claimed in claim 19, it is characterised in that pay the second transmitting element of request, specifically for:
When the readjustment condition is met, according to the corresponding relation, the SDK is adjusted back by the HTML containers;
The payment for preserving is sent to the server by the SDK to ask.
CN201610597555.8A 2016-07-26 2016-07-26 One kind request sending method and device Pending CN106899565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610597555.8A CN106899565A (en) 2016-07-26 2016-07-26 One kind request sending method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610597555.8A CN106899565A (en) 2016-07-26 2016-07-26 One kind request sending method and device

Publications (1)

Publication Number Publication Date
CN106899565A true CN106899565A (en) 2017-06-27

Family

ID=59190893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610597555.8A Pending CN106899565A (en) 2016-07-26 2016-07-26 One kind request sending method and device

Country Status (1)

Country Link
CN (1) CN106899565A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301550A (en) * 2017-07-05 2017-10-27 阿里巴巴集团控股有限公司 Acquisition methods, the method for building up and device of amount management and control rule of amount information
CN115118625A (en) * 2018-05-11 2022-09-27 创新先进技术有限公司 Data verification method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441747A (en) * 2008-10-16 2009-05-27 王忠杰 Method for safely replacing bank POS machine
CN102984551A (en) * 2011-09-07 2013-03-20 华为技术有限公司 On-demand method and device and system of paid program
CN103699310A (en) * 2013-12-19 2014-04-02 小米科技有限责任公司 Page reading processing method and device and terminal equipment
KR20140079675A (en) * 2012-12-19 2014-06-27 엘지전자 주식회사 Mobile terminal and method for controlling of the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441747A (en) * 2008-10-16 2009-05-27 王忠杰 Method for safely replacing bank POS machine
CN102984551A (en) * 2011-09-07 2013-03-20 华为技术有限公司 On-demand method and device and system of paid program
KR20140079675A (en) * 2012-12-19 2014-06-27 엘지전자 주식회사 Mobile terminal and method for controlling of the same
CN103699310A (en) * 2013-12-19 2014-04-02 小米科技有限责任公司 Page reading processing method and device and terminal equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301550A (en) * 2017-07-05 2017-10-27 阿里巴巴集团控股有限公司 Acquisition methods, the method for building up and device of amount management and control rule of amount information
CN107301550B (en) * 2017-07-05 2023-10-27 创新先进技术有限公司 Acquisition method of credit information and establishment method and device of credit management and control rule
CN115118625A (en) * 2018-05-11 2022-09-27 创新先进技术有限公司 Data verification method and device
CN115118625B (en) * 2018-05-11 2023-06-27 创新先进技术有限公司 Data verification method and device

Similar Documents

Publication Publication Date Title
US8719421B2 (en) Cross domain interaction of a web application
US8826304B2 (en) Virtual object indirection in a hosted computer environment
WO2018126938A1 (en) Data acquisition method and device
CN107168960B (en) Service execution method and device
US20140136937A1 (en) Providing and procuring worksheet functions through an online marketplace
US20120246017A1 (en) Distributing content
US8755771B2 (en) System, method, and program for generating screen
US10817145B1 (en) System and method for seamlessly integrating an iframe into a webpage
CN107979632A (en) The processing method of pushed information, apparatus and system
CN103838558B (en) Website build a station system and method, access website method and webpage adaptation system
US20130060657A1 (en) Hosting E-Commerce Based on Cloud Computing
US11935068B1 (en) Methods and apparatus for mobile device messaging-based communications using custom-generated deeplinks and based on the hyper text transfer protocol (HTTP)
CN108829398A (en) A kind of mobile terminal page interaction implementation method and device
US20210103993A1 (en) Inter-frame communication
CN110213105A (en) It is a kind of cross-platform micro- using creation method
CN106899565A (en) One kind request sending method and device
US20240220550A1 (en) System and method for controlling access to secure data records in a web browsing session
JP2018503923A (en) General-purpose business procurement
EP4004788A1 (en) Protection of sensitive data fields in webpages
CN108090768A (en) The method and device that a kind of business performs
US20230054880A1 (en) System and method for vehicle loan lead generation
US20140189886A1 (en) Template For Customer Attributes
Hoofnagle et al. The FTC can rise to the privacy challenge, but not without help from Congress
CN102456072B (en) Personalized object dimension
US8082487B2 (en) Method to prevent access of web applications from bookmarked links

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201015

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201015

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170627

RJ01 Rejection of invention patent application after publication