Message sending method, message sending device, equipment, medium and electronic product

By acquiring and pushing messages through a cloud terminal server, the problem of message loss when the user's terminal is not connected to the cloud terminal is solved, enabling instant notifications and personalized push notifications, thus improving the user experience.

CN121125674APending Publication Date: 2025-12-12CHINA MOBILE COMM GRP TERMINAL +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411914370.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-12-12

Smart Images

  • Figure CN121125674A_ABST
    Figure CN121125674A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a message sending method, a message sending device, equipment, a medium and an electronic product. The message sending method comprises the following steps: acquiring a to-be-pushed message sent by a cloud application server; the to-be-pushed message is generated by the cloud application server according to user information and a pre-generated application notification message; determining whether the user terminal and the cloud terminal are in a connection state; and under the condition of determining that the user terminal and the cloud terminal are in a disconnected state, sending the to-be-pushed message to the user terminal through a pre-deployed message pushing server. According to the embodiment of the invention, the notification message generated by the cloud application can be sent to the user terminal in time under the condition that the user terminal and the cloud terminal do not establish connection, and the timeliness of message pushing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a message sending method, message sending device, equipment, medium and electronic product. Background Technology

[0002] Cloud terminals, as virtual terminal services based on cloud computing technology, remotely connect to user terminals, allowing users to remotely access and control resources within the cloud terminal. However, when a user terminal is not connected to the cloud terminal, users will not be able to promptly receive and process messages, notifications, or SMS messages generated in cloud applications. Currently, when a user terminal is not connected to the cloud terminal but a message is generated in a cloud application, the message is typically sent to the user via email. However, this method suffers from problems such as untimely notifications and the possibility of users missing them. Summary of the Invention

[0003] The purpose of this application is to provide a message sending method, message sending device, equipment, medium, and electronic product to solve the problem of untimely message notifications caused by sending notification messages generated by cloud applications to user terminals via email in related technologies.

[0004] To solve the above-mentioned technical problems, the embodiments of this application are implemented as follows: In a first aspect, embodiments of this application provide a message sending method applied to a cloud terminal server, comprising: Obtain the push message to be sent by the cloud application server; the push message is generated by the cloud application server based on user information and pre-generated application notification messages; Determine whether the user terminal and the cloud terminal are connected. If it is determined that the user terminal and the cloud terminal are not connected, the message to be pushed is sent to the user terminal through a pre-deployed message push server.

[0005] Secondly, embodiments of this application provide a message sending device applied to a cloud terminal server, comprising: The acquisition module is used to acquire the push message to be sent by the cloud application server; the push message is generated by the cloud application server based on user information and pre-generated application notification messages; The determination module is used to determine whether the user terminal and the cloud terminal are in a connected state; The sending module is used to send the message to be pushed to the user terminal through a pre-deployed message push server when it is determined that the user terminal and the cloud terminal are not connected.

[0006] Thirdly, embodiments of this application provide an electronic device, including a processor, a communication interface, a memory, and a communication bus; wherein the processor, the communication interface, and the memory communicate with each other via the bus; the memory is used to store computer programs; and the processor is used to execute the programs stored in the memory to implement the message sending method as described in the first aspect.

[0007] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the message sending method as described in the first aspect.

[0008] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the message sending method as described in the first aspect.

[0009] In this embodiment, firstly, a message to be pushed is obtained from the cloud application server; this message is generated by the cloud application server based on user information and pre-generated application notification messages. Then, it is determined whether the user terminal and the cloud terminal are connected. Next, if it is determined that the user terminal and the cloud terminal are not connected, the message to be pushed is sent to the user terminal through a pre-deployed message push server. Therefore, through this embodiment, the cloud terminal server can send messages to be pushed to the user terminal even when the user terminal is not connected to the cloud terminal, through a pre-deployed message push server. The message push server can achieve real-time message notification; even when the user terminal is not connected to the cloud terminal, it can still receive notification messages generated by the cloud application immediately, improving the timeliness of message push. Furthermore, the message push server can analyze the user's historical data and behavioral patterns, and can provide personalized message notification modes based on the user's message reading habits, improving the user experience. Attached Figure Description

