CN110276659A - Resource acquiring method, device, equipment and storage medium - Google Patents

Resource acquiring method, device, equipment and storage medium Download PDF

Info

Publication number
CN110276659A
CN110276659A CN201910518861.1A CN201910518861A CN110276659A CN 110276659 A CN110276659 A CN 110276659A CN 201910518861 A CN201910518861 A CN 201910518861A CN 110276659 A CN110276659 A CN 110276659A
Authority
CN
China
Prior art keywords
resource
value
numerical value
target
target resource
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
CN201910518861.1A
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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201910518861.1A priority Critical patent/CN110276659A/en
Publication of CN110276659A publication Critical patent/CN110276659A/en
Pending legal-status Critical Current

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/0623Item investigation
    • G06Q30/0625Directed, with specific intent or strategy
    • G06Q30/0629Directed, with specific intent or strategy for generating comparisons
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

This application discloses a kind of resource acquiring method, device, equipment and storage mediums, belong to information technology field.The described method includes: receiving the first resource value of user account transfer, first resource value is target resource in the corresponding resource numerical value of first time point for obtaining target resource;Inquire target resource corresponding real time resources numerical value after first time point;In response to inquiring second time point corresponding second resource value of the target resource after first time point less than first resource value, second resource value is shifted to the corresponding resource account of Resource Server, to be based on the second resource value that user account obtains target resource;Information resources numerical value is shifted to user account, information resources numerical value is less than or equal to the difference between first resource value and second resource value.The application extends the mode for obtaining resource, improves flexibility.

Description

