Multi-thread event distribution method and system
A multi-threading and event technology, applied in the field of data processing, can solve the problems of slow processing speed and low efficiency of the event distribution mechanism, and achieve the effect of increasing speed and improving processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0066] A multi-threaded event distribution method 1000, such as figure 1 Shown, including:
[0067] Step 1100: The client sends a client event to the connection server.
[0068] Step 1200: The connection server obtains the client event. When the client event is a remote call event and there is no remote call processor corresponding to the client event in the connection server, the client event is sent to the message server.
[0069] Step 1300: When the application server obtains the client event from the message server, processes the client event and obtains the corresponding server event, connects to the server to obtain the server event, and processes the server event according to the priority order of the server event, and sends it to the client The end returns the processing result.
[0070] Among them, such as figure 2 As shown, step 1300 includes:
[0071] Step 1310: When the application server obtains the client event from the message server, processes the client event and obta...
Embodiment 2
[0076] A multi-threaded event distribution method 1000, such as image 3 Shown, including:
[0077] Step 1100: The client sends a client event to the connection server.
[0078] Step 1200: The connection server obtains the client event. When the client event is a remote call event and there is no remote call processor corresponding to the client event in the connection server, the client event is sent to the message server.
[0079] Step 1310: When the application server obtains the client event from the message server, processes the client event and obtains the corresponding server event, the cache engine in the connection server monitors and obtains the server event from the message server.
[0080] Step 1320: Prioritize the processing of message topics according to the pre-registered server events, and the cache engine stores the server events in different priority message queues, where the priority message queue includes a low priority message queue, a normal message queue and a hi...
Embodiment 3
[0097] The present invention also provides a multi-threaded event distribution system 2000, such as Figure 4 As shown, it includes: a connection server, a message server, an application server and at least one client. Among them, the client is used to send client events to the connection server; the connection server is used to obtain client events, when the client event is a remote call event, and there is no remote call processor corresponding to the client event in the connection server When, the client event is sent to the message server; the application server is used to get the client event from the message server, process the client event and get the corresponding server event; connect to the server, it is also used to get the server event, and follow the server event The priority order of processing the server event, and returns the processing result to the client.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


