Server-based event processing method, device and apparatus and medium
An event processing and server technology, applied in the computer field, can solve problems such as increasing development difficulty, increasing maintenance cost, and unrealistic problems, and achieve the effect of reducing development difficulty, reducing maintenance cost, and improving compatibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] figure 1 It is a schematic flowchart of a server-based event processing method provided by Embodiment 1 of the present invention. The method is applicable to the case where the server processes the events sent by the client, and the method can be executed by a server-based event processing device, which can be composed of hardware and / or software, and generally can be integrated in the server and all events containing events processing functions in computer equipment. Specifically include the following:
[0033] S110. Monitor and accept an event processing request sent by at least one client through the main thread, and send an agreement response message to the corresponding client.
[0034] In this embodiment, the main thread may be a synchronous processing thread. Exemplarily, a main thread can be used in the server to listen to the event processing request sent by the client in a synchronous manner, accept the request after the event processing request is verified...
Embodiment 2
[0055] figure 2 It is a schematic structural diagram of a server-based event processing device provided by Embodiment 2 of the present invention. refer to figure 2 , The server-based event processing device includes: an event monitoring module 210, a queue adding module 220, a data distribution module 230, and a data processing module 240, and each module will be described in detail below.
[0056] The event monitoring module 210 is configured to monitor and accept an event processing request sent by at least one client through the main thread, and send an agreement response message to the corresponding client;
[0057] A queue adding module 220, configured to add the event data returned by the client according to the consent response information to the buffer queue;
[0058] A data distribution module 230, configured to distribute the event data in the buffer queue to idle working threads;
[0059] A data processing module 240, configured to process the event data throug...
Embodiment 3
[0077] image 3 A schematic structural diagram of a computer device provided in Embodiment 4 of the present invention, such as image 3 As shown, a computer device provided in this embodiment includes: a processor 31 and a memory 32 . The processor in the computer device may be one or more, image 3 Taking a processor 31 as an example, the processor 31 and memory 32 in the computer device can be connected by bus or other methods, image 3 Take connection via bus as an example.
[0078] The processor 31 of the computer device in this embodiment integrates the server-based event processing apparatus provided in the above embodiments. In addition, the memory 32 in the computer device, as a computer-readable storage medium, can be used to store one or more programs, and the programs can be software programs, computer-executable programs and modules, such as server-based The program instruction / module corresponding to the event handling method (for example, attached figure 2 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com