Resource acquiring method, device, equipment and storage medium
Technical field
This application involves information technology field, in particular to a kind of resource acquiring method, device, equipment and storage medium.
Background technique
As the possible difference of resource numerical value of the target resource corresponding to different time, point, is used in different times Family may need to obtain target resource using different resource numerical value.Using target resource as air ticket, the corresponding money of target resource For source numerical value is the price of target resource, since the air ticket in same course line is frequent in the fare changes of different time, use Family needs to pay different prices in different time points to purchase the air ticket.
In the related technology, when user wants to obtain target resource, lower single operation can be first carried out, to obtain target resource Resource acquisition order, then delivery operation is executed on the resource acquisition order of target resource, with corresponding to application server Application account shift first resource value, first resource value be target resource in the corresponding resource numerical value of current point in time. After application server receives the first resource value of user account transfer, first resource value is transferred to resource clothes immediately The corresponding resource account of business device, to be that user obtains target resource based on the first resource value.For example, using target resource as machine Ticket, the corresponding resource numerical value of target resource is for price, user can first select boat when purchasing the air ticket on booking platform Class, then filling in order, then pay invoice, after user's pay invoice, booking platform can be directly based upon the valence of user's payment Lattice request airline draws a bill.
It in the related technology, generally can only be with target resource in current time pair after user confirms and obtains target resource The resource numerical value answered obtains target resource, and the mode for obtaining target resource compares limitation, flexibility is not high.
Summary of the invention
The embodiment of the present application provides a kind of resource acquiring method, device, equipment and storage medium, can be used for solving phase The mode for obtaining resource present in the technology of pass compares limitation, the not high problem of flexibility.The technical solution is as follows:
On the one hand, a kind of resource acquiring method is provided, is applied in application server, which comprises
The first resource value of user account transfer is received, the first resource value is that the resource based on target resource obtains Order triggering transfer is taken, for obtaining the target resource, and the first resource value is the target resource first Time point corresponding resource numerical value;
Inquire the target resource corresponding real time resources numerical value after the first time point;
In response to inquiring second time point of the target resource after the first time point corresponding second money Source numerical value is less than the first resource value, second resource value is shifted to the corresponding resource account of Resource Server, to be based on The second resource value is that the user account obtains the target resource;
Information resources numerical value is shifted to the user account, the information resources numerical value is less than or equal to the first resource Difference between numerical value and the second resource value.
Optionally, the inquiry target resource after the first time point corresponding real time resources numerical value it Afterwards, further includes:
It is less than institute in response to inquiring the target resource corresponding real time resources numerical value after the first time point First resource value is stated, the real time resources numerical value is determined as the second resource value, the real time resources numerical value is corresponding Time point be determined as second time point
Optionally, the inquiry target resource after the first time point corresponding real time resources numerical value it Before, further includes:
History resource numerical value based on the target resource corresponding to different time, predicts the target resource described Corresponding minimum resources numerical value in preset duration after first time point;
It is less than the first resource value in response to the minimum resources numerical value, determines that the minimum resources numerical value is corresponding Predicted time range, the predicted time range are located in the preset duration after the first time point;
Inquiry target resource corresponding real time resources numerical value after the first time point, comprising:
Inquire real time resources numerical value of the target resource within the scope of the predicted time;
The inquiry target resource also wraps after corresponding real time resources numerical value after the first time point It includes:
It is less than described the in response to inquiring real time resources numerical value of the target resource within the scope of the predicted time The real time resources numerical value is determined as the second resource value by one resource numerical value, when the real time resources numerical value is corresponding Between point be determined as second time point.
Optionally, before the corresponding resource account transfer second resource value to Resource Server, further includes:
First resource predetermined request is sent to the Resource Server, the first resource predetermined request carries the target The mark of resource makes a reservation for the target resource that corresponding resource numerical value is the second resource value for requesting;
The first resource predetermined response information returned in response to receiving the Resource Server, is based on the first resource Predetermined response information executes the step of shifting second resource value to the corresponding resource account of Resource Server.
Optionally, after the first resource value for receiving user account transfer, further includes:
Secondary resource predetermined request is sent to the Resource Server, receives the Secondary resource that the Resource Server returns Predetermined response information, the Secondary resource predetermined request carry the mark of the target resource, make a reservation for corresponding money for requesting Source numerical value is the target resource of the first resource value;
After the transmission first resource predetermined request to the Resource Server, further includes:
In response to detecting that the first resource predetermined request is not responded by the Resource Server, based on second money Source predetermined response information, the corresponding resource account of Xiang Suoshu Resource Server shifts the first resource value, based on described First resource value is that the user account obtains the target resource.
Optionally, after the first resource value for receiving user account transfer, further includes:
Secondary resource predetermined request is sent to the Resource Server, receives the Secondary resource that the Resource Server returns Predetermined response information, the Secondary resource predetermined request carry the mark of the target resource, make a reservation for corresponding money for requesting Source numerical value is the target resource of the first resource value;
Inquiring the real-time of the target resource can amount to obtain;
In response to inquire the target resource it is real-time can amount to obtain less than the first amount threshold, stop inquiring the mesh Mark resource corresponding real time resources numerical value after the first time point;
Based on the Secondary resource predetermined response information, Xiang Suoshu Resource Server corresponding resource account transfer described the One resource numerical value, to be that the user account obtains the target resource based on the first resource value.
Optionally, after the Secondary resource predetermined response information for receiving the Resource Server return, further includes:
In response to being greater than or equal to preset duration at a distance of duration between current point in time and the first time point, stop Inquire the target resource corresponding real time resources numerical value after the first time point;
Based on the Secondary resource predetermined response information, Xiang Suoshu Resource Server corresponding resource account transfer described the One resource numerical value, to be that the user account obtains the target resource based on the first resource value.
Optionally, the Secondary resource predetermined response information has effective time, and loses automatically after beyond effective time It imitates, after the Secondary resource predetermined response information for receiving the Resource Server return, further includes:
Inquiring second time point of the target resource after the first time point corresponding Secondary resource number Value is less than before the first resource value, in response to detecting that the Secondary resource predetermined response information fails, continues to institute It states Resource Server and sends the Secondary resource predetermined request.
Optionally, the inquiry target resource after the first time point corresponding real time resources numerical value it Before, further includes:
Determine whether the target resource meets delay acquisition condition;
Meet the delay acquisition condition in response to the target resource, executes and inquire the target resource described first After time point the step of corresponding real time resources numerical value.
Optionally, whether the determination target resource meets delay acquisition condition, comprising:
If the target resource meets at least one of the following conditions, it is determined that the target resource meets the delay Acquisition condition:
The corresponding user of the user account is not risk subscribers;
The corresponding user's failed call of the user account asks for the reimbursement information of the target resource;
The target resource obtains quantity more than or equal to the second amount threshold.
On the one hand, a kind of resource acquiring method is provided, is applied in terminal, which comprises
It, will be in user account when the resource acquisition order of the target resource based on display detects numerical value transfer operation It is corresponding using account that first resource value is transferred to application server;
Wherein, the first resource value is the target for obtaining the target resource, the first resource value Resource is in the corresponding resource numerical value of first time point;
After the first time point, the target resource for distributing to the user account is received, is divided alternatively, receiving The target resource of user account described in dispensing, and it is transferred to the information resources numerical value of the user account;
Wherein, the information resources numerical value is less than or equal to the difference between the first resource value and second resource value Value, the second resource value are second time point corresponding number of resources of the target resource after the first time point Value, and the second resource value is less than the first resource value.
Optionally, the resource acquisition order of the target resource includes delay acquisition option, and the delay acquisition option is used Function is obtained in start-up study, the delay acquisition function is used for after the first time point to be less than the first resource The second resource value of numerical value is that the user account obtains the target resource.
Optionally, details icon is shown around the delay acquisition option, the method also includes:
In response to detecting the trigger action to the details icon, the function details letter of the delay acquisition function is shown Breath.
Optionally, described to receive the target resource for distributing to the user account, and it is transferred to user's account Number information resources numerical value after, further includes:
Show the acquisition prompt information of the target resource, the prompt information that obtained includes the Secondary resource number Value, is used to indicate the user account and has been based on the second resource value and get the target resource.
Optionally, the prompt information that obtained further includes the information resources numerical value, is used to indicate the user account It is retired the information resources numerical value.
Optionally, the prompt information that obtained further includes retracting progress queries entrance, the method also includes:
In response to detecting to the trigger action for retracting progress queries entrance, moving back for the information resources numerical value is shown Back into degree.
On the one hand, a kind of resource acquisition device is provided, is applied in application server, described device includes:
First receiving module, for receiving the first resource value of user account transfer, the first resource value is base It is shifted in the resource acquisition order triggering of target resource, for obtaining the target resource, and the first resource value is The target resource is in the corresponding resource numerical value of first time point;
First enquiry module, for inquiring the target resource corresponding real time resources number after the first time point Value;
First shift module, in response to inquire the target resource after the first time point second when Between put corresponding second resource value less than the first resource value, to the corresponding resource account transfer second of Resource Server Resource numerical value, to be that the user account obtains the target resource based on the second resource value;
Second shift module, for shifting information resources numerical value to the user account, the information resources numerical value is less than Or equal to the difference between the first resource value and the second resource value.
Optionally, described device further include:
First determining module, in response to inquiring the target resource corresponding reality after the first time point Shi Ziyuan numerical value is less than the first resource value, and the real time resources numerical value is determined as second resource value, described real-time Resource numerical value corresponding time point was determined as the second time point.
Optionally, described device further include:
Prediction module, for the history resource numerical value based on the target resource corresponding to different time, described in prediction Target resource corresponding minimum resources numerical value in the preset duration after the first time point;
Second determining module, described in, less than the first resource value, being determined in response to the minimum resources numerical value The corresponding predicted time range of minimum resources numerical value, when the predicted time range is located at default after the first time point In length;
First enquiry module, for inquiring real time resources number of the target resource within the scope of the predicted time Value;
Third determining module, in response to inquiring real-time money of the target resource within the scope of the predicted time Source numerical value is less than the first resource value, and the real time resources numerical value is determined as the second resource value, described real-time Resource numerical value corresponding time point is determined as second time point.
Optionally, described device further include:
First sending module, for sending first resource predetermined request to the Resource Server, the first resource is pre- Fixed request carries the mark of the target resource, makes a reservation for the mesh that corresponding resource numerical value is the second resource value for requesting Mark resource;
Trigger module, the first resource predetermined response information for being returned in response to receiving the Resource Server, touching It sends out the second shift module described and is based on the first resource predetermined response information, to the corresponding resource account transfer of Resource Server Second resource value.
Optionally, described device further include:
Second sending module, for the first receiving module receive user account transfer first resource value after, to The Resource Server sends Secondary resource predetermined request;
Second receiving module, the Secondary resource predetermined response information returned for receiving the Resource Server, described the Two resource reservation requests carry the mark of the target resource, for requesting to make a reservation for corresponding resource numerical value to be the first resource The target resource of numerical value;
Third shift module, for the first sending module to the Resource Server send first resource predetermined request it Afterwards, pre- based on the Secondary resource in response to detecting that the first resource predetermined request is not responded by the Resource Server Provisioning response information, the corresponding resource account of Xiang Suoshu Resource Server shift the first resource value, to be based on described first Resource numerical value is that the user account obtains the target resource.
Optionally, described device further include:
Second sending module, for the first receiving module receive user account transfer first resource value after, to The Resource Server sends Secondary resource predetermined request;
Second receiving module, the Secondary resource predetermined response information returned for receiving the Resource Server, described the Two resource reservation requests carry the mark of the target resource, for requesting to make a reservation for corresponding resource numerical value to be the first resource The target resource of numerical value;
Second enquiry module, can amount to obtain for inquiring the real-time of the target resource;
Trigger module, in response to inquire the target resource it is real-time can amount to obtain less than the first amount threshold, The first enquiry module is triggered to stop inquiring target resource corresponding real time resources numerical value after the first time point;
Third shift module, for being based on the Secondary resource predetermined response information, Xiang Suoshu Resource Server is corresponding Resource account shifts the first resource value, to be that the user account obtains the target based on the first resource value Resource.
Optionally, described
Trigger module, for receiving the Secondary resource predetermined response letter that the Resource Server returns in the second receiving module After breath, in response to being greater than or equal to preset duration, triggering at a distance of duration between current point in time and the first time point First enquiry module stops inquiring target resource corresponding real time resources numerical value after the first time point;
Third shift module, for being based on the Secondary resource predetermined response information, Xiang Suoshu Resource Server is corresponding Resource account shifts the first resource value, to be that the user account obtains the target based on the first resource value Resource.
Optionally, the Secondary resource predetermined response information has effective time, and loses automatically after beyond effective time Effect, described device further include:
Trigger module, for inquiring second time point correspondence of the target resource after the first time point Second resource value be less than before the first resource value, in response to detecting that the Secondary resource predetermined response information is lost Effect triggers second sending module and continues to send the Secondary resource predetermined request to the Resource Server.
Optionally, described device further include:
4th determining module, for determining whether the target resource meets delay acquisition condition;
Trigger module triggers first inquiry for meeting the delay acquisition condition in response to the target resource The corresponding real time resources numerical value after the first time point of target resource described in module polls.
Optionally, the 4th determining module is used for:
If the target resource meets at least one of the following conditions, it is determined that the target resource meets the delay Acquisition condition:
The corresponding user of the user account is not risk subscribers;
The corresponding user's failed call of the user account asks for the reimbursement information of the target resource;
The target resource obtains quantity more than or equal to the second amount threshold.
On the one hand, a kind of resource acquisition device is provided, is applied in terminal, described device includes:
Shift module, for when the resource acquisition order of the target resource based on display detects numerical value transfer operation, It is corresponding using account that first resource value in user account is transferred to application server;
Wherein, the first resource value is the target for obtaining the target resource, the first resource value Resource is in the corresponding resource numerical value of first time point;
Receiving module, for after the first time point, receiving the target money for distributing to the user account Source alternatively, receiving the target resource for distributing to the user account, and is transferred to the information resources of the user account Numerical value;
Wherein, the information resources numerical value is less than or equal to the difference between the first resource value and second resource value Value, the second resource value are second time point corresponding number of resources of the target resource after the first time point Value, and the second resource value is less than the first resource value.
Optionally, the resource acquisition order of the target resource includes delay acquisition option, and the delay acquisition option is used Function is obtained in start-up study, the delay acquisition function is used for after the first time point to be less than the first resource The second resource value of numerical value is that the user account obtains the target resource.
Optionally, details icon, described device are shown around the delay acquisition option further include:
Display module, for showing the delay acquisition function in response to detecting the trigger action to the details icon The function detail information of energy.
Optionally, the display module is also used to:
The target resource for distributing to the user account is received in receiving module, and is transferred to the user account Information resources numerical value after, show the acquisition prompt information of the target resource, the prompt information that obtained includes institute Second resource value is stated, the user account is used to indicate and has been based on the second resource value and get the target resource.
Optionally, the prompt information that obtained further includes the information resources numerical value, is used to indicate the user account It is retired the information resources numerical value.
Optionally, the prompt information that obtained further includes retracting progress queries entrance, and the display module is also used to ring Ying Yu detects that the trigger action for retracting progress queries entrance, show the information resources numerical value retracts progress.
On the one hand, a kind of server is provided, the server includes:
One or more processors;
For storing one or more memories of one or more of processor-executable instructions;
Wherein, one or more of processors are configured as executing any resource acquiring method described above.
On the one hand, a kind of terminal is provided, the terminal includes:
One or more processors;
For storing one or more memories of one or more of processor-executable instructions;
Wherein, one or more of processors are configured as executing any resource acquiring method described above.
On the one hand, provide a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium by When the processor of computer executes, enable a computer to execute any resource acquiring method described above.
Technical solution provided by the embodiments of the present application has the benefit that
In the embodiment of the present application, the first resource number for being used to obtain target resource of user account transfer can be first received Then value inquires target resource corresponding real time resources numerical value after first time point, exists in response to inquiring target resource The second time point corresponding second resource value after first time point is less than first resource value, corresponding to Resource Server Resource account shift second resource value, with based on the second resource value be user account obtain target resource, and to Family account shifts information resources numerical value, and information resources numerical value is less than or equal between first resource value and second resource value Difference improves flexibility in this way, extending the mode for obtaining resource.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 be the invention relates to implementation environment schematic diagram;
Fig. 2 is a kind of flow chart of resource acquiring method provided by the embodiments of the present application;
Fig. 3 is a kind of schematic diagram at booking interface provided by the embodiments of the present application;
Fig. 4 is the schematic diagram at another booking interface provided by the embodiments of the present application;
Fig. 5 is the schematic diagram at another booking interface provided by the embodiments of the present application;
Fig. 6 is a kind of schematic diagram of booking process provided by the embodiments of the present application;
Fig. 7 is the flow chart of another resource acquiring method provided by the embodiments of the present application;
Fig. 8 is a kind of structural block diagram of resource acquisition device provided by the embodiments of the present application;
Fig. 9 is the structural block diagram of another resource acquisition device provided by the embodiments of the present application;
Figure 10 is a kind of structural schematic diagram of server provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Before to the embodiment of the present application carrying out that explanation is explained in detail, first the application scenarios of the embodiment of the present application are given Explanation.
Resource acquiring method provided by the embodiments of the present application, can be applied to acquisition corresponding resource numerical value can occur at any time In the scene of the target resource of variation.Wherein, target resource can be air ticket, sight spot, travelling route, hotel, cinema or table It drills, the corresponding resource numerical value of target resource is the price of target resource.Exemplary, method provided by the embodiments of the present application can be with It can changed course line, sight spot, travelling route, cinema or performance etc. or room rate meeting at any time applied to admission fee is obtained Changed hotel or people place etc. or price can changed articles etc. at any time at any time.
It in the related technology, generally can only be right in current time institute with target resource after user confirms and obtains target resource The resource numerical value answered obtains target resource, and the mode for obtaining resource compares limitation, and flexibility is not high, moreover, target resource exists Resource numerical value corresponding to follow-up time may reduce, this will lead to the waste of resource numerical value.By taking target resource is air ticket as an example, User can first select flight, then filling in order, then pay invoice when purchasing the air ticket on booking platform, pay in user After order, the price request airline that booking platform can be directly based upon user's payment draws a bill.But air fare is logical Often change frequently, if subsequent airline adjust admission fee, admission fee reduce, booking platform can not also reuse price adjusted into Row is drawn a bill.
The embodiment of the present application obtains the mode of resource in order to extend, and saves the resource numerical value that user uses, provides one kind After user confirms and obtains target resource, the lower number of resources corresponding to target resource after the current time can be inquired Value, with lower resource numerical value come the method that obtains target resource.
Next, to the invention relates to implementation environment describe in detail.Fig. 1 be the invention relates to Implementation environment schematic diagram, as shown in Figure 1, the implementation environment includes that terminal 10, application server set 20 and Resource Server 30, it can be attached by cable network or wireless network between terminal 10, application server 20 and Resource Server 30.
Wherein, terminal 10 can be mobile phone, tablet computer or computer etc..Application server 20 can answer for resource acquisition Background server, such as the background server of the third-party application for obtaining target resource, for example third party's booking is flat The background server of platform.Resource Server 30 refers to the corresponding server of the owning side of target resource, for example airline sells Ticket server.
Next, to the invention relates to resource acquiring method describe in detail.Fig. 2 is the embodiment of the present application A kind of flow chart of the resource acquiring method provided, this method are applied in implementation environment shown in FIG. 1.As shown in Fig. 2, the party Method includes the following steps:
Step 201: terminal detects numerical value transfer operation in response to the resource acquisition order of the target resource based on display, It is corresponding using account that first resource value in user account is transferred to application server.
Wherein, target resource refer to corresponding resource numerical value can changed resource at any time, such as air ticket, sight spot, trip Swim route, hotel, cinema or performance etc..Resource numerical value is the price of target resource.First resource value is for obtaining target Resource, and first resource value is target resource in the corresponding resource numerical value of first time point.For example, first resource value is used for Target resource is bought, then first resource value is price of the target resource in first time point.Exemplary, first resource value can Think the amount of user's payment.User account is the corresponding user account of user identifier that terminal logs in.
Wherein, the resource acquisition order of target resource is used for request target resource, can pass through the behaviour that places an order by user It triggers.Exemplary, if target resource is air ticket, the resource acquisition order of target resource can be such as first boundary in Fig. 3 Shown in face.Numerical value transfer operation can be the delivery operation of user, for example can be the confirmation branch on click resource acquisition order Pay the operation of option.After detecting delivery operation, the first resource value that user pays can be shifted from user account Into the corresponding application account of application server.
Currently, when user wants to obtain target resource, generally requiring on electric business platform and first selecting the target to be obtained Then resource submits resource acquisition order, then the resource acquisition order based on submission to be paid.As an example, it is purchasing In ticket scene, target resource is air ticket, and flight is selected on booking platform in user, can be based on submitting after filling in order Order paid, when terminal detects the delivery operation of user, the amount that can pay user is from user account transfer It moves on in the account of booking platform.
Step 202: application server receives the first resource value of user account transfer.
Wherein, application server can be corresponding using account based on the application server, receives user account transfer First resource value.First resource value is the resource acquisition order triggering transfer based on target resource, for obtaining target Resource, and first resource value is the target resource in the corresponding resource numerical value of first time point.
It is in the related technology usually immediately to shift first resource acquisition request after receiving first resource acquisition request To Resource Server, to obtain target resource as user account based on first resource value.But in the embodiment of the present application, After receiving first resource acquisition request, first resource acquisition request is not transferred to Resource Server immediately, but first looked into The numerical value for asking target resource real time resources corresponding after first time point, if inquiring more lower than first resource value Second resource value then shifts second resource value to Resource Server, to be based on the second resource value that user account obtains Target resource, in this way, the resource numerical value of user can be saved.
For ease of description, the embodiment of the present application is first looked into after the first resource value for receiving user account transfer The target resource lower second resource value of ratio first resource value corresponding after first time point is ask, then is based on second Resource numerical value is that the function of user account acquisition target resource is known as delay acquisition function.
As an example, after the first resource value for receiving user account transfer, the user can also be first determined Whether the corresponding user of account allows delay acquisition target resource, if allowing, continues following below scheme, if not allowing, immediately First resource value is transferred to the corresponding resource account of Resource Server, to be that user obtains mesh based on first resource value Mark resource.
As an example, the resource acquisition order for the target resource that terminal is shown includes delay acquisition option, the delay It obtains option and obtains function for start-up study, delay acquisition function is used for after first time point to be less than first resource number The second resource value of value is that user account obtains target resource.
As an example, if the delay acquisition option is selected, it is determined that the corresponding user of the user account allows to prolong When obtain target resource, if the delay acquisition option is not selected, it is determined that the corresponding user of the user account does not allow to be delayed Obtain the target resource.
Exemplary, in air ticket purchase scene, delay acquisition function can be referred to as " price reduction protection " service.Please refer to figure 3, when user is purchased the air ticket by the booking application installed in terminal, booking application can provide " price reduction in the order page Protection " service submits order in user, after confirmation payment, then determines that user allows if user has chosen " price reduction protection " service Delay is drawn a bill, i.e. booking application can continue monitoring the whole network admission fee variation, if air ticket is made a price reduction, to draw a bill at a low price for user.Prolonging When draw a bill during, the order status of user can also be switched to the state in drawing a bill.If user does not choose, " price reduction is protected Shield " service then submits order in user, after confirmation payment, then determines user not and allows to be delayed and draw a bill, then booking application need with The price of user's payment is that user draws a bill immediately.
As an example, details icon is also shown around delay acquisition option, in response to detecting to details icon Trigger action, terminal can with display delayed obtain function function detail information.The function detail information is for obtaining delay Function is taken to be introduced.Exemplary, in response to detecting the trigger action to details icon, terminal can be can show message Pop-up, the message pop-up are used to show the function detail information of delay acquisition function.
It is exemplary, referring to FIG. 4, terminal can be shown if user clicks the question mark icon around " price reduction protection " service Show message pop-up, which is used to prompt the function of user " price reduction protection " service, such as the prompt letter of the message pop-up Breath can be " after payment, persistently monitor the variation of the whole network admission fee if air ticket is made a price reduction and return price difference ".It is paid in addition, confirming in user It afterwards, can also be the state of " paying successfully wait draw a bill " by user's order variation, but the trade company of booking application singly remains as and do not prop up The state of paying, i.e. user have paid booking money to booking application, and booking applies not immediate payment to airline, but is looking into After asking low price ticket, then pay low price booking money to airline, and will price difference deduct service charge after be returned to user.
Step 203: application server determines whether target resource meets delay acquisition condition.
As an example, if target resource meets at least one of the following conditions, it is determined that target resource satisfaction is prolonged When obtain condition: 1, the corresponding user of the user account allows delay acquisition target resource;2, the corresponding user of the user account It is not risk subscribers;3, the corresponding user's failed call of the user account asks for the reimbursement information of target resource;4, target resource Quantity can be obtained more than or equal to the second amount threshold.
Wherein, risk subscribers may include the lower user of credit, have greater probability malice obtain target resource user, Compete user or user relevant to the resource owning side of target resource etc..For example, risk is used in air ticket purchase scene Family can be the user inaugural in airline, alternatively, the user etc. to take office in competition side's booking platform.The reimbursement of target resource Information is the voucher that reimbursement obtains resource numerical value used in target resource, for example, in air ticket purchase scene, target resource Submitting an expense account information can be stroke list.Target resource can amount to obtain refer to the remaining number of target resource, for example, being bought in air ticket In scene, target resource can amount to obtain can be the remaining freight space for the flight bought.Second amount threshold can be by user Setting, can also not limited this by application server default setting, the embodiment of the present application.It is exemplary, the second amount threshold It can be 5,6 or 10 etc..
Step 204: application server responses meet delay acquisition condition in target resource, inquire target resource at first Between put after corresponding real time resources numerical value.
It that is to say, however, it is determined that target resource meets delay acquisition condition, then can inquire target resource in first time point Corresponding real time resources numerical value later, for example, real time price of the inquiry target resource after first time point.Show as one Example, for user on booking platform after pay invoice, booking platform can inquire air ticket in the real-time admission fee of follow-up time.
It should be noted that being in the related technology usually vertical after the first resource value for receiving user account transfer First resource value is transferred to the corresponding resource account of Resource Server, to obtain based on first resource value as user account Take target resource.And in the embodiment of the present application, after the first resource value for receiving user account transfer, not immediately by the One resource numerical value is transferred to Resource Server, but first inquires target resource corresponding real time resources number after first time point Value, to be based on the second resource value user account when inquiring second resource value more lower than first resource value Target resource is obtained, in this way, the resource numerical value of user can be saved.
In addition, being unsatisfactory for delay acquisition condition in response to target resource, application server can also be directly by first resource It is corresponding using account that numerical value is transferred to Resource Server, to be user account acquisition target resource based on first resource value. For example, in booking scene, however, it is determined that the air ticket of user's purchase is unsatisfactory for delay acquisition condition, then can be immediately by trade company's order To have paid state to be drawn a bill, i.e. the price immediately based on user's payment is purchased the air ticket for user for overturning.
It should be noted that step 203 is optional step, in another embodiment, application server receives user account It after the first resource value of transfer, can also not know whether target resource meets delay acquisition condition, and directly inquire target Resource corresponding real time resources numerical value after first time point.
Step 205: application server responses are in inquiring second time point pair of the target resource after first time point The second resource value answered is less than first resource value, shifts second resource value to the corresponding resource account of Resource Server, To be based on the second resource value that user account obtains target resource.
Wherein, Resource Server refers to the corresponding server of the owning side of target resource, such as the ticketing clothes of airline Business device.It, can be based on the second resource value directly by target resource numerical value after Resource Server receives second resource value User account is distributed to, target resource can also be sent to application server, user account is distributed to by application server.
Specifically, application server second time point of the inquiry target resource after first time point is corresponding less than the The operation of the second resource value of one resource numerical value may include following two implementation:
The first implementation: in response to inquiring target resource corresponding real time resources numerical value after first time point Less than first resource value, which is determined as second resource value, the real time resources numerical value corresponding time Point was determined as the second time point.
It that is to say, after first time point, as long as inquiring real time resources numerical value corresponding to target resource less than The real time resources numerical value at the time point can be determined as target resource second corresponding to the second time point by one resource numerical value Resource numerical value.For example, after first time point, it, can be by the admission fee as long as inquiring the admission fee lower than user's price paid As low price to be drawn a bill.
Second of implementation: inquiring target resource after first time point before corresponding real time resources numerical value, History resource numerical value based on target resource corresponding to different time predicts that target resource is default after first time point Corresponding minimum resources numerical value in duration;It is less than first resource value in response to minimum resources numerical value, determines minimum resources numerical value Corresponding predicted time range, the predicted time range are located in the preset duration after first time point, then inquire target Real time resources numerical value of the resource within the scope of predicted time, in response to inquiring reality of the target resource within the scope of the predicted time Shi Ziyuan numerical value is less than first resource value, which is determined as second resource value, the real time resources numerical value Corresponding time point was determined as the second time point.
It that is to say, historical data can be based on, predict that target resource institute in the preset duration after first time point is right Then the minimum resources numerical value answered, determines it is possible that the minimum resources number time according to locating for the minimum resources numerical value The predicted time range of value, then inquire target resource corresponding real time resources numerical value within the scope of the predicted time.Later, as long as Real time resources numerical value corresponding to target resource is inquired within the scope of the predicted time less than first resource value, it can should The real time resources numerical value at time point is determined as target resource second resource value corresponding to the second time point.
For example, booking application can correspond to the history flight admission fee of flight according to the air ticket bought in booking scene Delta data, predict lowest fare of the flight in the preset duration after first time point, then determine the lowest price The predicted time range of lattice inquires real-time admission fee of the flight within the scope of the predicted time, within the scope of the predicted time, only The admission fee lower than user's price paid is inquired, it can be using the admission fee as low price to be drawn a bill.
Further, after shifting second resource value to the corresponding resource account of Resource Server, application server First resource predetermined request first can also be sent to Resource Server, first resource predetermined request carries the mark of target resource, For requesting to make a reservation for the target resource that corresponding resource numerical value is second resource value.Later, in response to receiving resource service The first resource predetermined response information that device returns is based on first resource predetermined response information, to the corresponding resource of Resource Server Account shifts second resource value.
Wherein, first resource predetermined request can be based on lower single instruction triggers of application server, for example, the first resource The request that places an order that predetermined request can be submitted to Resource Server for application server, the first resource predetermined response information can be with For trade company's order of Resource Server response.Later, application server can be paid based on trade company's order.
For example, in user's booking air ticket, after pay invoice, if inquiring the low price machine lower than user institute price paid Ticket also can submit order to airline with the price inquired, and the order based on submission is paid, to request to navigate Empty company is drawn a bill with the low price paid.Referring to FIG. 5, assuming that user pays 1730 yuan in pay invoice, in user During waiting is drawn a bill, if the air ticket that booking application query is 1430 yuan to price, booking application also can be with 1430 The price of member carries out trade company to airline and places an order and pay, so that airline is drawn a bill with 1430 yuan of price.
Step 206: application server shifts information resources numerical value to user account, and information resources numerical value is less than or equal to the Difference between one resource numerical value and second resource value.
As an example, information resources numerical value can difference between the first difference and the 4th resource numerical value, first Difference refers to the difference between first resource value and second resource value, and the 4th resource numerical value can be pre-set reference Numerical value, can product between preset ratio and first resource value, the preset ratio is less than 1, and the embodiment of the present application is to this Without limitation.
For example, user pays 1730 yuan in pay invoice and waits and draws a bill referring to FIG. 5, in user's booking, if Subsequent booking, which is applied, buys 1430 yuan of air ticket of same flight for user, then, can be with after buying air ticket for user User is returned to after price difference is deducted service charge.For example, price difference is 300 yuan, the service charge of deduction is 90 yuan.
Step 207: terminal receives the target resource for distributing to user account after first time point, and is transferred to The information resources numerical value of user account.
As an example, the target resource for distributing to user account is received, and is transferred to the third money of user account After the numerical value of source, terminal can be with the acquisition prompt information of displaying target resource, and it includes the second money that this, which has obtained prompt information, Source numerical value is used to indicate user account and gets target resource based on the second resource value.
As an example, this, which has obtained prompt information, to include information resources numerical value, be used to indicate user's account Number it is retired the information resources numerical value.
As an example, it can also include retracting progress queries entrance that this, which has obtained prompt information, in response to detecting The trigger action of progress queries entrance is retracted to this, what which can also show information resources numerical value retracts progress.For example, with It is at a low price after the completion of user draws a bill, user can also check reimbursement progress in interface of drawing a bill, and exemplary, reimbursement progress includes mentioning Hand over reimbursement, reimbursement accept in, in reimbursement and reimbursement is completed etc..
In another embodiment, if not inquiring second resource value, terminal can also receive and distribute to user account Target resource, and the corresponding resource numerical value of the target resource is first resource value.
Referring to FIG. 6, Fig. 6 is a kind of schematic diagram of booking process provided by the embodiments of the present application, as shown in fig. 6, with After family is paid successfully, " price reduction protection " service that booking application can first judge whether user has chosen if user does not choose, is led to Know and draws a bill immediately.If user has chosen, by the overturning of user's order for pay status, trade company's order are still maintained to be paid State, trade company's order refer to that the order purchased the air ticket for user is applied in booking.Later, judge whether the air ticket of user's purchase meets Be delayed condition of drawing a bill, if satisfied, be then user query low price air ticket according to method provided by the embodiments of the present application, if not satisfied, Then by the overturning of trade company's order to have paid state to be drawn a bill, and notify to draw a bill immediately.
In the embodiment of the present application, the first resource number for being used to obtain target resource of user account transfer can be first received Then value inquires target resource corresponding real time resources numerical value after first time point, exists in response to inquiring target resource The second time point corresponding second resource value after first time point is less than first resource value, corresponding to Resource Server Resource account shift second resource value, with based on the second resource value be user account obtain target resource, and to Family account shifts information resources numerical value, and information resources numerical value is less than or equal between first resource value and second resource value Difference improves flexibility in this way, extending the mode for obtaining resource.
Fig. 7 is the flow chart of another resource acquiring method provided by the embodiments of the present application, and this method is applied to application clothes It is engaged in device, as shown in fig. 7, this method comprises the following steps:
Step 701: receiving the first resource value of user account transfer, first resource value is the money based on target resource Source obtains order triggering transfer, and for obtaining target resource, and first resource value is target resource in first time point pair The resource numerical value answered.
Step 702: inquiry target resource corresponding real time resources numerical value after first time point.
It should be noted that the specific implementation process of step 701-702 can refer to above-mentioned steps 202 and 204, the application Details are not described herein for embodiment.
Step 703: sending Secondary resource predetermined request to Resource Server, receive the Secondary resource that Resource Server returns Predetermined response information.
Wherein, Secondary resource predetermined request carries the mark of target resource, is for requesting to make a reservation for corresponding resource numerical value The target resource of first resource value.It that is to say, after the first resource value for receiving user account transfer, can first be based on First resource value places an order to Resource Server.
It can be first resource number to corresponding resource numerical value by sending Secondary resource predetermined request to Resource Server The target resource of value is made a reservation for, namely first occupies the target resource of the corresponding user's request of the user account, to avoid The target resource of user's request is obtained by other users, can so be guaranteed in inquiry less than less than first resource value Second resource value, it is again predetermined based on Secondary resource or when can not get target resource based on the second resource value Response message obtains target resource with first resource value, avoids the case where obtaining fall short resource generation.
As an example, the Secondary resource predetermined request can by application server by lower single instruction triggers, for example, The Secondary resource predetermined request can be pay invoice of the application server based on user, and placing an order for submitting to Resource Server is asked It asks, which is trade company's order of Resource Server response, and trade company's order is non-pay status.
As an example, Secondary resource predetermined response information has effective time, and automatic after beyond effective time Failure.After receiving the Secondary resource predetermined response information that Resource Server returns, in response to detecting that Secondary resource is predetermined Response message failure, application server can also continue to send Secondary resource predetermined request to Resource Server.
If since order is for a long time without payment, the order will be cancelled automatically, therefore when in order to guarantee that order is long Between effectively, can order failure after, continue to Resource Server send Secondary resource predetermined request, to continue to occupy user The target resource of request.
Step 704: inquiring the real-time of target resource can amount to obtain.
After the first resource value for receiving user account transfer, the real-time of target resource can also be inquired and obtained Amount, with judge target resource it is real-time can amount to obtain it is whether sufficient.
Step 705: in response to inquire target resource it is real-time can amount to obtain less than the first amount threshold, stop inquiry mesh Resource corresponding real time resources numerical value after first time point is marked, Secondary resource predetermined response information is based on, to resource service The corresponding resource account of device shifts first resource value, to obtain target resource as user account based on first resource value.
Wherein, the first amount threshold can be preset by user, can also be by money application server default setting, this Shen Please embodiment do not limit this.Exemplary, the first amount threshold can be 5,6,10 or 20 etc..
That is to say, when target resource it is real-time can amount to obtain it is less when, in order to avoid obtain fall short resource the case where Occur, even if not inquiring real time resources numerical value more lower than first resource value also, does not also continue to inquire, but based on the Two resource reservation response messages shift first resource value to the corresponding resource account of Resource Server, to be based on first resource Numerical value is that user account obtains target resource.
For example, in booking scene, when the freight space for the flight that user is bought is less, even if not inquiring also more at a low price The air ticket of lattice does not continue to be inquired yet, but is drawn a bill based on original cost.
Step 706: in response to being greater than or equal to preset duration at a distance of duration between current point in time and first time point, Stop inquiry target resource corresponding real time resources numerical value after first time point, be based on Secondary resource predetermined response information, First resource value is shifted to the corresponding resource account of Resource Server, to obtain mesh as user account based on first resource value Mark resource.
Wherein, preset duration refers to the maximum delay duration of delay acquisition target resource, and exemplary, preset duration can root It is configured according to actual conditions, for example, preset duration can be 8 hours, 1 day or 2 days etc..Further, preset duration may be used also Think the duration apart between first time point and third time point, third time point refers to that cut-off obtains the time of target resource Point.
That is to say, when the time time-out of delay acquisition target resource, in order to avoid obtain fall short resource the case where Occur, even if not inquiring real time resources numerical value more lower than first resource value also, does not also continue to inquire, but based on the Two resource reservation response messages obtain target resource by user account of first resource value.
For example, in booking scene, by taking preset duration can be 8 hours as an example, then after user's pay invoice, if currently The duration of time interval user's pay invoice has reached 8 hours, even if not inquiring the air ticket of more low price also at this time then, also no longer Continue to inquire, but is drawn a bill based on original cost.
Step 707: in response to inquiring second time point of the target resource after first time point corresponding second money Source numerical value is less than first resource value, sends first resource predetermined request to Resource Server.
Wherein, first resource predetermined request carries the mark of target resource, is for requesting to make a reservation for corresponding resource numerical value The target resource of second resource value.
Step 708: the first resource predetermined response information in response to receiving Resource Server return is based on first resource Predetermined response information shifts second resource value to the corresponding resource account of Resource Server, to be based on the second resource value User account obtains target resource.
Step 709: shifting information resources numerical value to user account, information resources numerical value is less than or equal to first resource value Difference between second resource value.
Wherein, the specific implementation of step 707-709 can refer to the associated description of above-mentioned steps 205-206, this Shen Please embodiment details are not described herein.
As an example, application server may also respond to detect first resource predetermined request not by resource service Device response, is based on Secondary resource predetermined response information, shifts first resource value to the corresponding resource account of Resource Server, with It is that user account obtains target resource based on first resource value.
It as an example, can also be after in response to detecting that first resource predetermined request is not responded by Resource Server Continue to Resource Server and sends first resource predetermined request, it is predetermined in response to repeating transmission n times first resource to Resource Server After request, first resource predetermined request is not still responded by Resource Server, then is based on first resource predetermined response information, to The corresponding resource account of Resource Server shifts first resource value, to obtain target as user account based on first resource value Resource.Wherein, N is the integer greater than 1, exemplary, can be 2,3 or 5 etc..
That is, after sending first resource predetermined request to Resource Server, if detecting first resource predetermined request It is not responded, is then retried by Resource Server, still do not responded if retrying n times, be based on first resource predetermined response information, First resource value is shifted to the corresponding resource account of Resource Server, again based on first resource value come for user account Obtain target resource.
For example, in booking scene, if booking application query to the lower low price air ticket of price paid than user, can To be placed an order and be paid based on the low price inquired, if placing an order success, is directly paid, if placing an order unsuccessfully, continued Trial places an order, and still fails if retrying n times, and can inquire the planning for original cost submission based on user's payment singly whether there is, If it exists, then it is based on planning and singly be paid, to use original cost to purchase the air ticket.Further, it is singly not present if planning, it can be with Continue inquiry with the presence or absence of original cost air ticket or low price air ticket, and if it exists, then place an order and pay, if it does not exist, then can also use On one's own account or other booking platforms carry out booking.
In the embodiment of the present application, the first resource number for being used to obtain target resource of user account transfer can be first received Then value inquires target resource corresponding real time resources numerical value after first time point, exists in response to inquiring target resource The second time point corresponding second resource value after first time point is less than first resource value, corresponding to Resource Server Resource account shift second resource value, with based on the second resource value be user account obtain target resource, and to Family account shifts information resources numerical value, and information resources numerical value is less than or equal between first resource value and second resource value Difference improves flexibility in this way, extending the mode for obtaining resource.
Fig. 8 is a kind of structural block diagram of resource acquisition device provided by the embodiments of the present application, which, which can integrate, is answering With in server, referring to Fig. 8, which includes the first receiving module 801, the first enquiry module 802, the first shift module 803 With the second shift module 804.
First receiving module 801, for receiving the first resource value of user account transfer, which is base It is shifted in the resource acquisition order triggering of target resource, for obtaining the target resource, and the first resource value is the mesh Resource is marked in the corresponding resource numerical value of first time point;
First enquiry module 802, for inquiring the target resource corresponding real time resources number after the first time point Value;
First shift module 803, in response to inquire the target resource after the first time point second when Between put corresponding second resource value less than the first resource value, to corresponding the second money of resource account transfer of Resource Server Source numerical value, to be that the user account obtains the target resource based on the second resource value;
Second shift module 804, for the user account shift information resources numerical value, the information resources numerical value be less than or Equal to the difference between the first resource value and the second resource value.
In the embodiment of the present application, the first resource number for being used to obtain target resource of user account transfer can be first received Then value inquires target resource corresponding real time resources numerical value after first time point, exists in response to inquiring target resource The second time point corresponding second resource value after first time point is less than first resource value, corresponding to Resource Server Resource account shift second resource value, with based on the second resource value be user account obtain target resource, and to Family account shifts information resources numerical value, and information resources numerical value is less than or equal between first resource value and second resource value Difference improves flexibility in this way, extending the mode for obtaining resource.
Optionally, the device further include:
First determining module, in response to inquiring the target resource corresponding real-time money after the first time point Source numerical value is less than the first resource value, which is determined as second resource value, the real time resources numerical value pair The time point answered was determined as the second time point.
Optionally, the device further include:
Prediction module predicts the target for the history resource numerical value based on the target resource corresponding to different time Resource corresponding minimum resources numerical value in the preset duration after the first time point;
Second determining module determines the minimum money for being less than the first resource value in response to the minimum resources numerical value The corresponding predicted time range of source numerical value, the predicted time range are located in the preset duration after the first time point;
First enquiry module 802, for inquiring real time resources numerical value of the target resource within the scope of the predicted time;
Third determining module, in response to inquiring real time resources number of the target resource within the scope of the predicted time Value is less than the first resource value, which is determined as the second resource value, and the real time resources numerical value is corresponding Time point be determined as second time point.
Optionally, the device further include:
First sending module, for sending first resource predetermined request to the Resource Server, the first resource is predetermined to be asked The mark for carrying the target resource is sought, makes a reservation for the target resource that corresponding resource numerical value is the second resource value for requesting;
Trigger module, for the first resource predetermined response information in response to receiving Resource Server return, triggering Second shift module is based on the first resource predetermined response information, to corresponding the second money of resource account transfer of Resource Server Source numerical value.
Optionally, the device further include:
Second sending module, for the first receiving module receive user account transfer first resource value after, to The Resource Server sends Secondary resource predetermined request;
Second receiving module, for receiving the Secondary resource predetermined response information of Resource Server return, second money Source predetermined request carries the mark of the target resource, makes a reservation for the mesh that corresponding resource numerical value is the first resource value for requesting Mark resource;
Third shift module, for the first sending module to the Resource Server send first resource predetermined request it Afterwards, in response to detecting that the first resource predetermined request is not responded by the Resource Server, it is based on the Secondary resource predetermined response Information shifts the first resource value to the corresponding resource account of the Resource Server, to be to be somebody's turn to do based on the first resource value User account obtains the target resource.
Optionally, the device further include:
Second sending module, for the first receiving module receive user account transfer first resource value after, to The Resource Server sends Secondary resource predetermined request;
Second receiving module, for receiving the Secondary resource predetermined response information of Resource Server return, second money Source predetermined request carries the mark of the target resource, makes a reservation for the mesh that corresponding resource numerical value is the first resource value for requesting Mark resource;
Second enquiry module, can amount to obtain for inquiring the real-time of the target resource;
Trigger module, in response to inquire the target resource it is real-time can amount to obtain less than the first amount threshold, touching It sends out the first enquiry module and stops the inquiry target resource corresponding real time resources numerical value after the first time point;
Third shift module, for being based on the Secondary resource predetermined response information, to the corresponding resource of the Resource Server Account shifts the first resource value, to be that the user account obtains the target resource based on the first resource value.
Optionally, should
Trigger module, for receiving the Secondary resource predetermined response information of Resource Server return in the second receiving module Later, in response to being greater than or equal to preset duration, triggering first at a distance of duration between current point in time and the first time point Enquiry module stops the inquiry target resource corresponding real time resources numerical value after the first time point;
Third shift module, for being based on the Secondary resource predetermined response information, to the corresponding resource of the Resource Server Account shifts the first resource value, to be that the user account obtains the target resource based on the first resource value.
Optionally, which has effective time, and ceases to be in force automatically after beyond effective time, The device further include:
Trigger module, for inquiring second time point of the target resource after the first time point corresponding Two resource numerical value are less than before the first resource value, in response to detecting that the Secondary resource predetermined response information fails, triggering Second sending module continues to send the Secondary resource predetermined request to the Resource Server.
Optionally, the device further include:
4th determining module, for determining whether the target resource meets delay acquisition condition;
Trigger module triggers first enquiry module and looks into for meeting the delay acquisition condition in response to the target resource Ask the target resource corresponding real time resources numerical value after the first time point.
Optionally, the 4th determining module is used for:
If the target resource meets at least one of the following conditions, it is determined that the target resource meets the delay acquisition item Part:
The corresponding user of the user account is not risk subscribers;
The corresponding user's failed call of the user account asks for the reimbursement information of the target resource;
The target resource obtains quantity more than or equal to the second amount threshold.
Fig. 9 is a kind of structural block diagram of resource acquisition device provided by the embodiments of the present application, which can integrate at end In end, referring to Fig. 9, which includes shift module 901 and receiving module 902.
Shift module 901 detects numerical value transfer operation for the resource acquisition order when the target resource based on display When, it is corresponding using account that the first resource value in user account is transferred to application server;
Wherein, the first resource value is for obtaining the target resource, which is the target resource the One time point corresponding resource numerical value;
Receiving module 902, for receiving the target resource for distributing to the user account after the first time point, Alternatively, receiving the target resource for distributing to the user account, and it is transferred to the information resources numerical value of the user account;
Wherein, which is less than or equal to the difference between the first resource value and second resource value, The second resource value is second time point of the target resource after the first time point corresponding resource numerical value, and this Two resource numerical value are less than the first resource value.
Optionally, the resource acquisition order of the target resource includes delay acquisition option, and the delay acquisition option is for opening Dynamic delay acquisition function, the delay acquisition function after the first time point for being less than the second of the first resource value Resource numerical value is that the user account obtains the target resource.
Optionally, details icon is shown around the delay acquisition option, the device further include:
Display module, for showing the delay acquisition function in response to detecting the trigger action to the details icon Function detail information.
Optionally, which is also used to:
The target resource for distributing to the user account is received in receiving module, and is transferred to the third of the user account After resource numerical value, the acquisition prompt information of the target resource is shown, it includes the Secondary resource number that this, which has obtained prompt information, Value, is used to indicate the user account and has been based on the second resource value and get the target resource.
Optionally, it further includes the information resources numerical value that this, which has obtained prompt information, is used to indicate the user account and is retired The information resources numerical value.
Optionally, it further includes retracting progress queries entrance that this, which has obtained prompt information, the display module be also used in response to Detect the trigger action that progress queries entrance is retracted to this, show the information resources numerical value retracts progress.
It should be understood that resource acquisition device provided by the above embodiment is when obtaining resource, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of function described above Energy.In addition, resource acquisition device provided by the above embodiment and resource acquiring method embodiment belong to same design, it is specific real Existing process is detailed in embodiment of the method, and which is not described herein again.
Figure 10 is a kind of structural schematic diagram of server 1000 provided by the embodiments of the present application, which can be because matching It sets or performance is different and generate bigger difference, may include one or more processors (central Processing units, CPU) 1001 and one or more memory 1002, wherein it is deposited in the memory 1002 At least one instruction is contained, at least one instruction is loaded by the processor 1001 and executed to realize above-mentioned each method The resource acquiring method that embodiment provides.Certainly, the server 1000 can also have wired or wireless network interface, keyboard with And the components such as input/output interface, to carry out input and output, which can also include other for realizing equipment The component of function, this will not be repeated here.
In another embodiment, a kind of non-transitorycomputer readable storage medium is additionally provided, when the storage medium In instruction when being executed by the processor of computer, enable a computer to execute the resource acquisition that above-mentioned each embodiment provides Method.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (21)

