CN114286302A - System and method for generating 5G message - Google Patents

System and method for generating 5G message Download PDF

Info

Publication number
CN114286302A
CN114286302A CN202111586785.1A CN202111586785A CN114286302A CN 114286302 A CN114286302 A CN 114286302A CN 202111586785 A CN202111586785 A CN 202111586785A CN 114286302 A CN114286302 A CN 114286302A
Authority
CN
China
Prior art keywords
message
content
configuration structure
generating
messages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111586785.1A
Other languages
Chinese (zh)
Inventor
蔡君
詹奎
柏竟男
康乐
周平
李发禹
王昌平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guiyang Longmaster Information and Technology Co ltd
Original Assignee
Guiyang Longmaster Information and Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN202111586785.1A priority Critical patent/CN114286302A/en
Publication of CN114286302A publication Critical patent/CN114286302A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a system and a method for generating a 5G message, which comprises the following steps: a message processing subsystem and a content management subsystem; the message processing subsystem responds to a 5G message sending requirement, generates a 5G message and transmits the 5G message to the sending service module for sending; the content management subsystem is used for interacting with the management terminal, storing and generating a configuration structure of the 5G message, and supporting the configuration structure to be visually displayed on the management terminal during interaction; the message processing subsystem comprises: the custom message protocol processor is used for receiving the 5G message sending requirement and splitting the requirement into unit block combinations; and the 5G message protocol converter is used for acquiring the resource allocation to the cell block combination from the content management subsystem. According to the technical scheme, a manager can visually see the display structure of the 5G message at the management terminal, visual maintenance and adjustment can be performed, and the content and the structure can be separated when the message is sent, so that the generation process of the 5G message is structured and flexible, the management difficulty is reduced, and the sending efficiency of the 5G message is improved.

Description