[0010] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0011] Figure 1 A flowchart illustrating a message sending method provided in an embodiment of this application; Figure 2 A schematic diagram illustrating the composition of the message sending architecture provided in this application embodiment; Figure 3 A flowchart illustrating an exemplary message sending process provided in an embodiment of this application; Figure 4 A flowchart illustrating a method for determining the state of a communication link, provided as an embodiment of this application; Figure 5 A schematic diagram illustrating another process for determining the state of a communication link, provided as an embodiment of this application; Figure 6 A flowchart illustrating the process of extracting the summary of a message to be pushed, provided in an embodiment of this application; Figure 7 This application provides a schematic diagram of the module composition of a message sending device according to an embodiment of the present application. Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0012] This application provides a message sending method, message sending apparatus, device, medium, and electronic product.

[0013] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0014] Figure 1 This is a flowchart illustrating a message sending method provided in an embodiment of this application. Figure 1 The method described above is executed by a cloud terminal server, which is a cloud server that performs cloud computing processing. Multiple cloud terminal instances run on the cloud terminal server, and the cloud terminal server can manage these multiple running cloud terminal instances. For example... Figure 1 As shown, the message sending method may specifically include the following steps: S102, obtain the push message to be sent by the cloud application server; the push message is generated by the cloud application server based on user information and pre-generated application notification messages.

[0015] In this embodiment, when a cloud application generates a notification message, the cloud application server generates a message to be pushed based on user information and the notification message generated by the cloud application, and sends the message to be pushed to the cloud terminal server. The cloud terminal server receives the message to be pushed from the cloud application server. The message to be pushed contains the notification message generated by the cloud application and the information of the user to be pushed, and may also contain other information such as time information, message source information, etc.

[0016] S104, determine whether the user terminal and the cloud terminal are in a connected state.

[0017] In this embodiment of the application, after receiving the push message sent by the cloud application server, the cloud terminal server determines whether the user terminal and the cloud terminal are in a connected state.

[0018] In one implementation, when determining whether a user terminal and a cloud terminal are connected, the cloud terminal server can first determine whether the cloud terminal is online, i.e., whether the cloud terminal is connected to the cloud terminal server. After confirming that the cloud terminal is online, it then determines whether the user terminal and the cloud terminal are connected. When it is determined that the cloud terminal is offline, the cloud terminal server can directly send the message to be pushed to the user terminal through a pre-deployed message push server.

[0019] The cloud terminal server sends the message to be pushed to the user terminal through a pre-deployed message push server. The specific process can be referred to in step S106 below.

[0020] In one implementation, a user can establish a connection with the cloud terminal through any of their terminal devices to access resources within the cloud terminal. The user's terminal device can be, for example, a mobile phone, computer, or tablet computer. The user can log in to their registered cloud terminal account using any of the aforementioned electronic devices to establish a connection with the cloud terminal. Determining whether the user's terminal and the cloud terminal are connected is crucial; that is, determining whether the user has logged into their cloud terminal account through their terminal.

[0021] S106, if it is determined that the user terminal and the cloud terminal are not connected, the message to be pushed is sent to the user terminal through a pre-deployed message push server.

[0022] In this embodiment of the application, when the cloud terminal server determines that the user terminal and the cloud terminal are not connected, the cloud terminal server sends the message to be pushed to a pre-deployed message push server, which then sends the message to be pushed to the user terminal.

[0023] In one embodiment, sending the message to be pushed to the user terminal via a pre-deployed push message server includes: The message to be pushed is processed by extracting a summary to obtain the summary information of the message to be pushed; Configure the summary information of the message to be pushed in the preset message template to obtain the target push message; The target push message is sent to the user terminal through the message push server.

[0024] In this embodiment of the application, when the cloud terminal server sends a message to be pushed to the user terminal through a pre-deployed message push server, firstly, the cloud terminal server performs summary extraction processing on the message to be pushed to obtain the summary information of the message to be pushed; then, the summary information of the message to be pushed is configured in a preset message template to obtain the target push message; then, the target push message is sent to the user terminal through the message push server.

[0025] In one example, the push message generated by the cloud application is: "Dear User A, We are pleased to inform you that your cloud storage space is about to reach its limit. To ensure your data storage needs, we have automatically upgraded you to a higher storage space plan. The new plan will provide you with more storage space, along with enhanced data backup and security features. Please log in to your cloud storage account to view and manage your storage space." The cloud terminal server extracts the following summary information from the above push message: Notification Type: Storage Space Upgrade Reminder; User Status: Storage Space About to Reach Limit; Upgrade Content: Automatic Upgrade to a Higher Storage Space Plan with Enhanced Features; Call to Action: Log in to your cloud storage account to view and manage. The preset message template can be a pop-up template. The extracted summary information is filled into the pop-up template to obtain the target push message. After receiving the configured target push message, the message push server sends the target push message to the user's terminal. The target push message is, for example, "[Storage Space Upgrade Reminder] Reminder: Your storage space is about to reach its limit. We have upgraded you to a higher storage space plan, along with enhanced data backup and security features. Please log in to your cloud storage account to view and manage."

[0026] In one embodiment, a summary extraction process is performed on the message to be pushed to obtain summary information of the message to be pushed, including: Construct a heterogeneous graph of the messages to be pushed, and divide the heterogeneous graph into word-level graphs and clause graphs; Based on the clause graph, the message to be pushed is divided into multiple clauses; For each clause, the representation of the clause is updated using a message extraction model based on word-level graphs and clause graphs to obtain the clause with the updated representation. Using a message extraction model, based on the updated clauses, a summary of the message to be pushed is extracted to obtain the summary information of the message to be pushed.

[0027] In this embodiment, when the cloud terminal server performs summary extraction processing on the message to be pushed, it first constructs a heterogeneous graph of the message to be pushed and divides the heterogeneous graph into a word-level graph and a clause graph. Then, based on the clause graph, the message to be pushed is divided into multiple clauses. Next, for each clause, a pre-trained message extraction model updates the representation of the clause based on the word-level graph and clause graph obtained above, resulting in a clause with updated representation. Finally, based on the updated representation of each clause, the message extraction model performs summary extraction processing on the message to be pushed to obtain the summary information of the message to be pushed.

[0028] Heterogeneous graphs are used to represent the complete content of a message to be pushed. Heterogeneous graphs contain named entities, words, demonstrative pronouns, and sentences.

[0029] A word-level graph is a graph structure that uses words in a text as nodes and the relationships between words (such as co-occurrence and semantic relationships) as edges. Nodes in a word-level graph represent words in the text, and edges represent the relationships between words. These relationships can be direct (e.g., co-occurrence) or indirect (e.g., semantic relationships). Edges can have weights to indicate the strength or importance of the relationships.

[0030] In a clause graph, nodes represent clauses within a sentence. Each node can contain information such as the clause's text content, part-of-speech tagging, and syntactic structure. Edges in the clause graph represent relationships between clauses, which can be based on syntactic structure (e.g., the relationship between a subordinate clause and a main clause) or semantics (e.g., causal relationships, contrastive relationships). The weight of an edge represents the strength or importance of that relationship.

[0031] In one example, the message to be pushed is: "Dear User A, We are pleased to inform you that your cloud storage space is about to reach its limit. To ensure your data storage needs, we have automatically upgraded you to a higher storage plan. The new plan will provide you with more storage space, along with enhanced data backup and security features. Please log in to your cloud storage account to view and manage your storage space." The heterogeneous graph of the message to be pushed contains nodes including: message nodes, representing the entire message to be pushed; word nodes, such as "Dear," "User A," "Hello," etc.; and clause nodes, such as "We are pleased to inform you," "Your cloud storage space is about to reach its limit," etc. Edges include: word-word relationships, such as co-occurrence, semantic association, etc.; word-clause relationships, indicating which clause a word belongs to; and clause-clause relationships, such as sequence, logical association, etc. The resulting word-level graph contains word nodes and word-word relationships. The clause graph contains clause nodes, word nodes, word-word relationships, word-clause relationships, and possible clause-clause relationships (such as sequence relationships).

[0032] Subsequently, based on the clause diagram, the message to be pushed is divided into multiple clauses. For example, Clause 1: Dear User A, Hello! Clause 2: We are pleased to inform you that your cloud storage space is about to reach its limit. Clause 3: To ensure your data storage needs, we have automatically upgraded you to a higher storage plan. Clause 4: The new plan will provide you with more storage space, along with enhanced data backup and security features. Clause 5: Please log in to your cloud storage account to view and manage your storage space.