1. a kind of resource acquiring method, which is characterized in that be applied in application server, which comprises
The first resource value of user account transfer is received, the first resource value is that the resource acquisition based on target resource is ordered One shot transfer, for obtaining the target resource, and the first resource value is the target resource at the first time The corresponding resource numerical value of point;
Inquire the target resource corresponding real time resources numerical value after the first time point;
In response to inquiring second time point of the target resource after the first time point corresponding Secondary resource number Value is less than the first resource value, second resource value is shifted to the corresponding resource account of Resource Server, based on described Second resource value is that the user account obtains the target resource;
Information resources numerical value is shifted to the user account, the information resources numerical value is less than or equal to the first resource value With the difference between the second resource value.
2. the method as described in claim 1, which is characterized in that the inquiry target resource the first time point it Afterwards after corresponding real time resources numerical value, further includes:
It is less than described the in response to inquiring the target resource corresponding real time resources numerical value after the first time point The real time resources numerical value is determined as the second resource value by one resource numerical value, when the real time resources numerical value is corresponding Between point be determined as second time point.
3. the method as described in claim 1, which is characterized in that the inquiry target resource the first time point it Afterwards before corresponding real time resources numerical value, further includes:
History resource numerical value based on the target resource corresponding to different time, predicts the target resource described first Corresponding minimum resources numerical value in preset duration after time point;
It is less than the first resource value in response to the minimum resources numerical value, determines the corresponding prediction of the minimum resources numerical value Time range, the predicted time range are located in the preset duration after the first time point;
Inquiry target resource corresponding real time resources numerical value after the first time point, comprising:
Inquire real time resources numerical value of the target resource within the scope of the predicted time;
The inquiry target resource is after corresponding real time resources numerical value after the first time point, further includes:
It is less than first money in response to inquiring real time resources numerical value of the target resource within the scope of the predicted time The real time resources numerical value is determined as the second resource value by source numerical value, the real time resources numerical value corresponding time point It is determined as second time point.
4. the method as described in claim 1, which is characterized in that described to the corresponding resource account transfer second of Resource Server Before resource numerical value, further includes:
First resource predetermined request is sent to the Resource Server, the first resource predetermined request carries the target resource Mark, for requesting to make a reservation for the target resource that corresponding resource numerical value is the second resource value;
The first resource predetermined response information returned in response to receiving the Resource Server, it is predetermined based on the first resource Response message executes the step of shifting second resource value to the corresponding resource account of Resource Server.
5. method as claimed in claim 4, which is characterized in that it is described receive user account transfer first resource value it Afterwards, further includes:
Secondary resource predetermined request is sent to the Resource Server, it is predetermined to receive the Secondary resource that the Resource Server returns Response message, the Secondary resource predetermined request carry the mark of the target resource, make a reservation for corresponding number of resources for requesting Value is the target resource of the first resource value;
After the transmission first resource predetermined request to the Resource Server, further includes:
It is pre- based on the Secondary resource in response to detecting that the first resource predetermined request is not responded by the Resource Server Provisioning response information, the corresponding resource account of Xiang Suoshu Resource Server shift the first resource value, to be based on described first Resource numerical value is that the user account obtains the target resource.
6. the method as described in claim 1, which is characterized in that it is described receive user account transfer first resource value it Afterwards, further includes:
Secondary resource predetermined request is sent to the Resource Server, it is predetermined to receive the Secondary resource that the Resource Server returns Response message, the Secondary resource predetermined request carry the mark of the target resource, make a reservation for corresponding number of resources for requesting Value is the target resource of the first resource value;
Inquiring the real-time of the target resource can amount to obtain;
In response to inquire the target resource it is real-time can amount to obtain less than the first amount threshold, stop inquiring the target money Source corresponding real time resources numerical value after the first time point;
Based on the Secondary resource predetermined response information, the corresponding resource account transfer of Xiang Suoshu Resource Server first money Source numerical value, to be that the user account obtains the target resource based on the first resource value.
7. method as claimed in claim 6, which is characterized in that the Secondary resource for receiving the Resource Server return is pre- After provisioning response information, further includes:
In response to being greater than or equal to preset duration at a distance of duration between current point in time and the first time point, stop inquiry The target resource corresponding real time resources numerical value after the first time point;
Based on the Secondary resource predetermined response information, the corresponding resource account transfer of Xiang Suoshu Resource Server first money Source numerical value, to be that the user account obtains the target resource based on the first resource value.
8. the method as described in claim 5-7 is any, which is characterized in that the Secondary resource predetermined response information has effective Duration, and cease to be in force automatically after beyond effective time, the Secondary resource predetermined response for receiving the Resource Server and returning After information, further includes:
Inquiring, second time point corresponding second resource value of the target resource after the first time point is small Before the first resource value, in response to detecting that the Secondary resource predetermined response information fails, continue to the money Source server sends the Secondary resource predetermined request.
9. the method as described in claim 1, which is characterized in that the inquiry target resource the first time point it Afterwards before corresponding real time resources numerical value, further includes:
Determine whether the target resource meets delay acquisition condition;
Meet the delay acquisition condition in response to the target resource, executes and inquire the target resource in the first time After point the step of corresponding real time resources numerical value.
10. method as claimed in claim 9, which is characterized in that whether the determination target resource meets delay acquisition Condition, comprising:
If the target resource meets at least one of the following conditions, it is determined that the target resource meets the delay acquisition Condition:
The corresponding user of the user account is not risk subscribers;
The corresponding user's failed call of the user account asks for the reimbursement information of the target resource;
The target resource obtains quantity more than or equal to the second amount threshold.
11. a kind of resource acquiring method, which is characterized in that be applied in terminal, which comprises
Numerical value transfer operation is detected in response to the resource acquisition order of the target resource based on display, by user account It is corresponding using account that one resource numerical value is transferred to application server;
Wherein, the first resource value is the target resource for obtaining the target resource, the first resource value In the corresponding resource numerical value of first time point;
After the first time point, the target resource for distributing to the user account is received, is distributed to alternatively, receiving The target resource of the user account, and it is transferred to the information resources numerical value of the user account;
Wherein, the information resources numerical value is less than or equal to the difference between the first resource value and second resource value, The second resource value is second time point of the target resource after the first time point corresponding resource numerical value, And the second resource value is less than the first resource value.
12. method as claimed in claim 11, which is characterized in that the resource acquisition order of the target resource includes that delay obtains Option is taken, the delay acquisition option obtains function for start-up study, and the delay acquisition function is used at described first Between put after with the second resource value for being less than the first resource value be that the user account obtains the target resource.
13. method as claimed in claim 12, which is characterized in that details icon is shown around the delay acquisition option, The method also includes:
In response to detecting the trigger action to the details icon, the function detail information of the delay acquisition function is shown.
14. the method as described in claim 11-13 is any, which is characterized in that the user account is distributed in the reception The target resource, and be transferred to after the information resources numerical value of the user account, further includes:
Showing the acquisition prompt information of the target resource, the prompt information that obtained includes the second resource value, It is used to indicate the user account and has been based on the second resource value and get the target resource.
15. method as claimed in claim 14, which is characterized in that the prompt information that obtained further includes the information resources Numerical value is used to indicate the user account and is retired the information resources numerical value.
16. method as claimed in claim 15, which is characterized in that the prompt information that obtained further includes retracting progress queries Entrance, the method also includes:
In response to detecting to the trigger action for retracting progress queries entrance, show the information resources numerical value retract into Degree.
17. a kind of resource acquisition device, which is characterized in that be applied in application server, described device includes:
First receiving module, for receiving the first resource value of user account transfer, the first resource value is based on mesh The resource acquisition order triggering transfer of resource is marked, for obtaining the target resource, and the first resource value is described Target resource is in the corresponding resource numerical value of first time point;
First enquiry module, for inquiring the target resource corresponding real time resources numerical value after the first time point;
First shift module, in response to inquiring second time point of the target resource after the first time point Corresponding second resource value is less than the first resource value, shifts Secondary resource to the corresponding resource account of Resource Server Numerical value, to be that the user account obtains the target resource based on the second resource value;
Second shift module, for shifting information resources numerical value to the user account, the information resources numerical value is less than or waits Difference between the first resource value and the second resource value.
18. a kind of resource acquisition device, which is characterized in that be applied in terminal, described device includes:
Shift module, for that will use when the resource acquisition order of the target resource based on display detects numerical value transfer operation It is corresponding using account that first resource value in the account of family is transferred to application server;
Wherein, the first resource value is the target resource for obtaining the target resource, the first resource value In the corresponding resource numerical value of first time point;
Receiving module is used for after the first time point, receives the target resource for distributing to the user account, or Person receives the target resource for distributing to the user account, and is transferred to the information resources numerical value of the user account;
Wherein, the information resources numerical value is less than or equal to the difference between the first resource value and second resource value, The second resource value is second time point of the target resource after the first time point corresponding resource numerical value, And the second resource value is less than the first resource value.
19. a kind of server, which is characterized in that the server includes:
One or more processors;
For storing one or more memories of one or more of processor-executable instructions;
Wherein, one or more of processors are configured as perform claim and require the described in any item resource acquisition sides 1-10 Method.
20. a kind of terminal, which is characterized in that the terminal includes:
One or more processors;
For storing one or more memories of one or more of processor-executable instructions;
Wherein, one or more of processors are configured as perform claim and require the described in any item resource acquisition sides 11-16 Method.
21. a kind of non-transitorycomputer readable storage medium, which is characterized in that when the instruction in the storage medium is by calculating When the processor of machine executes, enables a computer to perform claim and require the described in any item resource acquisition sides 1-10 or 11-16 Method.
CN201910518861.1A 2019-06-16 2019-06-16 Resource acquiring method, device, equipment and storage medium Pending CN110276659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910518861.1A CN110276659A (en) 2019-06-16 2019-06-16 Resource acquiring method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910518861.1A CN110276659A (en) 2019-06-16 2019-06-16 Resource acquiring method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110276659A true CN110276659A (en) 2019-09-24