System and method for generating 5G message
Technical Field
The invention relates to the field of communication, in particular to a system and a method for generating a 5G message.
Background
RCS (Rich media Communication) is a Communication method proposed by the global system for mobile communications association (GSMA). The 5G message is based on an RCS protocol, realizes the receiving and sending of the rich media message at a native message entrance of the mobile phone terminal, and mainly provides the service functions of the rich media message, group chat, file transmission, audio call, intelligent interaction and the like. The message is sent after being assembled according to the RCS protocol, and the protocol is complex to assemble and needs to be deeply known. On the other hand, in fact, many messages are sent, the format of the messages is fixed, only the content has small changes, and if message protocol data needs to be reassembled every time the messages are sent, the working efficiency is low.
Regarding the sending of the 5G message, at present, there are two main ways, the first is to directly package the message according to the RCS protocol format and then send it, and the other is to configure a static template of the 5G message through the platform, and analyze and send it through the static template when sending it. The first is flexible but does not allow intuitive knowledge of what form the message is sent and requires a relatively deep knowledge of the RCS protocol and interface. The second type is to visually observe the form of the message being sent, but is not flexible enough to dynamically modify the content of the message. Meanwhile, the 5G message protocol is complex and needs to be maintained by technicians; the content display mode is rich, the product operator controls the content display mode, a technical scheme which can separate the protocol from the content, support different posts and different abilities of personnel to process respectively and support the visual editing of the content is needed, and the generation efficiency of the 5G message is improved.
Disclosure of Invention
To achieve the above object, the present application provides a system for generating a 5G message, comprising: a message processing subsystem and a content management subsystem;
the message processing subsystem responds to a 5G message sending requirement, generates a 5G message and transmits the 5G message to the sending service module for sending;
the content management subsystem is used for interacting with the management terminal, storing and generating a configuration structure of the 5G message, and the interactive operation supports the visual display and maintenance of the configuration structure at the management terminal;
further, the message processing subsystem comprises: the self-defined message protocol processor is used for receiving the 5G message sending requirement and splitting the requirement into unit block combinations; and the 5G message protocol converter is used for acquiring the resource allocation to the cell block combination from the content management subsystem.
Wherein, the content management subsystem includes:
the material library is used for storing message material information, and the content comprises audio, video, pictures and link addresses; each piece of material information is identified through an identification ID;
the dynamic template library is used for storing the corresponding relation between the message types and the configuration structure, wherein the message types comprise common text messages, picture messages, audio messages, video messages, single-card messages and multi-card messages.
The configuration structure comprises key value pairs for defining the corresponding relation between the dynamic parameters and the 5G message protocol keywords.
Further, the 5G message protocol converter searches a material library to acquire material information matched with the unit block combination; the 5G message protocol converter also retrieves the dynamic template library to obtain a message configuration structure matching the message type of the cell block combination.
Further, the 5G message protocol converter includes a message generating module, configured to combine the material information and the message configuration structure to generate a 5G message for sending.
In another aspect, the present application provides a method for generating a 5G message, including: message processing and message content control;
the message processing comprises that the system responds to a 5G message sending requirement, generates a 5G message data packet and sends the 5G message to a specified user;
and before message processing, message content control is carried out, wherein the message content control comprises interaction with a management terminal, and a configuration structure for generating the 5G message is acquired and stored.
The message processing further comprises: splitting the 5G message sending requirement into unit block combinations; and acquiring resources corresponding to the cell block combination, and performing 5G message protocol conversion.
Wherein the resources corresponding to the cell block combinations include: the system comprises material information and a dynamic template, wherein the material information comprises audio, video, pictures and link addresses; identifying each piece of material information through an identification ID; the dynamic template stores the corresponding relation between the message types and the configuration structure, wherein the message types comprise common text messages, picture messages, audio messages, video messages, single-card messages and multi-card messages.
The configuration structure for generating the 5G message comprises a key value pair used for defining the corresponding relation between the dynamic parameter and the 5G message protocol key word.
Therefore, material information matching the unit block combination and a message configuration structure matching the message type of the unit block combination are acquired before 5G message conversion is performed.
And finally, during 5G message protocol conversion, combining the material information and the message configuration structure, performing content replacement on the dynamic parameters in the cell block combination according to the corresponding relation of the key values defined by the message configuration structure, and generating a 5G message for sending.
The system and the method for generating the 5G message have the advantages that the processing part of the message content is independent to be a content management subsystem, a dynamic message template configuration structure is supported, a manager can visually see the display structure of the 5G message at a management terminal and visually maintain and adjust the display structure, and the content and the structure can be separated when the message is sent, so that the generation process of the 5G message is structured and flexible, the management difficulty is reduced, and the sending efficiency of the 5G message is improved.
Drawings
Fig. 1 is a diagram of a system for generating a 5G message according to an embodiment of the present invention;
FIG. 2 is a block diagram of a system module for generating a 5G message according to an embodiment of the present invention;
FIG. 3 is a system visualization interaction presentation diagram provided in accordance with an embodiment of the present invention for generating a 5G message;
fig. 4 is a flowchart of a method for generating a 5G message according to an embodiment of the present invention.
Detailed Description
The following detailed description of specific embodiments of the present invention is provided in conjunction with the accompanying drawings.
The system for generating the 5G message provided by the invention has the advantages that the processing part of the message content is independent to be the content management subsystem, the structure of dynamic message template configuration is supported, a manager can visually see the display structure of the 5G message at a management terminal, and the content and the structure can be separated when the message is sent, so that the generation process of the 5G message is structured and flexible, the management difficulty is reduced, and the sending efficiency of the 5G message is improved.
Fig. 1 is a system structure diagram for generating a 5G message according to an embodiment of the present invention, as shown in the figure, the system structure includes two main subsystems: the P110 message processing subsystem and the P120 content management subsystem split the 5G message from the protocol part and the content part and process the messages respectively and independently.
1. The P110 message handling subsystem encapsulates the handling of the constituent structure of the message, e.g., the inter-conversion of message formats under multiple protocols;
the message processing subsystem responds to the 5G message sending requirement, generates a 5G message data packet and transmits the 5G message data packet to the sending service module for sending; the corresponding 5G message sending requirement module classifies, determines the content, determines the target and the like of the 5G message to be sent, interacts with the content management subsystem if necessary when determining the content, and extracts the effective content material number. The module is in butt joint with an actual scene for sending the message, and due to the variety and flexibility of the actual scene, the message needs adopt various self-defined protocol formats, and a JSON message structure and the like are commonly used.
The message processing subsystem carries out unified processing on the 5G message sending requirements in various custom message protocol formats, wherein the unified processing comprises the following steps: p111 custom message protocol handler and P112: 5G message protocol converter.
After the P111 custom message protocol processor receives the 5G message sending requirement, as shown in fig. 2, its module P212 custom message parsing module splits the requirement into a combination of cell blocks to realize parsing of the custom message protocol.
P112: and the 5G message protocol converter acquires resources from the content management subsystem aiming at the cell block combination, allocates the resources to the cell block combination, generates a data packet conforming to the 5G message protocol by combining with a 5G message protocol content template, and sends the data packet to the P140 sending service module.
2. P120: the content management subsystem is used for processing the content of the 5G message, supporting the interaction with the management terminal, storing and generating a configuration structure of the 5G message, wherein the interaction supports the visual display of the configuration structure on the management terminal;
p120: the content management subsystem mainly comprises a P121 material library and a P122 dynamic template library.
The P121 material library encapsulates materials used by the 5G message, such as audio, video, pictures, link addresses and the like, and each material corresponds to attributes, such as identification, characteristics, validity period and the like. When the application scene of the 5G message or the sending requirement is determined, the material library provides the message with the material identification as the custom protocol for transmission; and selecting the transmitted content composition according to the characteristics when the 5G message protocol converter acquires the resource allocation from the content management subsystem for the cell block composition.
The P122 dynamic template library abstracts the RCS protocol to form a configuration structure configured by the dynamic template and corresponding to the user-defined message structure. The configuration structure adopts a two-dimensional structure, cell block combinations are transversely arranged, each cell block combination comprises one or more parameters, wherein some parameters are individual characteristic parameters, and some parameters are normalized parameters; and the longitudinal direction is the corresponding relation of each parameter under the 5G message protocol specification and the custom message specification, and the corresponding relation is associated through dynamic parameters.
The dynamic parameters, i.e. the individual characteristic parts of each 5G message, are placeholderd in the dynamic template. And after the message generation module in the 5G message protocol converter replaces the dynamic parameters with real parameters, the message structure of the custom protocol of the dynamic template is converted into an RCS protocol to send messages.
The material library can be managed through the management terminal, and the attribute of the material is maintained.
The dynamic template library is also controlled by the management terminal, the explicit mode of the 5G message can be established and modified in a visual mode at the management terminal, and the 5G message is combined with the material library when the template is established, so that the 5G message supports a common text dynamic template, a picture message dynamic template, an audio message dynamic template, a video message dynamic template, a single-card message dynamic template and a multi-card message dynamic template.
Fig. 3 shows a case of establishing a dynamic template at a management terminal, where the name of the template corresponds to a message template ID, and dynamic parameters and corresponding placeholders corresponding to various elements in the template, such as the short message type, the text content, and the menu name, in the 5G message protocol are stored in the dynamic template library.
Now, examples are specifically illustrated:
and the 5G message sending requirement module and the dynamic template library carry out protocol agreement, for example, JSON is adopted to transmit dynamic parameters.
1. 5G message type determination:
since the 5G message has various expressions and the corresponding template message content protocols are different, the storage mode in the configuration structure is represented as follows:
{″type″:″″,″content″:{},″smsContent″:″″,″suggestions″:[]}
wherein, type: template type 1, plain text 2, single card 3, multiple cards 4, geographic location 5, picture 6, audio 7, video;
content: template message content, different template types and different message content;
smsContent: the message falls back the text content;
supggestions: the menu button array is suspended.
In the operation illustrated in fig. 3, a plain text template with a hover menu is generated, the JSON format being as follows:
{″templateId″:string,″phones″:array,″body″:object|array,″suggestion″:object|array}
the corresponding configuration structure of the template comprises four basic cell block combinations, corresponding to fig. 3, including a template name (template ID) cell block, a text content cell block, and a floating menu cell block, and the telephone number may not be embodied in the configuration structure, and thus belongs to a hidden cell block.
The text content unit block and the floating menu unit block comprise key value pairs, and are used for judging keywords related to dynamic parameters, obtaining a defined corresponding relation and replacing the keywords when protocol conversion is carried out.
2. Combining unit blocks:
"templated": a message template ID;
"Phones": receiving a message telephone number, and supporting group sending of a plurality of mobile phone numbers;
"body": the message body dynamic parameter transmission object is a self-defined key value pair of dynamic parameters when a template message body is created, such as: "parameter name: parameter value', if the message is a multi-card message, the key value corresponds to the key value pair array of the multi-card message;
"suppression": object | array, the key-value pair of the dynamic parameter of the hover menu.
When an application scene needs to send a 5G message, the requirement information generated according to the rule is as follows:
Figure BDA0003427937460000091
Figure BDA0003427937460000101
3. the corresponding relation is as follows: the configuration structure of the corresponding relation of the custom protocol (such as json) to the important elements in the 5G message protocol is as follows:
{″type″:″″,″content″:{},″smsContent″:″″,″suggestions″:[]}
type: template type 1, plain text 2, single card 3, multiple cards 4, geographic location 5, picture 6, audio 7, video;
content: template message content, different template types and different message content;
smsContent: the message falls back the text content;
supggestions: the menu button array is suspended.
In this example, the content definition of the plain text is expressed as follows:
Figure BDA0003427937460000102
Figure BDA0003427937460000111
the dynamic parameters correspond to the dynamic parameters in the body of the unit block combination, and are used for matching the content when generating the 5G message.
For the requirement information of this example, wherein "docctorName", "docctorUrl", "docctorResc", "docctorHomeUrl", "docctorId", etc. are all dynamic parameters, the templates are shown as follows:
Figure BDA0003427937460000112
in conclusion, the P122 dynamic template library supports that a manager establishes a mapping relationship between the custom protocol and elements in the 5G message protocol in a visualization manner on the management terminal platform, and can visualize complex and abstract 5G message protocol format data and separate content from code through the mapping relationship.
The 5G message protocol converter combines the cell blocks after the 5G message requirement information is analyzed, searches in a dynamic template library, performs message type matching, generates a 5G message data packet which can be transmitted to a basic operator, and transmits the 5G message data packet, as shown in fig. 2, the 5G message protocol converter includes a P221 material matching module, a P222 message type matching module, and a P223 message generating module.
The method comprises the steps that a custom message receiving module receives a 5G message sending requirement, the requirement is processed into a cell block combination corresponding to a dynamic template in a custom message analyzing module, the content of a message is further improved through a P221 material matching module, the cell block combination is converted through a P222 message type matching module, a cell block under a custom protocol is converted into a cell block combination conforming to a 5G message structure, and a 5G message data packet is generated in a P223 message generating module.
In this example, the final generated 5G message is as follows:
Figure BDA0003427937460000121
Figure BDA0003427937460000131
Figure BDA0003427937460000141
the system for generating the 5G message provides a visual management platform, so that a manager can visually arrange the content of the 5G message on a terminal platform, visually edit the content of the 5G message, and simultaneously encapsulate the corresponding relation of protocols, so that a user-defined protocol can be converted into a 5G message protocol, the separation between the visual content of the 5G message and the complicated protocols is realized, the implementation method for generating the 5G message is more flexible, and the maintenance is convenient.
Fig. 4 is a flowchart of a method for visually generating a 5G message, and as shown in fig. 4, the method includes a message processing flow and S400 message content control, where the S400 message content control is a basis and a basis for message processing, and therefore, before message processing, message content control needs to be performed.
The message content control comprises interacting with a management terminal, acquiring and storing a configuration structure for generating the 5G message, namely operating in a visual interface, supporting visual dynamic message configuration, defining the configuration structure of the dynamic 5G message in the process, wherein the configuration structure comprises key value pairs and is used for defining the corresponding relation between dynamic parameters and 5G message protocol keywords.
In the message content control process, the managed resources corresponding to the cell block combinations include: material information and dynamic templates.
The material information comprises audio, video, pictures and link addresses; each piece of material information is identified through an identification ID; and in a visual interface, a manager selects configured materials and transmits parameters inside the system through the identification ID.
The dynamic template stores the corresponding relation between the message type and the configuration structure, and the message type supports all 5G messages including common text messages, picture messages, audio messages, video messages, single-card messages and multi-card messages.
Message processing in general, the S410 system shown in fig. 4 responds to a 5G message transmission request, S420 generates a 5G message packet, and S430 transmits a message.
The process of generating the 5G message in step S420 in the present invention is focused on, and includes: step S411: receiving a 5G message transmission requirement, and step S412: splitting the sending requirement into unit block combinations; step S413: and acquiring resources defined in the message content control and corresponding to the cell block combination, performing 5G message protocol conversion, finally generating a data packet conforming to the 5G message protocol, and sending the data packet to a basic operator.
When 5G message conversion is carried out, interaction with a material library controlled by message content is required, and material information matched with unit block combination is acquired; and also acquiring a message configuration structure matched with the message type of the cell block combination, performing content replacement on the dynamic parameters in the cell block combination according to the corresponding relation of key values defined by the message configuration structure, and finally generating a 5G message data packet.
Through the system for generating the 5G message, the processing part of the message content is independently a content management subsystem, and the structure of dynamic message template configuration is supported, so that a manager can visually see and adjust the display structure of the 5G message at a management terminal, and can separate the content from the structure when sending the message, so that the generation process of the 5G message is structured and has flexibility, the management difficulty is reduced, and the sending efficiency of the 5G message is improved.
The above disclosure is only for a few specific embodiments of the present invention, but the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.

