Message processing method, device and equipment and storage medium
A message processing and message technology, applied in the Internet field, can solve problems such as peaks, troughs, low traffic, high pressure on servers and databases, etc., and achieve the effects of improving response speed, avoiding traffic peaks, and improving usage efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] figure 1 It is a schematic flowchart of a message processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of performing peak clipping on peaks presented by user traffic in a high concurrency scenario. The method can be executed by a message processing device, and the device can be implemented in software and / or hardware. Specifically, the device is integrated on the server. Such as figure 1 As shown, the message processing method used in this embodiment specifically includes the following steps:
[0047] S110. Obtain a user access request from the terminal.
[0048] Wherein, a terminal is any device that can send a user access request. Typically, the terminal may be a device such as a mobile phone, a tablet computer, or a smart watch.
[0049] A user access request can be any access request. Typically, the user access request may be a request for the user to obtain a verification code or a request for th...
Embodiment 2
[0065] figure 2 It is a schematic flowchart of a message processing method provided by Embodiment 2 of the present invention. This embodiment is further optimized on the basis of the foregoing embodiments. Such as figure 2 As shown, the message processing method provided in this embodiment specifically includes the following steps:
[0066] S210. Obtain user access information from the terminal.
[0067] S220. If the number of user access requests to be processed is greater than or equal to the first number threshold, store the acquired user access requests in a message cache queue.
[0068] S230. If the cache request response condition is met, aggregate the user access requests in the message cache queue.
[0069] The aggregation is merging user access requests with repeated response behaviors, or merging user access requests with common partial response behaviors.
[0070] Specifically, the user access requests in the message cache queue are aggregated, including:
...
Embodiment 3
[0084] image 3 It is a structural block diagram of a message processing device provided in Embodiment 3 of the present invention, which can execute the robot charging method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. Such as image 3 As shown, the device includes: a user access request acquisition module 301 , a user access request storage module 302 and a user access request processing module 303 .
[0085] Wherein, the user access request obtaining module 301 is used to obtain the user access request from the terminal;
[0086] A user access request storage module 302, configured to store the obtained user access requests in a message cache queue if the number of user access requests to be processed is greater than or equal to a first number threshold, wherein the first number threshold is less than the maximum number of visits of the server;
[0087] The user access reques...
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