Message transmission method and device

A message transmission and message technology, applied in the computer field, can solve the problems of time-consuming execution of a single task, task congestion, etc.

Active Publication Date: 2017-06-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a message transmission method and device to at least solve the technical problem of subsequent task blockage due to the large time-consuming execution of a single task when the related technology adopts the task serial processing method to process tasks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message transmission method and device
  • Message transmission method and device
  • Message transmission method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] According to an embodiment of the present invention, a method embodiment of a message transmission method is provided.

[0032] Optionally, in this embodiment, the above message transmission method can be applied to figure 1 In the hardware environment constituted by the server 102 and the terminal 104 as shown. like figure 1 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The message transmission method in the embodiment of the present invention can be executed by the server 102. It should be noted here that the server 102 can be a single server or a server cluster composed of multiple servers, and the server cluster can be a distributed system .

[0033] figure 2 is a flowchart of an optional message transmission meth...

Embodiment 2

[0073] According to an embodiment of the present invention, a message transmission device for implementing the above message transmission method is also provided. Figure 7 is a schematic diagram of an optional message transmission device according to an embodiment of the present invention, such as Figure 7 As shown, the device may include:

[0074] The first receiving unit 22 is configured to receive the message to be processed sent by the first node, and send a response message to the first node in response to the message to be processed, wherein the message to be processed is used to indicate the task to be executed, and the response message is used When it has not been executed, it indicates that the task of the first node has been completed; the sending unit 24 is used to send the message to be processed to the corresponding second node, wherein the second node is used to execute the task; the second receiving unit 26 is used to receive the second node. The task process...

Embodiment 3

[0089] According to an embodiment of the present invention, a terminal for implementing the above message transmission method is also provided.

[0090] Figure 16 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 16 As shown, the terminal may include: one or more (only one is shown in the figure) processor 201, memory 203, and transmission device 205, such as Figure 16 As shown, the terminal may also include an input and output device 207 .

[0091] Wherein, the memory 203 can be used to store software programs and modules, such as the program instructions / modules corresponding to the message transmission method and device in the embodiment of the present invention, and the processor 201 executes various functions by running the software programs and modules stored in the memory 203 A functional application and data processing, that is, realizing the above-mentioned message transmission method. The memory 203 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a message transmission method and device. The method comprises the following steps: receiving a message to be processed transmitted by a first node, and transmitting a response message to the first node in response to the message to be processed, wherein the message to be processed is used for indicating a task to be executed, and the response message is used for indicating the first node that the task has been completed when the task has not been executed; transmitting the message to be processed to a corresponding second node, wherein the second node is used for executing the task; and receiving a task processing result transmitted by the second node, wherein the task processing result is used for indicating that the task has been successfully executed. The message transmission method provided by the invention solves the technical problem that the subsequent task is blocked since the execution of a single task is more time-consuming when the related technology adopts a task serial processing mode to process the task.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a message transmission method and device. Background technique [0002] At present, there are critical paths and non-critical paths in distributed systems, and the critical paths and non-critical paths are tightly coupled together. The availability of non-critical paths is not good enough, and problems often occur. For example, in the critical path purchase process, the non-critical path written by the substitute cost center is also coupled. For another example, when tasks are processed serially, the next task can only be executed after one task is executed, and each task takes a long time, such as the delivery task. [0003] The above example has the following problems: [0004] The availability and stability of non-critical paths are not enough, and any problem will affect the critical path. For example, after the purchase process is paid, it is necessary to call the billing...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/58H04L29/08G06F9/54G06Q20/10G06Q30/06
CPCH04L67/1044G06F9/546G06Q20/102G06Q30/0601H04L51/214H04L67/55
Inventor 朱秋彬
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products