Claims (10)

1. A system for generating a 5G message, comprising: a message processing subsystem and a content management subsystem;
the message processing subsystem responds to a 5G message sending requirement, generates a 5G message and transmits the 5G message to the sending service module for sending;
the content management subsystem is used for interacting with the management terminal, storing and generating a configuration structure of the 5G message, wherein the interaction supports the visual display of the configuration structure on the management terminal;
the message processing subsystem comprises: the custom message protocol processor is used for receiving the 5G message sending requirement and splitting the requirement into unit block combinations; and the 5G message protocol converter is used for acquiring the resource allocation to the cell block combination from the content management subsystem.
2. The system for generating a 5G message according to claim 1, wherein the content management subsystem comprises:
the material library is used for storing message material information, and the content of the material information comprises audio, video, pictures and link addresses; each piece of material information is identified through an identification ID;
the dynamic template library is used for storing the corresponding relation between the message types and the configuration, wherein the message types comprise common text messages, picture messages, audio messages, video messages, single-card messages and multi-card messages.
3. The system for generating a 5G message according to claim 1, wherein the configuration structure comprises key-value pairs for defining a correspondence between dynamic parameters and 5G message protocol keys.
4. The system for generating 5G message according to claim 3, wherein the 5G message protocol converter searches a material library to obtain material information matched with the unit block combination;
and the 5G message protocol converter retrieves a dynamic template library and acquires a message configuration structure matched with the message type of the unit block combination.
5. The system of claim 4, wherein the 5G message protocol converter comprises a message generation module, configured to perform content replacement on the dynamic parameters in the cell block combination according to the key value correspondence defined in the configuration structure.
6. A method of generating a 5G message, comprising: message processing and message content control;
the message processing comprises that the system responds to a 5G message sending requirement, generates a 5G message and sends the 5G message to a specified user;
and before the message processing, performing message content control, wherein the message content control comprises interacting with a management terminal, acquiring a configuration structure for generating the 5G message and storing the configuration structure.
The message processing further comprises: splitting the 5G message sending requirement into unit block combinations; and acquiring resources corresponding to the cell block combination, and performing 5G protocol conversion.
7. The method of claim 6, wherein the resources corresponding to the cell block combination comprise: the system comprises material information and a dynamic template, wherein the material information comprises audio, video, pictures and link addresses; each piece of material information is identified through an identification ID;
the dynamic template stores the corresponding relation between the message types and the configuration structure, wherein the message types comprise common text messages, picture messages, audio messages, video messages, single-card messages and multi-card messages.
8. The method of claim 6, wherein the configuration structure for generating the 5G message comprises key-value pairs for defining the correspondence between dynamic parameters and 5G message protocol keys.
9. The method of claim 8, wherein material information matching the cell block combination is obtained before the 5G message conversion is performed;
and acquiring a message configuration structure matched with the message type of the unit block combination before the 5G message conversion.
10. The method of claim 9, wherein the 5G message protocol conversion combines the material information and the message configuration structure, performs content replacement on the dynamic parameters in the cell block combination according to the key value correspondence defined in the configuration structure, and generates the 5G message for transmission.
CN202111586785.1A 2021-12-23 2021-12-23 System and method for generating 5G message Pending CN114286302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111586785.1A CN114286302A (en) 2021-12-23 2021-12-23 System and method for generating 5G message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111586785.1A CN114286302A (en) 2021-12-23 2021-12-23 System and method for generating 5G message

