CN110196769A - A kind of information processing method, device, server and storage medium - Google Patents

A kind of information processing method, device, server and storage medium Download PDF

Info

Publication number
CN110196769A
CN110196769A CN201810355284.4A CN201810355284A CN110196769A CN 110196769 A CN110196769 A CN 110196769A CN 201810355284 A CN201810355284 A CN 201810355284A CN 110196769 A CN110196769 A CN 110196769A
Authority
CN
China
Prior art keywords
virtual resource
information
account
client
data information
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
CN201810355284.4A
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.)
Tenpay Payment Technology Co Ltd
Original Assignee
Tenpay Payment 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 Tenpay Payment Technology Co Ltd filed Critical Tenpay Payment Technology Co Ltd
Priority to CN201810355284.4A priority Critical patent/CN110196769A/en
Publication of CN110196769A publication Critical patent/CN110196769A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of information processing method, device, server and storage mediums, belong to technical field of information processing, this method comprises: receiving the virtual resource transfer request that each client is sent, corresponding virtual resource transfer data information is carried in each virtual resource transfer request;The virtual resource, which is stored, according to preset storage strategy shifts data information;The virtual resource, which is extracted, according to preset extraction rate shifts data information.Method of the invention enables the server to the processing that virtual resource transfer request is steadily carried out according to its processing capacity, reduce requirement of the moment high concurrent request amount to server maximum throughput rate, the cost of whole system is advantageously reduced, user experience effect when server handling ability deficiency is improved.

Description