[0033] Then, for each clause, a message extraction model is used to update the clause representation based on word-level graphs and clause graphs. For each clause, firstly, contextual information (such as co-occurring words, semantic similarity, etc.) of its vocabulary is obtained based on the word-level graph. Then, combined with the clause graph, the order and logical relationships between clauses are considered. This information is encoded using a message extraction model (such as a deep learning model) to obtain the updated clause representation. In a specific example, clause 2 is "We are pleased to inform you that your cloud storage space is about to reach its limit." The updated representation may include the encoding of keywords such as "pleased," "notification," "cloud storage space," and "reaching the limit," as well as the semantic relationships between them. For another example, clause 3 is "To ensure your data storage needs, we have automatically upgraded you to a higher storage space plan." The updated representation may emphasize key information such as "ensure," "data storage needs," "automatic upgrade," and "higher plan."

[0034] Next, using a message extraction model, a summary extraction process is performed on the message to be pushed, based on the updated representations of each clause. First, the message extraction model can be used to comprehensively analyze the updated clause representations, extracting summary information that encapsulates the core content of the entire message. An example summary message would be: "Dear User A, your cloud storage space is almost full. You have been automatically upgraded to a higher plan, providing more storage and enhanced security features. Please log in to view."

[0035] In one implementation, the message extraction model may include a graph attention network and a sentence extraction network, wherein the graph attention network is used to aggregate neighboring information to update the clause representation, and the summary extraction network is used to extract summary information of the message to be pushed.

[0036] In one embodiment, sending a target push message to a user terminal via a push message server includes: Determine whether the message push server and the user terminal are connected. Once it is confirmed that the push message server and the user terminal are connected, the target push message is sent to the push message server, which then triggers the push message server to send the target push message to the user terminal.

[0037] In this embodiment of the application, when the cloud terminal server sends the target push message to the user terminal through the message push server, it can first determine whether the message push server and the user terminal are in a connected state. If it is determined that the message push server and the user terminal are in a connected state, the cloud terminal server sends the target push message to the message push server and triggers the message push server to send the target push message to the user terminal.

[0038] In one implementation, when sending a target push message to a user terminal, predictive analysis can be performed on the user's historical operation data to obtain notification information that the user is more inclined to. At the same time, the display method, sending frequency, or content format of the message can be adjusted according to the result of the tendency analysis to better meet the user's personalized needs.

[0039] In another embodiment, if it is determined that the push message server and the user terminal are not connected, the target push message is sent to the push message server, triggering the push message server to cache the target push message in a pre-deployed cache queue, and to send an email containing the target push message to the user terminal.

[0040] Specifically, when the connection between the user terminal and the push message server is interrupted, the push message server sends the target push message to the user terminal as an email. Simultaneously, a message cache queue is built to cache the target push message, and once the user terminal reconnects to the push message server, the target push message in the cache queue is resent to the user terminal. By using caching and email notifications, the real-time nature of message retrieval for users in offline states is improved, while ensuring that the user terminal receives messages even when offline.

[0041] To ensure that messages to be pushed can be delivered to the corresponding user terminals in a timely manner, it is necessary to ensure that the communication link between the cloud application server and the cloud terminal server is in a normal communication state.

[0042] In one embodiment, the method further includes: A first dynamic timer is deployed in the cloud terminal server. The first dynamic timer is used by the cloud terminal server to send data packets to the cloud application server at preset time intervals. Upon receiving feedback information from the cloud application server, it is determined that the communication link between the cloud terminal server and the cloud application server is in a normal communication state. The feedback information is generated by the cloud application server based on the results of receiving data packets using a pre-deployed second dynamic timer.

[0043] In this embodiment, a first dynamic timer can be deployed in the cloud terminal server, and a second dynamic timer can be deployed in the cloud application server. The second dynamic timer in the cloud application server is used to receive data packets sent by the cloud terminal server at preset time intervals and send the data packet reception result back to the cloud terminal server. The first dynamic timer in the cloud terminal server is used to send data packets to the cloud application server at preset time intervals and determine whether the communication link between the cloud terminal server and the cloud application server is in a normal state based on the data packet reception result sent by the cloud application server.

[0044] In one implementation, the data packet can be a heartbeat packet.

[0045] In one embodiment, the method further includes: The preset time interval is determined based on the frequency of the cloud application server sending messages to be pushed to the cloud terminal server and the frequency of the connection established between the user terminal and the cloud terminal.

[0046] In one implementation, when the communication link between the cloud terminal server and the cloud application server is in normal condition, sending data packets at fixed preset time intervals would lead to frequent data exchanges, increasing the amount of data in the communication process. Therefore, the preset time interval can be determined based on the frequency and number of times the cloud application server sends push messages to the cloud terminal server, as well as the frequency and number of times the user terminal establishes a connection with the cloud terminal.