Publications (1)

Publication Number Publication Date
CN114286302A true CN114286302A (en) 2022-04-05

Family

ID=80874242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111586785.1A Pending CN114286302A (en) 2021-12-23 2021-12-23 System and method for generating 5G message

Country Status (1)

Country Link
CN (1) CN114286302A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114969603A (en) * 2022-05-27 2022-08-30 中移互联网有限公司 5G message-based picture acquisition and picture generation method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114969603A (en) * 2022-05-27 2022-08-30 中移互联网有限公司 5G message-based picture acquisition and picture generation method and system

Similar Documents

Publication Publication Date Title
US6275849B1 (en) Communication system for electronic messages
US10880244B2 (en) Method, apparatus, and client for displaying media information, and method and apparatus for displaying graphical controls
US10009303B2 (en) Message push method and apparatus
JP6442441B2 (en) Translation system and translation method
JP7448672B2 (en) Information processing methods, systems, devices, electronic devices and storage media
CN114286302A (en) System and method for generating 5G message
CN113190152A (en) Method and device for switching application program theme
CN110134920B (en) Pictogram compatible display method, device, terminal and computer readable storage medium
CN108429848B (en) Information processing method, device and equipment
CN115309563A (en) 5G message generation method, device, storage medium and product
US8787951B2 (en) Apparatus and method for transmitting message in the communication system
CN112199090A (en) Information flow processing method, device and computer readable storage medium
CN112738632B (en) Method, device and equipment for optimizing performance of smart television and storage medium
CN105122820A (en) Information processing apparatus, data processing method thereof, and program
CN113630508B (en) Video color ring management method, device, equipment and medium
JP2943435B2 (en) Interactive message communication method and apparatus
CN113298072A (en) Method and device for identifying design draft and electronic equipment
CN113779422A (en) Method and device for realizing relation chain label, electronic equipment and storage medium
CN113656368A (en) Cloud platform log processing method and system
CN114116049A (en) Data processing method and device, electronic equipment and computer readable storage medium
TW202145088A (en) Peer-to-peer information transmission processing method with self-contained flow setting, terminal device, and server capable of performing effective dispatching operation without using voice communication
CN117312994A (en) Decision tree model generation method, terminal equipment, service equipment and system
KR20230174017A (en) Chatbot management system and operating method thereof for providing a chatbot service over multiple service channels
CN116708351A (en) 5G message processing method and system based on artificial intelligence
CN113438497A (en) Data processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination