CN110381146A - Batch operation processing method, device and storage medium - Google Patents

Batch operation processing method, device and storage medium Download PDF

Info

Publication number
CN110381146A
CN110381146A CN201910665070.1A CN201910665070A CN110381146A CN 110381146 A CN110381146 A CN 110381146A CN 201910665070 A CN201910665070 A CN 201910665070A CN 110381146 A CN110381146 A CN 110381146A
Authority
CN
China
Prior art keywords
operation requests
timestamp
requests
processing
request message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910665070.1A
Other languages
Chinese (zh)
Other versions
CN110381146B (en
Inventor
周罗武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910665070.1A priority Critical patent/CN110381146B/en
Publication of CN110381146A publication Critical patent/CN110381146A/en
Application granted granted Critical
Publication of CN110381146B publication Critical patent/CN110381146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The embodiment of the invention discloses a kind of batch operation processing method, device and storage mediums, belong to field of computer technology.This method comprises: receiving the first request message that terminal is sent, first request message carries the first operation requests and timestamp, first operation requests are any one operation requests in multiple operation requests, timestamp is used to indicate the sending time of first operation requests in multiple operation requests, first operation requests are handled, obtain corresponding first processing result of the first operation requests, the corresponding relationship of settling time stamp and the first processing result.Batch operation processing scheme provided in an embodiment of the present invention, by server after any one operation requests in the multiple operation requests for receiving terminal transmission, it is handled immediately, it is all finished receiving without waiting for multiple operation requests, save the time for waiting operation requests all to finish receiving, to save the time that processing operation request is spent, treatment effeciency is improved.

Description

Batch operation processing method, device and storage medium
Technical field
The present embodiments relate to field of computer technology, in particular to a kind of batch operation processing method, device and deposit Storage media.
Background technique
With gradually improving for terminal function and being gradually expanded for data scale, batch behaviour is carried out for multiple operation objects A kind of common mode of operation is had become, the operation of user is can simplify by carrying out batch operation, shortens the processing time.
Atomicity refers to that, when carrying out batch operation, multiple operations of required processing can not be interrupted, need all execute at Function all executes failure.In order to guarantee the atomicity of batch operation, when terminal detects the batch operation of user's triggering, by Multiple operation objects are carried in the batch operation, therefore multiple operation requests can be generated according to the batch operation, such as Fig. 1 institute Show, sends an operation requests to server every time.When server receives the operation requests of terminal transmission every time, first not to this Operation requests are handled, but the operation requests are stored in memory, when server confirms that multiple operation requests have connect When harvesting into, then multiple operation requests stored in memory are read, multiple operation requests are handled.
It, just can be to multiple operation when server needs to wait for multiple operation requests and all finishes receiving in above scheme Request is handled, and the time that processing operation request is spent is long, and treatment effeciency is low.
Summary of the invention
It, can be effectively at saving the embodiment of the invention provides a kind of batch operation processing method, device and storage medium The time that operation requests are spent is managed, treatment effeciency is improved.The technical solution is as follows:
On the one hand, a kind of batch operation processing method is provided, which comprises
The first request message that terminal is sent is received, first request message carries the first operation requests and timestamp, The terminal is used for when detecting the batch operation for carrying multiple operation objects, is generated according to the multiple operation object multiple Operation requests, first operation requests are any one operation requests in the multiple operation requests, and the timestamp is used for Indicate the sending time of first operation requests in the multiple operation requests;
First operation requests are handled, corresponding first processing result of first operation requests is obtained;
The corresponding relationship of the timestamp Yu first processing result is established, the corresponding relationship is used for described more The corresponding processing result of the timestamp is deleted when any one operation requests processing failure in a operation requests.
Optionally, described that first operation requests are handled, obtain first operation requests corresponding first After processing result, the method also includes:
The first response message is sent to the terminal, first response message carries the timestamp, for prompting It states the first operation requests to handle successfully, the terminal is also used to be sent the multiple operation based on first response message and asked Remaining operation requests in asking.
Optionally, after first response message of transmission to the terminal, the method also includes:
Receive the second request message that the terminal is sent, second request message carries the second operation requests and described Timestamp, second operation requests are next operation requests of first operation requests;
Second operation requests are handled, the corresponding second processing result of second operation requests is obtained;
Establish the corresponding relationship of the timestamp Yu the second processing result.
Optionally, the method also includes:
When to the first operation requests processing failure, according to the corresponding relationship, the corresponding place of the timestamp is deleted Manage result.
On the other hand, a kind of batch operation processing method is provided, which comprises
The first operation requests in multiple operation requests are obtained, the multiple operation requests are detecting the multiple operations of carrying It is generated when the batch operation of object according to the multiple operation object, first operation requests are in the multiple operation requests Any one operation requests;
Acquisition time stamp, the timestamp is for when indicating the transmission of first operation requests in the multiple operation requests Between;
Send the first request message to server, first request message carry first operation requests and it is described when Between stab;
The server is used to handle first operation requests according to first request message, obtain institute Corresponding first processing result of the first operation requests is stated, the corresponding relationship of the timestamp Yu first processing result is established, The corresponding relationship is used to delete the time when to any one operation requests processing failure in the multiple operation requests Stab corresponding processing result.
Optionally, after first request message of transmission to server, the method also includes:
The first response message that the server is sent is received, first response message carries the timestamp, is used for First operation requests are prompted to handle successfully;
Send the second request message to the server, second request message carry the second operation requests and it is described when Between stab, second operation requests be first operation requests next operation requests;
The server is also used to handle second operation requests according to second request message, obtain The corresponding second processing of second operation requests is as a result, establish that the timestamp is corresponding with the second processing result to close System.
Optionally, before first operation requests obtained in multiple operation requests, the method also includes:
When detecting the batch operation, multiple operation requests are generated according to the multiple operation object;
The multiple operation requests are divided at least two request sets, each request set includes that multiple operations are asked It asks;
First operation requests are the operation of any of any one request set of at least two request set Request;
The timestamp is used to indicate the hair of first operation requests in request set belonging to first operation requests Send the time.
Optionally, described that the multiple operation requests are divided at least two request sets, each request set includes Multiple operation requests, comprising:
When the quantity of the multiple operation requests is greater than preset quantity, institute is chosen from the multiple operation requests every time The operation requests for stating preset quantity are divided to the same request set, obtain at least one request set;
When the quantity of remaining operation requests is less than the preset quantity, the remaining operation requests are divided to together One request set.
On the other hand, a kind of batch operation processing unit is provided, described device includes:
Request message receiving module, for receiving the first request message of terminal transmission, first request message is carried First operation requests and timestamp, the terminal is used for when detecting the batch operation for carrying multiple operation objects, according to institute It states multiple operation objects and generates multiple operation requests, first operation requests are any of the multiple operation requests behaviour It requests, the timestamp is used to indicate the sending time of first operation requests in the multiple operation requests;
Operation requests processing module obtains first operation requests for handling first operation requests Corresponding first processing result;
Corresponding relation building module, it is described for establishing the corresponding relationship of the timestamp Yu first processing result Corresponding relationship is used to delete the timestamp pair when to any one operation requests processing failure in the multiple operation requests The processing result answered.
Optionally, described device further include:
Response message sending module, for sending the first response message to the terminal, first response message is carried The timestamp, for prompting first operation requests to handle successfully, the terminal is also used to disappear based on first response Breath, sends remaining operation requests in the multiple operation requests.
Optionally, request message receiving module, is also used to receive the second request message that the terminal is sent, and described second Request message carries the second operation requests and the timestamp, and second operation requests are the next of first operation requests A operation requests;
Operation requests processing module is also used to handle second operation requests, obtains second operation and asks Seek corresponding second processing result;
Corresponding relation building module is also used to establish the corresponding relationship of the timestamp Yu the second processing result.
Optionally, described device further include:
Removing module, when for the first operation requests processing failure, according to the corresponding relationship, when deleting described Between stab corresponding processing result.
On the other hand, a kind of batch operation processing unit is provided, described device includes:
Operation requests obtain module, and for obtaining the first operation requests in multiple operation requests, the multiple operation is asked It asks and is generated when detecting the batch operation for carrying multiple operation objects according to the multiple operation object, first operation is asked It asks as any one operation requests in the multiple operation requests;
Timestamp obtains module, stabs for acquisition time, and the timestamp is for indicating in the multiple operation requests the The sending time of one operation requests;
Request message sending module, for sending the first request message to server, first request message carries institute State the first operation requests and the timestamp;
The server is used to handle first operation requests according to first request message, obtain institute Corresponding first processing result of the first operation requests is stated, the corresponding relationship of the timestamp Yu first processing result is established, The corresponding relationship is used to delete the time when to any one operation requests processing failure in the multiple operation requests Stab corresponding processing result.
Optionally, described device further include:
Response message receiving module, the first response message sent for receiving the server, first response disappear Breath carries the timestamp, for prompting first operation requests to handle successfully;
Request message sending module, for sending the second request message to the server, second request message is taken The second operation requests of band and the timestamp, second operation requests are that next operation of first operation requests is asked It asks;
The server is also used to handle second operation requests according to second request message, obtain The corresponding second processing of second operation requests is as a result, establish that the timestamp is corresponding with the second processing result to close System.
Optionally, described device further include:
Operation requests generation module, for being generated according to the multiple operation object when detecting the batch operation Multiple operation requests;
Request set division module is each asked for the multiple operation requests to be divided at least two request sets Seeking set includes multiple operation requests;
First operation requests are the operation of any of any one request set of at least two request set Request;
The timestamp is used to indicate the hair of first operation requests in request set belonging to first operation requests Send the time.
Optionally, the request set division module, comprising:
Division unit, for when the quantity of the multiple operation requests be greater than preset quantity when, every time from the multiple behaviour The operation requests that the preset quantity is chosen in requesting are divided to the same request set, obtain at least one request set;
Division unit is also used to when the quantity of remaining operation requests is less than the preset quantity, will be described remaining Operation requests are divided to the same request set.
On the other hand, a kind of batch operation processing unit is provided, described device includes processor and memory, described to deposit At least one instruction, at least a Duan Chengxu, code set or instruction set, described instruction, described program, the generation are stored in reservoir Code collection or described instruction collection are loaded as the processor and are executed to realize in the batch operation processing method as described in one side Performed operation.
On the other hand, a kind of batch operation processing unit is provided, described device includes processor and memory, described to deposit At least one instruction, at least a Duan Chengxu, code set or instruction set, described instruction, described program, the generation are stored in reservoir Code collection or described instruction collection are loaded as the processor and are executed to realize the batch operation processing method as described in another aspect In performed operation.
In another aspect, providing a kind of computer readable storage medium, it is stored in the computer readable storage medium At least one instruction, at least a Duan Chengxu, code set or instruction set, described instruction, described program, the code set or the finger Collection is enabled to be loaded by processor and had to realize such as operation performed in the batch operation processing method.
Method, apparatus provided in an embodiment of the present invention and storage medium, terminal obtain the first behaviour in multiple operation requests It requests, acquisition time stamp, to server the first request message of transmission, the first request message that server receiving terminal is sent, First operation requests are handled, obtain corresponding first processing result of the first operation requests, at settling time stamp and first The corresponding relationship for managing result sends the first response message to terminal, and terminal receives the first response message that server is sent, to clothes Business device sends the second request message, and the second operation requests are next operation requests of the first operation requests, and server receives eventually The second request message sent is held, the second operation requests are handled, the corresponding second processing knot of the second operation requests is obtained Fruit, the corresponding relationship of settling time stamp and second processing result.Batch operation processing scheme provided in an embodiment of the present invention, service Device is handled immediately after any one operation requests in the multiple operation requests for receiving terminal transmission, without waiting should Multiple operation requests all finish receiving, and the time for waiting operation requests all to finish receiving are saved, to save processing The time that operation requests are spent, improve treatment effeciency.
And when server fails to request of data, corresponding processing result can be deleted according to timestamp, to realize Data rewind improves the efficiency of delete processing result, ensure that the atomicity of batch operation.
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, the accompanying drawings in the following description is only some implementations of the embodiment of the present invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of operating process schematic diagram shown in the relevant technologies;
Fig. 2 is a kind of structural schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of batch operation processing method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of batch operation processing method provided in an embodiment of the present invention;
Fig. 5 is a kind of operating process schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of batch operation processing unit provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another batch operation processing unit provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of batch operation processing unit provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another batch operation processing unit provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Embodiment is described in further detail.
Fig. 2 is a kind of structural schematic diagram of implementation environment provided in an embodiment of the present invention, referring to fig. 2, the implementation environment packet Include terminal 201 and server 202.Terminal 201 and server 202, which are established, to be communicated to connect, and is handed over by the communication connection of foundation Mutually.
Wherein, terminal 201 can be a plurality of types of equipment such as mobile phone, computer, tablet computer.Server 202 can be with It is a server, or the server cluster consisted of several servers or a cloud computing service center.
Terminal 201 is based on user identifier login service device 202, which can be user account, telephone number, use Family pet name etc..Server 202 and terminal 201, which are established, to be communicated to connect, by the communication connection, between server 202 and terminal 201 It can interact.
Batch operation processing method provided in an embodiment of the present invention, can be applied to the scene handled batch operation Under.
For example, batch addition good friend's scene
User selects N number of user identifier by terminal, and N is the integer greater than 1, adds to N number of user identifier triggering Friend's operation, terminal generate N number of addition good friend according to N number of user identifier and request, and acquisition time stamp, timestamp is N number of addition The sending time of first addition good friend's request in good friend's request;Send N number of addition request message several times to server, each It adds request message and carries an addition good friend request and the timestamp, server is every time according to the addition request message received Corresponding user identifier is added to the good friend of user.Server successfully can be added to N number of good friend for user, alternatively, service Device is that user is added to the failure when adding M+1 good friend after M good friend, and M is the integer less than N, and server is to use at this time M good friend of family deletion added completion.
Alternatively, batch addition blacklist scene:
User selects N number of user identifier by terminal, and carries out drawing black operation to N number of user identifier, to request the N A user identifier is added in blacklist, and terminal generates N number of black operation requests of drawing according to N number of user identifier, and acquisition time is stabbed, Timestamp is N number of sending time for drawing first black operation requests of drawing in black operation requests;It is sent several times to server N number of Black request message is drawn, each black request message of drawing carries one and draws black operation requests and the timestamp, and basis connects server every time Corresponding user identifier is added in blacklist by the black request message of the drawing received.Server can successfully mark N number of user Knowledge is added in blacklist, alternatively, adding M into blacklist after M user identifier is added in blacklist by server Fail when+1 user identifier, M is the integer less than N, and server is that user deletes M user being added in blacklist at this time Mark.
Fig. 3 is a kind of flow chart of batch operation processing method provided in an embodiment of the present invention.The friendship of the embodiment of the present invention Mutual main body is terminal and server, referring to Fig. 3, this method comprises:
301, terminal obtains the first operation requests in multiple operation requests.
Terminal detects that user to the batch operation of multiple operation objects, then according to multiple operation object, generates and corresponds to Multiple operation requests.Since the data volume of the corresponding operation requests of the batch operation is big, then terminal is by multiple operation requests It is sent to server several times, so that server is respectively processed the multiple operation requests received.
Wherein, batch operation can delete the operation such as file, behaviour for batch addition blacklist, batch addition good friend, batch Making object can be user identifier, file etc..
In a kind of possible implementation, in multiple operation requests, the corresponding operation object of each operation requests.
For example, batch operation carries 50 operation objects, terminal generates 50 operation requests according to 50 operation objects.
In addition, the first operation requests that terminal is got are any one operation requests in multiple operation requests.
In a kind of possible implementation, terminal generates multiple operation requests according to multiple operation objects, by multiple behaviour It requests to be ranked up according to preset rules, terminal successively obtains each operation requests according to putting in order, then terminal obtains First operation requests can be any one operation requests, such as first operation requests or inverse the 2nd in multiple operation requests A operation requests etc..
Optionally, preset rules can be to arrange according to the time sequence from morning to night of user's selection operation object Column;Alternatively, generating multiple operations when detecting the batch operation to multiple operation object according to multiple operation object and asking It asks, the sequence of each operation object is selected according to user, successively store multiple request.
For example, terminal detects the batch operation to multiple operation objects, multiple operations are generated according to multiple operation objects When request, multiple operation requests are stored in queue, terminal obtains operation requests to be sent every time from the queue.Its In, which can be first to enter rear dequeue or First Input First Output.
For example, generating operation requests A, operation requests B, operation when terminal detects the batch operation to 3 operation objects C is requested, and first stores operation requests A into queue according to genesis sequence, in storage operation requests B, finally storage operation is asked Seek C.When the queue be first enter rear dequeue when, terminal obtained from the queue operation requests sequence be successively operation requests C, Operation requests B, operation requests A;When the queue is First Input First Output, terminal obtains the sequence of operation requests from the queue It is successively operation requests A, operation requests B, operation requests C.
302, acquisition time is stabbed.
Wherein, timestamp is used to indicate the sending time of first operation requests in multiple operation requests, has uniqueness.
303, the first request message is sent to server, the first request message carries the first operation requests and timestamp.
Wherein, terminal sends the first request message to server by the communication connection between server.
It should be noted that the first operation requests are any one operation requests in multiple operation requests.
In a kind of possible implementation, the first operation requests are first operation requests in multiple operation requests, When terminal will send the first operation requests to server, current time corresponding timestamp is generated, first is sent to server and asks Message is sought, which carries the first operation requests and timestamp.
And when the first operation requests are not first operation requests in multiple operation requests, also available time Stamp, acquisition modes are similar with the mode that acquisition time in following step 307 is stabbed, and are first not described herein.
304, the first request message that server receiving terminal is sent, handles the first operation requests, obtains first Corresponding first processing result of operation requests.
Wherein, after server receives the first request message, the first operation requests and timestamp are obtained, immediately to this first Operation requests are handled.When obtaining the first processing result, indicate that server handles successfully first operation requests.
For example, the first operation requests are addition good friend's request, the use of the first operation requests carried terminal login service device Family identifies A and user identifier B to be added, after server handles the first operation requests, obtained the first processing result Friend relation is established for user identifier A and user identifier B, server stores the friend relation, user identifier A and user identifier B can be respectively by carrying out instant messaging after terminal login service device.
In a kind of possible implementation, server is for different types of operation requests, the processing knot that obtains after processing Fruit is also different.
For example, for adding good friend's operation requests, obtained processing result is the user identifier that terminal logs in and user's choosing Another user identifier selected establishes friend relation;File delete operation is requested, obtained processing result is that deletion is corresponding File;For drawing black operation requests, obtained processing result is that the user identifier that user selects is added in blacklist.
305, the corresponding relationship of the timestamp and the first processing result is established.
Since multiple operation objects that terminal carries batch operation generate multiple operation requests, it is successively transmitted to service Device, server are handled after receiving operation requests every time, in order to guarantee the atomicity of the batch operation, work as server process When any one operation requests in multiple operation requests fail, needs to delete to have handled in multiple operation requests and complete The processing result arrived.Therefore, the processing result for having handled and having completed to obtain is deleted for the ease of subsequent server, so first establishing The corresponding relationship of timestamp and processing result.
For example, the first processing result is that user identifier A and user identifier B establishes friend relation, the timestamp of foundation and the The corresponding relationship of one processing result is as shown in table 1.
Table 1
Timestamp Processing result
Timestamp t User identifier A and user identifier B friend relation
306, the first response message is sent to terminal, the first response message carries the timestamp.
Wherein, the first response message is for prompting the first operation requests to handle successfully.
In a kind of possible implementation, server handles the first operation requests, when obtaining the first processing result, The first response message is generated, terminal is sent to.
It should be noted that step 306 executes after step 305 in embodiments of the present invention, and in another embodiment In, step 305 and step 306 execute parallel, i.e., when server handles the first operation requests, obtain the first operation requests After corresponding first processing result, the corresponding relationship of server settling time stamp and the first processing request also sends the to terminal One response message.
307, terminal receives the first response message that server is sent, and sends the second request message to server, second asks Message is asked to carry the second operation requests and the timestamp, the second operation requests are next operation requests of the first operation requests.
Timestamp is sent to terminal by server, so that instruction terminal can send multiple operation requests according to the timestamp In remaining operation requests the remaining operation requests handle so that server receives remaining operation requests To after processing result, the corresponding relationship of the timestamp and processing result is established.
Terminal receives the first response message, knows that server handles successfully the first operation requests, can continue at this time Next operation requests are handled.Therefore terminal obtains the second operation requests from remaining untreated operation requests, and And the timestamp that the first response message carries is obtained, send the second operation requests of carrying and the timestamp to server second is asked Seek message.
In a kind of possible implementation, the process for obtaining the second operation requests may include:
Multiple operation requests are stored in First Input First Output by terminal, then terminal obtains storage from the First Input First Output In primary operation requests, as the second operation requests;Alternatively,
Multiple operation requests are stored in by terminal first enters rear dequeue, then terminal first enters from this goes out afterwards to acquisition storage in column In last operation requests, as the second operation requests.
308, the second request message that server receiving terminal is sent, handles the second operation requests, obtains second The corresponding second processing result of operation requests.
It is similar with above-mentioned steps 304 that server receives the process handled after the second request message, no longer superfluous herein It states.
309, the corresponding relationship of the timestamp Yu second processing result is established.
In a kind of possible implementation, server successively establishes multiple entries according to obtained multiple processing results, often A entry includes the timestamp and corresponding processing result, then when server obtains second processing result, establishes an entry, The entry includes the timestamp and second processing result.
Multiple operation requests corresponding for the same batch operation may include multiple entries in the corresponding relationship, often The timestamp for including in a entry is identical.
As shown in table 2, server handles the first operation requests received, obtains the first processing result, establishes Entry A, entry A include the timestamp and the first processing result;Server handles the second operation requests received, Second processing is obtained as a result, establishing entry B, entry B includes the timestamp and second processing result.
Table 2
Entry Timestamp Processing result
Entry A Timestamp t First processing result
Entry B Timestamp t Second processing result
In alternatively possible implementation, server handles first operation requests in multiple operation requests Afterwards, first processing result is obtained, entry is established, which includes timestamp and first processing result;When server is to this Second operation requests in multiple operation requests are handled to obtain second processing result, which is added Into the entry.
Multiple operation requests corresponding for the same batch operation, only establish an entry in corresponding relationship, this It include a timestamp and at least one processing result in mesh.
As shown in table 3, server handles first operation requests received, obtains first processing result, Entry A is established, entry A includes timestamp and first processing result;Server to second operation requests received into Row processing, obtains second processing result, which is added in entry A.
Table 3
It should be noted that the embodiment of the present invention is handled successfully the first request message and the second request message with server It is illustrated, and in another embodiment, after step 307, this method further include:
3071, the second request message that server receiving terminal is sent, handles the second operation requests.
3072, it when to the second operation requests processing failure, is closed according to the timestamp of foundation is corresponding with processing result System, deletes the corresponding processing result of the timestamp.
When server requests processing failure to any operation in multiple operation requests, according to the corresponding relationship of foundation, It deletes and has handled successful processing result in multiple operation requests, ensure that the atomicity of batch operation.
It should be noted that the embodiment of the present invention was illustrated with the first request message and the second request message, and After step 309, circulation executes step 306- step 309, and multiple operation requests are successively sent to server according to terminal, takes Business device successively handles the operation requests received, until multiple operation requests are handled completion by server.
In addition, be illustrated so that server is to the first request operation processing success as an example in embodiments of the present invention, and In another embodiment, when server is to the first operation requests processing failure, according to corresponding relationship, erasing time stamp is corresponding Processing result.
Method provided in an embodiment of the present invention, terminal obtain the first operation requests in multiple operation requests, acquisition time Stamp, to server send the first request message, server receiving terminal send the first request message, to the first operation requests into Row processing obtains corresponding first processing result of the first operation requests, and settling time stabs the corresponding relationship with the first processing result, The first response message is sent to terminal, terminal receives the first response message that server is sent, and sends the second request to server Message, the second operation requests are next operation requests of the first operation requests, the second request that server receiving terminal is sent Message handles the second operation requests, obtains the corresponding second processing of the second operation requests as a result, settling time stamp and the The corresponding relationship of two processing results.Batch operation processing scheme provided in an embodiment of the present invention, server are receiving terminal hair After any one operation requests in multiple operation requests sent, handled immediately, it is whole without waiting for multiple operation requests Finish receiving, save and wait time for all finishing receiving of operation requests, thus save that processing operation request spends when Between, improve treatment effeciency.
And when server fails to request of data, corresponding processing result can be deleted according to timestamp, to realize Data rewind improves the efficiency of delete processing result, ensure that the atomicity of batch operation.
The embodiment of the present invention is illustrated so that terminal obtains the first operation requests as an example, and in another embodiment, Before step 301, this method further include:
3011, when detecting batch operation, multiple operation requests are generated according to multiple operation objects.
3012, multiple operation requests are divided at least two request sets, each request set includes that multiple operations are asked It asks.
When terminal is divided at least two request sets to multiple operation requests, in a kind of possible implementation, when more When the quantity of a operation requests is greater than preset quantity, the operation requests of preset quantity are chosen from multiple operation requests every time, are drawn Divide to the same request set, obtains at least one request set;When the quantity of remaining operation requests is less than preset quantity, Remaining operation requests are divided to the same request set.
Terminal will be ranked up between at least two request set, and be carried out to the operation requests in each request set Sequence, sortord is similar to the sortord of multiple operation requests with above-mentioned steps 301, by least two requests of generation Set arranges in sequence, and when executing step 301, successively selection operation is requested from least two request set.
The first operation requests that terminal obtains are any of any one request set of at least two request sets behaviour It requests, when the timestamp that terminal obtains indicates the transmission of first operation requests in request set belonging to the first operation requests Between.
For example, multiple operation requests are divided into request set A, request set B, request set C, request set A by terminal In include operation requests 1, operation requests 2, operation requests 3, include that operation requests 4, operation requests 5, operation are asked in request set B 6 are asked, includes operation requests 7, operation requests 8, operation requests 9 in request set C, the sequence that terminal obtains operation requests is operation Request 1, operation requests 2, operation requests 3, operation requests 4, operation requests 5, operation requests 6, operation requests 7, operation requests 8, Operation requests 9.
When first operation requests in any one request set that the first operation requests are at least two request sets, The mode of terminal acquisition time stamp is similar with the mode that acquisition time in step 302 is stabbed, and details are not described herein.
When the first operation requests be not at least two request set any one request set in first operation ask When asking, then the mode of terminal acquisition time stamp is similar with the mode that acquisition time in step 307 is stabbed, and details are not described herein.
Since multiple operation requests are divided at least two request sets by terminal, then server settling time stamp and processing It as a result include at least two timestamps in corresponding relationship.When server is to the first operation requests processing failure, determine this The corresponding timestamp of one operation requests deletes the corresponding processing result of the timestamp, which indicates should according to corresponding relationship The sending time of first operation requests in request set belonging to first operation requests.
After server time stabs corresponding processing result, which indicates request belonging to first operation requests The sending time of first operation requests in set, in a kind of possible implementation, server sends the first operation to terminal Operation requests in the request set are sent to server by the processing failure message of request set belonging to request, terminal again It is handled.
Optionally, after server sends request set processing failure message belonging to the first operation requests to terminal, terminal Show the corresponding operation object of request set operation object corresponding with the request set being not handled by.User can be based on aobvious The operation object shown carries out batch processing next time.
Fig. 4 is a kind of flow chart of batch operation processing method provided in an embodiment of the present invention.The friendship of the embodiment of the present invention Mutual main body is terminal and server, referring to fig. 4, this method comprises:
401, terminal detects the batch operation for carrying multiple operation objects, according to multiple operation object, generates multiple Operation requests.
In a kind of possible implementation, multiple operation requests are divided at least two request sets, each request collection Closing includes multiple operation requests.
The step 401 and step 3011 in above-described embodiment, 3012 similar, details are not described herein.
402, first operation requests in multiple operation requests are obtained.
The step 402 is similar with step 301 in above-described embodiment, is not repeating herein.
403, current time corresponding timestamp is generated, sends first request message to server.
Wherein, timestamp has uniqueness, indicates the sending time of first operation requests.First request message carries First operation requests and timestamp.
When terminal will send first request message for carrying first operation requests to server, when terminal obtains current It carves, generates current time corresponding timestamp, which is added in first request message, server is sent to.
404, first request message that server receiving terminal is sent, handles first operation requests, obtains Corresponding first processing result of first operation requests.
The step is similar with step 304 in above-described embodiment, is not repeating herein.
405, the corresponding relationship of settling time stamp and first processing result.
Wherein, when corresponding relationship is used to delete this when to any one operation requests processing failure in multiple operation requests Between stab corresponding processing result.
The step is similar with step 305 in above-described embodiment, is not repeating herein.
406, first response message is sent to terminal, first response message carries timestamp.
The step is similar with step 306 in above-described embodiment, is not repeating herein.
407, terminal receives first response message that server is sent, and sends second request message to server, the Two request messages carry second operation requests and timestamp.
The step is similar with step 307 in above-described embodiment, is not repeating herein.
408, second request message that server receiving terminal is sent, handles second operation requests, obtains The corresponding second processing result of second operation requests.
The step is similar with step 308 in above-described embodiment, is not repeating herein.
409, the corresponding relationship of settling time stamp and second processing result.
The step is similar with step 309 in above-described embodiment, is not repeating herein.
Circulation executes above-mentioned steps 406-409, so that multiple operation requests are successively sent to server, server by terminal Successively handle the operation requests received.
Following step asks n-th operation so that first operation requests is handled successfully to the N-1 operation requests as an example The treatment process asked is illustrated.
410, the n-th request message that server receiving terminal is sent, is handled n-th operation requests, when to N When a operation requests processing failure, according to corresponding relationship, the corresponding processing result of the timestamp is deleted.
In a kind of possible implementation, after step 410, this method further include:
Server sends the batch operation processing failure message to terminal, and the corresponding multiple operations of the terminal batch operation are asked It asks and is sent to server again and is handled.
Optionally, after server sends the batch operation processing failure message to terminal, terminal shows the batch operation Processing failure message, user can trigger again the batch operation based on the processing failure message of the batch operation, by terminal and The batch operation is realized in interaction between server again.
When multiple operation requests are divided at least two request sets by terminal, in a kind of possible implementation, step Rapid 410 further include: server erasing time stabs corresponding processing result, which indicates belonging to the n-th operation requests The sending time of first operation requests in request set.
Optionally, after server deletes the corresponding processing result of the timestamp, server sends n-th behaviour to terminal The processing failure message of affiliated request set is requested, the operation requests in the request set are sent to service by terminal again Device is handled.For other request sets before the request set, terminal without sending operation requests again.
Optionally, after server sends the processing failure message of request set belonging to n-th operation requests to terminal, eventually End shows the corresponding operation object of request set operation object corresponding with other request sets being not handled by.User can Operation object retriggered batch operation based on display.
Fig. 5 is a kind of operating process schematic diagram provided in an embodiment of the present invention, and terminal is detected to multiple operation objects When batch operation, multiple operation requests are generated according to multiple operation object, obtain first behaviour in multiple operation requests It requests, generates timestamp, send first operation requests and the timestamp to server;Server receives this first behaviour Make request and the timestamp, first operation requests handled immediately, obtain first processing result, confirmation to this One operation requests is handled successfully, sends first response message and the timestamp to terminal;Terminal receives this first response Message and the timestamp, obtain second operation requests, send second operation requests and the timestamp to server;Service Device receives second operation requests and the timestamp, handles second operation requests, and confirmation grasps this second Request whether to handle success, when to second operation requests processing failure, data rewind is carried out according to the timestamp, is deleted Except the processing result for having handled completion.
Method provided in an embodiment of the present invention, terminal detects the batch operation for carrying multiple operation objects, more according to this A operation object generates multiple operation requests, generates timestamp, sends first request message to server, server receives First request message that terminal is sent, handles first operation requests, obtains first operation requests corresponding the One processing result, the corresponding relationship of settling time stamp and first processing result send first response message to terminal, the One response message carries timestamp, and terminal receives first response message that server is sent, and sends second to server Request message, second request message second operation requests of carrying and timestamp, second of server receiving terminal transmission Request message handles second operation requests, obtains the corresponding second processing of second operation requests as a result, when establishing Between stamp and the corresponding relationship of second processing result, and so on, the n-th request message that server receiving terminal is sent, to N A operation requests are handled, and when to N operation requests processing failure, according to corresponding relationship, erasing time stabs corresponding place Manage result.Batch operation processing scheme provided in an embodiment of the present invention, by server in the operation requests for receiving terminal transmission Afterwards, it is handled, is all finished receiving without waiting for multiple operation requests immediately, saved and operation requests is waited all to receive The time of completion improves treatment effeciency to save the time that processing operation request is spent.
And when server fails to request of data, corresponding processing result can be deleted according to timestamp, to realize Data rewind improves the efficiency of delete processing result, ensure that the atomicity of batch operation.
Fig. 6 is a kind of structural schematic diagram of batch operation processing unit provided in an embodiment of the present invention, referring to Fig. 6, the dress It sets and includes:
Request message receiving module 601, for receiving the first request message of terminal transmission, the first request message carries the One operation requests and timestamp, terminal is used for when detecting the batch operation for carrying multiple operation objects, according to multiple operations Object generates multiple operation requests, and the first operation requests are any one operation requests in multiple operation requests, and timestamp is used for Indicate the sending time of first operation requests in multiple operation requests;
It is corresponding to obtain the first operation requests for handling the first operation requests for operation requests processing module 602 First processing result;
Corresponding relation building module 603, for the corresponding relationship of settling time stamp and the first processing result, corresponding relationship is used In when to any one operation requests processing failure in multiple operation requests erasing time stab corresponding processing result.
Optionally, as shown in fig. 7, device further include:
Response message sending module 604, for sending the first response message to terminal, the first response message carries the time Stamp, for prompting the first operation requests to handle successfully, terminal is also used to send in multiple operation requests based on the first response message Remaining operation requests.
Optionally, request message receiving module 601 is also used to receive the second request message of terminal transmission, the second request Message carries the second operation requests and timestamp, and the second operation requests are next operation requests of the first operation requests;
Operation requests processing module 602 is also used to handle the second operation requests, and it is corresponding to obtain the second operation requests Second processing result;
Corresponding relation building module 603 is also used to the corresponding relationship of settling time stamp and second processing result.
Optionally, as shown in fig. 7, device further include:
Removing module 605, when for the first operation requests processing failure, according to corresponding relationship, erasing time stamp is corresponded to Processing result.
Fig. 8 is a kind of structural schematic diagram of batch operation processing unit provided in an embodiment of the present invention, referring to Fig. 8, the dress It sets and includes:
Operation requests obtain module 801, for obtaining the first operation requests in multiple operation requests, multiple operation requests It is generated when detecting the batch operation for carrying multiple operation objects according to multiple operation objects, the first operation requests are multiple behaviour Any one operation requests in requesting;
Timestamp obtains module 802, stabs for acquisition time, and timestamp is for indicating first behaviour in multiple operation requests Make the sending time requested;
Request message sending module 803, for sending the first request message to server, the first request message carries first Operation requests and timestamp;
Server is used to handle the first operation requests according to the first request message, obtain the first operation requests pair The first processing result answered, the corresponding relationship of settling time stamp and the first processing result, corresponding relationship are used for multiple operations Erasing time stabs corresponding processing result when any one operation requests processing failure in request.
Optionally, as shown in figure 9, device further include:
Response message receiving module 804, for receiving the first response message of server transmission, the first response message is carried Timestamp, for prompting the first operation requests to handle successfully;
Request message sending module 803, for sending the second request message to server, the second request message carries second Operation requests and timestamp, the second operation requests are next operation requests of the first operation requests;
Server is also used to handle the second operation requests according to the second request message, obtains the second operation requests Corresponding second processing is as a result, settling time stabs and the corresponding relationship of second processing result.
Optionally, as shown in figure 9, device further include:
Operation requests generation module 805, for generating multiple behaviour according to multiple operation objects when detecting batch operation It requests;
Request set division module 806, for multiple operation requests to be divided at least two request sets, each request Set includes multiple operation requests;
First operation requests are any one operation requests in any one request set of at least two request sets;
Timestamp is used to indicate the sending time of first operation requests in request set belonging to the first operation requests.
Optionally, as shown in figure 9, request set division module 806, comprising:
Division unit 8061, for being asked from multiple operations every time when the quantity of multiple operation requests is greater than preset quantity The middle operation requests for choosing preset quantity are sought, the same request set is divided to, obtains at least one request set;
Division unit 8061 is also used to when the quantity of remaining operation requests is less than preset quantity, by remaining operation Request is divided to the same request set.
It should be understood that batch operation processing unit provided by the above embodiment batch operation processing when, only more than The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference Functional module complete, i.e., the internal structure of terminal and server is divided into different functional modules, to complete above description All or part of function.In addition, batch operation processing unit provided by the above embodiment and batch operation processing method are real It applies example and belongs to same design, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Figure 10 shows the structural block diagram of the terminal 1000 of an illustrative embodiment of the invention offer.The terminal 1000 can To be portable mobile termianl, such as: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop, Desktop computer, headset equipment, smart television, intelligent sound box, intelligent remote controller, Intelligent microphone or any other intelligent terminal. Terminal 1000 is also possible to referred to as other titles such as user equipment, portable terminal, laptop terminal, terminal console.
In general, terminal 1000 includes: processor 1001 and memory 1002.
Processor 1001 may include one or more processing cores, such as 4 core processors, 8 core processors etc..It deposits Reservoir 1002 may include one or more computer readable storage mediums, which can be non-transient , for storing at least one instruction, which realizes side in the application for being had by processor 1001 The batch operation processing method that method embodiment provides.
In some embodiments, terminal 1000 is also optional includes: peripheral device interface 1003 and at least one periphery are set It is standby.It can be connected by bus or signal wire between processor 1001, memory 1002 and peripheral device interface 1003.It is each outer Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1003.Specifically, peripheral equipment includes: At least one of radio circuit 1004, display screen 1005 and voicefrequency circuit 1006.
Radio circuit 1004 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1004 is communicated by electromagnetic signal with communication network and other communication equipments.
Display screen 1005 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their any combination.The display screen 1005 can be touch display screen, can be also used for provide virtually by Button and/or dummy keyboard.
Voicefrequency circuit 1006 may include microphone and loudspeaker.Microphone is used to acquire the audio letter of user and environment Number, and convert audio signals into electric signal and be input to processor 1001 and handled, or be input to radio circuit 1004 with Realize voice communication.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on terminal 1000 to be multiple Different parts.Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor will to be come from 1001 or the electric signal of radio circuit 1004 be converted to audio signal.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1000 of structure shown in Figure 10 Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
Figure 11 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, the server 1100 can because of configuration or Performance is different and generates bigger difference, may include one or more processors (central processing Units, CPU) 1101 and one or more memory 1102, wherein at least one finger is stored in memory 1102 It enables, the method that at least one instruction is loaded by processor 1101 and executed to realize above-mentioned each embodiment of the method offer.Certainly, The server can also have the components such as wired or wireless network interface, keyboard and input/output interface, to be inputted Output, the server can also include other for realizing the component of functions of the equipments, and this will not be repeated here.
Server 1100 can be used for executing step performed by server in above-mentioned batch operation processing method.
The embodiment of the invention also provides a kind of batch operation processing unit, which includes processor and memory, is deposited At least one instruction, at least a Duan Chengxu, code set or instruction set, instruction, program, code set or instruction set are stored in reservoir Loaded as processor and had operation performed by terminal in the batch operation processing method to realize above-described embodiment.
The embodiment of the invention also provides another batch operation processing unit, which includes processor and memory, At least one instruction, at least a Duan Chengxu, code set or instruction set, instruction, program, code set or instruction are stored in memory Collection is loaded as processor and is had operation performed by server in the batch operation processing method to realize above-described embodiment.
The embodiment of the invention also provides a kind of computer readable storage medium, stored in the computer readable storage medium Have at least one instruction, at least a Duan Chengxu, code set or instruction set, the instruction, the program, the code set or the instruction set by Processor loads and has in the batch operation processing method to realize above-described embodiment operation performed by terminal or server.
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, described program can store computer-readable deposits in a kind of In storage media, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the embodiment of the present invention, are not intended to limit the invention embodiment, all at this Within the spirit and principle of inventive embodiments, any modification, equivalent replacement, improvement and so on be should be included in of the invention Within protection scope.

Claims (15)

1. a kind of batch operation processing method, which is characterized in that the described method includes:
The first request message that terminal is sent is received, first request message carries the first operation requests and timestamp, described Terminal is used for when detecting the batch operation for carrying multiple operation objects, generates multiple operations according to the multiple operation object Request, first operation requests are any one operation requests in the multiple operation requests, and the timestamp is for indicating The sending time of first operation requests in the multiple operation requests;
First operation requests are handled, corresponding first processing result of first operation requests is obtained;
The corresponding relationship of the timestamp Yu first processing result is established, the corresponding relationship is used for the multiple behaviour The corresponding processing result of the timestamp is deleted when any one operation requests processing failure in requesting.
2. being obtained the method according to claim 1, wherein described handle first operation requests After corresponding first processing result of first operation requests, the method also includes:
The first response message is sent to the terminal, first response message carries the timestamp, for prompting described the One operation requests are handled successfully, and the terminal is also used to send in the multiple operation requests based on first response message Remaining operation requests.
3. according to the method described in claim 2, it is characterized in that, it is described to the terminal send the first response message after, The method also includes:
The second request message that the terminal is sent is received, second request message carries the second operation requests and the time Stamp, second operation requests are next operation requests of first operation requests;
Second operation requests are handled, the corresponding second processing result of second operation requests is obtained;
Establish the corresponding relationship of the timestamp Yu the second processing result.
4. the method according to claim 1, wherein the method also includes:
When to the first operation requests processing failure, according to the corresponding relationship, the corresponding processing knot of the timestamp is deleted Fruit.
5. a kind of batch operation processing method, which is characterized in that the described method includes:
The first operation requests in multiple operation requests are obtained, the multiple operation requests are detecting the multiple operation objects of carrying Batch operation when according to the multiple operation object generate, first operation requests be the multiple operation requests in appoint One operation requests;
Acquisition time stamp, the timestamp are used to indicate the sending time of first operation requests in the multiple operation requests;
The first request message is sent to server, first request message carries first operation requests and the time Stamp;
The server is used to handle first operation requests according to first request message, obtains described the Corresponding first processing result of one operation requests establishes the corresponding relationship of the timestamp Yu first processing result, described Corresponding relationship is used to delete the timestamp pair when to any one operation requests processing failure in the multiple operation requests The processing result answered.
6. according to the method described in claim 5, it is characterized in that, it is described to server send the first request message after, institute State method further include:
The first response message that the server is sent is received, first response message carries the timestamp, for prompting First operation requests are handled successfully;
The second request message is sent to the server, second request message carries the second operation requests and the time Stamp, second operation requests are next operation requests of first operation requests;
The server is also used to handle second operation requests according to second request message, obtains described The corresponding second processing of second operation requests is as a result, establish the corresponding relationship of the timestamp Yu the second processing result.
7. according to the method described in claim 5, it is characterized in that, first operation requests obtained in multiple operation requests Before, the method also includes:
When detecting the batch operation, multiple operation requests are generated according to the multiple operation object;
The multiple operation requests are divided at least two request sets, each request set includes multiple operation requests;
First operation requests are any one operation requests in any one request set of at least two request set;
The timestamp is for when indicating the transmission of first operation requests in request set belonging to first operation requests Between.
8. the method according to the description of claim 7 is characterized in that described be divided at least two for the multiple operation requests Request set, each request set include multiple operation requests, comprising:
When the quantity of the multiple operation requests is greater than preset quantity, chosen from the multiple operation requests every time described pre- If the operation requests of quantity are divided to the same request set, at least one request set is obtained;
When the quantity of remaining operation requests is less than the preset quantity, the remaining operation requests are divided to same Request set.
9. a kind of batch operation processing unit, which is characterized in that described device includes:
Request message receiving module, for receiving the first request message of terminal transmission, first request message carries first Operation requests and timestamp, the terminal is used for when detecting the batch operation for carrying multiple operation objects, according to described more A operation object generates multiple operation requests, and first operation requests are that any one operation in the multiple operation requests is asked It asks, the timestamp is used to indicate the sending time of first operation requests in the multiple operation requests;
It is corresponding to obtain first operation requests for handling first operation requests for operation requests processing module The first processing result;
Corresponding relation building module, for establishing the corresponding relationship of the timestamp Yu first processing result, the correspondence Relationship is used to delete the timestamp when to any one operation requests processing failure in the multiple operation requests corresponding Processing result.
10. device according to claim 9, which is characterized in that described device further include:
Response message sending module, described in the terminal the first response message of transmission, first response message is carried Timestamp, for prompting first operation requests to handle successfully, the terminal is also used to based on first response message, hair Send remaining operation requests in the multiple operation requests.
11. device according to claim 10, which is characterized in that
Request message receiving module, is also used to receive the second request message that the terminal is sent, and second request message is taken The second operation requests of band and the timestamp, second operation requests are that next operation of first operation requests is asked It asks;
Operation requests processing module is also used to handle second operation requests, obtains second operation requests pair The second processing result answered;
Corresponding relation building module is also used to establish the corresponding relationship of the timestamp Yu the second processing result.
12. a kind of batch operation processing unit, which is characterized in that described device includes:
Operation requests obtain module, and for obtaining the first operation requests in multiple operation requests, the multiple operation requests exist It is generated when detecting the batch operation for carrying multiple operation objects according to the multiple operation object, first operation requests are Any one operation requests in the multiple operation requests;
Timestamp obtains module, stabs for acquisition time, and the timestamp is for indicating in the multiple operation requests first The sending time of operation requests;
Request message sending module, for sending the first request message to server, first request message carries described the One operation requests and the timestamp;
The server is used to handle first operation requests according to first request message, obtains described the Corresponding first processing result of one operation requests establishes the corresponding relationship of the timestamp Yu first processing result, described Corresponding relationship is used to delete the timestamp pair when to any one operation requests processing failure in the multiple operation requests The processing result answered.
13. a kind of batch operation processing unit, which is characterized in that described device includes processor and memory, the memory In be stored at least one instruction, at least a Duan Chengxu, code set or instruction set, described instruction, described program, the code set Or described instruction collection is loaded as the processor and is executed to realize the batch as described in Claims 1-4 any claim Performed operation in operation processing method.
14. a kind of batch operation processing unit, which is characterized in that described device includes processor and memory, the memory In be stored at least one instruction, at least a Duan Chengxu, code set or instruction set, described instruction, described program, the code set Or described instruction collection is loaded as the processor and is executed to realize the batch as described in claim 5 to 8 any claim Performed operation in operation processing method.
15. a kind of computer readable storage medium, which is characterized in that be stored at least one in the computer readable storage medium Item instruction, at least a Duan Chengxu, code set or instruction set, described instruction, described program, the code set or described instruction collection by Processor is loaded and is executed to realize in the batch operation processing method as described in Claims 1-4 any claim and hold Capable operation;Alternatively, with performed by realizing in batch operation processing method as described in claim 5 to 8 any claim Operation.
CN201910665070.1A 2019-07-23 2019-07-23 Batch operation processing method and device and storage medium Active CN110381146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910665070.1A CN110381146B (en) 2019-07-23 2019-07-23 Batch operation processing method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910665070.1A CN110381146B (en) 2019-07-23 2019-07-23 Batch operation processing method and device and storage medium

Publications (2)

Publication Number Publication Date
CN110381146A true CN110381146A (en) 2019-10-25
CN110381146B CN110381146B (en) 2021-09-03

Family

ID=68254997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910665070.1A Active CN110381146B (en) 2019-07-23 2019-07-23 Batch operation processing method and device and storage medium

Country Status (1)

Country Link
CN (1) CN110381146B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547092A (en) * 2008-03-27 2009-09-30 天津德智科技有限公司 Method and device for data synchronization of multi-application systems for unifying user authentication
US20150033233A1 (en) * 2013-07-25 2015-01-29 Fujitsu Limited Job delay detection method and information processing apparatus
CN107515724A (en) * 2016-06-16 2017-12-26 伊姆西公司 For the method and apparatus for the input and output for reproducing storage system
CN108055343A (en) * 2017-12-26 2018-05-18 北京奇虎科技有限公司 For the method for data synchronization and device of computer room
US10067678B1 (en) * 2016-12-22 2018-09-04 Amazon Technologies, Inc. Probabilistic eviction of partial aggregation results from constrained results storage
US20180253463A1 (en) * 2017-03-01 2018-09-06 Oracle International Corporation Global consistency with recency in distributed database management systems
CN108694189A (en) * 2017-04-07 2018-10-23 微软技术许可有限责任公司 The management of the Database Systems of co-ownership
CN108881225A (en) * 2018-06-19 2018-11-23 陕西师范大学 A kind of car networking condition method for secret protection of batch validation signature
US20190114684A1 (en) * 2005-06-30 2019-04-18 Ebay Inc. Business event processing
CN109726984A (en) * 2018-12-20 2019-05-07 深圳智乾区块链科技有限公司 A kind of processing result generation method and its equipment, storage medium, electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190114684A1 (en) * 2005-06-30 2019-04-18 Ebay Inc. Business event processing
CN101547092A (en) * 2008-03-27 2009-09-30 天津德智科技有限公司 Method and device for data synchronization of multi-application systems for unifying user authentication
US20150033233A1 (en) * 2013-07-25 2015-01-29 Fujitsu Limited Job delay detection method and information processing apparatus
CN107515724A (en) * 2016-06-16 2017-12-26 伊姆西公司 For the method and apparatus for the input and output for reproducing storage system
US10067678B1 (en) * 2016-12-22 2018-09-04 Amazon Technologies, Inc. Probabilistic eviction of partial aggregation results from constrained results storage
US20180253463A1 (en) * 2017-03-01 2018-09-06 Oracle International Corporation Global consistency with recency in distributed database management systems
CN108694189A (en) * 2017-04-07 2018-10-23 微软技术许可有限责任公司 The management of the Database Systems of co-ownership
CN108055343A (en) * 2017-12-26 2018-05-18 北京奇虎科技有限公司 For the method for data synchronization and device of computer room
CN108881225A (en) * 2018-06-19 2018-11-23 陕西师范大学 A kind of car networking condition method for secret protection of batch validation signature
CN109726984A (en) * 2018-12-20 2019-05-07 深圳智乾区块链科技有限公司 A kind of processing result generation method and its equipment, storage medium, electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郝平: "一种移动网络下基于双时间戳的数据增量同步研究", 《计算机应用与软件》 *

Also Published As

Publication number Publication date
CN110381146B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
US11025963B2 (en) Data processing method, apparatus, and system for live streaming page
US9332039B2 (en) Method, apparatus, and system for establishing voice communication
CN110266480A (en) Data transmission method, device and storage medium
CN110490808A (en) Picture joining method, device, terminal and storage medium
CN103281237A (en) Group processing method and device
CN106130881A (en) A kind of account number login method and device
US20180262284A1 (en) Method, apparatus and terminal device for sending broadcast
CN106549988A (en) Add group method, apparatus and system
CN107172196B (en) A kind of business interaction methods, devices and systems
CN110268751A (en) Method and system for selection access and mobile management function to ps domain in access net environment
US20090158160A1 (en) Method and apparatus for implementing avatar modifications in another user's avatar
CN110365796A (en) Service request processing method, device
CN109670159A (en) The creation of view and management method, device, electronic equipment and storage medium
CN106897283A (en) The treating method and apparatus of multimedia messages
CN109729139A (en) Access request retransmission method, device, equipment and readable storage medium storing program for executing
CN104601448A (en) Method and device for handling virtual card
CN106954191B (en) Broadcast transmission method, apparatus and terminal device
CN104427118A (en) Method for recommending contents and mobile terminal
CN103401989A (en) Method, device and terminal for displaying contact information
CN103297434A (en) Method for processing data, user sides, server and system
CN109698784A (en) A kind of message cancelling method and device
CN110381146A (en) Batch operation processing method, device and storage medium
CN111866544A (en) Data processing method, device, equipment and computer readable storage medium
CN107277640A (en) Interactive approach, device and storage medium based on live platform
CN110519346A (en) A kind of method, terminal, server and the computer readable storage medium of data switching

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant