+

CN102929698A - Task re-judgment method and system - Google Patents

Task re-judgment method and system Download PDF

Info

Publication number
CN102929698A
CN102929698A CN2012103796911A CN201210379691A CN102929698A CN 102929698 A CN102929698 A CN 102929698A CN 2012103796911 A CN2012103796911 A CN 2012103796911A CN 201210379691 A CN201210379691 A CN 201210379691A CN 102929698 A CN102929698 A CN 102929698A
Authority
CN
China
Prior art keywords
task
service request
execution
command identifier
intermediate processor
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
CN2012103796911A
Other languages
Chinese (zh)
Inventor
李鹏
陈建森
李哲
黄彦彬
廖迪青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN2012103796911A priority Critical patent/CN102929698A/en
Publication of CN102929698A publication Critical patent/CN102929698A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

本发明提供了一种任务判重方法,包括:后端在执行中间处理器发送的服务请求中命令标识对应的任务时,记录任务的执行状态与服务请求中序列号之间的对应关系;当后端依据中间处理器发送的服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为执行中或已执行完毕时,拒绝再次执行所述任务;本发明还提供一种任务判重系统。根据本发明提供的技术方案,能够解决后端重复执行相同任务的问题,节省后端的处理资源。

The present invention provides a method for judging the weight of a task, which includes: when the back end executes the task corresponding to the command identifier in the service request sent by the intermediate processor, recording the corresponding relationship between the execution status of the task and the serial number in the service request; When the backend judges that the execution state of the task corresponding to the command identifier in the service request is in execution or has been executed according to the sequence number in the service request sent by the intermediate processor, it refuses to execute the task again; the present invention also provides A task weight judgment system. According to the technical solution provided by the invention, the problem of repeated execution of the same task at the back end can be solved, and processing resources at the back end can be saved.

Description

一种任务判重方法及系统A method and system for judging the weight of a task

【技术领域】【Technical field】

本发明涉及互联网领域的网站开发技术,尤其涉及一种任务判重方法及系统。The invention relates to website development technology in the Internet field, in particular to a method and system for judging the weight of a task.

【背景技术】【Background technique】

目前,网站开发过程中,前端会向中间处理器发送服务请求,中间处理器再将服务请求转发给后端,在收到服务请求后,后端会直接处理该服务请求,执行相应的操作。At present, during the website development process, the front-end will send a service request to the intermediate processor, and the intermediate processor will forward the service request to the back-end. After receiving the service request, the back-end will directly process the service request and perform corresponding operations.

如果后端没有及时向中间处理器返回服务请求的响应,或中间处理器没有收到响应,例如,由于网络出现波动或中断,导致中间服务器没有成功将服务请求发送到后端,后端没有收到服务请求就不会返回响应;或服务请求对应的任务执行过程比较复杂,后端执行任务的时间较长,没有及时返回响应,或后端返回响应时,网络出现波动或中断,后端没有成功返回响应。如果发生上述情况,中间处理器会由于没有收到后端返回的响应,而认为服务请求没有提交成功,会重复提交该服务请求给后端;如果后端正在处理之前收到的相同的服务请求或已经处理完该服务请求,此时又收到同一服务请求,则会重复执行相应的操作,给后端带来多余的处理负担,浪费后端的处理资源。而且,针对不同的服务,后端重复执行任务将带来很多问题,例如,如果重复提交扣除款项的服务请求,后端将重复执行款项的扣除,将给用户带来经济损失;如果重复提交发送消息的服务请求,后端将向用户重复发送消息,给用户带来较差的用户体验。If the backend does not return a response to the service request to the intermediate processor in time, or the intermediate processor does not receive a response, for example, due to fluctuations or interruptions in the network, the intermediate server fails to send the service request to the backend, and the backend does not receive it. No response will be returned when the service request is received; or the task execution process corresponding to the service request is relatively complicated, the backend takes a long time to execute the task, and the response is not returned in time, or when the backend returns the response, the network fluctuates or is interrupted, and the backend does not A response is returned successfully. If the above situation occurs, the intermediate processor will consider that the service request has not been submitted successfully because it has not received the response returned by the backend, and will repeatedly submit the service request to the backend; if the backend is processing the same service request received before Or if the service request has been processed and the same service request is received at this time, the corresponding operation will be repeated, which will bring redundant processing burden to the back end and waste the processing resources of the back end. Moreover, for different services, the repeated execution of tasks by the backend will cause many problems. For example, if the service request for deducting money is submitted repeatedly, the backend will repeatedly perform the deduction of money, which will bring economic losses to users; For message service requests, the backend will repeatedly send messages to users, which will bring poor user experience to users.

【发明内容】【Content of invention】

本发明提供了一种任务判重方法及系统,能够解决后端重复执行相同任务的问题,节省后端的处理资源。The invention provides a method and system for judging the weight of a task, which can solve the problem of repeated execution of the same task at the back end and save processing resources at the back end.

本发明的具体技术方案如下:Concrete technical scheme of the present invention is as follows:

根据本发明一优选实施例,一种任务判重方法,后端在执行中间处理器发送的服务请求中命令标识对应的任务时,记录任务的执行状态与服务请求中序列号之间的对应关系;还包括:According to a preferred embodiment of the present invention, a task weight judgment method, when the backend executes the task corresponding to the command identifier in the service request sent by the intermediate processor, records the corresponding relationship between the execution status of the task and the sequence number in the service request ;Also includes:

当后端依据中间处理器发送的服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为执行中或已执行完毕时,拒绝再次执行所述任务。When the backend judges according to the serial number in the service request sent by the intermediate processor that the execution state of the task corresponding to the command identifier in the service request is in progress or completed, it refuses to execute the task again.

上述方法中,所述序列号是:所述中间处理器在接收到前端发送的服务请求后,依据服务请求的接收顺序,为收到的服务请求中携带的命令标识分配的唯一的序列号。In the above method, the serial number is: after receiving the service request sent by the front end, the intermediate processor allocates a unique serial number for the command identifier carried in the received service request according to the order in which the service request is received.

上述方法中,该方法还包括:In the above method, the method also includes:

当判断出所述服务请求中命令标识对应的任务的执行状态为未执行时,后端依据命令标识,从配置文件中命令标识、模块名称、执行的任务的映射关系中找到所述模块名称对应的处理模块;由所述处理模块依据所述映射关系找到需要执行的任务,并执行找到的任务;When it is judged that the execution state of the task corresponding to the command identifier in the service request is not executed, the backend finds the corresponding task of the module name from the mapping relationship between the command identifier, the module name, and the executed task in the configuration file according to the command identifier. a processing module; the processing module finds the task to be executed according to the mapping relationship, and executes the found task;

当任务执行成功时,后端将任务执行成功的提示信息通过中间处理器返回给前端;当任务执行失败时,后端将任务执行失败的提示信息通过中间处理器返回给前端。When the task execution is successful, the backend returns the prompt information of task execution success to the front end through the intermediate processor; when the task execution fails, the backend returns the prompt information of task execution failure to the front end through the intermediate processor.

上述方法中,如果所述后端记录的任务的执行状态与服务请求中序列号之间的对应关系中,不存在所述服务请求中的序列号,则判断出所述服务请求中命令标识对应的任务的执行状态为未执行;In the above method, if there is no serial number in the service request in the corresponding relationship between the execution status of the task recorded in the backend and the serial number in the service request, then it is determined that the command identifier in the service request corresponds to The execution status of the task is not executed;

当所述任务执行失败时,该方法还包括:删除记录的该任务的执行状态与服务请求中序列号之间的对应关系。When the execution of the task fails, the method further includes: deleting the recorded correspondence between the execution status of the task and the serial number in the service request.

上述方法中,当判断出所述服务请求中命令标识对应的任务的执行状态为执行中时,后端将任务执行错误的提示信息返回给中间处理器;In the above method, when it is judged that the execution status of the task corresponding to the command identifier in the service request is in execution, the backend returns the prompt information of the task execution error to the intermediate processor;

当判断出所述服务请求中命令标识对应的任务的执行状态为已执行完毕时,后端将任务执行成功的提示信息返回给中间处理器。When it is determined that the execution state of the task corresponding to the command identifier in the service request is completed, the backend returns a prompt message indicating that the task is successfully executed to the intermediate processor.

上述方法中,当前端向中间处理器发送携带命令标识的服务请求时,或当中间处理器没有收到后端返回的响应时,中间处理器向后端发送携带命令标识和序列号的服务请求;所述响应包括:任务执行失败的提示信息、任务执行成功的提示信息或任务执行错误的提示信息。In the above method, when the front-end sends the service request carrying the command identifier to the intermediate processor, or when the intermediate processor does not receive the response returned by the back-end, the intermediate processor sends the service request carrying the command identifier and the serial number to the back-end ; The response includes: task execution failure prompt information, task execution success prompt information or task execution error prompt information.

一种任务判重系统,包括:中间处理器、后端;所述后端进一步包括调度模块;其中,A task judgment system, comprising: an intermediate processor, a backend; the backend further includes a scheduling module; wherein,

调度模块,用于在执行中间处理器发送的服务请求中命令标识对应的任务时,记录任务的执行状态与服务请求中序列号之间的对应关系;还用于当依据中间处理器发送的服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为执行中或已执行完毕时,拒绝再次执行所述任务。The scheduling module is used to record the corresponding relationship between the execution state of the task and the serial number in the service request when executing the corresponding task in the service request sent by the intermediate processor; The serial number in the request, when it is judged that the execution state of the task corresponding to the command identifier in the service request is in execution or completed, refuse to execute the task again.

上述系统中,所述序列号是:所述中间处理器在接收到前端发送的服务请求后,依据服务请求的接收顺序,为收到的服务请求中携带的命令标识分配的唯一的序列号。In the above system, the serial number is: after receiving the service request sent by the front end, the intermediate processor allocates a unique serial number for the command identifier carried in the received service request according to the order in which the service request is received.

上述系统中,所述后端还包括:处理模块;In the above system, the backend further includes: a processing module;

所述调度模块,还用于当判断出所述服务请求中命令标识对应的任务的执行状态为未执行时,依据命令标识,从配置文件中命令标识、模块名称、执行的任务的映射关系中找到所述模块名称对应的处理模块;The scheduling module is further configured to, when it is determined that the execution state of the task corresponding to the command identifier in the service request is not executed, according to the command identifier, from the mapping relationship between the command identifier, the module name, and the executed task in the configuration file Find the processing module corresponding to the module name;

处理模块,用于依据所述映射关系找到需要执行的任务,并执行找到的任务;当任务执行成功时,将任务执行成功的提示信息返回给调度模块;当任务执行失败时,将任务执行失败的提示信息返回给调度模块;The processing module is used to find the task that needs to be executed according to the mapping relationship, and execute the found task; when the task execution is successful, return the prompt information of the task execution success to the scheduling module; when the task execution fails, the task execution fails The prompt information is returned to the scheduling module;

调度模块,还用于将任务执行成功的提示信息或任务执行失败的提示信息,通过中间处理器返回给前端。The scheduling module is also used to return the prompt information of task execution success or task execution failure to the front end through the intermediate processor.

上述系统中,所述调度模块,还用于如果所述后端记录的任务的执行状态与服务请求中序列号之间的对应关系中,不存在所述服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为未执行;In the above system, the scheduling module is further configured to determine if the sequence number in the service request does not exist in the corresponding relationship between the execution status of the task recorded in the backend and the sequence number in the service request. The execution status of the task corresponding to the command identifier in the above service request is not executed;

当所述任务执行失败时,调度模块还用于删除记录的该任务的执行状态与服务请求中序列号之间的对应关系。When the execution of the task fails, the scheduling module is further configured to delete the recorded correspondence between the execution status of the task and the sequence number in the service request.

上述系统中,所述调度模块,还用于当判断出所述服务请求中命令标识对应的任务的执行状态为执行中时,将任务执行错误的提示信息返回给中间处理器;当判断出所述服务请求中命令标识对应的任务的执行状态为已执行完毕时,将任务执行成功的提示信息返回给中间处理器。In the above system, the scheduling module is further configured to return a prompt message of a task execution error to the intermediate processor when it is determined that the execution status of the task corresponding to the command identifier in the service request is in execution; When the execution state of the task corresponding to the command identifier in the service request is completed, the prompt information of successful task execution is returned to the intermediate processor.

上述系统中,所述中间处理器,还用于当前端向自身发送携带命令标识的服务请求时,或当自身没有收到后端返回的响应时,向后端发送携带命令标识和序列号的服务请求;所述响应包括:任务执行失败的提示信息、任务执行成功的提示信息或任务执行错误的提示信息。In the above system, the intermediate processor is also used to send a service request carrying a command identifier and a serial number to the backend when the front end sends a service request carrying a command identifier to itself, or when it does not receive a response returned by the backend. Service request; the response includes: prompt information of task execution failure, task execution success or task execution error prompt information.

由以上技术方案可以看出,本发明提供的具有以下有益效果:As can be seen from the above technical solutions, the present invention has the following beneficial effects:

对于从中间处理器收到的服务请求,后端会进行任务的判重处理,依据判重结果决定是否执行任务;如此,避免后端重复处理服务请求对应的任务,降低后端的处理负担,节省后端的处理资源。For the service request received from the intermediate processor, the backend will judge the weight of the task, and decide whether to execute the task according to the weight judgment result; in this way, the backend can avoid repeated processing of the task corresponding to the service request, reduce the processing burden of the backend, and save Backend processing resources.

【附图说明】【Description of drawings】

图1是本发明实现任务判重系统的优选实施例的结构示意图;Fig. 1 is the structural representation of the preferred embodiment that the present invention realizes task judging system;

图2是本发明实现任务判重方法的优选实施例的流程示意图。Fig. 2 is a flow diagram of a preferred embodiment of the method for realizing task weight judgment in the present invention.

【具体实施方式】【Detailed ways】

本发明的基本思想是:后端在执行中间处理器发送的服务请求中命令标识对应的任务时,记录任务的执行状态与服务请求中序列号之间的对应关系;当后端依据中间处理器发送的服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为执行中或已执行完毕时,拒绝再次执行所述任务。The basic idea of the present invention is: when the backend executes the task corresponding to the command identifier in the service request sent by the intermediate processor, record the corresponding relationship between the execution state of the task and the serial number in the service request; The serial number in the sent service request, when it is determined that the execution state of the task corresponding to the command identifier in the service request is in execution or completed, refuse to execute the task again.

为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

本发明提供一种任务判重系统,图1是本发明实现任务判重系统的优选实施例的结构示意图,如图1所示,该系统包括:前端10、中间处理器20、后端30;后端30进一步包括调度模块301和一个以上处理模块302~30n,n为大于等于3的正整数。The present invention provides a task judgment system. Fig. 1 is a schematic structural view of a preferred embodiment of the task judgment system in the present invention. As shown in Fig. 1, the system includes: a front end 10, an intermediate processor 20, and a back end 30; The backend 30 further includes a scheduling module 301 and more than one processing module 302-30n, where n is a positive integer greater than or equal to 3.

基于上述系统,本发明还提供一种任务判重方法,图2是本发明实现任务判重方法的优选实施例的流程示意图,如图2所示,该优选实施例包括以下步骤:Based on the above-mentioned system, the present invention also provides a method for judging the weight of a task. Fig. 2 is a schematic flow diagram of a preferred embodiment of the method for judging the weight of a task in the present invention. As shown in Fig. 2, the preferred embodiment includes the following steps:

步骤201,前端发送携带命令标识的服务请求给中间处理器。Step 201, the front end sends a service request carrying a command identifier to the intermediate processor.

具体的,前端与后端的开发人员预先协商命令标识key、模块名称、执行的任务的映射关系,前端接收前端开发人员输入的命令标识key,然后将该命令标识key携带在服务请求中发送给中间处理器;其中,命令标识key可以为任意的字符串,如abc,也可以利用模块名称、执行的任务或模块名称+执行的任务来组成命令标识key,后端可以依据命令标识key获取对应的模块和执行的任务;例如,命令标识key可以为msg-insertWebBroadcastMsg,其中msg为消息,insertWebBroadcastMsg为执行的任务。Specifically, the front-end and back-end developers pre-negotiate the mapping relationship between the command identifier key, module name, and executed tasks. The front-end receives the command identifier key input by the front-end developer, and then carries the command identifier key in the service request and sends it to the middle Processor; where, the command identification key can be any string, such as abc, or the command identification key can be composed of the module name, the executed task or the module name + the executed task, and the backend can obtain the corresponding command identification key according to the command identification key The module and the task to be executed; for example, the command identifier key can be msg-insertWebBroadcastMsg, where msg is the message, and insertWebBroadcastMsg is the task to be executed.

步骤202,中间处理器在收到前端发送的服务请求后,依据服务请求的接收顺序,为收到的服务请求中携带的命令标识分配唯一的序列号,并将分配的序列号和命令标识通过服务请求发送给后端。Step 202: After receiving the service request sent by the front end, the intermediate processor assigns a unique serial number to the command identifier carried in the received service request according to the order in which the service request is received, and passes the assigned serial number and command identifier through The service request is sent to the backend.

具体的,中间处理器收到前端发送的服务请求后,从该服务请求中提取出携带的命令标识key,然后依据服务请求的接收顺序,为服务请求中的命令标识key分配一个唯一的序列号,并将分配的序列号和命令标识key携带在服务请求中发送给后端;同时,中间处理器中需要存储分配的序列号及对应的命令标识key,用于中间处理器在一段时间内没有收到后端针对该服务请求的响应时,再次将服务请求发送给后端。Specifically, after the intermediate processor receives the service request sent by the front end, it extracts the carried command identification key from the service request, and then assigns a unique serial number to the command identification key in the service request according to the order in which the service requests are received , and carry the assigned serial number and command identifier key in the service request and send it to the backend; at the same time, the intermediate processor needs to store the assigned serial number and the corresponding command identifier key, so that the intermediate processor does not have any When receiving the backend's response to the service request, send the service request to the backend again.

其中,中间处理器可以依据服务请求的接收顺序,为其中的命令标识key分配一个唯一的序列号,例如,收到的第一个服务请求后,为其中的命令标识key分配序列号001,收到的第二个服务请求后,为其中的命令标识key分配序列号002,以此类推;例如,如果命令标识key为msg-insertWebBroadcastMsg,中间处理器发送给后端的服务请求中携带命令标识key和序列号,即服务请求中携带msg-insertWebBroadcastMsg-001,其中insertWebBroadcastMsg为命令标识key,001为中间处理器为命令标识key分配的序列号。Wherein, the intermediate processor can assign a unique serial number to the command identification key therein according to the order in which the service requests are received, for example, after receiving the first service request, assign the serial number 001 to the command identification key therein, and After receiving the second service request, assign the sequence number 002 to the command identifier key, and so on; for example, if the command identifier key is msg-insertWebBroadcastMsg, the service request sent by the intermediate processor to the backend carries the command identifier key and Serial number, that is, msg-insertWebBroadcastMsg-001 is carried in the service request, where insertWebBroadcastMsg is the command identification key, and 001 is the serial number allocated by the intermediate processor for the command identification key.

步骤203,后端在执行中间处理器发送的服务请求中命令标识对应的任务时,记录任务的执行状态与服务请求中序列号之间的对应关系;当后端依据中间处理器发送的服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为执行中或已执行完毕时,拒绝再次执行所述任务。Step 203, when the backend executes the task corresponding to the command identifier in the service request sent by the intermediate processor, record the corresponding relationship between the execution status of the task and the serial number in the service request; when the backend executes the corresponding task according to the service request sent by the intermediate processor If it is determined that the execution status of the task corresponding to the command identifier in the service request is in progress or has been executed, the task is refused to be executed again.

具体的,前端与后端的开发人员协商好命令标识key、模块名称、执行的任务的映射关系后,在后端的存储器中存储的配置文件中写入命令标识key、模块名称、执行的任务的映射关系,例如,可以在配置文件中写入如下表示映射关系的字段:Specifically, after the front-end and back-end developers negotiate the mapping relationship between the command identifier key, module name, and executed tasks, write the mapping of the command identifier key, module name, and executed tasks into the configuration file stored in the back-end memory Relationships, for example, the following fields representing mapping relationships can be written in the configuration file:

[.msg-insertWebBroadcastMsg][.msg-insertWebBroadcastMsg]

[..param][..param]

webid:intwebid:int

msgtype:intmsgtype:int

magdetail:stringmagdetail: string

[..self][..self]

class:Service_RpcPage_Broadcastclass:Service_RpcPage_Broadcast

method:insertWebBroadcastMsgmethod:insertWebBroadcastMsg

其中,上述映射关系中,msg-insertWebBroadcastMsg表示命令标识key,class字段名的赋值Service_RpcPage_Broadcast表示该命令标识key对应的模块名称,method字段名的赋值insertWebBroadcastMsg表示该命令标识key对应需要执行的任务。Among them, in the above mapping relationship, msg-insertWebBroadcastMsg represents the command identification key, the assignment Service_RpcPage_Broadcast of the class field name indicates the module name corresponding to the command identification key, and the assignment insertWebBroadcastMsg of the method field name indicates that the command identification key corresponds to the task to be executed.

调度模块在触发处理模块执行中间处理器发送的服务请求中命令标识对应的任务时,记录任务的执行状态与服务请求中序列号之间的对应关系;如此,后端的调度模块收到中间处理器发来的服务请求后,从该服务请求中提取出命令标识key和序列号,依据该序列号,读取后端的存储器中存储的任务的执行状态与序列号之间的对应关系,在该对应关系中,查找该序列号及对应的任务的执行状态;When the scheduling module triggers the processing module to execute the task corresponding to the command identifier in the service request sent by the intermediate processor, it records the corresponding relationship between the execution status of the task and the sequence number in the service request; After the service request is sent, the command identification key and serial number are extracted from the service request, and according to the serial number, the corresponding relationship between the execution status of the task stored in the back-end memory and the serial number is read. In the relationship, find the serial number and the execution status of the corresponding task;

如果调度模块在任务的执行状态与序列号之间的对应关系中,没有找到收到的服务请求中的序列号,表示该序列号的锁定状态是未加锁,判断出服务请求中命令标识key对应的任务的执行状态是未执行,则调度模块先在对应关系中添加该序列号及对应的任务的执行状态,然后将该序列号加锁,将对应的任务的执行状态设置为正在执行中,并设置该序列号的加锁计时器,该加锁计时器到时后,将对应的任务的执行状态设置为已执行完毕,且序列号解锁;然后调度模块需要依据从服务请求中提取的命令标识key,在配置文件中命令标识key、模块名称、执行的任务的映射关系中,找到对应的模块名称,然后将提取的命令标识key发送给对应的处理模块;该处理模块收到命令标识key后,读取配置文件,在配置文件中命令标识key、模块名称、执行的任务的映射关系中,找到需要执行的任务,并执行该任务;如果任务执行成功,则向调度模块返回任务执行成功的提示信息,调度模块将任务执行成功的提示信息返回给中间处理器,中间处理器再转发给前端,由于加锁计时器到时后,自动为该命令标识key对应的序列号解锁,将序列号的锁定状态设置为已加锁且已经执行完毕,所以调度模块不需要修改序列号与锁定状态的映射关系表中该序列号的锁定状态;如果处理模块的任务执行失败,则处理模块向调度模块返回任务执行失败的提示信息,调度模块将任务执行失败的提示信息返回给中间处理器,中间处理器再转发给前端,同时调度模块删除对应关系中该序列号及对应的任务的执行状态的对应关系项,如此,如果再从中间处理器收到包含该序列号的服务请求,处理模块可以重新执行对应的任务。If the scheduling module does not find the serial number in the received service request in the corresponding relationship between the execution status of the task and the serial number, it means that the locked state of the serial number is unlocked, and it determines the command identifier key in the service request If the execution status of the corresponding task is unexecuted, the scheduling module first adds the serial number and the execution status of the corresponding task to the corresponding relationship, then locks the serial number, and sets the execution status of the corresponding task as being executed , and set the lock timer of the serial number. After the lock timer expires, the execution status of the corresponding task is set to completed, and the serial number is unlocked; then the scheduling module needs to extract it from the service request Command identifier key, find the corresponding module name in the mapping relationship between the command identifier key, module name, and executed task in the configuration file, and then send the extracted command identifier key to the corresponding processing module; the processing module receives the command identifier After the key, read the configuration file, find the task to be executed in the mapping relationship between the command identifier key, the module name, and the executed task in the configuration file, and execute the task; if the task is executed successfully, return the task execution to the scheduling module For successful prompt information, the scheduling module returns the prompt information of successful task execution to the intermediate processor, and the intermediate processor forwards it to the front end. After the lock timer expires, it automatically unlocks the serial number corresponding to the command identification key, and the The lock state of the serial number is set as locked and has been executed, so the scheduling module does not need to modify the lock state of the serial number in the mapping relationship table between the serial number and the locked state; if the task execution of the processing module fails, the processing module sends The scheduling module returns the prompt information of task execution failure. The scheduling module returns the prompt information of task execution failure to the intermediate processor, and the intermediate processor forwards it to the front end. At the same time, the scheduling module deletes the serial number and the execution status of the corresponding task in the corresponding relationship. In this way, if a service request containing the serial number is received from the intermediate processor, the processing module can re-execute the corresponding task.