A kind of information processing method, device, server and storage medium
Technical field
The present invention relates to technical field of information processing, in particular to a kind of information processing method, device, server and storage Medium.
Background technique
With the development of development of Mobile Internet technology, the terminals such as mobile phone have become the necessity in for people's lives, and terminal makes Higher requirements are also raised for processing capacity with the increase of quantity to server, especially when appearance is instantaneously poured in times over clothes When the information process request amount for device service ability of being engaged in, mass users are such as had when the Spring Festival, New Year's Eve was across year while robbing the field of red packet Scape may cause server and snowslide phenomenon occur, handling capacity can sharply decline, very since the processing capacity of server is limited To can not externally provide service completely.
In the prior art, common solution is current limliting in response to the above problems, i.e., to more than server handling ability Information process request is quickly refused to service in the preposition stage, and the manageable information process request of clearance server passes through control System enters the number of requests of system to guarantee that systems stay is steadily run, and the powerless user for providing service is shown and is reported an error Prompt.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
It reports an error duration of state to reduce server current limliting, generally requires the service that deployment is higher than daily demand Device leads to the waste of resource to a certain extent, improves cost;In addition, providing the direct Xiang Qiqiang of user of service for powerless Report an error firmly, lead to poor user experience, user receives report an error prompt after generally can continuously retry at once, server can still be generated big Pressure is measured, the limited service ability of system is wasted.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of information processing method, device, servers And storage medium.The technical solution is as follows:
In a first aspect, providing a kind of information processing method, which comprises
Receive the virtual resource transfer request that each client is sent;It is carried in each virtual resource transfer request Corresponding virtual resource shifts data information;
The virtual resource, which is stored, according to preset storage strategy shifts data information;
The virtual resource, which is extracted, according to preset extraction rate shifts data information.
Second aspect, provides a kind of information processing unit, and described device includes:
First receiving module, the virtual resource transfer request sent for receiving each client;Each virtual resource Corresponding virtual resource transfer data information is carried in transfer request;
Memory module shifts data information for storing the virtual resource according to preset storage strategy;
Extraction module shifts data information for extracting the virtual resource according to preset extraction rate.
The third aspect provides server, comprising: processor and memory;
The memory, for storing computer program instructions;
The processor calls the computer program instructions, the virtual resource transfer sent for receiving each client Request;Corresponding virtual resource transfer data information is carried in each virtual resource transfer request;
The virtual resource, which is stored, according to preset storage strategy shifts data information;
The virtual resource, which is extracted, according to preset extraction rate shifts data information.
Fourth aspect provides a kind of computer storage medium, which is stored with computer program and refers to It enables, which is performed, the method for realizing above- mentioned information processing.
Technical solution provided in an embodiment of the present invention has the benefit that
The present invention is after receiving the virtual resource transfer request that each client is sent, first, in accordance with preset storage plan Corresponding virtual resource transfer data information is slightly stored, is then turned according to the virtual resource that preset extraction rate extracts storage Data information is moved, the processing pressure of server has been buffered, so that server can steadily be carried out according to its processing capacity The processing of virtual resource transfer request reduces the virtual resource transfer request amount of moment high concurrent to server maximum throughput rate Requirement, advantageously reduce the cost of whole system, improve user experience effect when server handling ability deficiency.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, 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 is the schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of information processing method provided in an embodiment of the present invention;
Fig. 3 is the side provided in an embodiment of the present invention that virtual resource transfer data information is stored according to preset storage strategy Method flow diagram;
Fig. 4 is generation index information provided in an embodiment of the present invention, and stores index information and virtual resource transfer data Method flow schematic diagram of the information into the first account;
Fig. 5 is the side provided in an embodiment of the present invention that virtual resource transfer data information is extracted according to preset extraction rate Method flow diagram;
Fig. 6 is the flow diagram of another information processing method provided in an embodiment of the present invention;
Fig. 7 is the flow diagram of another information processing method provided in an embodiment of the present invention;
Fig. 8 is the flow diagram of another information processing method provided in an embodiment of the present invention;
Fig. 9 is the flow diagram of another information processing method provided in an embodiment of the present invention;
Figure 10 is a kind of structural block diagram of information processing unit provided in an embodiment of the present invention;
Figure 11 is the structural block diagram of memory module provided in an embodiment of the present invention;
Figure 12 is the structural block diagram of another information processing unit provided in an embodiment of the present invention;
Figure 13 is the structural block diagram of another information processing unit provided in an embodiment of the present invention;
The structural schematic diagram of Figure 14 server provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Referring to FIG. 1, it illustrates the schematic diagrames of implementation environment provided in an embodiment of the present invention.The implementation environment includes: Server 02 and at least one terminal 01 being connect with the server 02.
Operation has client in terminal 01, which can be any client with virtual resource transmission-receiving function. For example, the client run in terminal 01 can be social application client, instant communication client, payment class application client End, game client read client, are exclusively used in receiving and dispatching client of virtual resource etc..
Terminal 01 can be mobile phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) it is player, on knee portable Computer and desktop computer etc..
Server 02 can be a server, be also possible to the server cluster consisted of several servers, or It is a cloud computing service center.
Server 02 can be established with terminal 01 respectively by network and be communicated to connect.The network can be wireless network, It can be cable network.
It should be noted that in each embodiment of the present invention, related virtual resource can be currency, playsuit Standby, game material, game money, icon, member, title, value-added service, integral, ingot, Jin Dou, cash gift certificate, is converted at game pet Change certificate, discount coupon, greeting card, money etc..The embodiment of the present invention is not construed as limiting resource type.
Referring to FIG. 2, it illustrates a kind of flow chart of information processing method provided in an embodiment of the present invention, the present embodiment Information processing method can be applied in the server 02 of implementation environment shown in Fig. 1.As shown in Fig. 2, the information processing method It may include steps of:
Step 202, the virtual resource transfer request that each client is sent is received.
Specifically, client can be the above-mentioned client for having and sending virtual resource transfer request function, one is operated in In terminal, server receives the virtual resource transfer request that each client is sent.
It should be noted that the quantity for the virtual resource transfer request that the received each client of server is sent can be list Tens of thousands of, hundreds of thousands or millions of etc. in the time of position, it can be the virtual money of the high concurrent generated a moment Source request amount.
In embodiments of the present invention, virtual resource transfer data information is carried in each virtual resource transfer request, Virtual resource transfer data information may include account information, the virtual resource for sending the client of virtual resource transfer request Quantity information and virtual resource sender or the account information of recipient etc., above-mentioned virtual resource quantity information are virtual money The virtual resource quantity shifted required for the transfer request of source.
After server receives the virtual resource transfer request that client is sent, the virtual resource transfer request is obtained immediately In entrained virtual resource shift data information.
Step 204, virtual resource is stored according to preset storage strategy and shifts data information.
In embodiments of the present invention, virtual resource transfer data letter can be stored using following preset storage strategy Breath.
Mode one: virtual resource transfer data information is stored in buffer queue, in asynchronous message queue, subsequent processing is needed Virtual resource transfer data information to be used can directly be extracted from the buffer queue.
Mode two: the method that can use Fig. 3, Fig. 3 show provided in an embodiment of the present invention according to preset storage plan The slightly method flow schematic diagram of storage virtual resource transfer data information, as shown in figure 3, this method comprises:
Step 302, data information is shifted according to virtual resource and generates index information, by the index information and described virtual Resource transfers data information memory is in the first account.
In embodiments of the present invention, server can receive client transmission virtual resource transfer request before, The first account is pre-created.Server can also be when shifting data information generation index information according to virtual resource, according to upper It states virtual resource transfer data information and creates above-mentioned first account in real time, such as can be shifted in data information according to virtual resource Client account information creation the first account corresponding thereto, which can manage relative to the account of client Solution is corresponding virtual account.
It should be noted that in embodiments of the present invention, the account of client and the first account use different storage numbers It is stored according to library, wherein the account of client is stored using relevant database Mysql, and the first account can use memory cloud Storing data library cache storage.
Index information is corresponding with virtual resource transfer request, can be found corresponding thereto only by index information One virtual resource shifts data information.The representation of the index information can be processing odd numbers, or sequence number etc..
In embodiments of the present invention, index information can be generated using method as shown in Figure 4, and store index information with Virtual resource shifts data information into the first account.As shown in figure 4, this method comprises:
Step 3022, the account information of client is obtained.
Server can shift the account information that client is got in data information from virtual resource.
For example, the received virtual resource transfer request of server is respectively A, B, C, gets and turns with the virtual resource Moving and requesting corresponding virtual resource transfer data information is respectively a, b, c.Each virtual resource shifts in data information Account information, virtual resource quantity information including at least client.Such as, virtual resource transfer data information a includes at least visitor The account 1 at family end, virtual resource quantity X;Virtual resource shifts the account 2 that data information b includes at least client, virtual resource Quantity Y;Virtual resource shifts the account 3 that data information c includes at least client, virtual resource quantity Z.Server obtains respectively The account 1 of client, the account 2 of client and the account 3 of client.
Step 3024, index information is generated according to the account information of client.
It should be understood that virtual resource transfer request relevant to the account of client may have it is multiple, then according to visitor The index information that the account at family end generates also be it is multiple, each index information, which correspond to relative virtual resource transfer data, to be believed Breath.
For example, customer end A has sent 3 virtual resource transfer requests to server, correspondingly, server connects respectively This 3 virtual resource transfer requests are received, and obtain the transfer data of virtual resource entrained by this 3 virtual resource transfer requests Information, respectively virtual resource shift data information A1, and virtual resource shifts data information A2 and virtual resource transfer data letter Cease A3.When generating index information, the account A that data information A1 gets client is shifted according to virtual resource, and according to this The account A of client generates index 11;Data information A2, which is shifted, according to virtual resource gets the account A of client, and according to The account A of the client generates index 12;The account A that data information A3 gets client, and root are shifted according to virtual resource Index 13 is generated according to the account A of the client.
Step 3026, the corresponding relationship between index information and virtual resource transfer data information is created.
After generating index information, the corresponding relationship between index information and virtual resource transfer data information is created, with Allow and subsequent corresponding virtual resource is found according to index information shift data information.
For example, the corresponding relationship of creation index 11 and virtual resource transfer data information A1, creation index 12 and virtual money Shift the corresponding relationship of data information A2, the corresponding relationship of creation index 13 and virtual resource transfer data information A3 in source.
Step 3028, according to above-mentioned corresponding relationship by index information and virtual resource transfer data information memory above-mentioned the In one account.
Specifically, the corresponding relationship of the index information of multiple client and virtual resource transfer data information can be stored It in the first account, and is formed and is stored with list, as shown in table 1.In the first account, according to the name on account point of client The corresponding relationship of index information and virtual resource transfer data information under the account of same client is stored in the client by class Under the name on account classification at end.
Table 1
Certainly, in embodiments of the present invention, it can also individually establish first account for each client, i.e., first The account of account and client corresponds.For example, the first account A, first account can be created according to the account A of client A is used to store the corresponding relationship of index information relevant to the account A of client and virtual resource transfer data information.According to visitor The account B at family end creates the first account B, and the first account B is for storing index information relevant to the account B of client and void The corresponding relationship of quasi- resource transfers data information.
Step 304, the index information is stored in buffer queue.
In embodiments of the present invention, buffer queue can be message queue such as asynchronous message queue, which can be with Multiple above-mentioned index informations are stored, multiple index informations can be stored in buffer queue according to the rule of first in, first out.
In practical applications, the index information in buffer queue can be stored according to the account information of client, i.e., each For the corresponding all index informations of the account of client as a caching subqueue, caching index information in subqueue can be by According to the regularly arranged of first in, first out.
It for example, include message subqueue A, message subqueue B and message subqueue C in message queue, wherein message Subqueue A is corresponding with the account A of client, and message subqueue B is corresponding with the account B of client, message subqueue C and client Account C it is corresponding.Storage indexes 11, index 12 and index 13 in message subqueue A, and storage index 21, disappears in message subqueue B Cease storage index 31 in subqueue C.
In embodiments of the present invention, by index information be stored in buffer queue in when, can search in buffer queue with client Index information, is then stored in the caching subqueue by the corresponding caching subqueue of the account information at end, specifically, can be with According to first in, first out rule, which is stored in the tail of the queue of caching subqueue.For example, index information is stored in message team Before column, the account information of client corresponding to the index information is first obtained, is then looked into according to the account information of the client Message subqueue corresponding in message queue is looked for, then index information is stored in the tail of the queue of the message subqueue again.
Step 206, virtual resource is extracted according to preset extraction rate shift data information.
Server can extract virtual resource according to preset extraction rate according to its processing capacity and shift data information.
In embodiments of the present invention, when virtual resource transfer data information be stored in buffer queue when, can directly from Virtual resource is extracted in buffer queue shifts data information.When virtual resource transfer data information is deposited according to method shown in Fig. 3 Chu Shi can be extracted using method shown in fig. 5, and Fig. 5 show provided in an embodiment of the present invention according to preset extraction The method flow schematic diagram of Rate extraction virtual resource transfer data information.As shown in figure 5, this method comprises:
Step 502, the index information is extracted from the buffer queue according to preset extraction rate.
Server can extract rope according to preset extraction rate according to its processing capacity since the head of the queue of buffer queue Fuse breath, to carry out subsequent processing.
Specifically, server can also detect the sky of its Current resource before extracting index information in message queue Not busy state determines the quantity of the index information extracted from buffer queue according to the idle state of the Current resource of detection and is No extraction index information performs corresponding processing.
Step 504, corresponding virtual resource transfer data information is obtained from the first account according to index information.
In embodiments of the present invention, it is corresponding with virtual resource transfer data information that index information is stored in the first account Relationship, server are found after virtual resource corresponding thereto shifts data information by index information and obtain the information.
Information processing method provided in an embodiment of the present invention is asked in the virtual resource transfer for receiving each client transmission After asking, corresponding virtual resource is stored first, in accordance with preset storage strategy and shifts data information, is then mentioned according to preset The virtual resource transfer data information for taking Rate extraction to store, has buffered the processing pressure of server, so that server energy Enough processing that virtual resource transfer request is steadily carried out according to its processing capacity, the virtual resource for reducing moment high concurrent turn Requirement of the request amount to server maximum throughput rate is moved, the cost of whole system is advantageously reduced.Further, since to virtual resource Transfer data information is stored, therefore will not be reported an error to user is strong, and user when server handling ability deficiency is improved Experience effect.
Referring to FIG. 6, it illustrates the flow diagram of another information processing method provided in an embodiment of the present invention, this The information processing method of embodiment can be applied in the server 02 of implementation environment shown in Fig. 1.As shown in fig. 6, at the information Reason method may include steps of:
Step 602, the virtual resource transfer request that each client is sent is received.
It should be noted that the quantity for the virtual resource transfer request that the received each client of server is sent can be list Tens of thousands of, hundreds of thousands or millions of etc. in the time of position, it can be the virtual money of the high concurrent generated a moment Source request amount.
In embodiments of the present invention, virtual resource transfer data information is carried in each virtual resource transfer request, Virtual resource transfer data information may include account information, the virtual resource for sending the client of virtual resource transfer request Quantity information and virtual resource sender or the account information of recipient etc., above-mentioned virtual resource quantity information are virtual money The virtual resource quantity shifted required for the transfer request of source.
After server receives the virtual resource transfer request that client is sent, the virtual resource transfer request is obtained immediately In entrained virtual resource shift data information.
Step 604, data information is shifted according to virtual resource and generates index information, index information and virtual resource are shifted Data information memory is in the first account.
In embodiments of the present invention, server can receive client transmission virtual resource transfer request before, The first account is pre-created.Server can also be when shifting data information generation index information according to virtual resource, according to upper It states virtual resource transfer data information and creates above-mentioned first account in real time, such as can be shifted in data information according to virtual resource Client account information creation the first account corresponding thereto, which can manage relative to the account of client Solution is corresponding virtual account.
It should be noted that in embodiments of the present invention, the account of client and the first account use different storage numbers It is stored according to library, wherein the account of client is stored using relevant database Mysql, and the first account can use memory cloud Storing data library cache storage.
Index information is corresponding with virtual resource transfer request, can be found corresponding thereto only by index information One virtual resource shifts data information.The representation of the index information can be processing odd numbers, or sequence number etc..
It may refer to Fig. 4 with virtual resource transfer data information specifically, how to store index information, it is no longer superfluous here It states.
Fig. 7 is referred to, the embodiment of the present invention can also include: before step 604
Step 702, virtual resource transfer request amount is obtained.
In embodiments of the present invention, virtual resource transfer request amount can be the virtual resource transfer request in the unit time Number, be also possible to the flow summation of each virtual resource transfer request in the unit time.
Step 704, judge whether virtual resource transfer request amount is more than preset threshold, if virtual resource transfer request amount is super Preset threshold is crossed, thens follow the steps 604.
If virtual resource transfer request amount is not above preset threshold, step 614 can be directly executed.
By judging whether the virtual resource transfer request amount obtained is more than preset threshold, whether server is determined with this It has the ability to handle currently received virtual resource transfer request at once.
Preset threshold is corresponding with virtual resource transfer request amount, when virtual resource transfer request amount is in the unit time When the number of the virtual resource transfer request of reason, preset threshold is the virtual resource transfer being capable of handling in the server unit time Request the maximum value of number;When virtual resource transfer request amount is each virtual resource transfer request handled in the unit time When flow summation, preset threshold is the maximum value for the flow being capable of handling in the server unit time.When server reaches above-mentioned When the maximum value of the flow summation of the maximum value of virtual resource transfer request number or each virtual resource transfer request, service Device can be to be run with full load condition, is also possible to such as can be 90% load condition to approach full load condition and run. In order to enable server can be run with peak load and steadily, in embodiments of the present invention, it is preferred that preset threshold setting For when reaching the preset threshold, server is run to approach full load condition, 90% load condition operation such as can be.
It in embodiments of the present invention, can also include the verification step of virtual resource transfer request before step 604, with right The legitimacy of virtual resource transfer request is judged, after being only verified, just can be carried out step 604.For virtual resource The verifying of transfer request specifically includes: continuing with referring to Fig. 7
Step 706, the first verification information is obtained.
In embodiments of the present invention, virtual resource transfer data information includes corresponding with virtual resource transfer request the One verification information, first verification information are used for the legitimacy of server authentication virtual resource transfer request.
First verification information includes full dose element verification information, the full dose element verification information may include platform signature, Operation password, virtual objects content and virtual objects validity signature etc..
Step 708, virtual resource transfer request is verified according to the first verification information, if being verified, is entered Step 604.
Server carries out legitimate verification to the virtual resource transfer request according to the first verification information of acquisition.Specifically Verification process can be the first verification information that server will acquire and be used to carry out virtual resource transfer request with what it was stored The information of verifying is compared to pair, when the two is consistent, it is believed that current virtual resource transfer request is legal, is verified, Ke Yijin Row operates in next step, if the two is not consistent, then it is assumed that current virtual resource transfer request is illegal, and verifying does not pass through.
When verifying does not pass through, server can return to client and verify unsanctioned prompt, to inform that user will not The operation of next step is carried out to its virtual resource transfer request.
It should be noted that all items in full dose element verification information can all be verified when being verified, Can also to it is therein particular or several verify.
Step 606, the prompt that processing is completed in virtual resource transfer request is returned to client.
Server, can after by index information and corresponding virtual resource transfer data information memory in the first account The effect that generate is shifted to fabricate virtual resource, i.e., returns to virtual resource transfer request to client and mentioning for processing is completed Show, to improve the experience effect of user, so as to handle its virtual resource transfer request for server delays noninductive by user.
Step 608, index information is stored in buffer queue.
In embodiments of the present invention, buffer queue can be message queue such as asynchronous message queue, which can be with Multiple above-mentioned index informations are stored, multiple index informations can be stored in buffer queue according to the rule of first in, first out.
Specifically, the index information in buffer queue can be stored according to the account information of client, i.e., each client The corresponding all index informations of account as a caching subqueue, caching the index information in subqueue can be according to first entering What is first gone out is regularly arranged.
In embodiments of the present invention, by index information be stored in buffer queue in when, can search in buffer queue with client Index information, is then stored in the caching subqueue by the corresponding caching subqueue of the account information at end, specifically, can be with According to first in, first out rule, which is stored in the tail of the queue of caching subqueue.For example, index information is stored in message team Before column, the account information of client corresponding to the index information is first obtained, is then looked into according to the account information of the client Message subqueue corresponding in message queue is looked for, then index information is stored in the tail of the queue of the message subqueue again.
Step 610, index information is extracted from buffer queue according to preset extraction rate.
Server can extract rope according to preset extraction rate according to its processing capacity since the head of the queue of message queue Fuse breath, to carry out subsequent processing.
Specifically, server can also detect the sky of its Current resource before extracting index information in message queue Not busy state determines the number of the index information extracted from message queue according to the idle state of the Current resource of detection and is No extraction index information performs corresponding processing.
Step 612, corresponding virtual resource transfer data information is obtained from the first account according to index information.
In embodiments of the present invention, it is corresponding with virtual resource transfer data information that index information is stored in the first account Relationship, server are found after virtual resource corresponding thereto shifts data information by index information and obtain the information.
Step 614, data information is shifted according to virtual resource and corresponding virtual resource quantity is transferred to the second account In.
After server gets virtual resource transfer data information corresponding with index information, the void is further obtained Virtual resource quantity in quasi- resource transfers data information, and the virtual resource equal with the virtual resource quantity is transferred to the In two accounts.
It should be noted that the second account is the account of virtual resource recipient, and in different application scenarios, the second account Family can be the account of the client of different function.For example, the second account can be hair in the scene that the Spring Festival robs red packet across year The account of the client of virtual resource transfer request is sent, that is, robs the account of the client of red packet;In double 11 panic buyings of Taobao, second Account can also be the account of the client of trade company.
It should be noted that preventing the first verification information in virtual resource transfer data information to improve safety It is tampered, it in embodiments of the present invention, can also be including further verification step, to turn to virtual resource before step 614 The legitimacy for moving request is judged that after being only verified, just can be carried out step 614, this further verifies visible again Referring to Fig. 7, specifically include:
Step 710, the second verification information is obtained.
In embodiments of the present invention, virtual resource transfer data information further includes corresponding with virtual resource transfer request Second verification information, second verification information include abstract element verification information, which is and above-mentioned the The corresponding character string MD5 value of full dose element verification information of one verification information.
Step 712, virtual resource transfer request is verified according to the second verification information, if being verified, is entered Step 614.
Server carries out legitimate verification to the virtual resource transfer request according to the second verification information of acquisition.Specifically Verification process can be the second verification information that server will acquire and be used to carry out virtual resource transfer request with what it was stored The information of verifying is compared to pair, when the two is consistent, it is believed that current virtual resource transfer request is legal, is verified, Ke Yijin Row operates in next step, if the two is not consistent, then it is assumed that current virtual resource transfer request is illegal, and verifying does not pass through.
If verifying does not pass through, warning message can be returned to server administrators, informing may verify that information is tampered, It requires manual intervention.
Step 616, the virtual resource deleted in the first account shifts data information.
Corresponding virtual resource quantity is being transferred to the second account according to virtual resource transfer data information by server In after, delete the first account in have occurred and that transfer virtual resource transfer data information.
For example, server extracts index 11 from message queue, got from the first account virtually according to the index 11 Resource transfers data information A1 shifts data information A1 according to the virtual resource and is transferred to its corresponding virtual resource quantity After in the account of client, the virtual resource transfer data information A1 in the first account is deleted, naturally it is also possible to Deletion index 11, to prevent same virtual resource while be stored in the first account and the second account, to guarantee subsequent use It is not in the virtual resource sum virtual height or empty low phenomenon of displaying when family needs to carry out the displaying of virtual resource sum.
Information processing method provided in an embodiment of the present invention has buffered the processing pressure of server, logical to enable the server to The processing that virtual resource transfer request is steadily carried out according to its processing capacity reduces the virtual resource transfer of moment high concurrent Requirement of the request amount to server maximum throughput rate, advantageously reduces the cost of whole system.Further, since turning to virtual resource It moves data information to be stored, therefore will not report an error to user is strong, improve user's body when server handling ability deficiency Test effect.
Referring to FIG. 8, it illustrates the flow diagram of another information processing method provided in an embodiment of the present invention, this The information processing method of embodiment can be applied in the server 02 of implementation environment shown in Fig. 1.As shown in figure 8, at the information Reason method may include steps of:
Step 802, the virtual resource transfer request that each client is sent is received.
In embodiments of the present invention, virtual resource transfer data information is carried in each virtual resource transfer request, Virtual resource transfer data information may include account information, the virtual resource for sending the client of virtual resource transfer request Quantity information and virtual resource sender or the account information of recipient etc., above-mentioned virtual resource quantity information are virtual money The virtual resource quantity shifted required for the transfer request of source.
Step 804, data information is shifted according to virtual resource and generates index information, and index information and virtual resource are turned Data information memory is moved in the first account.
Step 806, index information is stored in buffer queue.
Above-mentioned steps 802-806 is referred to the correlation step of information processing method shown in fig. 6, and details are not described herein.
Step 808, the virtual resource inquiry request that client is sent is received.
When client user needs to inquire the sum of virtual resource, user can pass through user end to server Virtual resource inquiry request is sent, the account information of client is carried in the virtual resource inquiry request.
Correspondingly, server can obtain the account information of the client in the virtual resource inquiry request.
Step 810, it searches virtual resource corresponding with the account information of client in the first account and shifts data information.
After the account information for the client that server carries in getting virtual resource inquiry request, according to client Account information search the first account, to find out virtual resource transinformation corresponding with the account information of the client.Tool Body, server can find all index informations under the account by the account information of client, then be closed according to corresponding System finds each virtual resource by index information and shifts data information.
Step 812, the virtual resource quantity information in virtual resource transfer data information is obtained.
Server looks for virtual resource corresponding with the account information of the client in the first account transfer data information After out, the virtual resource quantity information in virtual resource transfer data information is obtained.It should be understood that in the first account and being somebody's turn to do The corresponding virtual resource transinformation of the account information of client may have several, then server obtains this several respectively Virtual resource quantity information in virtual resource transinformation.
Step 814, the first virtual resource total quantity is calculated according to virtual resource quantity information.
Server calculates the adduction of each virtual resource quantity after getting virtual resource quantity information, and should Calculated result is as the first virtual resource total quantity.
For example, virtual resource quantity corresponding with the account information of client is a, b, c in the first account, then first is empty Quasi- total number resource amount X=a+b+c.
Step 816, according to the account information of client, the second virtual resource sum in the account of the client is obtained Amount.
Server obtains the second virtual resource total quantity in the account of the client according to the account information of the client Y.When for robbing red packet scene, which is currency, and the second virtual resource total quantity Y is the goods in the account of client The coin amount of money.
Step 818, total according to the first virtual resource total quantity and the second virtual resource total quantity calculating third virtual resource Quantity, and the third virtual resource total quantity is returned to client.
Server calculates after calculating and getting the first virtual resource total quantity X and the second virtual resource total quantity Y Third virtual resource total quantity Z.It should be noted that third virtual resource total quantity can be determined according to actual application scenarios Its specific computation rule.
For example, in the application scenarios for robbing red packet, when user needs to inquire the total amount in its account, third virtual resource Total quantity Z=X+Y, i.e., by the first virtual resource total quantity corresponding with the account of the client in the first account and client Account in the second virtual resource total quantity summation, thus by the virtual resource quantity being stored in the first account to be transferred It is presented to the user with the summation of the virtual resource quantity in the account for being transferred to client, so that client user saw The virtual resource total quantity of displaying is the summation in the account of the first account and client;And in the applied field of double 11 panic buyings of Taobao Jing Zhong, when user, that is, article buyer needs to inquire the total amount in its account, third virtual resource total quantity Z=Y-X, i.e., Virtual resource total quantity in the account of client is asked poor with the virtual resource quantity being stored in the first account to be transferred Value.
Information processing method provided in an embodiment of the present invention is due to considering simultaneously when showing virtual resource query result Corresponding virtual resource quantity in first account and the second account, therefore will not be because of the information for using the embodiment of the present invention Processing method has buffered the processing pressure of server and has made the results abnormity shown.
Referring to FIG. 9, it illustrates the flow diagram of another information processing method provided in an embodiment of the present invention, this The information processing method of embodiment can be applied in the server 02 of implementation environment shown in Fig. 1.As shown in figure 9, at the information Reason method may include steps of:
Step 902, the virtual resource transfer request that each client is sent is received.
In embodiments of the present invention, virtual resource transfer data information is carried in each virtual resource transfer request, Virtual resource transfer data information may include account information, the virtual resource for sending the client of virtual resource transfer request Quantity information and virtual resource sender or the account information of recipient etc., above-mentioned virtual resource quantity information are virtual money The virtual resource quantity shifted required for the transfer request of source.
Step 904, data information is shifted according to virtual resource and generates index information, and index information and virtual resource are turned Data information memory is moved in the first account.
Step 906, index information is stored in buffer queue.
Above-mentioned steps 902-906 is referred to the correlation step of information processing method shown in fig. 6, and details are not described herein.
Step 908, it receives the virtual resource that client is sent and uses request.
When client user needs using virtual resource in the first account, user can pass through user end to server Virtual resource is sent using request, which uses the account information that client is carried in request.
Step 910, index information corresponding with the account information of above-mentioned client in the first account is obtained.
Server is after getting account information of the virtual resource using the client carried in request, according to client Account information search the first account, to find out index information corresponding with the account information of the client.Of course, it is possible to manage Solution, index information corresponding with the account information of client can be multiple in the first account.
Step 912, buffer queue is searched, and index information corresponding with the account information of client is moved into caching team The head of the queue of column.
Server is searched after getting index information corresponding with the account information of client according to the index information Buffering queue such as message queue.After finding the index information in message queue, which is moved into message queue Head of the queue so that server can preferentially pull the index information, so as to preferentially handle the index information.
In embodiments of the present invention, when including message subqueue corresponding with the account information of client in message queue When, since index information corresponding with the account information of same client is stored in same message subqueue, The head of the queue that message subqueue corresponding with the account information of client can be moved to message queue, so that server can be excellent First the index information of the message subqueue is handled.
To sum up, information processing method provided in this embodiment, when the virtual resource for receiving user is using request, preferentially Index information corresponding to account of the virtual resource using the client of request is handled, to meet user to correlation The normal use of virtual resource, and make user to the information processing method for using the embodiment of the present invention to buffer its virtual money Source transfer request unaware, does not interfere with the experience of user.
Referring to FIG. 10, it illustrates a kind of structural block diagram of information processing unit provided in an embodiment of the present invention, it should Device has the function of server side in realization above method example, and the function can be by hardware realization, can also be by hardware Execute corresponding software realization.The apparatus may include: the first receiving module 110, memory module 120, extraction module 130.
First receiving module 110, the virtual resource transfer request sent for receiving each client;Each virtual money Corresponding virtual resource transfer data information is carried in the transfer request of source.
Memory module 120 shifts data information for storing the virtual resource according to preset storage strategy.
Extraction module 130 shifts data information for extracting the virtual resource according to preset extraction rate.
As an example, as shown in figure 11, memory module 120 may include:
First sub-module stored 1210, for virtual resource transfer data information to be stored in buffer queue.
Extraction module 130 may include:
First extracting sub-module 1310, for extracting virtual resource transfer from buffer queue according to preset extraction rate Data information.
As another example, as shown in figure 12, memory module 120 may include:
Generation module 1220 generates index information for shifting data information according to the virtual resource, and by the rope Fuse breath is with virtual resource transfer data information memory in the first account.
Second sub-module stored 1230, for the index information to be stored in buffer queue.
Extraction module 130 may include:
Second extracting sub-module 1320, for extracting index information from buffer queue according to preset extraction rate.
Second obtains module 1330, corresponding virtual for being obtained from first account according to the index information Resource transfers data information.
Optionally, as shown in figure 12, generation module 1220 may include:
First obtains module 1221, for obtaining the account information of the client.
Submodule 1222 is generated, for generating index information according to the account information of the client.
Creation module 1223, for creating the corresponding relationship between index information and virtual resource transfer data information.
Third sub-module stored 1224, for believing index information and virtual resource transfer data according to the corresponding relationship Breath is stored in the first account.
Optionally, as shown in figure 12, the second sub-module stored 1230 may include:
First searching module 1231, for searching caching corresponding with the account information of the client in buffer queue Subqueue.
It is stored in module 1232, for index information to be stored in the caching subqueue.
Optionally, as shown in figure 12, which can also include:
Corresponding virtual resource quantity is transferred to by shift module 140 for shifting data information according to virtual resource In second account.
Removing module 150, for deleting the transfer data information of the virtual resource in the first account.
Optionally, as shown in figure 12, which can also include:
First return module 160 turns for returning to the virtual resource transfer request to corresponding client and being completed The prompt of shifting.
Optionally, as shown in figure 12, which can also include:
Third obtains module 170, for obtaining virtual resource transfer request amount.
Judgment module 180, for judging whether the virtual resource transfer request amount is more than preset threshold;When described virtual When resource transfers request amount is more than preset threshold, the virtual resource is stored according to preset storage strategy and shifts data information.
Optionally, as shown in figure 12, which can also include authentication module 1210, and the authentication module 1210 is for obtaining Virtual resource transinformation, to carry out legitimate verification to corresponding virtual resource transfer request.
As an example, as shown in figure 13, which can also include:
Second receiving module 190, for receiving the virtual resource inquiry request of client transmission, the virtual resource inquiry The account information of the client is carried in request.
Second searching module 1110, it is corresponding with the account information of the client in first account for searching Each virtual resource shifts data information.
4th obtains module 1120, for obtaining the virtual resource quantity in each virtual resource transfer data information Information.
First computing module 1130, for calculating the first virtual resource total quantity according to the virtual resource quantity information.
5th obtains module 1140, for the account information according to the client, in the account for obtaining the client The second virtual resource total quantity.
Second computing module 1150, for according to the first virtual resource total quantity and the second virtual resource sum meter Calculate third virtual resource total quantity.
Second return module 1160, for returning to the third virtual resource total quantity to the client.
As another example, as shown in figure 13, which can also include:
Third receiving module 1170, the virtual resource for receiving client transmission use request, and the virtual resource makes With the account information for carrying the client in request.
6th obtains module 1180, corresponding with the account information of the client in first account for obtaining Index information.
Regulator module 1190, for searching the buffer queue, and will be opposite with the account information of the client The index information answered moves to the head of the queue of the buffer queue.
To sum up, information processing unit provided in an embodiment of the present invention, in the virtual resource for receiving each client transmission After transfer request, corresponding virtual resource is stored first, in accordance with preset storage strategy and shifts data information, then according to pre- If extraction rate extract storage virtual resource shift data information, buffered the processing pressure of server so that clothes Business device can steadily carry out the processing of virtual resource transfer request according to its processing capacity, reduce the virtual of moment high concurrent Requirement of the resource transfers request amount to server maximum throughput rate advantageously reduces the cost of whole system, improves at server Manage user experience effect when scarce capacity
In addition, in the virtual resource inquiry request for receiving user, while considering the respective virtual money in the first account Virtual resource total quantity in the account of source total quantity and client, and the virtual resource total quantity after the two is calculated is as looking into It askes result and returns to user, so that the virtual objects total amount that user is inquired will not be because of the letter for using the embodiment of the present invention Breath processing method has buffered the processing pressure of server and has shown exception.
In addition, the virtual resource is preferentially used the client of request when the virtual resource for receiving user is using request Index information corresponding to the account at end is handled, to meet user to the normal use of respective fictional resource, and is made User buffers its virtual resource transfer request unaware to the information processing method using the embodiment of the present invention, does not interfere with The experience of user.
It should be noted that device provided by the above embodiment, when realizing its function, only with above-mentioned each functional module It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution, The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition, Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this In repeat no more.
Please refer to Figure 14 which shows the structural schematic diagram of server provided in an embodiment of the present invention, the server 1400 It may include central processing unit (CPU) 1401 including random access memory (RAM) 1402 and read-only memory (ROM) 1403 System storage 1404, and connection system storage 1404 and central processing unit 1401 system bus 1405.The clothes Business device 1400 further includes the basic input/output (I/O system) that information is transmitted between each device helped in computer 1406, and for the mass-memory unit of storage program area 1413, application program 1414 and other program modules 1115 1407。
The basic input/output 1406 includes display 1408 for showing information and inputs for user The input equipment 1409 of such as mouse, keyboard etc of information.Wherein the display 1408 and input equipment 1409 all pass through The input and output controller 1416 for being connected to system bus 1405 is connected to central processing unit 1401.The basic input/output System 1406 can also include input and output controller 1416 for receiving and handling from keyboard, mouse or electronic touch The input of multiple other equipment such as pen.Similarly, input and output controller 1416 also provide output to display screen, printer or its The output equipment of his type.
The mass-memory unit 1407 (is not shown by being connected to the bulk memory controller of system bus 1405 It is connected to central processing unit 1401 out).The mass-memory unit 1407 and its associated computer-readable medium are clothes Business device 1400 provides non-volatile memories.That is, the mass-memory unit 1407 may include such as hard disk or The computer-readable medium (not shown) of CD-ROM drive etc.
Without loss of generality, the computer-readable medium may include computer storage media and communication media.Computer Storage medium includes information such as computer readable instructions, data structure, program module or other data for storage The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer storage medium includes RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape Box, tape, disk storage or other magnetic storage devices.Certainly, skilled person will appreciate that the computer storage medium It is not limited to above-mentioned several.Above-mentioned system storage 1404 and mass-memory unit 1407 may be collectively referred to as memory.
According to various embodiments of the present invention, the server 1400 can also be arrived by network connections such as internets Remote computer operation on network.Namely server 1400 can be connect by the network being connected on the system bus 1405 Mouth unit 1411 is connected to network 1412, in other words, it is other kinds of to be connected to that Network Interface Unit 1411 also can be used Network or remote computer system (not shown).
The memory further includes that one or more than one program, the one or more programs are stored in In memory, and it is configured to be executed by one or more than one processor.Said one or more than one program include For executing the instruction of above- mentioned information processing method.
In embodiments of the present invention, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory of instruction, above-metioned instruction can be executed by the processor of terminal to complete terminal side in above method embodiment Each step or above-metioned instruction are executed by the processor of server to complete each of server side in above method embodiment Step.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, Tape, floppy disk and optical data storage devices etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or device including a series of elements are not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or device Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or device including the element.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
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 presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (24)

1. a kind of information processing method, which is characterized in that the described method includes:
Receive the virtual resource transfer request that each client is sent;It is carried in each virtual resource transfer request opposite The virtual resource transfer data information answered;
The virtual resource, which is stored, according to preset storage strategy shifts data information;
The virtual resource, which is extracted, according to preset extraction rate shifts data information.
2. information processing method according to claim 1, which is characterized in that described to store institute according to preset storage strategy Stating virtual resource transfer data information includes:
It will be in virtual resource transfer data information deposit buffer queue;
It is described to include according to the preset extraction rate extraction virtual resource transfer data information:
The virtual resource transfer data information is extracted from the buffer queue according to preset extraction rate.
3. information processing method according to claim 1, which is characterized in that described to store institute according to preset storage strategy Stating virtual resource transfer data information includes:
Data information is shifted according to the virtual resource and generates index information, and the index information and the virtual resource are turned Data information memory is moved in the first account;
The index information is stored in buffer queue.
4. information processing method according to claim 3, which is characterized in that the virtual resource shifts data information and includes The account information and virtual resource quantity information of corresponding client;
It is described that data information generation index information is shifted according to the virtual resource, and the index information and virtual resource are turned Move data information memory includes: in the first account
Obtain the account information of the client;
Index information is generated according to the account information of the client;
Create the corresponding relationship between the index information and virtual resource transfer data information;
According to the corresponding relationship by the index information and virtual resource transfer data information memory in first account In family.
5. information processing method according to claim 3 or 4, which is characterized in that described to be mentioned according to preset extraction rate The virtual resource transfer data information is taken to include:
The index information is extracted from the buffer queue according to preset extraction rate;
Corresponding virtual resource transfer data information is obtained from first account according to the index information.
6. information processing method according to claim 5, which is characterized in that according to the index information from described first After obtaining corresponding virtual resource transfer data information in account, the method also includes:
It shifts data information according to the virtual resource corresponding virtual resource quantity is transferred in the second account;
Delete the virtual resource transfer data information in first account.
7. information processing method according to claim 4, which is characterized in that described that the index information is stored in caching team Column include:
Search caching subqueue corresponding with the account information of the client in the buffer queue;
The index information is stored in the caching subqueue.
8. information processing method according to claim 1, which is characterized in that according to the storage of preset storage strategy After virtual resource shifts data information, the method also includes:
The prompt that transfer is completed in the virtual resource transfer request is returned to corresponding client.
9. information processing method according to claim 1, which is characterized in that according to the storage of preset storage strategy Before virtual resource shifts data information, the method also includes:
Obtain the virtual resource transfer request amount;
Judge whether the virtual resource transfer request amount is more than preset threshold;
If the virtual resource transfer request amount is more than preset threshold, the virtual resource is stored according to preset storage strategy Shift data information.
10. information processing method according to claim 3, which is characterized in that shifting data according to the virtual resource Information generate index information, and by the index information and the virtual resource transfer data information memory the first account it Afterwards, the method also includes:
The virtual resource inquiry request that client is sent is received, the account of the client is carried in the virtual resource inquiry request Family information;
Search virtual resource transfer data information corresponding with the account information of the client in first account;
Obtain the virtual resource quantity information in the virtual resource transfer data information;
The first virtual resource total quantity is calculated according to the virtual resource quantity information;
According to the account information of the client, the second virtual resource total quantity in the account of the client is obtained;
According to the first virtual resource total quantity and the second virtual resource total quantity calculating third virtual resource total quantity, and to The client returns to the third virtual resource total quantity.
11. information processing method according to claim 3, which is characterized in that shifting data according to the virtual resource Information generate index information, and by the index information and the virtual resource transfer data information memory the first account it Afterwards, the method also includes:
It receives the virtual resource that client is sent and uses request, the virtual resource uses the account for carrying the client in request Family information;
Obtain index information corresponding with the account information of the client in first account;
The buffer queue is searched, and index information corresponding with the account information of the client is moved into the caching team The head of the queue of column.
12. a kind of information processing unit, which is characterized in that described device includes:
First receiving module, the virtual resource transfer request sent for receiving each client;Each virtual resource transfer Corresponding virtual resource transfer data information is carried in request;
Memory module shifts data information for storing the virtual resource according to preset storage strategy;
Extraction module shifts data information for extracting the virtual resource according to preset extraction rate.
13. information processing unit according to claim 12, which is characterized in that the memory module includes:
First sub-module stored, for virtual resource transfer data information to be stored in buffer queue;
The extraction module includes:
First extracting sub-module, for extracting the virtual resource transfer from the buffer queue according to preset extraction rate Data information.
14. information processing unit according to claim 12, which is characterized in that the memory module includes:
Generation module, for according to the virtual resource shift data information generate index information, and by the index information with Virtual resource shifts data information memory in the first account;
Second sub-module stored, for the index information to be stored in buffer queue.
15. information processing unit according to claim 14, which is characterized in that the virtual resource shifts data packets Include the account information and virtual resource quantity information of corresponding client;
The generation module includes:
First obtains module, for obtaining the account information of the client;
Submodule is generated, for generating index information according to the account information of the client;
Creation module, for creating the corresponding relationship between the index information and virtual resource transfer data information;
Third sub-module stored, for believing the index information and virtual resource transfer data according to the corresponding relationship Breath is stored in first account.
16. information processing unit according to claim 14 or 15, which is characterized in that the extraction module includes:
Second extracting sub-module, for extracting the index information from the buffer queue according to preset extraction rate;
Second obtains module, for obtaining corresponding virtual resource transfer from first account according to the index information Data information.
17. information processing unit according to claim 16, which is characterized in that described device further include:
Corresponding virtual resource quantity is transferred to second for shifting data information according to the virtual resource by shift module In account;
Removing module, for deleting the transfer data information of the virtual resource in first account.
18. information processing unit according to claim 15, which is characterized in that second sub-module stored includes:
First searching module, for searching the sub- team of caching corresponding with the account information of the client in the buffer queue Column;
It is stored in module, for the index information to be stored in the caching subqueue.
19. information processing unit according to claim 12, which is characterized in that described device further include:
Mentioning for transfer is completed for returning to the virtual resource transfer request to corresponding client in first return module Show.
20. information processing unit according to claim 12, which is characterized in that described device further include:
Third obtains module, for obtaining the virtual resource transfer request amount;
Judgment module, for judging whether the virtual resource transfer request amount is more than preset threshold;When the virtual resource turns When moving request amount more than preset threshold, the virtual resource is stored according to preset storage strategy and shifts data information.
21. information processing unit according to claim 14, which is characterized in that described device further include:
Second receiving module, for receiving the virtual resource inquiry request of client transmission, in the virtual resource inquiry request Carry the account information of the client;
Second searching module, for searching each virtual money corresponding with the account information of the client in first account Shift data information in source;
4th obtains module, for obtaining the virtual resource quantity information in each virtual resource transfer data information;
First computing module, for calculating the first virtual resource total quantity according to the virtual resource quantity information;
5th obtains module, for the account information according to the client, obtains the second void in the account of the client Quasi- total number resource amount;
Second computing module, it is empty for calculating third according to the first virtual resource total quantity and the second virtual resource total quantity Quasi- total number resource amount;
Second return module, for returning to the third virtual resource total quantity to the client.
22. information processing unit according to claim 14, which is characterized in that described device further include:
Third receiving module, the virtual resource for receiving client transmission use request, and the virtual resource uses in request Carry the account information of the client;
6th obtains module, for obtaining index letter corresponding with the account information of the client in first account Breath;
Regulator module, for searching the buffer queue, and by index corresponding with the account information of the client Information moves to the head of the queue of the buffer queue.
23. a kind of server characterized by comprising processor and memory;
The memory, for storing computer program instructions;
The processor calls the computer program instructions, the virtual resource transfer request sent for receiving each client; Corresponding virtual resource transfer data information is carried in each virtual resource transfer request;
The virtual resource, which is stored, according to preset storage strategy shifts data information;
The virtual resource, which is extracted, according to preset extraction rate shifts data information.
24. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with computer program instructions, should Computer program instructions are performed, and realize such as the described in any item methods of claim 1-11.
CN201810355284.4A 2018-04-19 2018-04-19 A kind of information processing method, device, server and storage medium Pending CN110196769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810355284.4A CN110196769A (en) 2018-04-19 2018-04-19 A kind of information processing method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810355284.4A CN110196769A (en) 2018-04-19 2018-04-19 A kind of information processing method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN110196769A true CN110196769A (en) 2019-09-03

Family

ID=67751354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810355284.4A Pending CN110196769A (en) 2018-04-19 2018-04-19 A kind of information processing method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN110196769A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795232A (en) * 2019-09-16 2020-02-14 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer readable storage medium and computer equipment
CN110891086A (en) * 2019-11-21 2020-03-17 北京三快在线科技有限公司 Resource transfer method, device, terminal, server and storage medium
CN111061573A (en) * 2019-11-15 2020-04-24 北京三快在线科技有限公司 Resource transfer method, device, electronic equipment and storage medium
CN112015745A (en) * 2020-08-19 2020-12-01 北京达佳互联信息技术有限公司 Data management method and device
CN112616091A (en) * 2020-12-18 2021-04-06 北京达佳互联信息技术有限公司 Virtual article sending method and device, computer equipment and storage medium
CN113034283A (en) * 2021-03-29 2021-06-25 中国银联股份有限公司 Transaction data processing method, device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523207A (en) * 2011-12-06 2012-06-27 北京航空航天大学 VNC (Virtual Network Computer)-based remote resource access method and proxy device
CN104376491A (en) * 2014-10-29 2015-02-25 中国建设银行股份有限公司 Virtual resource monitoring method, device and system
CN107015869A (en) * 2017-01-16 2017-08-04 平安银行股份有限公司 Transaction keeps accounts control method and system
CN107493342A (en) * 2017-08-24 2017-12-19 维沃移动通信有限公司 A kind of resource transfers method, relevant device and system
CN107679931A (en) * 2017-08-17 2018-02-09 平安科技(深圳)有限公司 Method, apparatus, storage medium and the terminal of order asynchronous process
US20180096416A1 (en) * 2015-07-31 2018-04-05 Tencent Technology (Shenzhen) Company Limited Virtual resource transfer method, client device, application server, and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523207A (en) * 2011-12-06 2012-06-27 北京航空航天大学 VNC (Virtual Network Computer)-based remote resource access method and proxy device
CN104376491A (en) * 2014-10-29 2015-02-25 中国建设银行股份有限公司 Virtual resource monitoring method, device and system
US20180096416A1 (en) * 2015-07-31 2018-04-05 Tencent Technology (Shenzhen) Company Limited Virtual resource transfer method, client device, application server, and system
CN107015869A (en) * 2017-01-16 2017-08-04 平安银行股份有限公司 Transaction keeps accounts control method and system
CN107679931A (en) * 2017-08-17 2018-02-09 平安科技(深圳)有限公司 Method, apparatus, storage medium and the terminal of order asynchronous process
CN107493342A (en) * 2017-08-24 2017-12-19 维沃移动通信有限公司 A kind of resource transfers method, relevant device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘皓玮;张源;康凯;: "铁路调度系统虚拟化应用平台研究", 铁道通信信号, no. 11 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795232A (en) * 2019-09-16 2020-02-14 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer readable storage medium and computer equipment
CN110795232B (en) * 2019-09-16 2023-10-20 腾讯科技(深圳)有限公司 Data processing method, device, computer readable storage medium and computer equipment
CN111061573A (en) * 2019-11-15 2020-04-24 北京三快在线科技有限公司 Resource transfer method, device, electronic equipment and storage medium
CN110891086A (en) * 2019-11-21 2020-03-17 北京三快在线科技有限公司 Resource transfer method, device, terminal, server and storage medium
CN110891086B (en) * 2019-11-21 2022-04-05 北京三快在线科技有限公司 Resource transfer method, device, terminal, server and storage medium
CN112015745A (en) * 2020-08-19 2020-12-01 北京达佳互联信息技术有限公司 Data management method and device
CN112015745B (en) * 2020-08-19 2024-05-17 北京达佳互联信息技术有限公司 Data management method and device
CN112616091A (en) * 2020-12-18 2021-04-06 北京达佳互联信息技术有限公司 Virtual article sending method and device, computer equipment and storage medium
CN113034283A (en) * 2021-03-29 2021-06-25 中国银联股份有限公司 Transaction data processing method, device and system

Similar Documents

Publication Publication Date Title
CN110196769A (en) A kind of information processing method, device, server and storage medium
US11050690B2 (en) Method for providing recording and verification service for data received and transmitted by messenger service, and server using method
CN104247376B (en) File uploading method, client, application server and the cloud storage system of cloud storage
US20190391972A1 (en) Real time visual validation of digital content using a distributed ledger
CN106716335B (en) Asynchronous processing of mapping information
EP3353701B1 (en) Policy management for data migration
JP2024038272A (en) Technique for file sharing
CN107526777A (en) A kind of method and apparatus handled based on version number file
CN110035079A (en) A kind of honey jar generation method, device and equipment
CN109558378A (en) File management method, device, equipment and storage medium
CN108234594A (en) File memory method and device, electronic equipment, program and medium
CN112819617B (en) Data uplink method and device, electronic equipment and storage medium
CN108874912A (en) A kind of cancellation method and server
CN115146815A (en) Service processing method, device, computer and readable storage medium
US8448258B2 (en) Security classification based on user interaction
CN112287403B (en) Block chain-based electronic volume management method and device, electronic equipment and medium
KR101614890B1 (en) Method of creating multi tenancy history, server performing the same and storage media storing the same
CN109582439A (en) DCN dispositions method, device, equipment and computer readable storage medium
CN105512208B (en) Information publishing method, device and system
CN114070847A (en) Current limiting method, device, equipment and storage medium of server
WO2023066258A1 (en) Data processing method and apparatus for private data, computer device and medium
CN110351333B (en) Request queue method and system with verification mechanism
US8813255B2 (en) Security classification applying social norming
JP2012164166A (en) Information processing system
CN114730311A (en) Cross-data center read-write consistency in distributed cloud computing platform

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