[0047] In another embodiment, in order to reduce the data transmission pressure on the communication link between the cloud terminal server and the cloud application server, when a new message is to be transmitted during the timing of the dynamic timer, the first dynamic timer in the cloud terminal server and the second dynamic timer in the cloud application server can be paused and cleared. After the data transmission is completed, the first dynamic timer and the second dynamic timer can be restarted.

[0048] In one embodiment, if it is determined that the cloud terminal and the user terminal are connected, the cloud terminal server directly sends the message to be pushed to the user terminal through the cloud terminal.

[0049] In this embodiment, firstly, a message to be pushed is obtained from the cloud application server; this message is generated by the cloud application server based on user information and pre-generated application notification messages. Then, it is determined whether the user terminal and the cloud terminal are connected. Next, if it is determined that the user terminal and the cloud terminal are not connected, the message to be pushed is sent to the user terminal through a pre-deployed message push server. Therefore, through this embodiment, the cloud terminal server can send messages to be pushed to the user terminal even when the user terminal is not connected to the cloud terminal, through a pre-deployed message push server. The message push server can achieve real-time message notification; even when the user terminal is not connected to the cloud terminal, it can still receive notification messages generated by the cloud application immediately, improving the timeliness of message push. Furthermore, the message push server can analyze the user's historical data and behavioral patterns, and can provide personalized message notification modes based on the user's message reading habits, improving the user experience.

[0050] Figure 2 This is a schematic diagram illustrating the composition of the message sending architecture provided in the embodiments of this application, as shown below. Figure 2 As shown, the message sending architecture includes: a cloud application server, a cloud terminal server, a message push server, cloud terminals, and user terminals. The cloud application server is responsible for running and managing multiple cloud-based applications, while the cloud terminal server is responsible for managing and running cloud terminals. Both the cloud application server and the cloud terminals are connected to the cloud terminal server. The message push server is deployed on the cloud terminal server, and both the message push server and the cloud terminals are connected to the user terminals. User terminals can be electronic devices such as mobile phones, computers, and tablets.

[0051] During message transmission, the cloud application server sends a message to be pushed to the cloud terminal server. If the cloud terminal server determines that the cloud terminal is connected to the cloud terminal server and is in a connected state with the user terminal, it sends the message to the cloud terminal, which then reads the message on the cloud terminal. If the cloud terminal server determines that the cloud terminal is not connected to the cloud terminal server, or that the cloud terminal is connected to the cloud terminal server but is not in a connected state with the user terminal, it sends the message to the message push server, which then sends the message to the user terminal.

[0052] Figure 3 The flowchart of an exemplary message sending process provided in the embodiments of this application is shown below. Figure 3 As shown in the example, the message sending process specifically includes the following steps: S301: When a cloud application generates a notification message, the cloud application server generates a message to be pushed based on the user information and the notification message, and sends it to the cloud terminal server.

[0053] S302: The cloud terminal server determines whether the cloud terminal is online.

[0054] Specifically, the cloud terminal server determines whether the cloud terminal is connected to the cloud terminal server. If yes, it executes S303; otherwise, it executes S304.

[0055] S303: The cloud terminal server determines whether the cloud terminal is connected to the user terminal.

[0056] If yes, execute S308; otherwise, execute S304.

[0057] S304: The cloud terminal server performs summary extraction processing on the message to be pushed, obtains the summary information of the message to be pushed, and generates the target push message in the form of a pop-up window.

[0058] S305: The cloud terminal server sends the target push message to the message push server.

[0059] S306: The message push server sends the target push message to the user terminal.

[0060] S307: The user terminal receives the target push message, establishes a connection with the cloud terminal based on the content of the target push message, and obtains the detailed content of the message to be pushed.

[0061] S308: The cloud terminal server sends the message to be pushed to the cloud terminal.

[0062] S309: Users read messages to be pushed from the cloud terminal through their user terminals.

[0063] Figure 4 This application provides a flowchart illustrating a process for determining the state of a communication link, as shown in the embodiments below. Figure 4 As shown in the example, the process of determining the communication link status between the cloud application server and the cloud terminal server specifically includes the following steps: S401: Deploy the first dynamic timer on the cloud terminal server and the second dynamic timer on the cloud application server.

[0064] S402: Start the first dynamic timer and the second dynamic timer.

[0065] S403: Determine if there is data transmission in the communication link.

[0066] If yes, execute S404; otherwise, execute S405.

[0067] S404: Turn off the first dynamic timer and the second dynamic timer, and clear the countdown of the first dynamic timer and the second dynamic timer to zero respectively, then execute S403.

[0068] S405: The cloud terminal server sends heartbeat packets to the cloud application server at preset time intervals.

[0069] S406: Determine whether the cloud terminal server has received feedback information sent by the cloud application server.

[0070] The feedback information is generated by the cloud application server using a second dynamic timer based on the heartbeat packet reception results.

[0071] If yes, then execute S407; otherwise, execute S408.

[0072] S407: The communication link status is confirmed to be normal.

[0073] S408: The communication link status has been determined to be abnormal.

[0074] Figure 5 Another flowchart for determining the state of a communication link provided in this application embodiment is shown below. Figure 5 As shown in the example, the process of determining the communication link status between the cloud application server and the cloud terminal server specifically includes the following steps: S501: Deploy the first dynamic timer on the cloud terminal server and the second dynamic timer on the cloud application server.

[0075] S502: Start the first dynamic timer and the second dynamic timer.

[0076] S503: Determine whether there is data transmission in the communication link.

[0077] If yes, execute S504; otherwise, execute S505.

[0078] S504: Turn off the first dynamic timer and the second dynamic timer, and clear the countdown of the first dynamic timer and the second dynamic timer to zero respectively, then execute S503.

[0079] S505: The cloud application server determines whether it has received a heartbeat packet sent by the cloud terminal server at preset time intervals.

[0080] Specifically, the cloud terminal server uses a first dynamic timer to send heartbeat packets to the cloud application server at preset time intervals.

[0081] If yes, then execute S506; otherwise, execute S507.

[0082] S506: The communication link status is confirmed to be normal.

[0083] S507: The communication link status has been determined to be abnormal.

[0084] Figure 6This is a flowchart illustrating the process of extracting the summary of the message to be pushed, as provided in an embodiment of this application. Figure 6 As shown in the example, the process of extracting the summary of the message to be pushed specifically includes the following steps: S601: Obtain the messages to be pushed and construct a heterogeneous graph of the messages to be pushed.

[0085] S602: Divide the message to be pushed into multiple clauses.

[0086] S603: Perform feature extraction processing on each clause to obtain the feature vector of each clause.

[0087] S604: Utilize the heterogeneous graph of the message to be pushed and the graph attention network to perform representation update processing on each clause, and obtain each clause with updated representation.

[0088] S605: Using a summary extraction model, perform summary extraction processing on each updated clause to obtain the summary information of the message to be pushed.

[0089] Corresponding to the message sending method provided in the above embodiments, based on the same technical concept, this application also provides a message sending device. Figure 7 This is a schematic diagram of the module composition of a message sending device provided in an embodiment of this application. The message sending device is used to perform... Figure 1 The described message sending method, such as Figure 7 As shown, the message sending device includes: The acquisition module 701 is used to acquire a message to be pushed by the cloud application server; the message to be pushed is generated by the cloud application server based on user information and pre-generated application notification messages. The determination module 702 is used to determine whether the user terminal and the cloud terminal are in a connected state. The sending module 703 is used to send the message to be pushed to the user terminal through a pre-deployed message push server when it is determined that the user terminal and the cloud terminal are not connected.

[0090] Optionally, the sending module 701 is specifically used to perform digest extraction processing on the message to be pushed to obtain the digest information of the message to be pushed; The summary information of the message to be pushed is configured in a preset message template to obtain the target push message; The target push message is sent to the user terminal via the message push server.

[0091] Optionally, the sending module 701 is further configured to construct a heterogeneous graph of the message to be pushed, and divide the heterogeneous graph into a word-level graph and a clause graph. Based on the clause graph, the message to be pushed is divided into multiple clauses; For each clause, the representation of the clause is updated using a message extraction model based on the word-level graph and the clause graph, resulting in the updated clause. Using the message extraction model, based on the updated representations of each clause, a summary extraction process is performed on the message to be pushed to obtain the summary information of the message to be pushed.

[0092] Optionally, the sending module 701 further determines whether the message push server and the user terminal are in a connected state; If it is determined that the message push server and the user terminal are in a connected state, the target push message is sent to the message push server, and the message push server is triggered to send the target push message to the user terminal.