如果调度模块在任务的执行状态与序列号之间的对应关系中,找到该序列号,且该序列号的锁定状态为已加锁且正在执行中,判断出携带该序列号的服务请求中命令标识key对应的任务已经有处理模块正在执行中,因此拒绝再次执行该任务,调度模块将任务执行错误的提示信息返回给中间处理器,中间处理器就不会在没收到后端返回的提示信息时,在发送周期内再次发送同样的服务请求给后端。If the scheduling module finds the serial number in the corresponding relationship between the execution state of the task and the serial number, and the locking status of the serial number is locked and is being executed, it determines that the command in the service request carrying the serial number The task corresponding to the identification key is already being executed by the processing module, so it refuses to execute the task again, and the scheduling module returns the prompt information of task execution error to the intermediate processor, and the intermediate processor will not receive the prompt information returned by the backend , send the same service request to the backend again within the sending cycle.

如果调度模块在任务的执行状态与序列号之间的对应关系中找到该序列号,且该序列号的锁定状态为已加锁且已经执行完毕,判断出该序列号的服务请求中命令标识key对应的任务已经由处理模块执行完毕,且任务执行成功,因此拒绝再次执行该任务,则调度模块将任务执行成功的提示信息返回给中间处理器,中间处理器将任务执行成功的提示信息返回给前端。If the scheduling module finds the sequence number in the corresponding relationship between the execution state of the task and the sequence number, and the lock state of the sequence number is locked and has been executed, it determines the command identifier key in the service request of the sequence number The corresponding task has been executed by the processing module, and the task execution is successful, so it refuses to execute the task again, then the scheduling module returns the prompt information of task execution success to the intermediate processor, and the intermediate processor returns the prompt information of task execution success to front end.

在上述方法的过程中,中间处理器如果接收到后端返回的任务执行成功的提示信息、任务执行失败的提示信息或任务执行错误的提示信息并返回给前端后,如果没有再次接收到携带相同命令标识key的服务请求,则不会重复发送携带相同命令标识key的服务请求给后端。也就是说,中间处理器只有在设定时间内没有收到来自后端的响应时才会重复发送携带相同命令标识key的服务请求给后端。In the process of the above method, if the intermediate processor receives the message of successful task execution, the message of task execution failure or the message of task execution error returned by the back end and returns it to the front end, if it does not receive the message carrying the same The service request of the command identification key will not repeatedly send the service request carrying the same command identification key to the backend. That is to say, the intermediate processor will repeatedly send service requests carrying the same command identification key to the backend only when it does not receive a response from the backend within a set time.

实际应用中,存在一个任务需要多次执行的情况,此时前端会向中间处理器重复发送携带相同命令标识key的服务请求,用来指示后端重复执行同一个任务,利用本发明优选实施例,中间处理器即使从前端先后收到携带相同命令标识的服务请求,也会依据接收顺序不同为命令标识key分配不同的序列号,后端依据服务请求中的序列号判断该序列号的锁定状态,进一步依据锁定状态判断是否执行相应的任务,而不是依据命令标识key判断是否执行相应的任务,因此,前端向中间处理器重复发送携带相同命令标识key的服务请求后,中间处理器依据接收顺序不同为命令标识分配不同的序列号,后端保存的序列号中不会有新收到的序列号,因此即使命令标识key相同,也可以重复执行相应的任务;利用上述技术方案,针对前端重复提交的服务请求,后端会执行相应的处理,针对中间处理器由于没有收到响应而重复提交的服务请求,后端会进任务的判重,依据判重结果决定是否执行处理;如此,既不影响前端指示后端重复执行同一任务,又可以避免中间处理器重复发送服务请求带来的重复执行任务,解决后端重复处理服务请求对应的任务的问题,降低后端的处理负担,节省后端的处理资源;同时能够减少中间处理器重复发送服务请求的次数,降低中间处理器的处理负担,节省中间处理器的处理资源;将上述技术方案应用于支付网站等各种业务网站时,能够避免由于用户重复提交服务请求,给用户带来的经济损失,提高用户体验。In practical applications, there is a situation where a task needs to be executed multiple times. At this time, the front end will repeatedly send service requests carrying the same command identification key to the intermediate processor to instruct the back end to repeatedly execute the same task. Using the preferred embodiment of the present invention , even if the intermediate processor receives service requests carrying the same command ID successively from the front end, it will assign different serial numbers to the command ID key according to the order of receipt, and the backend judges the lock status of the serial number according to the serial number in the service request , and further judge whether to execute the corresponding task based on the locking state, rather than judging whether to execute the corresponding task based on the command identification key. Different serial numbers are assigned to command identifiers, and the serial numbers saved in the backend will not include newly received serial numbers, so even if the command identifier keys are the same, the corresponding tasks can be repeated; For the submitted service request, the backend will perform corresponding processing. For the service request repeatedly submitted by the intermediate processor because it has not received a response, the backend will enter into the weight judgment of the task, and decide whether to execute the processing according to the weight judgment result; thus, both It does not affect the front-end instructing the back-end to repeatedly execute the same task, and can avoid the repeated execution of tasks caused by the repeated sending of service requests by the intermediate processor, solve the problem of repeated processing of tasks corresponding to service requests at the back-end, reduce the processing burden of the back-end, and save back-end resources Processing resources; at the same time, it can reduce the number of times the intermediate processor repeatedly sends service requests, reduce the processing burden of the intermediate processor, and save the processing resources of the intermediate processor; when the above technical solution is applied to various business websites such as payment websites, it can avoid the Users repeatedly submit service requests, causing economic losses to users and improving user experience.

为实现上述方法,如图1所示的系统:In order to realize the above method, the system shown in Figure 1:

调度模块301,用于在执行中间处理器20发送的服务请求中命令标识对应的任务时,记录任务的执行状态与服务请求中序列号之间的对应关系;还用于当依据中间处理器发送的服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为执行中或已执行完毕时,拒绝再次执行所述任务。The scheduling module 301 is used to record the corresponding relationship between the execution state of the task and the serial number in the service request when executing the corresponding task in the service request sent by the intermediate processor 20; When it is determined that the execution status of the task corresponding to the command identifier in the service request is in progress or has been executed, the task is refused to be executed again.

其中,所述序列号是:所述中间处理器20在接收到前端10发送的服务请求后,依据服务请求的接收顺序,为收到的服务请求中携带的命令标识分配的唯一的序列号。Wherein, the serial number is: after receiving the service request sent by the front end 10, the intermediate processor 20 allocates a unique serial number for the command identifier carried in the received service request according to the order in which the service request is received.

其中,所述调度模块301,还用于当判断出所述服务请求中命令标识对应的任务的执行状态为未执行时,依据命令标识,从配置文件中命令标识、模块名称、执行的任务的映射关系中找到所述模块名称对应的处理模块302~30n;Wherein, the scheduling module 301 is further configured to, when it is judged that the execution state of the task corresponding to the command identifier in the service request is not executed, according to the command identifier, from the configuration file the command identifier, the module name, the executed task Find the processing module 302~30n corresponding to the module name in the mapping relationship;

处理模块302~30n,用于依据所述映射关系找到需要执行的任务,并执行找到的任务;当任务执行成功时,将任务执行成功的提示信息返回给调度模块301;当任务执行失败时,将任务执行失败的提示信息返回给调度模块301;The processing modules 302~30n are used to find the tasks that need to be executed according to the mapping relationship, and execute the found tasks; when the task execution is successful, return the prompt information of the task execution success to the scheduling module 301; when the task execution fails, Return the prompt information of task execution failure to the scheduling module 301;

调度模块301,还用于将任务执行成功的提示信息或任务执行失败的提示信息,通过中间处理器20返回给前端10。The scheduling module 301 is further configured to return the prompt information of task execution success or task execution failure to the front end 10 through the intermediate processor 20 .

其中,所述调度模块301,还用于如果所述后端30记录的任务的执行状态与服务请求中序列号之间的对应关系中,不存在所述服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为未执行;Wherein, the scheduling module 301 is further configured to determine if the sequence number in the service request does not exist in the corresponding relationship between the execution status of the task recorded by the backend 30 and the sequence number in the service request. The execution status of the task corresponding to the command identifier in the above service request is not executed;

当所述任务执行失败时,调度模块301还用于删除记录的该任务的执行状态与服务请求中序列号之间的对应关系。When the execution of the task fails, the scheduling module 301 is further configured to delete the recorded correspondence between the execution state of the task and the sequence number in the service request.

其中,所述调度模块301,还用于当判断出所述服务请求中命令标识对应的任务的执行状态为执行中时,将任务执行错误的提示信息返回给中间处理器20;当判断出所述服务请求中命令标识对应的任务的执行状态为已执行完毕时,将任务执行成功的提示信息返回给中间处理器20。Wherein, the scheduling module 301 is further configured to return a prompt message of a task execution error to the intermediate processor 20 when judging that the execution state of the task corresponding to the command identifier in the service request is in execution; When the execution state of the task corresponding to the command identifier in the service request is completed, a prompt message indicating that the task is successfully executed is returned to the intermediate processor 20.

其中,所述中间处理器20,还用于当前端10向自身发送携带命令标识的服务请求时,或当自身没有收到后端返回的响应时,向后端30发送携带命令标识和序列号的服务请求;所述响应包括:任务执行失败的提示信息、任务执行成功的提示信息或任务执行错误的提示信息。Wherein, the intermediate processor 20 is also used for sending a service request carrying a command identifier and a serial number to the backend 30 when the front end 10 sends a service request carrying a command identifier to itself, or when the response returned by the backend is not received by itself. The service request; the response includes: task execution failure prompt information, task execution success prompt information or task execution error prompt information.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.

Claims (12)

1.一种任务判重方法,其特征在于,后端在执行中间处理器发送的服务请求中命令标识对应的任务时,记录任务的执行状态与服务请求中序列号之间的对应关系;该方法还包括:1. A method for judging the weight of a task is characterized in that, when the back-end executes the task corresponding to the command identifier in the service request sent by the intermediate processor, it records the correspondence between the execution state of the task and the serial number in the service request; Methods also include: 当后端依据中间处理器发送的服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为执行中或已执行完毕时,拒绝再次执行所述任务。When the backend judges according to the serial number in the service request sent by the intermediate processor that the execution state of the task corresponding to the command identifier in the service request is in progress or completed, it refuses to execute the task again. 2.根据权利要求1所述的方法,其特征在于,2. The method of claim 1, wherein, 所述序列号是:所述中间处理器在接收到前端发送的服务请求后,依据服务请求的接收顺序,为收到的服务请求中携带的命令标识分配的唯一的序列号。The serial number is: after receiving the service request sent by the front end, the intermediate processor allocates a unique serial number for the command identifier carried in the received service request according to the order in which the service request is received. 3.根据权利要求1所述的方法,其特征在于,该方法还包括:3. The method according to claim 1, characterized in that the method further comprises: 当判断出所述服务请求中命令标识对应的任务的执行状态为未执行时,后端依据命令标识,从配置文件中命令标识、模块名称、执行的任务的映射关系中找到所述模块名称对应的处理模块;由所述处理模块依据所述映射关系找到需要执行的任务,并执行找到的任务;When it is judged that the execution state of the task corresponding to the command identifier in the service request is not executed, the backend finds the corresponding task of the module name from the mapping relationship between the command identifier, the module name, and the executed task in the configuration file according to the command identifier. a processing module; the processing module finds the task to be executed according to the mapping relationship, and executes the found task; 当任务执行成功时,后端将任务执行成功的提示信息通过中间处理器返回给前端;当任务执行失败时,后端将任务执行失败的提示信息通过中间处理器返回给前端。When the task execution is successful, the backend returns the prompt information of task execution success to the front end through the intermediate processor; when the task execution fails, the backend returns the prompt information of task execution failure to the front end through the intermediate processor. 4.根据权利要求3所述的方法,其特征在于,如果所述后端记录的任务的执行状态与服务请求中序列号之间的对应关系中,不存在所述服务请求中的序列号,则判断出所述服务请求中命令标识对应的任务的执行状态为未执行;4. The method according to claim 3, wherein if there is no serial number in the service request in the corresponding relationship between the execution status of the task recorded in the backend and the serial number in the service request, Then it is determined that the execution state of the task corresponding to the command identifier in the service request is not executed; 当所述任务执行失败时,该方法还包括:删除记录的该任务的执行状态与服务请求中序列号之间的对应关系。When the execution of the task fails, the method further includes: deleting the recorded correspondence between the execution status of the task and the serial number in the service request. 5.根据权利要求1所述的方法,其特征在于,5. The method of claim 1, wherein, 当判断出所述服务请求中命令标识对应的任务的执行状态为执行中时,后端将任务执行错误的提示信息返回给中间处理器;When it is judged that the execution state of the task corresponding to the command identifier in the service request is in execution, the backend returns the prompt information of the task execution error to the intermediate processor; 当判断出所述服务请求中命令标识对应的任务的执行状态为已执行完毕时,后端将任务执行成功的提示信息返回给中间处理器。When it is determined that the execution state of the task corresponding to the command identifier in the service request is completed, the backend returns a prompt message indicating that the task is successfully executed to the intermediate processor. 6.根据权利要求1所述方法,其特征在于,6. according to the described method of claim 1, it is characterized in that, 当前端向中间处理器发送携带命令标识的服务请求时,或当中间处理器没有收到后端返回的响应时,中间处理器向后端发送携带命令标识和序列号的服务请求;所述响应包括:任务执行失败的提示信息、任务执行成功的提示信息或任务执行错误的提示信息。When the front end sends the service request carrying the command identification to the intermediate processor, or when the intermediate processor does not receive the response returned by the back end, the intermediate processor sends the service request carrying the command identification and the serial number to the back end; the response Including: the prompt information of task execution failure, the prompt information of successful task execution or the prompt information of task execution error. 7.一种任务判重系统,其特征在于,该系统包括:中间处理器、后端;所述后端进一步包括调度模块;其中,7. A task weight judgment system, characterized in that the system includes: an intermediate processor, a back end; the back end further includes a scheduling module; wherein, 调度模块,用于在执行中间处理器发送的服务请求中命令标识对应的任务时,记录任务的执行状态与服务请求中序列号之间的对应关系;还用于当依据中间处理器发送的服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为执行中或已执行完毕时,拒绝再次执行所述任务。The scheduling module is used to record the corresponding relationship between the execution state of the task and the serial number in the service request when executing the corresponding task in the service request sent by the intermediate processor; The serial number in the request, when it is judged that the execution state of the task corresponding to the command identifier in the service request is in execution or completed, refuse to execute the task again. 8.根据权利要求7所述的系统,其特征在于,所述序列号是:所述中间处理器在接收到前端发送的服务请求后,依据服务请求的接收顺序,为收到的服务请求中携带的命令标识分配的唯一的序列号。8. The system according to claim 7, wherein the serial number is: after the intermediate processor receives the service request sent by the front end, according to the order in which the service request is received, it is The unique serial number assigned by the carried command identifier. 9.根据权利要求7所述的系统,其特征在于,所述后端还包括:处理模块;9. The system according to claim 7, wherein the backend further comprises: a processing module; 所述调度模块,还用于当判断出所述服务请求中命令标识对应的任务的执行状态为未执行时,依据命令标识,从配置文件中命令标识、模块名称、执行的任务的映射关系中找到所述模块名称对应的处理模块;The scheduling module is further configured to, when it is determined that the execution state of the task corresponding to the command identifier in the service request is not executed, according to the command identifier, from the mapping relationship between the command identifier, the module name, and the executed task in the configuration file Find the processing module corresponding to the module name; 处理模块,用于依据所述映射关系找到需要执行的任务,并执行找到的任务;当任务执行成功时,将任务执行成功的提示信息返回给调度模块;当任务执行失败时,将任务执行失败的提示信息返回给调度模块;The processing module is used to find the task that needs to be executed according to the mapping relationship, and execute the found task; when the task execution is successful, return the prompt information of the task execution success to the scheduling module; when the task execution fails, the task execution fails The prompt information is returned to the scheduling module; 调度模块,还用于将任务执行成功的提示信息或任务执行失败的提示信息,通过中间处理器返回给前端。The scheduling module is also used to return the prompt information of task execution success or task execution failure to the front end through the intermediate processor. 10.根据权利要求9所述的系统,其特征在于,所述调度模块,还用于如果所述后端记录的任务的执行状态与服务请求中序列号之间的对应关系中,不存在所述服务请求中的序列号,判断出所述服务请求中命令标识对应的任务的执行状态为未执行;10. The system according to claim 9, wherein the scheduling module is further configured to if there is no corresponding relationship between the execution status of the task recorded by the backend and the sequence number in the service request. According to the sequence number in the service request, it is determined that the execution status of the task corresponding to the command identifier in the service request is not executed; 当所述任务执行失败时,调度模块还用于删除记录的该任务的执行状态与服务请求中序列号之间的对应关系。When the execution of the task fails, the scheduling module is further configured to delete the recorded correspondence between the execution status of the task and the sequence number in the service request. 11.根据权利要求7所述的系统,其特征在于,所述调度模块,还用于当判断出所述服务请求中命令标识对应的任务的执行状态为执行中时,将任务执行错误的提示信息返回给中间处理器;当判断出所述服务请求中命令标识对应的任务的执行状态为已执行完毕时,将任务执行成功的提示信息返回给中间处理器。11. The system according to claim 7, wherein the scheduling module is further configured to, when it is determined that the execution state of the task corresponding to the command identifier in the service request is in execution, prompt the task execution error The information is returned to the intermediate processor; when it is judged that the execution status of the task corresponding to the command identifier in the service request is completed, the prompt information of successful task execution is returned to the intermediate processor. 12.根据权利要求7所述的系统,其特征在于,所述中间处理器,还用于当前端向自身发送携带命令标识的服务请求时,或当自身没有收到后端返回的响应时,向后端发送携带命令标识和序列号的服务请求;所述响应包括:任务执行失败的提示信息、任务执行成功的提示信息或任务执行错误的提示信息。12. The system according to claim 7, wherein the intermediate processor is further configured to: when the front end sends a service request carrying a command identifier to itself, or when it does not receive a response returned by the back end, A service request carrying a command identifier and a serial number is sent to the backend; the response includes: prompt information of task execution failure, task execution success or task execution error prompt information.
CN2012103796911A 2012-09-29 2012-09-29 Task re-judgment method and system Pending CN102929698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103796911A CN102929698A (en) 2012-09-29 2012-09-29 Task re-judgment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103796911A CN102929698A (en) 2012-09-29 2012-09-29 Task re-judgment method and system

Publications (1)

Publication Number Publication Date
CN102929698A true CN102929698A (en) 2013-02-13

Family

ID=47644507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103796911A Pending CN102929698A (en) 2012-09-29 2012-09-29 Task re-judgment method and system

Country Status (1)

Country Link
CN (1) CN102929698A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746843A (en) * 2013-12-31 2014-04-23 百度在线网络技术(北京)有限公司 Method and equipment for processing RPC (Remote Procedure Call Protocol) command
CN104184832A (en) * 2014-09-10 2014-12-03 北京国双科技有限公司 Data submitting method and device in network application
CN105320562A (en) * 2015-11-26 2016-02-10 北京聚道科技有限公司 Distributed operation accelerating running method and system based on operation characteristic fingerprints
CN105573996A (en) * 2014-10-09 2016-05-11 阿里巴巴集团控股有限公司 Database processing method, database processing device and database processing system
CN105630583A (en) * 2014-11-26 2016-06-01 阿里巴巴集团控股有限公司 Data processing method and device
CN105915627A (en) * 2016-05-30 2016-08-31 北京小米移动软件有限公司 Service request processing method and service request processing device
CN109558238A (en) * 2017-09-27 2019-04-02 北京国双科技有限公司 Task executing method and device
CN109995745A (en) * 2017-12-31 2019-07-09 国民技术股份有限公司 A kind of information matching method, terminal and computer readable storage medium
CN111708802A (en) * 2020-06-02 2020-09-25 拉卡拉支付股份有限公司 Network request anti-reprocessing method and device
CN113269650A (en) * 2021-04-15 2021-08-17 臻顺溜科技股份有限公司 Policy information-based duplication judgment method and system
CN113704222A (en) * 2020-05-21 2021-11-26 北京沃东天骏信息技术有限公司 Method and device for processing service request

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6547829B1 (en) * 1999-06-30 2003-04-15 Microsoft Corporation Method and system for detecting duplicate documents in web crawls
CN101493924A (en) * 2009-03-10 2009-07-29 中体彩科技发展有限公司 Transaction processing method of transaction processing system and lottery ticket transaction processing method
CN101751429A (en) * 2008-12-12 2010-06-23 中国移动通信集团山东有限公司 Method and device for synchronizing foreground database and background database
CN102118419A (en) * 2009-12-30 2011-07-06 华为技术有限公司 Method, device and communication system for transmitting picture information
CN102541918A (en) * 2010-12-30 2012-07-04 阿里巴巴集团控股有限公司 Method and equipment for identifying repeated information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6547829B1 (en) * 1999-06-30 2003-04-15 Microsoft Corporation Method and system for detecting duplicate documents in web crawls
CN101751429A (en) * 2008-12-12 2010-06-23 中国移动通信集团山东有限公司 Method and device for synchronizing foreground database and background database
CN101493924A (en) * 2009-03-10 2009-07-29 中体彩科技发展有限公司 Transaction processing method of transaction processing system and lottery ticket transaction processing method
CN102118419A (en) * 2009-12-30 2011-07-06 华为技术有限公司 Method, device and communication system for transmitting picture information
CN102541918A (en) * 2010-12-30 2012-07-04 阿里巴巴集团控股有限公司 Method and equipment for identifying repeated information

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746843A (en) * 2013-12-31 2014-04-23 百度在线网络技术(北京)有限公司 Method and equipment for processing RPC (Remote Procedure Call Protocol) command
CN104184832A (en) * 2014-09-10 2014-12-03 北京国双科技有限公司 Data submitting method and device in network application
CN104184832B (en) * 2014-09-10 2017-10-03 北京国双科技有限公司 Data submission method and device in network application
CN105573996A (en) * 2014-10-09 2016-05-11 阿里巴巴集团控股有限公司 Database processing method, database processing device and database processing system
CN105630583A (en) * 2014-11-26 2016-06-01 阿里巴巴集团控股有限公司 Data processing method and device
CN105320562A (en) * 2015-11-26 2016-02-10 北京聚道科技有限公司 Distributed operation accelerating running method and system based on operation characteristic fingerprints
CN105320562B (en) * 2015-11-26 2018-11-16 北京聚道科技有限公司 A kind of distributed job Accelerating running method and system based on operational feature fingerprint
CN105915627A (en) * 2016-05-30 2016-08-31 北京小米移动软件有限公司 Service request processing method and service request processing device
CN109558238A (en) * 2017-09-27 2019-04-02 北京国双科技有限公司 Task executing method and device
CN109995745A (en) * 2017-12-31 2019-07-09 国民技术股份有限公司 A kind of information matching method, terminal and computer readable storage medium
CN109995745B (en) * 2017-12-31 2023-02-24 国民技术股份有限公司 Information matching method, terminal and computer readable storage medium
CN113704222A (en) * 2020-05-21 2021-11-26 北京沃东天骏信息技术有限公司 Method and device for processing service request
CN111708802A (en) * 2020-06-02 2020-09-25 拉卡拉支付股份有限公司 Network request anti-reprocessing method and device
CN111708802B (en) * 2020-06-02 2024-05-07 拉卡拉支付股份有限公司 Network request anti-reprocessing method and device
CN113269650A (en) * 2021-04-15 2021-08-17 臻顺溜科技股份有限公司 Policy information-based duplication judgment method and system

Similar Documents

Publication Publication Date Title
CN102929698A (en) Task re-judgment method and system
US12039366B2 (en) Task processing method, system, device, and storage medium
CN103038788B (en) Providing multiple network resources
US10817327B2 (en) Network-accessible volume creation and leasing
CN102073742B (en) Mass object storage system and running method thereof
CN103019651A (en) Parallel processing method and device for complex tasks
CN112256776B (en) Form repeated submission detection method and device, computer equipment and storage medium
CN111382985A (en) To-do message integrated pushing system and working method
CN103312549A (en) Transaction management method, device and system
CN111652605A (en) Creation system and creation method for creating cloud service package by public cloud service
WO2021098139A1 (en) Method and device for storing state data of cross-chain transaction, and storage medium
CN114615084B (en) A single sign-on and sign-off method, system, electronic device and storage medium for front-end and back-end separation scenarios
CN106034113A (en) Data processing method and data processing device
CN111538588A (en) Distributed data processing method and related device
CN105183879A (en) Method for distributed database to keep transactional consistency under cloud computation
CN108259618A (en) The data interactive processing method and device of a kind of synchronization
CN113722114B (en) A data service processing method, device, computing device and storage medium
CN102708416A (en) Method, device and system for ordering business by users
CN118941389A (en) A method, device, storage medium and electronic device for returning fund transaction results
CN109245941B (en) Service compensation method and device
CN111932239A (en) Service processing method, device, node equipment and storage medium
CN101916396A (en) A digital home government system and method
CN110392059A (en) A kind of conversation managing method, device and storage medium
CN114448703B (en) Request processing method, request processing device, electronic equipment and storage medium
CN109389271B (en) Application performance management method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130213

RJ01 Rejection of invention patent application after publication
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载