A method, device, storage medium and system for real-time message reception
By generating a message hook object in the user operation request and injecting the message identifier, combined with the timing processing mechanism, the problem of message delay in the existing technology is solved, and the performance of real-time message reception and processing is improved.
Patent Information
- Application Number
- CN202211482589.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-24
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-11-24
AI Technical Summary
In the existing technology, the system relies on the heartbeat mechanism, resulting in messages being unable to reach users in real time. There is a delay of up to five minutes, making it impossible to deliver ongoing messages in real time.
By generating message hook objects corresponding to user operation requests, fusion generates message requests, and injects message identifiers into message data, real-time message reception is achieved, and the timing processing mechanism is used to filter and destroy message hook objects to reduce server load.
It achieves real-time reception of messages, reduces server computing and processing pressure, improves processing performance, and reduces data duplication and memory consumption during user interaction.
Smart Images

Figure CN115865853B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of real-time message reception, and in particular to a real-time message reception method, device, computer-readable storage medium and system. Background Art
[0002] Hook is a key point of the message processing mechanism in WINDOWS. By installing various hooks, applications can set up corresponding subroutines to monitor the message transmission in the system and process them before these messages reach the target window program. There are many types of hooks, and each hook can intercept and process corresponding messages, such as keyboard hooks can intercept keyboard messages, mouse hooks can intercept mouse messages, shell hooks can intercept messages for starting and closing applications, and log hooks can monitor and record input events.
[0003] In the prior art, existing system messages are sent and received through a heartbeat line mechanism (heartbeat every 5 minutes). The main problem with this method is that it cannot reach users in real time, and messages always have a delay of up to five minutes.
[0004] However, the existing technology still has the following defects: it relies on the system heartbeat mechanism and cannot deliver the business happening messages to the front end in real time for users to perceive and view.
[0005] Therefore, there is a need for a real-time message receiving method, device, computer-readable storage medium and system to overcome the above-mentioned defects in the prior art. Summary of the invention
[0006] The embodiments of the present invention provide a method, device, computer-readable storage medium and system for receiving messages in real time, thereby improving the speed of receiving messages and realizing real-time reception of messages.
[0007] An embodiment of the present invention provides a method for receiving messages in real time, the method comprising: detecting whether a first user sends an operation request, and generating a message hook object corresponding to the operation request when the first user sends the operation request; generating a first message request and obtaining a first retention time of the message hook object based on the message hook object and the operation request, and causing a front end to send the first message request to a server for analyzing and processing according to a message identifier to obtain response information; the message identifier corresponds to the message hook object; when it is determined that the front end has received the response information fed back by the server, sending the first retention time to the front end, so that the front end processes all message hook objects according to the first retention time after interactive feedback with the second user based on the response information;
[0008] The processing of all message hook objects according to the first retention time specifically includes:
[0009] According to the first retention time, all message hook objects are screened to retain the screened message hook objects.
[0010] As an improvement of the above scheme, according to the message hook object and the operation request, a first message request is generated and a first retention time of the message hook object is obtained, which specifically includes: generating a message identifier according to the message hook object, and injecting the message hook object into the operation request; injecting the message identifier into the first bit of the message data of the operation request to obtain the first message request, and starting the timing to obtain the first retention time of the message hook object.
[0011] As an improvement of the above-mentioned scheme, the front end sends the first message request to the server to analyze and process it according to the message identifier to obtain response information, which specifically includes: the server receives and parses the first message request to obtain the operation request and the corresponding message data; asynchronously analyzes and processes the message data according to the operation request, generates a front-end execution instruction, and generates response information according to the front-end execution instruction.
[0012] As an improvement of the above scheme, all message hook objects are processed according to the first retention period, specifically including: screening the maximum value from the first retention period of each message hook object received as the second retention period, and retaining the second message hook object corresponding to the second retention period; destroying all message hook objects except the second message hook object.
[0013] As an improvement to the above solution, when the first retention time exceeds a preset response threshold, all message hook objects are destroyed.
[0014] As an improvement of the above scheme, the message data is asynchronously analyzed and processed according to the message identifier and the operation request, specifically including: determining whether the message identifier is obtained in the message data; if so, reading the historical message data from the message cache pool of the server according to the operation request, and calling the historical message data into the request return event status manager; repeating the above steps until all the message data are analyzed and processed.
[0015] Another embodiment of the present invention provides a real-time message receiving device, which includes a detection request unit, an object fusion unit and a timing processing unit. The detection request unit is used to detect whether a first user sends an operation request, and when the first user sends the operation request, generates a message hook object corresponding to the operation request; the object fusion unit is used to fuse and generate a first message request and obtain a first retention time of the message hook object according to the message hook object and the operation request, and enables the front end to send the first message request to the server for analysis and processing according to the message identifier to obtain response information; the message identifier corresponds to the message hook object; the timing processing unit is used to send the first retention time to the front end when it is determined that the front end has received the response information fed back by the server, so that the front end processes all message hook objects according to the first retention time after interactive feedback with the second user according to the response information;
[0016] The timing processing unit is further used for: filtering all message hook objects according to the first retention time to retain the filtered message hook objects.
[0017] As an improvement of the above-mentioned scheme, the object fusion unit is also used to: generate a message identifier according to the message hook object, and inject the message hook object into the operation request; inject the message identifier into the first bit of the message data of the operation request to obtain a first message request, and start timing at the same time to obtain a first retention time of the message hook object.
[0018] As an improvement of the above scheme, the timing processing unit is also used to: filter the maximum value from the first retention time of each received message hook object as the second retention time, and retain the second message hook object corresponding to the second retention time; destroy all message hook objects except the second message hook object.
[0019] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the real-time message receiving method as described above.
[0020] Another embodiment of the present invention provides a real-time message receiving system, the real-time message receiving system includes a real-time message receiving device, and the real-time message receiving device executes the real-time message receiving method as described above.
[0021] As an improvement of the above-mentioned scheme, the real-time message receiving system also includes a front end and a server. The front end, the real-time message receiving device and the server are communicatively connected in sequence. The server is used to perform asynchronous analysis and processing on the first message request sent by the front end; the front end is used to send the first message request to the server for analysis and processing, and after interacting and providing feedback with the second user based on the response information, process all message hook objects according to the first retention time.
[0022] Compared with the prior art, this technical solution has the following beneficial effects:
[0023] The present invention provides a method, device, computer-readable storage medium and system for real-time message reception. Through a message hook object fusion algorithm, message processing is integrated with normal business requests of user operations, and message identifiers are injected into message requests so that they can be quickly identified when the server performs asynchronous analysis and processing. The method, device, computer-readable storage medium and system for real-time message reception achieve real-time message reception and reduce the server's computing and processing pressure on message requests.
[0024] Furthermore, the present invention provides a method, device, computer-readable storage medium and system for real-time message reception, which also improve processing performance through asynchronous execution and unique decoupling design. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flowchart of a method for receiving messages in real time provided by an embodiment of the present invention;
[0026] Figure 2 This is an interactive diagram of a method for receiving messages in real time provided by an embodiment of the present invention during implementation;
[0027] Figure 3 It is a structural diagram of a real-time message receiving device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] Since the system design concept of the heartbeat line in the prior art is not designed for message scenarios, this heartbeat plays a role in the service timing in the system. The server requests business data to solve the problem that some scenario data needs to be executed regularly. The premise of the heartbeat mechanism is that the server-side timing trigger event is written in the business plug-in of each business document interface, which depends on the document opening status (if it is closed or not opened, the business plug-in cannot be executed), and the heartbeat line time cannot be modified to less than 5 minutes, for example, because the smaller the time, the greater the impact on performance. Therefore, the use of the existing heartbeat mechanism of the system to realize timely messaging cannot achieve the application of timely messaging in terms of design and architecture. In this regard, the present invention proposes a method, device, storage medium and system for realizing real-time message reception based on message hook technology. In order to make the scheme easy to understand, it will be further described with the following three embodiments. Specific embodiment 1
[0031] The embodiment of the present invention first describes a method for receiving messages in real time. Figure 1 It is a flowchart of a method for real-time message reception provided by an embodiment of the present invention. Figure 2 It is an interactive schematic diagram of a real-time message receiving method provided by an embodiment of the present invention during implementation.
[0032] like Figure 1 As shown, the message real-time receiving method includes:
[0033] S1: Detecting whether a first user sends an operation request, and when the first user sends the operation request, generating a message hook object corresponding to the operation request.
[0034] During the entire front-end and back-end interaction process of user operation, one operation may generate multiple operation requests in the same second or within a few seconds. In order not to affect the normal operation of the user and to accurately and quickly obtain the messages generated by the server, a corresponding message hook object is generated for each operation request for identification; wherein, the life cycle of the message hook object exists with the generation of the request and is destroyed when it ends. In this process, algorithms must be used between multiple message hook objects to independently implement message data to ensure the existence and timely destruction mechanism of the message hook object, so as not to affect performance.
[0035] S2: According to the message hook object and the operation request, a first message request is generated and a first retention time of the message hook object is obtained, and the front end sends the first message request to the server to analyze and process according to the message identifier to obtain response information.
[0036] The message identifier corresponds to the message hook object.
[0037] After the message hook object corresponding to the operation request is generated, a message identifier corresponding to the message hook object is used at the first position of the message data to facilitate subsequent identification.
[0038] In actual applications, the length of the jsonarry data format generated by the front end of each operation request is different. If it is placed at the end of the submitted data or in the middle, the server needs to parse it in a loop when parsing. The normally generated submitted data are all business data. The underlying complexity must be identified from the business data identification to identify the message hook feature identifier, which involves a lot of content and many impact points. The correctness of the data cannot be guaranteed, and there will be multiple parsings, which will affect the existing server-side underlying parsing logic and produce unpredictable effects. Therefore, the feature message identifier (described as "message identifier" in this article) must be placed in the first position to achieve the effect of fast identification, thereby achieving lightweight and zero performance impact; similarly, on the basis of zero performance impact, the user is in the entire operation process, the front The backend generates multiple (N) requests within a few seconds, and some of these requests are executed asynchronously. After the identifier reaches the server, it is avoided that each request parses the message hook identifier carried and enters the message cache to read the memory generated by the message, as well as the processing mechanism for duplicate data. Therefore, the message hook carries a Bool type server identifier. According to whether the message identifier is obtained, it is determined whether to enter the server message cache pool to read the existing message, thereby ensuring that in a user operation process, the feature is true only once, thereby reducing the processing cost of the server and the repeatability of data acquisition. After the server obtains the message data in the message cache pool for the first time, it will be placed in the request return event state manager, waiting for the user to operate other requests to continue to complete other execution logic. By ensuring the rapid identification and parsing of the server, the server's processing data memory is reduced; the asynchronous processing of the front-end message type reduces the impact on the user's normal operation experience; the front-end message hook is reborn in the destruction mechanism, reducing the front-end memory consumption and ensuring stability.
[0039] At the same time, in order to achieve message compensation and subsequent identification of the destruction and retention of the corresponding hook object, thereby achieving real-time message reception, this embodiment adds a timing algorithm in the message hook object. The timing algorithm can perform message compensation according to the situation when no user operation request is detected (that is, the user does not perform an operation): since the timer in each message hook object records the return time and starts the timer to start timing when the corresponding request returns, and its timing interval is 1 minute, that is, when a certain message hook object is destroyed, it will definitely not exceed 1 minute, because each request will definitely return within 1 minute. If it exceeds 1 minute, it is a network or communication error abnormality; that is, under normal circumstances, there must be a message hook object that returns the latest data and will not be destroyed. Then the timer in this message hook object starts to start timing. If it reaches 1 minute, the front end will compensate and actively send another new request to obtain the message request, thereby achieving the role of triggering the user of the instant message.
[0040] That is, in one embodiment, according to the message hook object and the operation request, a first message request is generated and the first retention time of the message hook object is obtained, which specifically includes: generating a message identifier according to the message hook object, and injecting the message hook object into the operation request; injecting the message identifier into the first bit of the message data of the operation request to obtain the first message request, and starting the timing to obtain the first retention time of the message hook object.
[0041] In one embodiment, the front end sends the first message request to the server to perform analysis and processing based on the message identifier to obtain response information, which specifically includes: the server receives and parses the first message request to obtain the operation request and corresponding message data; asynchronously analyzes and processes the message data based on the operation request, generates a front-end execution instruction, and generates response information based on the front-end execution instruction.
[0042] In one embodiment, the message data is asynchronously analyzed and processed according to the message identifier and the operation request, specifically including: determining whether the message identifier is obtained in the message data; if so, reading historical message data from the message cache pool of the server according to the operation request, and calling the historical message data into the request return event status manager; repeating the aforementioned steps until all message data are analyzed and processed.
[0043] S3: When it is determined that the front end receives the response information fed back by the server, the first retention time is sent to the front end, so that the front end processes all message hook objects according to the first retention time after interacting and giving feedback with the second user according to the response information.
[0044] In order to reduce data duplication in the user interaction process, avoid excessive memory impact, and improve processing performance, when a user operation request is detected, a message object with the latest retention time is selected from multiple hook objects for silent waiting, and the hook objects generated by the other requests are destroyed; among them, since each message hook object is injected into each request respectively, there are multiple timers corresponding to multiple requests, and these timers are all generated in the message hook object, so that the timers in each message object are not connected to each other. Then, the basis for destroying the message object is the time point of the return of this request (not necessarily return data as long as the server responds to the request). When the return time in the message object generated by this request is compared with the return time in all other generated message objects, the message hook with the latest recorded data return time (described as the "first retention time" in this article) is retained, and all other message hooks are destroyed; the retained message hook is not destroyed until the next server request starts. When a message hook object is destroyed, it must not exceed 1 minute, because each request must be returned within 1 minute. If it exceeds 1 minute, it is a network or communication error. In this case, all existing message hook object processing will be destroyed.
[0045] In one embodiment, all message hook objects are processed according to the first retention time, specifically including: screening the maximum value from the first retention time of each received message hook object as the second retention time, and retaining the second message hook object corresponding to the second retention time; destroying all message hook objects except the second message hook object.
[0046] In one embodiment, when the first retention time exceeds a preset response threshold, all message hook objects are destroyed. In one embodiment, the preset response threshold is 1 minute.
[0047] For example, when the message maker (online user A) creates a message in time, the designated message receiver (online user B) of the message can obtain the message in time, and can be reminded in time on the front end. Therefore, the technology used in this study is "message hook technology (also known as message fusion algorithm)". The simple description of this research technology is that the front end defines a message object, and the message object is fused with the user event operation request (one), so that the request simply carries the message tag, so that the server can recognize the message tag at the first time, and then according to the message tag, go to the server's high-speed message cache area (based on the usertoken identification of the user server) to obtain the message data and return it to the front end. Then the logic and algorithm in this message object on the front end, as well as the entire fusion process, the algorithm in the message object, achieves high efficiency, does not affect the normal business operations of users, and other characteristics, which is the technology of this study.
[0048] The embodiment of the present invention describes a method for real-time reception of messages. Through a message hook object fusion algorithm, message processing is integrated with normal business requests of user operations, and by injecting message identifiers into message requests so that the server can quickly identify the points when performing asynchronous analysis and processing, the method for real-time reception of messages achieves real-time message reception and reduces the server's computing and processing pressure on message requests. Furthermore, the embodiment of the present invention describes a method for real-time reception of messages, which also improves processing performance through asynchronous execution and unique decoupling design. Specific embodiment 2
[0050] In addition to the above method, the embodiment of the present invention also discloses a device for receiving messages in real time. Figure 3 It is a structural diagram of a real-time message receiving device provided by an embodiment of the present invention.
[0051] like Figure 3 As shown, the message real-time receiving device includes a detection request unit 11, an object fusion unit 12 and a timing processing unit 13.
[0052] The request detection unit 11 is used to detect whether the first user sends an operation request, and when the first user sends the operation request, generate a message hook object corresponding to the operation request.
[0053] The object fusion unit 12 is used to fuse and generate a first message request and obtain a first retention time of the message hook object according to the message hook object and the operation request, and enable the front end to send the first message request to the server to analyze and process it according to the message identifier to obtain response information; the message identifier corresponds to the message hook object.
[0054] In one embodiment, the object fusion unit 12 is also used to: generate a message identifier according to the message hook object, and inject the message hook object into the operation request; inject the message identifier into the first bit of the message data of the operation request to obtain a first message request, and start timing to obtain a first retention time of the message hook object.
[0055] The timing processing unit 13 is used to send the first retention time to the front end when it is determined that the front end has received the response information fed back by the server, so that the front end processes all message hook objects according to the first retention time after interacting and giving feedback with the second user based on the response information.
[0056] In one embodiment, the timing processing unit 13 is also used to: filter the maximum value from the first retention time of each received message hook object as the second retention time, and retain the second message hook object corresponding to the second retention time; and destroy all message hook objects except the second message hook object.
[0057] Wherein, if the integrated unit of the real-time message receiving device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned various method embodiments can be implemented. Another embodiment of the present invention provides a computer-readable storage medium, the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the real-time message receiving method as described above.
[0058] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer readable media do not include electric carrier signals and telecommunication signals.
[0059] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the units indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0060] The embodiments of the present invention describe a real-time message receiving device and a computer-readable storage medium. Through a message hook object fusion algorithm, message processing is integrated with normal business requests of user operations, and by injecting message identifiers into message requests so that the server can quickly identify the points when performing asynchronous analysis and processing, the real-time message receiving device and the computer-readable storage medium achieve real-time message reception and reduce the server's computing and processing pressure on message requests; further, the embodiments of the present invention describe a real-time message receiving device and a computer-readable storage medium, which also improve processing performance through asynchronous execution and unique decoupling design. Specific embodiment three
[0062] In addition to the above method and device, the embodiment of the present invention also describes a real-time message receiving system.
[0063] The real-time message receiving system comprises a real-time message receiving device, and the real-time message receiving device executes the real-time message receiving method as described above.
[0064] In one embodiment, the real-time message receiving system also includes a front end and a server. The front end, the real-time message receiving device and the server are communicatively connected in sequence. The server is used to asynchronously analyze and process the first message request sent by the front end; the front end is used to send the first message request to the server for analysis and processing, and after interacting and providing feedback with the second user based on the response information, all message hook objects are processed according to the first retention time.
[0065] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the device, and various interfaces and lines are used to connect the various parts of the entire device.
[0066] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0067] The embodiment of the present invention describes a real-time message receiving system, which integrates message processing with normal business requests of user operations through a message hook object fusion algorithm, and injects message identifiers into message requests so that the server can quickly identify them when performing asynchronous analysis and processing. The real-time message receiving system achieves real-time message reception and reduces the server's computing and processing pressure on message requests. Furthermore, the embodiment of the present invention describes a real-time message receiving method system, which also improves processing performance through asynchronous execution and unique decoupling design.
[0068] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for receiving messages in real time, characterized in that: The message real-time receiving method comprises: detecting whether the first user sends an operation request, and generating a message hook object corresponding to the operation request when the first user sends the operation request; According to the message hook object and the operation request, a first message request is generated and a first retention time of the message hook object is obtained, and the front end sends the first message request to the server to analyze and process according to the message identifier to obtain response information; the message identifier corresponds to the message hook object; When it is determined that the front end receives the response information fed back by the server, the first retention time is sent to the front end, so that the front end processes all message hook objects according to the first retention time after interacting and giving feedback with the second user according to the response information; The step of fusing and generating a first message request according to the message hook object and the operation request and obtaining a first retention duration of the message hook object specifically includes: Generate a message identifier according to the message hook object, and inject the message hook object into the operation request; Inject a message identifier into the first bit of the message data of the operation request to obtain a first message request, and simultaneously start timing to obtain a first retention duration of the message hook object; The processing of all message hook objects according to the first retention time specifically includes: According to the first retention time, all message hook objects are screened to retain the screened message hook objects.
2. The method for receiving messages in real time according to claim 1, characterized in that: The front end sends the first message request to the server to analyze and process according to the message identifier to obtain response information, which specifically includes: The server receives and parses the first message request to obtain the operation request and corresponding message data; Asynchronous analysis and processing is performed on the message data according to the message identifier and the operation request to generate a front-end execution instruction, and response information is generated according to the front-end execution instruction.
3. The method for receiving messages in real time according to claim 2, characterized in that: According to the first retention time, all message hook objects are processed, specifically including: Filtering the maximum value from the first retention time of each received message hook object as the second retention time, and retaining the second message hook object corresponding to the second retention time; Destroy all message hook objects except the second message hook object.
4. The method for receiving messages in real time according to claim 2, characterized in that: When the first retention time exceeds a preset response threshold, all message hook objects are destroyed.
5. The method for receiving messages in real time according to claim 4, characterized in that: Asynchronously analyzing and processing the message data according to the message identifier and the operation request specifically includes: Determining whether to obtain a message identifier in the message data; If yes, then according to the operation request, read the historical message data from the message cache pool of the server, and transfer the historical message data into the request return event state manager; Repeat the above steps until all message data has been analyzed and processed.
6. A device for receiving messages in real time, characterized in that: The message real-time receiving device comprises a detection request unit, an object fusion unit and a timing processing unit. The request detection unit is used to detect whether the first user sends an operation request, and when the first user sends the operation request, generate a message hook object corresponding to the operation request; The object fusion unit is used to fuse and generate a first message request and obtain a first retention time of the message hook object according to the message hook object and the operation request, and enable the front end to send the first message request to the server to analyze and process according to the message identifier to obtain response information; The message identifier corresponds to the message hook object; The timing processing unit is used to send the first retention time to the front end when it is determined that the front end has received the response information fed back by the server, so that the front end processes all message hook objects according to the first retention time after interactive feedback with the second user according to the response information; The object fusion unit is further used to: generate a message identifier according to the message hook object, and inject the message hook object into the operation request; inject the message identifier into the first bit of the message data of the operation request to obtain a first message request, and start timing to obtain a first retention time of the message hook object; The timing processing unit is further used for: filtering all message hook objects according to the first retention time to retain the filtered message hook objects.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the real-time message receiving method according to any one of claims 1 to 5.
8. A real-time message receiving system, characterized in that: The real-time message receiving system comprises a real-time message receiving device, and the real-time message receiving device executes the real-time message receiving method as claimed in any one of claims 1 to 5.
9. The real-time message receiving system according to claim 8, characterized in that: The real-time message receiving system also includes a front end and a server, wherein the front end, the real-time message receiving device and the server are sequentially connected in communication, and the server is used to perform asynchronous analysis and processing on the first message request sent by the front end; The front end is used to send the first message request to the server for analysis and processing, and after interactive feedback with the second user according to the response information, process all message hook objects according to the first retention time.
