Message transmission method
By passing messages to the message center when the user equipment is offline and activates acquisition when it is online, the problem of message discarding in 5G message transmission is solved, improving the message reach rate and system reliability.
Patent Information
- Application Number
- CN202411068521.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-12-06
AI Technical Summary
In the existing 5G message specification, when the user equipment is offline for a long time, the cached 5G messages are discarded, resulting in a low Chatbot message reach rate.
Through the message management platform, the AI dialogue device sends messages to the message center device when the user equipment is offline, and activates its registration through wake-up messages when the user equipment is online, ensuring message delivery and preventing cached messages from being stored for a long time.
It improves the reach rate of messages sent by AI conversation devices to user devices, reduces message transmission delay and storage resource usage, and avoids the risk of message loss.
Smart Images

Figure CN119094991A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of 5G message technology, and in particular, relates to a message transmission method, device, equipment, computer storage medium, and program product. Background Art
[0002] AI conversational devices, such as chatbots, are software programs that communicate with people through text or voice. They use natural language processing and machine learning technologies to understand the text or voice input by users and make corresponding responses or perform corresponding tasks.
[0003] According to the existing 5G message specifications, after the Chatbot generates the corresponding reply, it sends the message to the user device that receives the message through the message center device (5G MessageCenter, 5GMC). When the user device is offline, the message sent by the Chatbot to the user device is cached in the 5GMC and delivered to the user device after the user device registers for uplink. However, if the user device is offline for a long time, the cached 5G message will be discarded, resulting in a low Chatbot message reach rate. Summary of the invention
[0004] The embodiments of the present application provide a message transmission method, apparatus, device, computer storage medium, and program product to solve the problem in the prior art that when the user device is offline for a long time, the cached 5G messages are discarded, resulting in a low Chatbot message reach rate.
[0005] In a first aspect, an embodiment of the present application provides a message transmission method, which is applied to a message center device, and the method includes:
[0006] receiving a first message sent by a message management platform device, where the first message is a message sent by an artificial intelligence AI dialogue device to the message management platform device when the user device is offline;
[0007] Cache the first message, and send a cache response message to the message management platform device, so that the message management platform device sends a wake-up message to the user equipment, so that the user equipment registers and goes online based on the wake-up message;
[0008] Receiving an acquisition request sent by a user device;
[0009] According to the acquisition request, the cached first message is sent to the user equipment.
[0010] In a second aspect, an embodiment of the present application provides a message transmission method, which is applied to a message management platform device, and the method includes:
[0011] When determining that the user device is offline, receiving a first message sent by the AI dialogue device;
[0012] Sending a first message to a message center device, so that the message center device caches the first message;
[0013] Receiving a cache response message sent by a message center device;
[0014] In response to the cache response message, a wake-up message is sent to the user equipment, so that the user equipment registers and goes online according to the wake-up message, and obtains the first message from the message center device.
[0015] In a third aspect, an embodiment of the present application provides a message transmission method, which is applied to a user equipment, and the method includes:
[0016] In the case where the message center device caches the first message, receiving a wake-up message sent by the message management platform device;
[0017] Register and go online based on the wake-up message, and obtain the first message from the message center device;
[0018] Among them, the first message is a message sent by a message management platform device received by a message center device, and the first message is a message sent by an AI dialogue device to a message management platform when the user device is offline.
[0019] In a fourth aspect, an embodiment of the present application provides a message transmission device, which is deployed in a message center device, and the device includes:
[0020] An acquisition module, configured to receive a first message sent by a message management platform device, where the first message is a message sent by an artificial intelligence AI dialogue device to the message management platform device when the user device is offline;
[0021] A cache module, used to cache the first message, and send a cache response message to the message management platform device, so that the message management platform device sends a wake-up message to the user equipment, so that the user equipment registers and goes online based on the wake-up message;
[0022] The receiving module is further used to receive an acquisition request sent by a user device;
[0023] The sending module is used to send the cached first message to the user equipment according to the acquisition request.
[0024] In a fifth aspect, an embodiment of the present application provides a message transmission device, which is deployed on a message management platform device, and the device includes:
[0025] An acquisition module, configured to receive a first message sent by the AI dialogue device when it is determined that the user device is offline;
[0026] A sending module, used for sending a first message to a message center device, so that the message center device caches the first message;
[0027] The receiving module is also used to receive the cache response message sent by the message center device;
[0028] The response module is used to send a wake-up message to the user equipment in response to the cache response message, so that the user equipment can register and go online according to the wake-up message and obtain the first message from the message center device.
[0029] In a sixth aspect, an embodiment of the present application provides a message transmission device, which is deployed in a user equipment, and the device includes:
[0030] A receiving module, used for receiving a wake-up message sent by a message management platform device when the message center device caches the first message;
[0031] An acquisition module, used to register and go online based on the wake-up message, and obtain a first message from a message center device;
[0032] Among them, the first message is a message sent by a message management platform device received by a message center device, and the first message is a message sent by an AI dialogue device to a message management platform when the user device is offline.
[0033] In the seventh aspect, an embodiment of the present application provides a terminal device, the device comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the method for message transmission as in the first aspect, the second aspect, or the third aspect is implemented.
[0034] In an eighth aspect, an embodiment of the present application provides a computer storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, a method for message transmission as in the first aspect, the second aspect, or the third aspect is implemented.
[0035] In a ninth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes a message transmission method such as the first aspect, the second aspect, or the third aspect.
[0036] The embodiments of the present application provide a method, apparatus, device, computer storage medium, and program product for message transmission. When the user device is offline, the AI dialogue device sends a first message to the message center device through the message management platform, thereby ensuring the message delivery when the user device is offline; the message center device caches the first message and sends a cache response message to the message management platform device, and the message management platform sends a wake-up message to the user device in response to the cache response message; the user device receives the wake-up message and registers online, and obtains the stored first message from the message center device, so that the cached message of the message center can be activated when the user device is offline, preventing the cached message from being stored in the message center for a long time, thereby improving the reach rate of the message sent by the AI dialogue device to the user device. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0038] Figure 1 It is a schematic diagram of the system structure that can implement the message transmission method provided in the embodiment of the present application;
[0039] Figure 2 It is a flowchart of a message transmission method provided in an embodiment of the present application;
[0040] Figure 3 It is a schematic diagram of a message transmission process provided by an embodiment of the present application;
[0041] Figure 4 It is a structural diagram of a message transmission device deployed in a message center device provided in an embodiment of the present application;
[0042] Figure 5 It is a structural diagram of a message transmission device deployed on a message management platform device provided in an embodiment of the present application;
[0043] Figure 6 It is a structural diagram of a message transmission device deployed on a user equipment provided in an embodiment of the present application;
[0044] Figure 7 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0046] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0047] In the message transmission method of the prior art, the 5G messages sent by the artificial intelligence AI dialogue device are cached in the 5GMC. When the user device is offline, it is necessary to wait for the user device to register the uplink before delivery, which causes a delay in the transmission of messages. Especially when the user device is offline for a long time, it is easy to miss important messages. When the user device is offline, the 5G messages cached in the 5GMC will occupy the storage resources of the 5GMC. The accumulation of 5G messages will lead to insufficient storage capacity of the 5GMC. Increasing storage resources will increase the cost of operators. When the user device is not online within the specified time, the messages cached in the 5GMC will be discarded, and the required 5G information will not be received after going online again. The reliability and timeliness of message transmission are low.
[0048] The following first provides an example of a system framework to which the message transmission method provided in the embodiments of the present application can be applied.
[0049] like Figure 1 As shown, the system may include an AI dialogue device, a message management platform device, a message center device and a user device.
[0050] The AI dialogue device is connected to the message management platform for sending real-time messages and offline messages to the message processing module of the message management platform device; receiving offline status reports sent by the message processing module of the message management platform device; querying the device capabilities of the user device and determining the message sending method based on the message service type and the called device capabilities.
[0051] The message management platform device is connected to the message center device in communication. The message processing module of the message management platform is used to synchronize the device information sent by the message center device, send real-time messages and cached messages sent by the AI dialogue device to the message center device, and receive user device status reports sent by the message center device. The wake-up module of the message management platform device is used to send activation SMS messages to user devices through the message center device. The message center device is connected to the user device to receive the registration information of the user device, send the activation SMS sent by the wake-up module to the user device, and send cached messages to the user device.
[0052] In order to solve the existing technology, the embodiment of the present application provides a method and device for message transmission. When transmitting a message, the AI dialogue device first sends a second message to the user device in real time through the message center device. When the user device is online, the message center device directly forwards the second message to the user device without caching, thereby reducing the storage resource occupation of the message center device and improving the real-time performance of message transmission; when the user device is offline, the message center device sends a status report to the AI dialogue device, and the AI dialogue device sends a first message to the message center device through the message management platform when the user device is offline, thereby ensuring the delivery of the message when the user device is offline; the message center device caches the first message and sends a cache response message to the message management platform device, and the message management platform sends a wake-up message to the user device in response to the cache response message; the user device receives the wake-up message to register and go online, and obtains the stored first message from the message center device, so that the user device can activate the cached message of the message center when it is offline, thereby preventing the cached message from being stored in the message center for a long time. Among them, when the user device receives the wake-up message, the message application of the user device intercepts the SMS and identifies the instructions in transparent mode at the set port, and the user device can be activated to receive the cached message without user operation. The message management platform device actively pulls up the terminal registration through the wake-up message, instead of passively waiting for the terminal to register uplink and then deliver the cached message. The terminal can receive the message in a very short time, which is characterized by high timeliness, reducing the risk of the terminal not being online within a limited time and losing the message cached in the message center device, and improving the reach rate of messages sent by AI dialogue devices to user devices.
[0053] The following is an introduction to the message transmission method provided by the embodiment of the present invention.
[0054] Figure 2FIG. 1 is a flow chart showing a method for message transmission provided by an embodiment of the present invention. Figure 2 As shown, the method may include the following steps: S201 to S205.
[0055] S201, when it is determined that the user device is offline, the message management platform device receives a first message sent by the AI dialogue device.
[0056] Among them, the first message is a message sent by the AI dialogue device to the message management platform when the user is offline.
[0057] In some embodiments, the first message may be used to respond to a service request of a user device. For example, after the user device requests information query, the AI dialogue device sends a first message containing the information requested by the user device.
[0058] In some embodiments, the first message can also be used to actively send information to the user device. When the AI dialogue device needs to actively send a message to the user device, the AI dialogue device sends a first message containing the information to be sent. For example, when performing regular updates, the AI dialogue device sends a first message containing update information; when an emergency occurs, the AI dialogue device sends a first message containing emergency message notification information.
[0059] S202: The message management platform device sends a first message to the message center device.
[0060] By using the message management platform as a transit site, message delivery across devices is achieved, ensuring reliable message delivery and improving the flexibility of the system.
[0061] In some embodiments, the message management platform device may perform message processing on the received message, and the message processing may include operations such as format conversion or information encryption processing to ensure the security and accuracy of message delivery.
[0062] S203: The message center device caches the first message and sends a cache response message to the message management platform device.
[0063] The cache response message is sent to the message management platform device after the message center caches the first message, so as to notify the message management platform device that a wake-up message needs to be sent to the user device.
[0064] The message center device ensures the persistence of the message by caching the first message, so that the user device can immediately receive the cached message when it goes online; at the same time, sending a cache response message can notify the message management platform device to send a wake-up SMS to wake up the message device to prepare for subsequent communications.
[0065] S204: The message management platform device sends a wake-up message to the user equipment in response to the cache response message.
[0066] The sending of the wake-up message notifies the user device in real time that there is a cached message to be received, ensuring that the user can respond in time, preventing the user device from being offline and missing important messages, and ensuring the timeliness of message delivery.
[0067] In some embodiments, the wake-up message includes a wake-up SMS message, and the cache response message includes international mobile subscriber identity IMSI information; the message management platform device sends the wake-up message to the user equipment in response to the cache response message, including:
[0068] Generate a wake-up SMS message according to the IMSI information in the cache response message and in a preset activation instruction format, wherein the wake-up SMS message includes the IMSI information;
[0069] Send a wake-up SMS message to the user's device.
[0070] By generating a wake-up SMS through a preset activation instruction format, the generation and sending process of the wake-up message can be automated. The content and format of the wake-up SMS can be flexibly adjusted according to different user device types and needs to meet different business needs. IMSI information is the unique identification information of the device. Using IMSI information to generate a wake-up SMS can increase the security of communication and prevent accidental sending.
[0071] S205: The user equipment receives the wake-up message, registers and goes online according to the wake-up message, and obtains a first message from the message center equipment.
[0072] The first cached message is sent according to the acquisition request, which improves the efficiency of information transmission and ensures that users can obtain important information in a timely manner.
[0073] In some embodiments, the wake-up message includes a wake-up text message; the user equipment receives the wake-up message, including:
[0074] The wake-up SMS is intercepted at a predefined receiving interface through a message application of the user device.
[0075] By intercepting at the predefined receiving interface, no manual operation is required by the user, preventing irrelevant SMS from interfering with the normal use of the user's device, thereby improving the user experience.
[0076] In some embodiments, the wake-up SMS includes the IMSI information of the user equipment; the user equipment registers and goes online based on the wake-up message, and obtains the cached message from the message center device, including:
[0077] When the content of the wake-up SMS is the same as the preset activation instruction format, obtaining the IMSI information in the wake-up SMS;
[0078] When the IMSI information included in the wake-up SMS is the same as the IMSI information of the user equipment, the user equipment registers and goes online to receive the cached message stored in the message center.
[0079] By verifying whether the IMSI information in the wake-up SMS is consistent with the IMSI information of the user's device, it is ensured that the wake-up SMS is sent to a specific user's device, avoiding the situation where the wrong device responds and improving the accuracy of communication.
[0080] An embodiment of the present application provides a method for message transmission, wherein an AI dialogue device sends a first message to a message center device through a message management platform when a user device is offline, thereby ensuring the delivery of messages when the user device is offline; a message management platform device sends a first message to a message center device, the message center device caches the first message, and sends a cache response message to the message management platform device, and the message management platform sends a wake-up message to the user device in response to the cache response message, thereby ensuring the persistence of the message, so that the user device can immediately receive the cached message when it goes online; the user device receives the wake-up message and registers to go online, and obtains the stored first message from the message center device, so that the user device can obtain the cached message of the message center by activation when it is offline, thereby preventing the cached message from being stored in the message center for a long time, and improving the reach rate of messages sent by the AI dialogue device to the user device.
[0081] In one example, the content of the first message sent by the AI dialogue device is as shown in Table 1, including a report request reportRequest field, a short message support shortMessageSupported field, a storage support storeSupported field, a cache time temporaryStoredTime field, a fallback support fallbackSupported field and a multimedia message support multimediaMessageSupported field.
[0082] Table 1 First message content
[0083]
[0084] In some embodiments, Figure 3 As shown, when it is determined that the user device is offline, before the message management platform device receives the first message sent by the AI dialogue device, the method also includes:
[0085] S206: The message management platform device receives the second message sent by the AI dialogue device.
[0086] The second message includes the user equipment identifier, so that the message center device can obtain a registration table of the user equipment and determine the state corresponding to the user equipment identifier based on the state of the user equipment included in the registration table.
[0087] S207: The message management platform device sends a second message to the message center device.
[0088] S208, the message center device generates a status report when the user device is offline and sends it to the message management platform.
[0089] The message center device obtains a registration table of the user device according to the user identifier, and the registration table includes the status of the user device, thereby determining the offline status of the user device.
[0090] S209, the message management platform device sends a status report to the AI dialogue device.
[0091] Sending status reports when the user device is offline allows the AI dialogue device to take corresponding actions in a timely manner, improving the flexibility and responsiveness of the user system. By sending messages through the message management platform, message delivery across devices is achieved, ensuring the reliable delivery of messages and improving the flexibility of the system.
[0092] S210, the AI dialogue device determines whether the user device is offline through the status report.
[0093] The user device identifier in the second message can help the message center device accurately obtain the user device registry, thereby determining the corresponding status of the user device, helping the system to respond to the offline status of the user device in a timely manner and take corresponding measures, thereby improving the flexibility and responsiveness of the user system.
[0094] In one example, the content of the first message sent by the AI dialogue device is as shown in Table 2, including a report request reportRequest field, a short message support shortMessageSupported field, a storage support storeSupported field, a fallback support fallbackSupported field, and a multimedia message support multimediaMessageSupported field.
[0095] Table 2 Second message content
[0096]
[0097] In some embodiments, after obtaining a registration table of the user equipment according to the user equipment identifier, the method further includes:
[0098] The message center device sends a second message to the user equipment when the user equipment is in an online state.
[0099] The message center device directly forwards the second message to the user device to achieve real-time communication, improves the real-time nature of information transmission, avoids the cost and management problems caused by storing a large number of messages in the message center, and reduces the risk of data loss when storing messages.
[0100] In some embodiments, in step S210, the AI dialogue device determines whether the user device is offline through a status report, including: after the AI dialogue device receives the status report, it analyzes through a preset terminal offline status code table whether the received status report failed to be sent due to the user device being offline.
[0101] Analyzing the received status reports through the preset status code table helps to quickly locate and diagnose problems, improve the system's real-time response speed to changes in device status, and analyze based on the preset status code table can realize automated processing, reduce manual intervention, improve processing efficiency and accuracy, and reduce system operating costs.
[0102] In one example, as shown in Table 3, the status report may include a receipt, an error code, and an error reason.
[0103] Table 3 Status report
[0104] Receipt (deliveryStatus) Error code (description) Error reason (text) DeliveryImpossible SVC0002 dest user offline DeliveryImpossible SVC4001 dest user offline
[0105] In some embodiments, before step S207, the method further includes:
[0106] The AI dialogue device obtains the message service type sent by the user device and the device capability of the user device from the message management platform device;
[0107] The AI dialogue device determines the message sending method based on the preset correspondence between the message service type, device capabilities and sending method.
[0108] Determining the sending method based on the device capabilities of the user's device and the type of message service can provide more personalized communication services to ensure that messages are delivered in the best possible way, improve communication quality, and reduce message sending errors or failures due to incompatibility or lack of support.
[0109] In some embodiments, the device information and service message type of the user device are stored in the message management platform device through a registry, and the AI dialogue device obtains the device type and service message type of the user device, including: querying the latest registry corresponding to the user device identifier from the registry of the user device through the device capability query interface. For example, when a registry exists for the user device, the user device is a 5G message terminal.
[0110] By querying the registry to determine the device capabilities and business message types of the user's device, the sending method can be flexibly customized according to the business characteristics, which helps to send communication content suitable for its capabilities, improve the accuracy and effectiveness of communication, and provide services that better meet user needs. When the device capabilities do not match, it can be discovered in time to reduce communication failures caused by device incompatibility.
[0111] In some embodiments, the message management platform device only saves the user device registry within a set time, ensuring that the data in the registry is always up-to-date and valid, avoiding the storage of expired or invalid data, effectively saving storage space, improving system performance and response speed, and speeding up the efficiency of registry access.
[0112] In an example, the message service type, i.e., the corresponding sending method, can be preset and classified according to the multimedia requirements and timeliness of the message. The service type classification is shown in Table 4, including plain text messages, plain picture messages, and user picture verification messages; the correspondence between the message service type, device capabilities, and sending methods is shown in Table 5.
[0113] Table 4 Message service types
[0114]
[0115] Table 5 Correspondence between message service types, device capabilities, and sending methods
[0116] Business Type Equipment Capabilities Sending method Short text messages No requirement Multimedia message fallback SMS Repostable picture message No requirement Multimedia message falls back to MMS User picture verification message 5G messaging terminal Strong reach multimedia messaging
[0117] In some embodiments, before the AI dialogue device obtains the message service type sent by the user device and the device capability of the user device, the method further includes:
[0118] User equipment registers with the message center equipment and sends message services;
[0119] The message center device obtains the device information of the user device and synchronizes the device information and message services to the message management platform device, wherein the device information at least includes the device capability.
[0120] It ensures that the user equipment can establish an effective connection with the message center equipment and successfully send message services, thereby achieving timely delivery and processing of messages.
[0121] In some embodiments, the user device is authenticated and registered to the message center device through authentication and key agreement (AKA), and the user device and the message center device negotiate a shared key, which can prevent unauthorized devices from accessing the system, improve the security and protection capabilities of the system, and ensure the confidentiality and confidentiality of communication data.
[0122] In some embodiments, when the user equipment registers, the message center device integrates the user equipment information of the device management DM interface and the session initiation protocol SIP registration interface of the user equipment and saves it to the user equipment registration table of the message management platform.
[0123] In an example, the user equipment information of the DM interface is shown in Table 6, including the terminal manufacturer, terminal model, terminal software version, converged communication service client RCS client manufacturer, converged communication service client RCS client version, terminal IMSI parameters, terminal mobile phone number and supported 5G message capability set; the user equipment information of the SIP registration interface is shown in Table 7, including IMS public user identity (IMS Public User identity, IMPU), IMS private user ID (IMS Privateuser Identity, IMPI) and terminal registration time Reg_time.
[0124] Table 6 User equipment information of DM interface
[0125]
[0126] Table 7 User equipment information of SIP registration interface
[0127]
[0128] Figure 4 1 is a schematic diagram of a message transmission device deployed in a message center device provided in an embodiment of the present application. Figure 4 As shown, the device may include an acquisition module 401 , a cache module 402 , a receiving module 403 and a sending module 404 .
[0129] The acquisition module 401 is used to receive a first message sent by a message management platform device, where the first message is a message sent by an artificial intelligence AI dialogue device to the message management platform device when the user device is offline;
[0130] The cache module 402 is used to cache the first message and send a cache response message to the message management platform device, so that the message management platform device sends a wake-up message to the user equipment, so that the user equipment registers and goes online based on the wake-up message;
[0131] The receiving module 403 is used to receive an acquisition request sent by a user equipment;
[0132] The sending module 404 is configured to send the cached first message to the user equipment according to the acquisition request.
[0133] The message center platform receives the first message sent by the message management platform through the acquisition module, caches and sends the cache response message through the cache module, realizes the persistent storage of the message when the user device is offline and notifies the message management platform that the message has been stored. After the receiving module receives the acquisition request sent by the user device, it sends the first message through the sending module to ensure that the user device can receive the cached message in time, thereby improving the timeliness of message delivery.
[0134] In some embodiments, the receiving module is further used to receive a second message sent by the message management platform device, where the second message is a message sent by the AI dialogue device to the message management platform device, and the second message includes a user device identifier;
[0135] The acquisition module is also used to acquire a registry of the user device according to the user identifier, the registry including the status of the user device;
[0136] The sending module is also used to send a status report to the AI dialogue device when the status of the user device is offline.
[0137] In some embodiments, the sending module is also used to send a status report to the message management platform device when the status of the user device is offline, so that the message management platform device sends a status report to the AI dialogue device.
[0138] Figure 4 The various modules in the device shown can be implemented Figure 2 Each step in the above steps can achieve the corresponding technical effect, which will not be repeated here for the sake of brevity.
[0139] Figure 5 1 is a schematic diagram of a message transmission device deployed on a message management platform device provided in an embodiment of the present application. Figure 5 As shown, the device may include an acquisition module 501 , a sending module 502 , a receiving module 503 and a responding module 504 .
[0140] An acquisition module 501 is used to receive a first message sent by an AI dialogue device when it is determined that the user device is offline;
[0141] A sending module 502, configured to send a first message to a message center device, so that the message center device caches the first message;
[0142] The receiving module 503 is used to receive the cache response message sent by the message center device;
[0143] The response module 504 is used to send a wake-up message to the user equipment in response to the cache response message, so that the user equipment can register and go online according to the wake-up message and obtain the first message from the message center device.
[0144] The message management platform forwards the first message sent by the AI dialogue device to the message center device through the acquisition module and the sending module, so that the first message can be cached by the message center in time. The receiving module receives the cached response message and sends a wake-up message through the response module to wake up the user device to go online and receive the first message, thereby achieving the reach rate of message delivery.
[0145] In some embodiments, the receiving module is further configured to receive a second message sent by the AI dialogue device;
[0146] The sending module is also used to send a second message to the message center device, the second message includes a user equipment identifier, so that the message center device obtains a registration table of the user equipment, and determines the state corresponding to the user equipment identifier based on the state of the user equipment included in the registration table;
[0147] The receiving module is also used to receive a status report sent by the message center platform when the message center device determines that the status corresponding to the user equipment identifier is an offline state, and the status report includes that the status corresponding to the user equipment identifier is an offline state;
[0148] The sending module is also used to send status reports to the AI dialogue device.
[0149] In some embodiments, the wake-up message includes a wake-up SMS message, and the cache response message includes IMSI information;
[0150] The response module is also used to generate a wake-up SMS message according to the IMSI information in the cache response message and in a preset activation instruction format, wherein the wake-up SMS message includes the IMSI information;
[0151] The sending module is also used to send a wake-up SMS message to the user equipment.
[0152] Figure 5 The various modules in the device shown can be implemented Figure 2 Each step in the above steps can achieve the corresponding technical effect, which will not be repeated here for the sake of brevity.
[0153] Figure 6 1 is a schematic diagram of a message transmission device deployed in a user equipment according to an embodiment of the present application. Figure 6 As shown, the device may include a receiving module 601 and an acquiring module 602 .
[0154] The receiving module 601 is used to receive a wake-up message sent by the message management platform device when the message center device caches the first message;
[0155] An acquisition module 602 is used to register and go online based on the wake-up message, and obtain a first message from a message center device;
[0156] Among them, the first message is a message sent by a message management platform device received by a message center device, and the first message is a message sent by an AI dialogue device to a message management platform when the user device is offline.
[0157] The user device obtains the wake-up message through the receiving module and obtains the notification of receiving the cached message. The acquisition module obtains the first message cached by the message center device, thereby realizing effective communication with the message center device when the user device is offline, thereby improving the reach and timeliness of message transmission.
[0158] In some embodiments, the wake-up message includes a wake-up text message;
[0159] The receiving module is also used to intercept the wake-up SMS message through the message application of the user equipment at the predefined receiving interface.
[0160] In some embodiments, the wake-up SMS includes IMSI information of the user device;
[0161] The acquisition module is also used to acquire the IMSI information in the wake-up SMS when the content of the wake-up SMS is in the same format as the preset activation instruction;
[0162] The acquisition module is also used for, when the IMSI information contained in the wake-up SMS is the same as the IMSI information of the user equipment, the user equipment registers and goes online to receive the cached message stored in the message center.
[0163] Figure 6 The various modules in the device shown can be implemented Figure 2 Each step in the above steps can achieve the corresponding technical effect, which will not be repeated here for the sake of brevity.
[0164] Figure 7 A schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application is shown.
[0165] The terminal device may include a processor 701 and a memory 702 storing computer program instructions.
[0166] Specifically, the processor 701 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0167] The memory 702 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 702 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In one example, the memory 702 may include a removable or non-removable (or fixed) medium, or the memory 702 is a non-volatile solid-state memory. The memory 702 may be inside or outside the integrated gateway disaster recovery device.
[0168] In one example, the memory 702 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method of message transmission according to the present disclosure.
[0169] The processor 701 reads and executes the computer program instructions stored in the memory 702 to implement Figure 2 The message transmission method in the illustrated embodiment.
[0170] In one example, the terminal device may further include a communication interface 703 and a bus 704. Figure 7 As shown, the processor 701, the memory 702, and the communication interface 703 are connected via a bus 704 and communicate with each other.
[0171] The communication interface 703 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0172] Bus 704 includes hardware, software or both, and the components of terminal equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, front side bus (Front Side Bus, FSB), Hyper Transport (Hyper Transport, HT) interconnection, industry standard architecture (Industry Standard Architecture, ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 704 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0173] In addition, in combination with the message transmission method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the message transmission methods in the above embodiment is implemented.
[0174] An embodiment of the present application also provides a computer program product, including a computer program, which implements any one of the message transmission methods in the above embodiments when the computer program is processed and executed.
[0175] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0176] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or text segments used to perform the required tasks. The program or text segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link via a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memories (Read-Only Memory, ROM), flash memory, erasable read-only memories (Erasable ReadOnly Memory, EROM), floppy disks, compact discs (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The text segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0177] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0178] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0179] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A message transmission method, characterized in that: Applied to a message center device, the method comprises: Receive a first message sent by a message management platform device, where the first message is a message sent by an artificial intelligence AI dialogue device to the message management platform device when the user device is offline; Cache the first message, and send a cache response message to the message management platform device, so that the message management platform device sends a wake-up message to the user equipment, so that the user equipment registers and goes online based on the wake-up message; Receiving an acquisition request sent by a user device; Sending the cached first message to the user equipment according to the acquisition request.
2. The message transmission method according to claim 1, characterized in that: Before receiving the first message sent by the message management platform device, the method further includes: receiving a second message sent by the message management platform device, where the second message is a message sent by the AI dialogue device to the message management platform device, and the second message includes a user device identifier; Acquire a registration table of the user equipment according to the user equipment identifier, where the registration table includes a status of the user equipment; When the state of the user equipment identification is an offline state, a state report is sent to the AI dialogue device.
3. The message transmission method according to claim 2, characterized in that: When the state of the user device is offline, sending a state report to the AI dialogue device includes: When the status of the user device is offline, a status report is sent to a message management platform device, so that the message management platform device sends the status report to the AI dialogue device.
4. The message transmission method according to claim 2, characterized in that: After obtaining a registration table of the user equipment according to the user equipment identifier, the method further includes: When the state of the user equipment is an online state, a second message is sent to the user equipment.
5. A message transmission method, characterized in that: Applied to a message management platform device, the method comprises: When determining that the user device is offline, receiving a first message sent by the AI dialogue device; Sending the first message to a message center device, so that the message center device caches the first message; Receiving a cache response message sent by the message center device; In response to the cache response message, a wake-up message is sent to the user equipment, so that the user equipment registers and goes online according to the wake-up message, and obtains a first message from the message center device.
6. The message transmission method according to claim 5, characterized in that: Before receiving the cached message sent by the AI dialogue device, the method further includes: Receiving a second message sent by the AI dialogue device; Sending the second message to the message center device, the second message including the user equipment identifier, so that the message center device obtains a registration table of the user equipment, and determines the state corresponding to the user equipment identifier based on the state of the user equipment included in the registration table; When the message center device determines that the state corresponding to the user equipment identifier is an offline state, receiving a state report sent by the message center platform, the state report including that the state corresponding to the user equipment identifier is an offline state; Send the status report to the AI dialogue device.
7. The message transmission method according to claim 5 or 6, characterized in that: The wake-up message includes a wake-up SMS message, and the cache response message includes IMSI information; and sending the wake-up message to the user equipment in response to the cache response message includes: Generate a wake-up SMS message according to the IMSI information in the cache response message and in a preset activation instruction format, wherein the wake-up SMS message includes the IMSI information; Send a wake-up SMS message to the user's device.
8. A message transmission method, characterized in that: Applied to user equipment, the method comprises: In the case where the message center device caches the first message, receiving a wake-up message sent by the message management platform device; Registering and going online based on the wake-up message, and obtaining a first message from a message center device; Among them, the first message is a message sent by a message management platform device and received by the message center device, and the first message is a message sent by the AI dialogue device to the message management platform when the user device is offline.
9. The message transmission method according to claim 8, characterized in that: The wake-up message includes a wake-up SMS; the wake-up message sent by the receiving message management platform device includes: The wake-up SMS is intercepted by a message application of the user device at a predefined receiving interface.
10. The message transmission method according to claim 9, characterized in that: The wake-up SMS includes the IMSI information of the user equipment; the registering and going online based on the wake-up message and obtaining the cached message from the message center device includes: When the content of the wake-up SMS is the same as the preset activation instruction format, obtaining the IMSI information in the wake-up SMS; When the IMSI information included in the wake-up SMS is the same as the IMSI information of the user equipment, the user equipment registers and goes online to receive the cached message stored in the message center.
Citation Information
Patent Citations
APP offline call implementation method, device and equipment and medium
CN111010374A
5G message processing method and device
CN113938847A
5G message fallback method and system, computing device and storage medium
CN114449458A
Method and device for improving 5G message arrival timeliness rate
CN115696233A
5G message terminal identification method, service platform and storage medium
CN116782367A
Cited By
Message delivery method and device, electronic equipment, storage medium and product
CN121619543A