[0093] Optionally, the above-mentioned device further includes: a communication status determination module; A communication status determination module is used to deploy a first dynamic timer in the cloud terminal server. The first dynamic timer is used by the cloud terminal server to send data packets to the cloud application server at preset time intervals. Upon receiving feedback information from the cloud application server, it is determined that the communication link between the cloud terminal server and the cloud application server is in a normal communication state. The feedback information is generated by the cloud application server based on the reception results of the data packets using a pre-deployed second dynamic timer.

[0094] Optionally, the above-mentioned device further includes: a time interval determination module; The time interval determination module is used to determine the preset time interval based on the frequency of the cloud application server sending messages to be pushed to the cloud terminal server and the frequency of establishing connections between the user terminal and the cloud terminal.

[0095] In this embodiment, firstly, a message to be pushed is obtained from the cloud application server; this message is generated by the cloud application server based on user information and pre-generated application notification messages. Then, it is determined whether the user terminal and the cloud terminal are connected. Next, if it is determined that the user terminal and the cloud terminal are not connected, the message to be pushed is sent to the user terminal through a pre-deployed message push server. Therefore, through this embodiment, the cloud terminal server can send messages to be pushed to the user terminal even when the user terminal is not connected to the cloud terminal, through a pre-deployed message push server. The message push server can achieve real-time message notification; even when the user terminal is not connected to the cloud terminal, it can still receive notification messages generated by the cloud application immediately, improving the timeliness of message push. Furthermore, the message push server can analyze the user's historical data and behavioral patterns, and can provide personalized message notification modes based on the user's message reading habits, improving the user experience.

[0096] The message sending device provided in this application embodiment can implement the various processes in the embodiments corresponding to the above message sending method. To avoid repetition, it will not be described again here.

[0097] It should be noted that the message sending device provided in this application embodiment and the message sending method provided in this application embodiment are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned message sending method, and the repeated parts will not be described again.

[0098] Corresponding to the message sending method provided in the above embodiments, based on the same technical concept, this application also provides an electronic device for executing the above message sending method. Figure 8 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application, such as... Figure 8 As shown, electronic devices can vary considerably due to differences in configuration or performance. They may include one or more processors 801 and memories 802, with the memory 802 storing one or more application programs or data. The memory 802 can be temporary or persistent storage. The application programs stored in the memory 802 may include one or more modules (not shown), each module including a series of computer-executable instructions for the electronic device. Furthermore, the processor 801 may be configured to communicate with the memory 802 and execute the series of computer-executable instructions stored in the memory 802 on the electronic device. The electronic device may also include one or more power supplies 803, one or more wired or wireless network interfaces 804, one or more input / output interfaces 805, and one or more keyboards 806.

[0099] Specifically, in this embodiment, the electronic device includes a processor, a communication interface, a memory, and a communication bus; wherein, the processor, the communication interface, and the memory communicate with each other via the bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to implement the following method steps: Obtain the push message to be sent by the cloud application server; the push message is generated by the cloud application server based on user information and pre-generated application notification messages; Determine whether the user terminal and the cloud terminal are connected. If it is determined that the user terminal and the cloud terminal are not connected, the message to be pushed is sent to the user terminal through a pre-deployed message push server.

[0100] In this embodiment, firstly, a message to be pushed is obtained from the cloud application server; this message is generated by the cloud application server based on user information and pre-generated application notification messages. Then, it is determined whether the user terminal and the cloud terminal are connected. Next, if it is determined that the user terminal and the cloud terminal are not connected, the message to be pushed is sent to the user terminal through a pre-deployed message push server. Therefore, through this embodiment, the cloud terminal server can send messages to be pushed to the user terminal even when the user terminal is not connected to the cloud terminal, through a pre-deployed message push server. The message push server can achieve real-time message notification; even when the user terminal is not connected to the cloud terminal, it can still receive notification messages generated by the cloud application immediately, improving the timeliness of message push. Furthermore, the message push server can analyze the user's historical data and behavioral patterns, and can provide personalized message notification modes based on the user's message reading habits, improving the user experience.

[0101] This application embodiment also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the following method steps: Obtain the push message to be sent by the cloud application server; the push message is generated by the cloud application server based on user information and pre-generated application notification messages; Determine whether the user terminal and the cloud terminal are connected. If it is determined that the user terminal and the cloud terminal are not connected, the message to be pushed is sent to the user terminal through a pre-deployed message push server.

