Message transmission method, device, equipment, medium and product
By storing and generating material links on the 5G message communication platform, the problem of excessive bandwidth consumption during retransmission of Beidou short message messages is solved, and efficient transmission and bandwidth saving effect is achieved.
Patent Information
- Application Number
- CN202411563569.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-02-14
AI Technical Summary
In the prior art, every time the Beidou short message message is retransmitted, the bandwidth consumes too much.
Through the 5G message communication platform, the target chatbot is determined based on the chatbot information in the Beidou short message message, the message is uploaded to the 5G message platform to store, and a material link is generated to send it to the Beidou terminal. During retransmission, use stored material files and links to transfer to avoid duplicate uploading of files.
Saves the bandwidth required to re-upload files, improves transmission efficiency, and reduces operational complexity and transmission delay.
Smart Images

Figure CN119450377A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device, equipment, medium and product for message transmission. Background Art
[0002] Beidou short message is a unique communication function provided by the Beidou satellite navigation system. It uses satellite signals to realize two-way short text communication between users and users, and users and central control systems.
[0003] Beidou short message service allows users to transmit text, voice, images and other data types through Beidou satellites. Beidou terminals send Beidou short messages to ground stations through Beidou satellites. Beidou short messages contain material files. The ground station then sends the message to the target terminal through Beidou integrated 5G communication platform and core network equipment. When the Beidou short message is not received successfully and needs to be retransmitted, the same transmission process is performed again.
[0004] However, the prior art has the problem of excessive bandwidth consumption each time a Beidou short message is retransmitted. Summary of the invention
[0005] The embodiments of the present application provide a method, apparatus, device, medium and product for message transmission, which are used to solve the problem of excessive bandwidth consumption each time a Beidou short message is retransmitted.
[0006] In a first aspect, an embodiment of the present application provides a message transmission method, which is applied to a 5G message communication platform, including:
[0007] Determine the target chatbot according to the chatbot information in the first Beidou short message, where the target chatbot represents the service interface of the operator to which the 5G messaging platform belongs;
[0008] According to the target chatbot, the first Beidou short message is uploaded to the 5G messaging platform, so that the 5G messaging platform stores the first material file in the first Beidou short message, generates a first material link according to the first material file, and sends the first material link to the Beidou terminal;
[0009] Receiving a second Beidou short message generated by the Beidou terminal according to the first Beidou short message and the first material link;
[0010] According to the target chatbot in the second Beidou short message, the first material file is downloaded from the 5G messaging platform to the target terminal.
[0011] In a possible implementation, determining a target chatbot according to chatbot information in the first Beidou short message includes:
[0012] Receive a first Beidou short message sent by a Beidou terminal, where the first Beidou short message consists of a message header and a message body, wherein the message header includes chatbot information, and the message body includes a first material file;
[0013] Parse the first Beidou short message to obtain chatbot information, where the chatbot information includes a chatbot identifier;
[0014] Determine the target chatbot according to the chatbot identifier in the chatbot information.
[0015] In a possible implementation, uploading the first Beidou short message to the 5G messaging platform according to the target chatbot includes:
[0016] According to the target chatbot, obtain the chatbot push address, where the chatbot push address represents the SMS interface address of the target chatbot;
[0017] According to the chatbot push address, upload the first Beidou short message to the 5G messaging platform.
[0018] In a possible implementation manner, the second Beidou short message is obtained by the Beidou terminal replacing the first material file in the first Beidou short message according to the first material link.
[0019] In a possible implementation, according to the target chatbot in the second Beidou short message, downloading the first material file from the 5G message platform to the target terminal includes:
[0020] Perform protocol conversion on the message header and the message body in the second Beidou short message to obtain a first 5G message;
[0021] According to the chatbot push address and target terminal number corresponding to the first 5G message, the first 5G message is sent to the target terminal, so that the target terminal downloads the first material file from the 5G message platform.
[0022] In a possible implementation, the method further includes:
[0023] Receiving a push message, where the push message is used to indicate that a second material file uploaded by the target terminal is transmitted to the Beidou terminal;
[0024] According to the second material link in the push message, download the second material file from the 5G message platform, where the second material file in the 5G message platform is parsed from the uplink 5G message uploaded by the target terminal;
[0025] Obtain a second 5G message according to the pushed message and the second material file;
[0026] Send the second 5G message to the Beidou terminal.
[0027] In a possible implementation manner, the Beidou terminal has a binding relationship with the target terminal.
[0028] In a second aspect, an embodiment of the present application provides a message transmission device, including:
[0029] A confirmation module is used to determine a target chatbot according to the chatbot information in the first Beidou short message, where the target chatbot represents a service interface of the operator to which the 5G messaging platform belongs;
[0030] An uploading module is used to upload the first Beidou short message to the 5G messaging platform according to the target chatbot, so that the 5G messaging platform stores the first material file in the first Beidou short message, generates a first material link according to the first material file, and sends the first material link to the Beidou terminal;
[0031] A receiving module, receiving a second Beidou short message generated by the Beidou terminal according to the first Beidou short message and the first material link;
[0032] The download module downloads the first material file from the 5G message platform to the target terminal according to the target chatbot in the second Beidou short message.
[0033] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0034] Memory stores computer-executable instructions;
[0035] The processor executes the computer-executable instructions stored in the memory to implement the methods provided in the first aspect and various possible designs.
[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the method provided in the first aspect and various possible designs.
[0037] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, is used to implement the first aspect and the methods provided by various possible designs.
[0038] A message transmission method provided by an embodiment of the present application, a 5G message communication platform uploads a first Beidou short message to the 5G message platform, so that the 5G message platform stores a first material file in the first Beidou short message. When the target terminal fails to receive the first Beidou short message, the first Beidou short message needs to be retransmitted. At this time, there is no need to upload the first material file again, and only the first material file stored in the 5G message platform can be used, thereby saving the bandwidth required for re-uploading the file. At the same time, the 5G message platform generates a first material link according to the first material file, and sends the first material link to the Beidou terminal. The Beidou terminal generates a second Beidou short message by combining the first Beidou short message and the first material link. According to the target chatbot in the second Beidou short message, the first material file is downloaded from the 5G message platform to the target terminal, thereby realizing the material transmission between the Beidou terminal and the 5G message platform by using the material link, and achieving the effect of downloading the material file according to the material link, thereby solving the problem of excessive bandwidth consumption each time the Beidou short message is retransmitted. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the description, are used to explain the principles of the embodiments of the present application.
[0040] Figure 1 A schematic diagram of a scenario of a message transmission method provided in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of a message transmission method provided in an embodiment of the present application Figure 1 ;
[0042] Figure 3 A schematic diagram of a message transmission method provided in an embodiment of the present application Figure 2 ;
[0043] Figure 4 A schematic diagram of a message transmission method provided in an embodiment of the present application Figure 3 ;
[0044] Figure 5 A schematic diagram of a message transmission method provided in an embodiment of the present application Figure 4 ;
[0045] Figure 6 A schematic diagram of the structure of a message transmission device provided in an embodiment of the present application;
[0046] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0047] The above drawings have shown clear embodiments of the embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the embodiments of the present application in any way, but to illustrate the concepts of the embodiments of the present application for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the appended claims.
[0049] First, the terms involved in the embodiments of the present application are explained:
[0050] Beidou Short Message Protocol: Part of China's Beidou satellite navigation system, used to implement short message communication functions. This protocol allows users to send and receive short messages via Beidou satellites, similar to SMS service;
[0051] RCS protocol (Rich Communication Services): a communication protocol that supports the transmission of pictures, videos and audio, used for SMS services;
[0052] Beidou short message: refers to a communication method that uses the Beidou satellite navigation system to transmit short messages. Through this technology, users can send and receive short text messages in areas without ground communication network coverage;
[0053] Beidou short message: Beidou short message consists of a message header and a message body. The message header is mainly responsible for carrying the attribute information of the message, such as the message type, receiver information, sender information and protocol identifier. The message body contains text and material files, and its upper limit is 3K. For messages exceeding 3K, the Beidou short message is split into fixed lengths according to the preset length and sent in segments by uploading in packets;
[0054] Chatbot: refers to an automated chatbot based on artificial intelligence technology deployed by operators on the 5G messaging platform. It is used to answer common questions, provide required business support interfaces, handle business inquiries and services, etc. It receives external files through the chatbot push address;
[0055] Chatbot information: including the chatbot identifier that is unique to the chatbot. The 5G messaging platform determines the target chatbot based on the chatbot identifier.
[0056] Beidou terminal: refers to the equipment that uses the Beidou satellite navigation system for positioning, navigation and communication. These terminals can receive Beidou satellite signals to achieve accurate geographic location positioning and navigation functions. In addition, Beidou terminals also have short message communication functions, which can send and receive short text messages in areas without ground communication network coverage;
[0057] Ground station: responsible for monitoring the operating status of Beidou satellites, receiving and processing Beidou satellite signals, etc.
[0058] Beidou fusion 5G communication platform: responsible for the management and maintenance of 5G network, data processing, routing and management of Beidou short message, and chatbot management. Beidou fusion 5G communication platform includes the 5G message communication platform in the embodiment of this application;
[0059] Core network equipment: responsible for 5G message data processing, routing and management, supporting large-scale device connection and high-speed data transmission. The core network equipment includes the 5G message platform that appears in the embodiment of this application;
[0060] Target terminal: refers to smart terminals that support 5G communication protocols, including computers, tablets, and mobile phones;
[0061] Beidou Terminal SDK (Software Development Kit): includes a material processing interface to realize the download function of material files, convert Beidou short message into HTML (HyperText Markup Language) web page for terminal display, and a message parsing interface to parse the material files in Beidou short message.
[0062] Figure 1 A scenario diagram of a message transmission method provided in an embodiment of the present application, such as Figure 1 As shown, the executor of a message transmission method provided in an embodiment of the present application may be a Beidou 5G converged communication system. The embodiment of the present application does not limit the Beidou 5G converged communication system. The system may include: Beidou terminal 101, Beidou satellite 102, ground station 103, Beidou converged 5G communication platform 104, core network equipment 105 and target terminal 106.
[0063] In the prior art, the process of the Beidou terminal 101 sending a message to the target terminal is as follows. The Beidou terminal 101 edits the Beidou short message, which contains the material file uploaded by the Beidou terminal 101. The ground station 103 receives the Beidou short message through the Beidou satellite 102, and sends the message to the Beidou fusion 5G communication platform 104 according to the recipient of the message header in the Beidou short message. The Beidou fusion 5G communication platform 104 parses the Beidou short message to obtain the number and message content of the target terminal 106, and according to the number and message content of the target terminal 106, processes the message content through data to make it conform to the communication protocol of the target terminal 106, and sends the message to the core network device 105. The core network device 105 sends the message to the target terminal 106.
[0064] In the above communication process, if the target terminal does not receive the short message and needs to retransmit, because the Beidou terminal 101 and the Beidou fusion 5G communication platform 104 are two independent systems and lack unified authentication to retain the material files, the Beidou terminal 101 needs to re-upload the material files and then send them to the target terminal 106 through the ground station 103 and the Beidou fusion 5G communication platform 104, and each time it is transmitted in the form of a material file, which not only increases bandwidth consumption and transmission delay, but also increases the complexity of operation.
[0065] A message transmission method provided in an embodiment of the present application, in order to prevent repeated transmission of material files each time a Beidou short message is retransmitted, a first material file is uploaded to a 5G message platform for the first time for storage, and a target chatbot is determined based on the chatbot information in the first Beidou short message. In order to further save bandwidth, a first material link is generated and sent to a Beidou terminal. In subsequent transmission processes, the first material link is used for transmission without using the material file for transmission. Each time the Beidou short message information needs to be retransmitted to the target terminal, the Beidou terminal can first generate a second Beidou short message based on the first Beidou short message and the first material link, and then download the first material file from the 5G message platform to the target terminal according to the target chatbot, thereby solving the problem of excessive bandwidth consumption each time the Beidou short message is retransmitted.
[0066] The following specific embodiments are used to describe in detail the technical solutions of the embodiments of the present application and how the technical solutions of the embodiments of the present application solve the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0067] Figure 2 A schematic diagram of a message transmission method provided in an embodiment of the present application Figure 1 ,like Figure 2 As shown, the message transmission method can be implemented by the following steps:
[0068] S201. Determine a target chatbot according to chatbot information in a first Beidou short message.
[0069] Among them, the first Beidou short message is obtained by the Beidou terminal receiving the user editing operation. In the embodiment of the present application, the 5G message communication platform sends the first Beidou short message to the 5G message platform according to the chatbot information in the message header of the first Beidou short message.
[0070] In the message header of the first Beidou short message, the chatbot information may include a chatbot identifier and a chatbot version. The 5G message communication platform extracts the chatbot identifier from the message header of the first Beidou short message, queries the chatbot corresponding to the identifier, and thereby determines the target chatbot. The target chatbot may be an application interface of the target chatbot. Through the above method, the target chatbot corresponding to the first Beidou short message is determined.
[0071] Among them, in the embodiment of the present application, determining the target chatbot according to the chatbot information in the first Beidou short message includes:
[0072] Receive a first Beidou short message sent by a Beidou terminal, where the first Beidou short message consists of a message header and a message body, wherein the message header includes chatbot information, and the message body includes a first material file;
[0073] Parse the first Beidou short message to obtain chatbot information, where the chatbot information includes a chatbot identifier;
[0074] Determine the target chatbot according to the chatbot identifier in the chatbot information.
[0075] Among them, parsing the first Beidou short message message refers to the process in which the 5G message communication platform extracts the chatbot identifier in the chatbot information from the first Beidou short message message header through the Beidou short message protocol. The Beidou short message protocol may refer to the Beidou-3 regional short message communication user terminal interface specification. According to the application identifier of the Beidou-3 regional short message communication user terminal interface specification, the chatbot information is extracted.
[0076] S202. According to the target chatbot, upload the first Beidou short message to the 5G messaging platform, so that the 5G messaging platform stores the first material file in the first Beidou short message, generates a first material link according to the first material file, and sends the first material link to the Beidou terminal.
[0077] Among them, uploading the first Beidou short message to the 5G message platform may mean that the 5G message communication platform uploads the first material file in the first Beidou short message to the 5G message platform based on the target chatbot.
[0078] The first material file may refer to a data file sent along with the short message, which may be a picture, an audio clip, or a video. After receiving the first material file, the 5G messaging platform may store the first material file and generate a corresponding first material link based on the storage location. When there are multiple first material links, the 5G messaging platform may also generate a first sub-material link corresponding to each first material file.
[0079] Among them, in the embodiment of the present application, uploading the first Beidou short message to the 5G message platform according to the target chatbot may also include:
[0080] According to the target chatbot, obtain the chatbot push address, where the chatbot push address represents the SMS interface address of the target chatbot;
[0081] According to the chatbot push address, upload the first Beidou short message to the 5G messaging platform.
[0082] Among them, the chatbot push address can be an HTTPS (Hypertext Transfer Protocol Secure) endpoint address, which is used to receive an HTTPS request sent by the 5G message communication system. The HTTPS request can indicate the upload of a file. The HTTPS request can be pre-configured and stored in a configuration file. The chatbot push address can be obtained directly, or the push address of the target chatbot can be queried from the chatbot management system. In an embodiment of the present application, the chatbot push address is obtained by the 5G message communication platform sending an HTTP request to the target chatbot, and the push address represents the SMS interface address of the target chatbot.
[0083] In an embodiment of the present application, the 5G message communication platform sends an HTTPS request to the target chatbot, which is used to obtain the chatbot push address from the target chatbot. After receiving the request, the target chatbot sends the chatbot push address to the 5G message communication platform. The 5G message communication platform uploads the first material file to the 5G message platform by sending a first Beidou short message to the chatbot push address.
[0084] S203: Receive a second Beidou short message generated by the Beidou terminal according to the first Beidou short message and the first material link.
[0085] Among them, the second Beidou short message refers to the Beidou short message obtained after the Beidou terminal replaces the first material file in the first Beidou short message according to the first material link.
[0086] The replacement process may refer to replacing the original text content according to certain requirements, and the requirements may be determined according to specific circumstances. In an embodiment of the present application, the replacement process refers to replacing the first material file in the message body of the first Beidou short message with the first material link according to the correspondence between the first material link and the first material file, while the information of the message header in the first Beidou short message remains unchanged, so that the second Beidou short message contains the same header message as the first Beidou short message, and also contains the first material link corresponding to the first material file, thereby reducing the size of the short message and improving the transmission efficiency.
[0087] S204. According to the target chatbot corresponding to the second Beidou short message, the first material file is downloaded from the 5G message platform to the target terminal.
[0088] Among them, the target chatbot corresponding to the second Beidou short message may refer to a chatbot that receives and processes the second Beidou short message, and the chatbot is responsible for parsing the second Beidou short message and performing an application or service corresponding to the operation according to the information of the second Beidou short message. In an embodiment of the present application, the target chatbot downloads the first material file from the 5G message platform to the target terminal according to the information in the second Beidou short message.
[0089] The process of downloading the first material file from the 5G messaging platform to the target terminal may be that after determining the target chatbot, the target chatbot parses the information in the message header and the message body from the second Beidou short message, downloads the first material file according to the first material link in the message body, and sends the first material file to the target terminal after the download is complete.
[0090] Wherein, according to the target chatbot corresponding to the second Beidou short message, downloading the first material file from the 5G message platform to the target terminal includes:
[0091] Perform protocol conversion on the message header and the message body in the second Beidou short message to obtain a first 5G message;
[0092] According to the chatbot push address and target terminal number corresponding to the first 5G message, the first 5G message is sent to the target terminal, so that the target terminal downloads the first material file from the 5G message platform.
[0093] Among them, the protocol conversion process may refer to the process of converting data formats between different communication protocols. In an embodiment of the present application, the protocol conversion process is a process of converting the text content of the second Beidou short message according to a preset protocol to obtain a process that meets the requirements of the Beidou short message protocol. The preset protocol can be obtained from within the 5G message communication platform.
[0094] The first 5G message may refer to information obtained after protocol conversion processing. In an embodiment of the present application, the 5G message communication platform parses the second Beidou short message, extracts the receiver and sender information in its message header, and determines the message protocol that complies with both parties based on this information. The 5G message communication platform selects the content that needs to be converted according to the restrictions of the Beidou short message protocol, and converts the content into the required format. For example, when the conversion is limited to a format supported by the RCS protocol, and includes changing the protocol identifier, the first 5G message that complies with the RCS standard is generated. This process ensures seamless conversion and efficient transmission of messages between different protocols.
[0095] The chatbot push address corresponding to the first 5G message can be obtained by the 5G message communication platform sending an HTTP request to the target chatbot and receiving a response from the target chatbot.
[0096] The target terminal number may refer to a number or identifier used to identify the receiving device, and may have multiple forms, depending on the application scenario and design requirements. In some embodiments, the target terminal number may be obtained by parsing the message header of the first 5G message.
[0097] In an embodiment of the present application, after determining the chatbot push address and target terminal number corresponding to the first 5G message, the 5G message communication platform finds the corresponding target terminal according to the target terminal number, and then sends the first 5G message to the target terminal through the chatbot push address, so that the target terminal can download the first material file from the 5G message platform according to the first material link in the first 5G message.
[0098] A message transmission method provided in an embodiment of the present application determines the target chatbot through the chatbot information in the first Beidou short message, and then uploads the first Beidou short message to the 5G message platform according to the target chatbot, so that the 5G message platform stores the material file in the first Beidou short message, generates a first material link according to the material file, and sends the first material link to the Beidou terminal. When the target terminal needs the material file, it only needs to receive the second Beidou short message generated by the Beidou terminal according to the first Beidou short message and the first material link, and then download the material file from the 5G message platform to the target terminal according to the target chatbot in the second Beidou short message. This reduces the network transmission load when the same material file is transmitted multiple times, and avoids uploading the same material file multiple times during the retransmission of the Beidou short message, thereby improving the transmission efficiency.
[0099] Figure 3 A schematic diagram of a message transmission method provided in an embodiment of the present application Figure 2 ,like Figure 3 As shown, the following embodiment provides a method for message transmission, in which the target terminal transmits a material file to the Beidou terminal, and the implementation steps of the method are as follows:
[0100] S301: Receive a push message, where the push message is used to indicate that a second material file uploaded by a target terminal is transmitted to a Beidou terminal.
[0101] Among them, a push message may refer to a message used to instruct the 5G messaging platform or other recipients to perform a specific task. Such messages usually contain control information or instructions rather than actual data content. The push message includes a second material link, as well as other relevant information, such as the sender ID, the recipient ID, and the message type. The push message may be generated based on the second material file uploaded by the target terminal, and the second material link in the push message may be obtained based on the second material file.
[0102] S302. According to the second material link in the push message, download the second material file from the 5G message platform. The second material file in the 5G message platform is parsed from the uplink 5G message uploaded by the target terminal.
[0103] Among them, according to the second material link in the push message, the process of downloading the second material file from the 5G message platform can refer to the 5G message platform parsing the second material link in the push message, initiating an HTTP or HTTPS request through the link, downloading the second material file from the storage location of the 5G message platform, and receiving and processing the downloaded file content.
[0104] An uplink 5G message may refer to a message uploaded from a target terminal (such as a smartphone or other device) to a 5G messaging platform, which includes actual data content, such as text, images, and videos. For example, if a target terminal uploads a picture to a 5G messaging platform, the picture is an uplink 5G message, and is stored as a second material file on the 5G messaging platform. When it is desired to be transmitted to a Beidou terminal, the 5G messaging platform generates a push message, which includes a second material link, a sender ID, a receiver ID, and a message type.
[0105] The second material file may refer to a file of the same type as the first material file but with different content. The second material file may be a picture, an audio clip, or a video. However, the second material file is a file uploaded by the target terminal to the 5G message platform and ultimately sent to the Beidou terminal, while the first material file is a file uploaded by the Beidou terminal to the 5G message platform and ultimately sent to the target terminal.
[0106] S303. Obtain a second 5G message according to the push message and the second material file.
[0107] Among them, the second 5G message may refer to a 5G message that transmits the second material file from the 5G message platform to the Beidou terminal.
[0108] S304. Send the second 5G message to the Beidou terminal.
[0109] Among them, sending the second 5G message to the Beidou terminal can refer to the 5G message communication platform generating a second 5G message containing file data based on the downloaded second material file, and sending the message to the Beidou terminal through the 5G network, ensuring that the Beidou terminal can receive and process the second material file.
[0110] In an embodiment of the present application, in order to ensure the security and accuracy of data transmission, the Beidou terminal and the target terminal may have a binding relationship, which refers to a unique corresponding relationship established between the Beidou terminal and the target terminal. This relationship ensures that both parties can recognize and authenticate each other, thereby ensuring the reliability and security of data transmission. The binding relationship can be achieved through a pre-configured identifier or other authentication mechanism.
[0111] Among them, the target terminal sends a binding instruction message to the 5G message platform, and the content of the binding instruction message includes "BD-REG{BDNumber}#", where BD-REG represents the registration instruction, "{BDNumber}" represents the Beidou terminal number, the Beidou terminal number can be the card number of the Beidou terminal communication card, and "#" represents the terminator. After receiving the binding instruction message, the 5G message platform forwards the message to the 5G message communication platform. After receiving the binding instruction message, the 5G message communication platform parses the message, obtains the target terminal number and the Beidou terminal number, and binds the target terminal number to the Beidou terminal number. Among them, the target terminal number can be a mobile phone card number, and the Beidou terminal number can be a Beidou card number. By binding the target terminal number with the Beidou terminal number, the binding relationship between the Beidou terminal and the target terminal is determined.
[0112] A message transmission method provided by an embodiment of the present application receives a push message containing a link to a second material file uploaded by a target terminal and other related information, then downloads the second material file from a 5G message platform according to the second material link in the push message, then generates a second 5G message according to the push message and the second material file, and finally sends the second 5G message to a Beidou terminal, thereby ensuring that the material file can be efficiently and securely transmitted to the Beidou terminal, and reducing the number of uploads of the material file during the retransmission of the Beidou short message, thereby improving the overall transmission efficiency and reliability. In addition, a binding relationship is established between the Beidou terminal and the target terminal to ensure that both parties can recognize and authenticate each other, further ensuring the security and accuracy of data transmission.
[0113] Figure 4 A schematic diagram of a message transmission method provided in an embodiment of the present application Figure 3 ,like Figure 4 As shown, in Example 1, the process of the Beidou terminal transmitting a message to the target terminal is shown. After the Beidou terminal generates a second Beidou short message based on the first Beidou short message and the first material link, the second Beidou short message is sent to the 5G message communication platform, and the 5G message communication platform verifies the second Beidou short message. The verification process includes: access verification, risk control processing and billing processing of the second Beidou short message, wherein,
[0114] Access verification may include format verification and authority verification. Format verification may be to extract the message header part from the second Beidou short message and check whether the protocol identifier in the message header matches the Beidou short message protocol. Authority verification may be to extract the sender information of the second Beidou short message and check whether the sender number in the sender information has the sending authority.
[0115] Risk control processing includes blacklist checking and verification processing. The blacklist check can be to extract the sender information of the second Beidou short message and check whether the sender number in the sender information is in the blacklist. If it is in the blacklist, the message is intercepted. The verification processing checks the account status of the sender and the receiver to ensure that the account is valid and not blocked.
[0116] The billing process may be to calculate the charges according to predefined billing rules, and record the charges of the second Beidou short message into the billing system, to ensure that the service provider can generate subsequent bills according to the number and type of message sending.
[0117] After verifying the second Beidou short message, it is necessary to verify whether the second Beidou short message complies with the Beidou short message protocol, such as verifying whether the second Beidou short message complies with the RCS protocol. If not, reassemble the second Beidou short message into a format suitable for transmission on the 5G message platform according to the RCS protocol specification, and save the reassembled message record.
[0118] A message transmission method provided in an embodiment of the present application also performs access verification on the second Beidou short message received by the 5G message communication platform, including format verification and authority verification, and performs risk control processing, including blacklist check and account status verification, and also performs billing processing, and can record fees according to predefined rules. In addition, it also involves checking whether the message complies with the Beidou short message protocol. If not, the message is reorganized according to the Beidou short message protocol and the reorganized message record is saved. This series of verification processing not only ensures the compliance and security of the message, but also improves the reliability and efficiency of message transmission, and provides an accurate basis for subsequent billing.
[0119] Figure 5 A schematic diagram of a message transmission method provided in an embodiment of the present application Figure 4 ,like Figure 5 As shown, in Example 1, the process of the Beidou terminal transmitting a message to the target terminal is demonstrated. The target terminal sends an uplink 5G information to the 5G message platform, so that the 5G message platform extracts the second material file of the uplink 5G information, and sends a push message to the 5G message communication platform, thereby realizing binding with the target Beidou terminal. Subsequently, after the 5G message communication platform undergoes access authentication, risk control processing, and billing processing, the push information and the second material file are used to obtain the second 5G message. After converting the message into the format required by the Beidou short message protocol, the third Beidou short message information is obtained and sent to the target Beidou terminal, so that the Beidou terminal can download the second material file, thereby ensuring the safe transmission and efficient processing of messages.
[0120] The following is an apparatus embodiment of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the system embodiment of the present application, please refer to the method embodiment of the present application.
[0121] Figure 6 This is a schematic diagram of the structure of a message transmission device provided in an embodiment of the present application. Figure 6 As shown, the message transmission device 60 is applied to a 5G message communication platform, and the message transmission device 60 includes:
[0122] A confirmation module 61 is used to determine a target chatbot according to the chatbot information in the first Beidou short message, where the target chatbot represents a service interface of the operator to which the 5G messaging platform belongs;
[0123] In a possible implementation manner, the confirmation module 61 is specifically configured to:
[0124] Receive a first Beidou short message sent by a Beidou terminal, where the first Beidou short message consists of a message header and a message body, wherein the message header includes chatbot information, and the message body includes a first material file;
[0125] Parse the first Beidou short message to obtain chatbot information, where the chatbot information includes a chatbot identifier;
[0126] Determine the target chatbot according to the chatbot identifier in the chatbot information.
[0127] The uploading module 62 is used to upload the first Beidou short message to the 5G message platform according to the target chatbot, so that the 5G message platform stores the first material file in the first Beidou short message, generates a first material link according to the first material file, and sends the first material link to the Beidou terminal;
[0128] In a possible implementation manner, the upload module 62 is specifically used for:
[0129] According to the target chatbot, a chatbot push address is obtained, wherein the chatbot push address represents the IP (Internet Protocol) address of the target chatbot;
[0130] According to the chatbot push address, upload the first Beidou short message to the 5G messaging platform.
[0131] A receiving module 63 receives a second Beidou short message generated by the Beidou terminal according to the first Beidou short message and the first material link;
[0132] In a possible implementation manner, the receiving module 63 is specifically configured to:
[0133] The first material file in the first Beidou short message is replaced.
[0134] The download module 64 downloads the first material file from the 5G messaging platform to the target terminal according to the target chatbot corresponding to the second Beidou short message;
[0135] In a possible implementation, the download module 64 is specifically used for:
[0136] Perform protocol conversion on the message header and the message body in the second Beidou short message to obtain a first 5G message;
[0137] According to the chatbot push address and target terminal number corresponding to the first 5G message, the first 5G message is sent to the target terminal, so that the target terminal downloads the first material file from the 5G message platform.
[0138] An embodiment of the present application provides a message transmission device, which can be used to execute the message transmission method in any of the above embodiments. Its implementation principle and technical effect are similar and will not be repeated here.
[0139] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, all or part of them can be integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements. They can also be implemented in the form of hardware. Some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. In addition, all or part of these modules can be integrated together or implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0140] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device 70 includes a processor 71, a memory 72, and computer program instructions stored in the memory 72 and executable on the processor 71. When the processor 71 executes the computer program instructions, a message transmission method provided by any of the aforementioned embodiments is implemented.
[0141] Optionally, the above-mentioned various devices on the electronic device may be connected via a system bus.
[0142] The memory 72 may be a separate storage unit or a storage unit integrated in the processor. The number of processors is one or more.
[0143] Optionally, the electronic device may further include a communication interface for interacting with other devices.
[0144] It should be understood that the processor 71 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0145] The system bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.
[0146] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The above-mentioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed. The above-mentioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.
[0147] The electronic device provided in the embodiment of the present application can be used to execute a message transmission method provided in any of the above method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.
[0148] An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed on a computer, the computer executes the above-mentioned message transmission method.
[0149] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0150] Optionally, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0151] An embodiment of the present application also provides a computer program product, which includes a computer program. The computer program is stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, the above-mentioned message transmission method can be implemented.
[0152] It should be understood that the present application is not limited to the precise structure described above and shown in the drawings, and various modifications and changes may be made without departing from its scope. The scope of the embodiments of the present application is limited only by the appended claims.
Claims
1. A message transmission method, characterized in that: Applied to a 5G message communication platform, the method includes: Determine a target chatbot according to the chatbot information in the first Beidou short message, where the target chatbot represents a service interface of the operator to which the 5G messaging platform belongs; According to the target chatbot, uploading the first Beidou short message to the 5G messaging platform, so that the 5G messaging platform stores the first material file in the first Beidou short message, and then generating a first material link according to the first material file, and sending the first material link to the Beidou terminal; Receiving a second Beidou short message generated by the Beidou terminal according to the first Beidou short message and the first material link; According to the target chatbot in the second Beidou short message, the first material file is downloaded from the 5G messaging platform to the target terminal.
2. The method according to claim 1, characterized in that Determining the target chatbot according to the chatbot information in the first Beidou short message includes: Receive a first Beidou short message sent by the Beidou terminal, wherein the first Beidou short message consists of a message header and a message body, wherein the message header includes chatbot information, and the message body includes a first material file; Parse the first Beidou short message to obtain chatbot information, where the chatbot information includes a chatbot identifier; The target chatbot is determined according to the chatbot identifier in the chatbot information.
3. The method according to claim 1, characterized in that The uploading the first Beidou short message to the 5G message platform according to the target chatbot includes: According to the target chatbot, a chatbot push address is obtained, wherein the chatbot push address represents the SMS interface address of the target chatbot; According to the chatbot push address, upload the first Beidou short message to the 5G messaging platform.
4. The method according to claim 1, characterized in that: The second Beidou short message is obtained after the Beidou terminal replaces the first material file in the first Beidou short message according to the first material link.
5. The method according to claim 1, characterized in that The downloading of the first material file from the 5G messaging platform to the target terminal according to the target chatbot in the second Beidou short message includes: Performing protocol conversion on the message header and the message body in the second Beidou short message to obtain a first 5G message; According to the chatbot push address and target terminal number corresponding to the first 5G message, the first 5G message is sent to the target terminal, so that the target terminal downloads the first material file from the 5G message platform.
6. The method according to claim 1, characterized in that The method further comprises: Receiving a push message, the push message being used to indicate a message for transmitting the second material file uploaded by the target terminal to the Beidou terminal; Downloading the second material file from the 5G message platform according to the second material link in the push message, where the second material file in the 5G message platform is parsed from the uplink 5G message uploaded by the target terminal; Obtaining a second 5G message according to the push message and the second material file; Send the second 5G message to the Beidou terminal.
7. The method according to any one of claims 1 to 6, characterized in that The Beidou terminal has a binding relationship with the target terminal.
8. A message transmission device, characterized in that: include: A confirmation module, used to determine a target chatbot according to the chatbot information in the first Beidou short message, where the target chatbot represents a service interface of the operator to which the 5G messaging platform belongs; An uploading module, configured to upload the first Beidou short message to the 5G messaging platform according to the target chatbot, so that the 5G messaging platform stores the first material file in the first Beidou short message, generates a first material link according to the first material file, and sends the first material link to the Beidou terminal; A receiving module, receiving a second Beidou short message generated by the Beidou terminal according to the first Beidou short message and the first material link; The download module downloads the first material file from the 5G messaging platform to the target terminal according to the target chatbot in the second Beidou short message.
9. An electronic device, characterized in that: include: a processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.