Family

ID=67962202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910518861.1A Pending CN110276659A (en) 2019-06-16 2019-06-16 Resource acquiring method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110276659A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111047405A (en) * 2019-12-10 2020-04-21 上海博泰悦臻电子设备制造有限公司 Information acquisition method, information acquisition system, terminal and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349631A (en) * 1999-03-17 2002-05-15 圣达特出版公司 Computer-implemented system and mehtod for booling airline travel itineraries
WO2007127090A2 (en) * 2006-04-26 2007-11-08 David Watkins Method and system for purchasing goods and services for a group of individuals through a communications network
CN103077468A (en) * 2011-10-26 2013-05-01 阿里巴巴集团控股有限公司 Dynamic resource allocation method and system for online transaction
CN103136698A (en) * 2011-11-29 2013-06-05 艺龙网信息技术(北京)有限公司 Processing system and processing method of hotel order
CN105787753A (en) * 2016-02-01 2016-07-20 北京京东尚科信息技术有限公司 Method and system for events triggering and goods return processing
CN105868207A (en) * 2015-01-21 2016-08-17 方正宽带网络服务有限公司 Network resource pushing method and apparatus
CN105897762A (en) * 2016-06-15 2016-08-24 财付通支付科技有限公司 Resource acquisition method and apparatus
US20160275527A1 (en) * 2015-03-16 2016-09-22 GameHedge LLC Event ticket pricing based on a condition
CN107767116A (en) * 2017-10-12 2018-03-06 携程旅游网络技术(上海)有限公司 Trip product automation method for pushing, system, storage medium and electronic equipment
CN109508805A (en) * 2019-01-25 2019-03-22 携程旅游网络技术(上海)有限公司 Flight changes providing method, system, storage medium and the electronic equipment of label information
KR101979764B1 (en) * 2018-07-31 2019-05-17 (주)트립비토즈 Method and system for reserving hotel having functions of compensating the difference as reserving the lowest pricie hotel
CN109767299A (en) * 2019-01-14 2019-05-17 海南英赛德信息系统有限公司 Demand information providing method and device, storage medium and electronic equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349631A (en) * 1999-03-17 2002-05-15 圣达特出版公司 Computer-implemented system and mehtod for booling airline travel itineraries
WO2007127090A2 (en) * 2006-04-26 2007-11-08 David Watkins Method and system for purchasing goods and services for a group of individuals through a communications network
CN103077468A (en) * 2011-10-26 2013-05-01 阿里巴巴集团控股有限公司 Dynamic resource allocation method and system for online transaction
CN103136698A (en) * 2011-11-29 2013-06-05 艺龙网信息技术(北京)有限公司 Processing system and processing method of hotel order
CN105868207A (en) * 2015-01-21 2016-08-17 方正宽带网络服务有限公司 Network resource pushing method and apparatus
US20160275527A1 (en) * 2015-03-16 2016-09-22 GameHedge LLC Event ticket pricing based on a condition
CN105787753A (en) * 2016-02-01 2016-07-20 北京京东尚科信息技术有限公司 Method and system for events triggering and goods return processing
CN105897762A (en) * 2016-06-15 2016-08-24 财付通支付科技有限公司 Resource acquisition method and apparatus
CN107767116A (en) * 2017-10-12 2018-03-06 携程旅游网络技术(上海)有限公司 Trip product automation method for pushing, system, storage medium and electronic equipment
KR101979764B1 (en) * 2018-07-31 2019-05-17 (주)트립비토즈 Method and system for reserving hotel having functions of compensating the difference as reserving the lowest pricie hotel
CN109767299A (en) * 2019-01-14 2019-05-17 海南英赛德信息系统有限公司 Demand information providing method and device, storage medium and electronic equipment
CN109508805A (en) * 2019-01-25 2019-03-22 携程旅游网络技术(上海)有限公司 Flight changes providing method, system, storage medium and the electronic equipment of label information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111047405A (en) * 2019-12-10 2020-04-21 上海博泰悦臻电子设备制造有限公司 Information acquisition method, information acquisition system, terminal and storage medium

Similar Documents

Publication Publication Date Title
US8249552B1 (en) Pre and post-paid service plan manager
CN110443695A (en) Data processing method and its device, electronic equipment and medium
US7986935B1 (en) Service plan optimizer
CN105069706A (en) Method and system for mobile oiling through mobile internet
CN110138865B (en) Spatial crowdsourcing task allocation method, device, equipment and storage medium
CN103368869B (en) Network flow managing system and method
US9710779B1 (en) System, method and apparatus for receiving bids from diners for expedited food delivery
CN111651647B (en) Display method, device and computer system for waybill price
CN102054204A (en) Method, system and device for automatically booking ticket
CN111047243A (en) Method and device for determining logistics distribution cost
CN109978522A (en) A kind of method, apparatus and equipment of order payment
CN109003205A (en) One kind is had dinner method for processing business and system
CN110852659A (en) Logistics management method and device
CN110490482A (en) Method, apparatus, storage medium and the server of order processing
CN112101965A (en) Commodity after-sale processing method and device, electronic equipment and readable storage medium
CN102842095A (en) Application program purchasing method and device
CN109213770A (en) Data processing method, system, computer equipment and storage medium
CN111369201A (en) Cargo distribution method and device, storage medium and electronic equipment
CN104935616A (en) Data processing method, device and ESB system
EP1191776A2 (en) Method for automatically changing an access contract between a prepaid contract and a postpaid contract
CN109493075A (en) For determining the method and apparatus of virtual resource object
CN110276659A (en) Resource acquiring method, device, equipment and storage medium
CN109902996A (en) Order processing method, apparatus, electronic equipment and computer readable storage medium
CN111127224B (en) Information processing method, information processing device, electronic equipment and storage medium
CN104735134B (en) A kind of method and apparatus serviced for providing calculating

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