[0102] In this embodiment, firstly, a message to be pushed is obtained from the cloud application server; this message is generated by the cloud application server based on user information and pre-generated application notification messages. Then, it is determined whether the user terminal and the cloud terminal are connected. Next, if it is determined that the user terminal and the cloud terminal are not connected, the message to be pushed is sent to the user terminal through a pre-deployed message push server. Therefore, through this embodiment, the cloud terminal server can send messages to be pushed to the user terminal even when the user terminal is not connected to the cloud terminal, through a pre-deployed message push server. The message push server can achieve real-time message notification; even when the user terminal is not connected to the cloud terminal, it can still receive notification messages generated by the cloud application immediately, improving the timeliness of message push. Furthermore, the message push server can analyze the user's historical data and behavioral patterns, and can provide personalized message notification modes based on the user's message reading habits, improving the user experience.

[0103] This application also provides a computer program product. When the computer program is executed by a processor, it implements the various processes of the above-described message sending method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0104] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0105] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0106] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0107] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0108] In a typical configuration, an electronic device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0109] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0110] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0111] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0112] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0113] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A message sending method, applied to a cloud terminal server, characterized in that, The method includes: Obtain the push message to be sent by the cloud application server; the push message is generated by the cloud application server based on user information and pre-generated application notification messages; Determine whether the user terminal and the cloud terminal are connected. If it is determined that the user terminal and the cloud terminal are not connected, the message to be pushed is sent to the user terminal through a pre-deployed message push server.

2. The method according to claim 1, characterized in that, The step of sending the message to be pushed to the user terminal through a pre-deployed message push server includes: The message to be pushed is processed by extracting a summary to obtain the summary information of the message to be pushed; The summary information of the message to be pushed is configured in a preset message template to obtain the target push message; The target push message is sent to the user terminal via the message push server.

3. The method according to claim 2, characterized in that, The step of extracting a summary from the message to be pushed to obtain summary information of the message to be pushed includes: Construct a heterogeneous graph of the message to be pushed, and divide the heterogeneous graph into a word-level graph and a clause graph; Based on the clause graph, the message to be pushed is divided into multiple clauses; For each clause, the representation of the clause is updated using a message extraction model based on the word-level graph and the clause graph, resulting in the updated clause. Using the message extraction model, based on the updated representations of each clause, a summary extraction process is performed on the message to be pushed to obtain the summary information of the message to be pushed.

4. The method according to claim 2, characterized in that, Sending the target push message to the user terminal via the message push server includes: Determine whether the message push server and the user terminal are in a connected state; If it is determined that the message push server and the user terminal are in a connected state, the target push message is sent to the message push server, and the message push server is triggered to send the target push message to the user terminal.

5. The method according to claim 1, characterized in that, The method further includes: A first dynamic timer is deployed in the cloud terminal server. The first dynamic timer is used by the cloud terminal server to send data packets to the cloud application server at preset time intervals. Upon receiving feedback information from the cloud application server, it is determined that the communication link between the cloud terminal server and the cloud application server is in a normal communication state. The feedback information is generated by the cloud application server based on the reception results of the data packets using a pre-deployed second dynamic timer.

6. The method according to claim 5, characterized in that, The method further includes: The preset time interval is determined based on the frequency with which the cloud application server sends messages to be pushed to the cloud terminal server and the frequency with which the user terminal establishes a connection with the cloud terminal.

7. A message sending device, applied to a cloud terminal server, characterized in that, The device includes: The acquisition module is used to acquire the push message to be sent by the cloud application server; the push message is generated by the cloud application server based on user information and pre-generated application notification messages; The determination module is used to determine whether the user terminal and the cloud terminal are in a connected state; The sending module is used to send the message to be pushed to the user terminal through a pre-deployed message push server when it is determined that the user terminal and the cloud terminal are not connected.

8. An electronic device, characterized in that, The system includes a processor, a communication interface, a memory, and a communication bus; wherein the processor, the communication interface, and the memory communicate with each other via the bus; the memory is used to store computer programs; and the processor is used to execute the programs stored in the memory to implement the steps of the message sending method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the message sending method as described in any one of claims 1-6.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the steps of the message sending method as described in any one of claims 1-6.