Message processing method and device, and electronic device
A processing method and technology of a processing device, which are applied in the directions of multi-programming device, electrical digital data processing, program control design, etc., can solve the problems of high scheduling pressure on the server side, weak accumulation of timing messages, accumulation of timing messages, etc. The effect of random file reading and writing, reducing accumulation, and improving accumulation ability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] figure 2 It is one of the schematic flowcharts of the message processing method provided by the embodiment of the present invention.
[0037] Such as figure 2 As shown, a method for processing a message in an embodiment of the present invention may include the following steps:
[0038] Step 210, receiving a timing message, and writing the timing message into a data file. This step can be realized by running a software program in the server.
[0039] On the server side, for example, a storage engine in the server may receive a timing message from a message generator (such as a client), and write the timing message into a data file through the storage engine.
[0040] Step 220, according to the delay level of the timing message, store the index information of the timing message in the corresponding timing queue. This step can be realized by running a software program in the server.
[0041] In an embodiment of the present invention, the timing message may include a...
Embodiment 2
[0055] image 3 The second schematic flowchart of the message processing method provided by the embodiment of the present invention.
[0056] Such as image 3 As shown, a method for processing a message in an embodiment of the present invention may include the following steps:
[0057] Step 310, receiving a timing message, and writing the timing message into a data file. This step can be realized by running a software program in the server.
[0058] For the implementation process of this step, reference may be made to step 210, and for the sake of brevity, details are not repeated here.
[0059] Step 320, modify the original topic information of the timed message, and add preset additional topic information on the basis of retaining the original topic information to form new topic information. This step can be realized by running a software program in the server.
[0060] Those skilled in the art can understand that the message topic (Topic) is used to classify messages. ...
Embodiment 3
[0082] Figure 5 The third schematic flowchart of the message processing method provided by the embodiment of the present invention.
[0083] Such as Figure 5 As shown, in the method for processing a message provided by the embodiment of the present invention, multiple timing queues may be set, and the multiple timing queues correspond to multiple preset delay levels respectively. The method may include the following steps:
[0084] Step 410, receiving a timing message, and writing the timing message into a data file. This step can be realized by running a software program in the server.
[0085] On the server side, for example, a storage engine in the server may receive a timing message from a message generator (such as a client), and write the timing message into a data file through the storage engine.
[0086] Step 420, according to the delay level of the timing message, store the index information of the timing message in the corresponding timing queue. This step can ...
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