Visual session creation method and device and storage medium
Through the collaborative work of the visual editing system, transmission and transfer system and terminal display system, the lack of session customization and flexibility in the existing technology is solved, the display of specific business processes and information is realized, and the flexibility of sessions is improved.
Patent Information
- Application Number
- CN202411991103.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-29
AI Technical Summary
Existing message interaction sessions cannot customize specific interactive business processes and present specific business information, resulting in insufficient flexibility.
Provides a visual session creation method, through the collaborative work of the visual editing system, the transmission and transfer system and the terminal display system, allowing publishers to edit the interface and information of the interactive session on the visual editing system, generate a visual template, and publish it to the terminal display system.
It realizes customizing specific interactive business processes and displaying specific business information, improving the flexibility of message interaction sessions.
Smart Images

Figure CN119902756A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of session creation, and in particular to a visual session creation method, device and storage medium. Background Art
[0002] At present, the main forms of 5G messages are text messages and rich media message card messages. Text messages are traditional text messages. Rich media message cards are multimedia messages sent through SMS platforms, containing a variety of media data, enriching message delivery with a variety of forms of content. This type of message card can not only improve user experience, but also help companies better carry out brand promotion and marketing activities.
[0003] The existing rich media message cards are based on a conversational question-and-answer format. Users can jump to business portals through buttons and links in message cards, such as official website pages, WeChat portals and other information portals. However, the existing message interaction sessions cannot customize specific interactive business processes and display specific business information. The flexibility of message interaction sessions is insufficient, and a new technology is needed to solve the current problem. Summary of the invention
[0004] The main purpose of the present invention is to solve the technical problems that in the existing message interaction session, a specific interaction business process cannot be customized and specific business information cannot be displayed, and the flexibility of the message interaction session is insufficient.
[0005] A first aspect of the present invention provides a visual session creation method, which is applied to the visual session creation system, wherein the visual session creation system comprises: a visual editing system, a transmission transit system, and a terminal display system, wherein the visual editing system is communicatively connected to the transmission transit system, and the terminal display system is communicatively connected to the transmission transit system, and the visual session creation method comprises:
[0006] The visual editing system sends a session establishment instruction to the transmission transit system, wherein the session establishment instruction includes: session configuration;
[0007] The transmission transit system receives the session establishment instruction, and queries a template corresponding to the session configuration from a preset template database to obtain a session template;
[0008] Determine whether the session template is a dynamic template;
[0009] If it is a dynamic template, based on the session configuration, the business parameters are captured, the business parameters are added to the session template, a visual template is generated, and the visual template is sent to the visual editing system;
[0010] When it does not belong to a dynamic template, the session configuration is written into the session template, a visual template is generated, and the visual template is sent to the visual editing system;
[0011] The visual editing system receives the visual template and the editing instruction, adjusts the visual template based on the editing instruction, generates session card data, and sends the session card data to the transmission transit system;
[0012] The transmission transit system receives the session card data, and transmits the session card data to the terminal display system so that the terminal display system displays the session card data.
[0013] Optionally, in a first implementation manner of the first aspect of the present invention, the capturing of business parameters based on the session configuration, adding the business parameters to the session template, and generating a visualization template includes:
[0014] Read the API interface in the session configuration, and fetch the business parameters in JSON format from the API interface;
[0015] The business parameters in the JSON format are filled into the placeholders of the session template to generate a visualization template.
[0016] Optionally, in a second implementation of the first aspect of the present invention, the session configuration includes: an application ID, an application key, and a password string. After the transmission transit system receives the session establishment instruction, before querying the template corresponding to the session configuration from the preset template database and obtaining the session template, it also includes:
[0017] Combining the application ID, the application key, and the password string into verification data;
[0018] Determining whether the verification data is qualified verification data;
[0019] When the verification data is qualified, it is confirmed that the session establishment instruction is a legal instruction;
[0020] When the verification data is not qualified, an instruction error message is sent to the visual editing system.
[0021] Optionally, in a third implementation manner of the first aspect of the present invention, writing the session configuration into the session template to generate a visualization template includes:
[0022] Convert the session configuration into configuration data in JOSN format;
[0023] The configuration data in JOSN format is filled into the placeholder of the session template to generate a visual template.
[0024] Optionally, in a fourth implementation of the first aspect of the present invention, adjusting the visual template based on the editing instruction to generate session card data includes:
[0025] Based on the editing instruction, the material data, button positions, request addresses, jump links, title names, and card message contents in the visualization template are modified to generate session card data.
[0026] Optionally, in a fifth implementation manner of the first aspect of the present invention, the material data includes: picture material data, audio material data, and video material data.
[0027] Optionally, in a sixth implementation of the first aspect of the present invention, the session configuration includes: a template ID, and querying the template corresponding to the session configuration from a preset template database to obtain the session template includes:
[0028] Based on the template ID, ID characters are matched in a preset module database to obtain a matching session template.
[0029] Optionally, in a seventh implementation manner of the first aspect of the present invention, after transmitting the session card data to the terminal display system, the method further includes:
[0030] The terminal display system receives the session card data, parses the session card data, and obtains a session key;
[0031] receiving a session operation instruction from a user, combining the session operation instruction with a session key, generating session feedback data, and sending the session feedback data to the transmission transit system;
[0032] The transmission transit system receives the session feedback data, calls response data corresponding to the session feedback data, and sends the response data to the terminal display system.
[0033] A second aspect of the present invention provides a visual session creation device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via a line; and the at least one processor calls the instructions in the memory so that the visual session creation device executes the above-mentioned visual session creation method.
[0034] A third aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned visualized session creation method.
[0035] In an embodiment of the present invention, a visual editing system is provided to obtain a dynamic session template or a static session template from a template database of a transmission transit system, so as to meet the publisher's needs for customizing session data in an interactive session, and to support the publisher in editing the interface and information of the interactive session on the visual editing system. After the publisher completes the visual editing, the system encapsulates the data into session card data, and publishes the session card data to a terminal display system, so as to customize specific interactive business processes and display specific business information, thereby improving the flexibility of message interactive sessions. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A schematic diagram of an embodiment of a visual session creation method in an embodiment of the present invention;
[0037] Figure 2 This is a schematic diagram of a specific implementation of step 102 in an embodiment of the present invention;
[0038] Figure 3 A schematic diagram of a specific implementation of step 104 in an embodiment of the present invention;
[0039] Figure 4 is a schematic diagram of a visualization template in an embodiment of the present invention;
[0040] Figure 5 A schematic diagram of an embodiment of a visual session creation device in an embodiment of the present invention. DETAILED DESCRIPTION
[0041] Embodiments of the present invention provide a visual session creation method, device, and storage medium.
[0042] The embodiments disclosed in the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments disclosed in the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments disclosed in the present invention are only for exemplary purposes and are not intended to limit the scope of protection disclosed in the present invention.
[0043] In the description of the embodiments disclosed in the present invention, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0044] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of a visualized session creation method in an embodiment of the present invention, the visualized session creation method is applied to the visualized session creation system, the visualized session creation system comprises: a visualized editing system, a transmission transit system, and a terminal display system, the visualized editing system is communicatively connected to the transmission transit system, the terminal display system is communicatively connected to the transmission transit system, the visualized session creation method comprises:
[0045] 101. The visual editing system sends a session establishment instruction to the transmission transit system, wherein the session establishment instruction includes: session configuration;
[0046] In this embodiment, the visual editing system first sends a session establishment instruction to the transmission transit system, and the session establishment instruction includes a session configuration, which establishes a verification string for the connection and specifies the template ID to be edited. Optionally, the session configuration may also include an access URL address and a jump link URL address, and may be configured with material data.
[0047] 102. The transmission transit system receives the session establishment instruction, and queries a template corresponding to the session configuration from a preset template database to obtain a session template;
[0048] In this embodiment, the transmission transit system receives the session establishment instruction, and through the session configuration in the session establishment instruction, queries the template corresponding to the session configuration from a preset template database in the transmission transit system to obtain the session template corresponding to the session configuration.
[0049] For further information, see Figure 2 , Figure 2 This is a schematic diagram of a specific implementation of step 102 in an embodiment of the present invention. After "the transmission transit system receives the session establishment instruction" and before "the template corresponding to the session configuration is queried from a preset template database to obtain a session template", the session configuration includes: application ID, application key, password string, and step 102 also includes the following specific implementation:
[0050] 1021. Combine the application ID, the application key, and the password string into verification data;
[0051] 1022. Determine whether the verification data is qualified verification data;
[0052] 1023. When the verification data is qualified, it is confirmed that the session establishment instruction is a legal instruction;
[0053] 1024. When the verification data is not qualified, a command error message is sent to the visual editing system.
[0054] In steps 1021-1024, the application id (appid), application secret key (appsecret), and password string (code) in the session configuration are first combined to obtain a verification data of appid+appsecret+code. After judging that the verification data meets the token verification setting of the transmission transit system, it is determined that the session establishment instruction is a legal instruction. If the verification data does not meet the token setting, that is, even if the verification data is not qualified verification data, it is necessary to send an instruction error message to the visual editing system to remind the user that the verification string of the instruction is wrong and needs to be adjusted and input a new verification string.
[0055] Specifically, the session configuration includes: a template ID. In step 102, "querying a template corresponding to the session configuration from a preset template database to obtain a session template" includes the following specific implementation methods:
[0056] 1025. Based on the template ID, match ID characters in a preset module database to obtain a matching session template.
[0057] In step 1025, there are multiple templates in the preset template database, each template has a specified ID, a template ID is set in the session configuration data, and the template data corresponding to the template ID set in the session configuration is queried in the template database to obtain a matching session template.
[0058] 103. Determine whether the session template is a dynamic template;
[0059] In this embodiment, the dynamic template is a technology that can update the page content in real time according to data changes. First, it is determined whether the session template is a dynamic template that changes with the data.
[0060] 104. If it is a dynamic template, based on the session configuration, capture business parameters, add the business parameters to the session template, generate a visualization template, and send the visualization template to the visualization editing system;
[0061] In this embodiment, when the session template is a dynamic template, the transmission transit system obtains a visualization template by using some business parameters such as business links and business text descriptions set in the session configuration, and adding the business parameters to the session template. The visualization template data is sent to the visualization editing system, and the session creator adjusts the visualization template to meet the business needs.
[0062] For details, please refer to Figure 3 , Figure 3 This is a schematic diagram of a specific implementation of step 104 in an embodiment of the present invention, and step 104 includes the following specific implementations:
[0063] 1041. Read the API interface in the session configuration, and capture the business parameters in JSON format from the API interface;
[0064] 1042. Fill the business parameters in the JSON format into the placeholders of the session template to generate a visualization template.
[0065] In steps 1041-1042, the API interface in the session configuration is first read, the API interface is http: / / xxx.xxx.com / callBackData / showList?Mobile=$mobile$, the service parameters in JSON format are captured from the API interface, and then the service parameters in JSON format are filled into the placeholders of the session template to generate a visualization template.
[0066] 105. When it does not belong to a dynamic template, the session configuration is written into the session template to generate a visual template, and the visual template is sent to the visual editing system;
[0067] In this embodiment, the session template does not belong to a dynamic template, indicating that the session template is a static template. The data in the session configuration is directly added to the static template, and the visualization template can be generated without accessing the data of the related links to adjust the display data of the session template, and the visualization template is sent to the visualization editing system.
[0068] Specifically, step 105 includes the following specific implementation methods:
[0069] 1051. Convert the session configuration into configuration data in JOSN format;
[0070] 1052. Fill the configuration data in JOSN format into the placeholder of the session template to generate a visual template.
[0071] In steps 1051-1052, the session configuration is first converted into a JOSN string to obtain configuration data in JOSN format, and then the configuration data in JOSN format is filled into the placeholder of the session template to generate a visual template.
[0072] 106. The visual editing system receives the visual template and the editing instruction, adjusts the visual template based on the editing instruction, generates session card data, and sends the session card data to the transmission transit system;
[0073] In this embodiment, the visual editing system receives the transmitted visual template, and then the session creator edits and adjusts the buttons, materials, titles, card forms and other contents of the session on the visual editing page to obtain the session card data that ultimately needs to be published, and sends the session card data to the transmission transit system, which pushes it to each customer's terminal device to display the relevant session cards, and each customer performs operations such as reading, clicking, and replying on the terminal display device to realize the session process.
[0074] Specifically, step 106 includes the following specific implementation methods:
[0075] 1061. Based on the editing instruction, modify the material data, button positions, request addresses, jump links, title names, and card message contents in the visualization template to generate session card data.
[0076] In step 1061, see Figure 4 , Figure 4 is a schematic diagram of a visualization template in an embodiment of the present invention. Figure 4 You can perform visual editing operations to modify the material data, button positions, number of buttons, API jump request address, card data title name, card message content and other data selected in the visual template. After receiving the user's editing instructions to adjust the visual template, the session card data is generated.
[0077] It should be noted that the material data includes: picture material data, audio material data, and video material data. The user can select one or more materials to adjust the visualization template data, and finally generate conversation card data that meets business requirements.
[0078] 107. The transmission transit system receives the session card data, and transmits the session card data to the terminal display system so that the terminal display system displays the session card data.
[0079] In this embodiment, after receiving the session card data, the transmission transit system transmits the session card data to the terminal display system based on the push address existing in the session card data, so that the terminal display system displays the session card data.
[0080] Specifically, after step 107, the following specific implementation methods are also included:
[0081] 108. The terminal display system receives the session card data, parses the session card data, and obtains a session key;
[0082] 109. Receive a session operation instruction from a user, combine the session operation instruction with a session key, generate session feedback data, and send the session feedback data to the transmission transit system;
[0083] 110. The transmission transit system receives the session feedback data, calls response data corresponding to the session feedback data, and sends the response data to the terminal display system.
[0084] In steps 108-110, the terminal display system includes multiple display terminal devices, and different display terminal devices can view the session card data. After the terminal display system receives the session card data, it parses the session key session key in the session card data. Then, the user issues a session operation instruction to the session card data, such as click, drag, input text, double-click, etc., and combines the session operation instruction and the session key to generate session feedback data, and sends the session feedback data to the transmission transit system. After receiving the session key session key, the transmission transit system determines the session card data specified by the session feedback data, and returns the response data of the URL address to the terminal display system by calling the session operation instruction in the session card data, such as the session operation instruction clicking the URL address. If the session operation instruction is to click a button, the response data of the button key is called and returned to the terminal display system. The specific response data needs to be determined according to the user's session operation instruction and the information of the session card data.
[0085] In an embodiment of the present invention, a visual editing system is provided to obtain a dynamic session template or a static session template from a template database of a transmission transit system, so as to meet the publisher's needs for customizing session data in an interactive session, and to support the publisher in editing the interface and information of the interactive session on the visual editing system. After the publisher completes the visual editing, the system encapsulates the data into session card data, and publishes the session card data to a terminal display system, so as to customize specific interactive business processes and display specific business information, thereby improving the flexibility of message interactive sessions.
[0086] Figure 5 1 is a schematic diagram of the structure of a visual session creation device provided by an embodiment of the present invention. The visual session creation device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 may be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the visual session creation device 500. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the visual session creation device 500.
[0087] The visualization-based session creation device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 5 The structure of the visualization-based session creation device shown does not constitute a limitation on the visualization-based session creation device, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.
[0088] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the visual session creation method.
[0089] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0090] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.
[0091] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A visual session creation method, characterized in that: The visualized session creation method is applied to the visualized session creation system, which includes: a visualized editing system, a transmission transit system, and a terminal display system, wherein the visualized editing system is communicatively connected to the transmission transit system, and the terminal display system is communicatively connected to the transmission transit system. The visualized session creation method includes: The visual editing system sends a session establishment instruction to the transmission transit system, wherein the session establishment instruction includes: session configuration; The transmission transit system receives the session establishment instruction, and queries a template corresponding to the session configuration from a preset template database to obtain a session template; Determine whether the session template is a dynamic template; If it is a dynamic template, based on the session configuration, the business parameters are captured, the business parameters are added to the session template, a visual template is generated, and the visual template is sent to the visual editing system; When it does not belong to a dynamic template, the session configuration is written into the session template, a visual template is generated, and the visual template is sent to the visual editing system; The visual editing system receives the visual template and the editing instruction, adjusts the visual template based on the editing instruction, generates session card data, and sends the session card data to the transmission transit system; The transmission transit system receives the session card data, and transmits the session card data to the terminal display system so that the terminal display system displays the session card data.
2. The visual session creation method according to claim 1, characterized in that: The capturing of business parameters based on the session configuration, adding the business parameters to the session template, and generating a visualization template comprises: Read the API interface in the session configuration, and fetch the business parameters in JSON format from the API interface; The business parameters in the JSON format are filled into the placeholders of the session template to generate a visualization template.
3. The visual session creation method according to claim 1, characterized in that: The session configuration includes: application ID, application key, password string, after the transmission transit system receives the session establishment instruction, before querying the template corresponding to the session configuration from the preset template database and obtaining the session template, it also includes: Combining the application ID, the application key, and the password string into verification data; Determining whether the verification data is qualified verification data; When the verification data is qualified, it is confirmed that the session establishment instruction is a legal instruction; When the verification data is not qualified, an instruction error message is sent to the visual editing system.
4. The visual session creation method according to claim 1, characterized in that: Writing the session configuration into the session template to generate a visualization template includes: Convert the session configuration into configuration data in JOSN format; The configuration data in JOSN format is filled into the placeholder of the session template to generate a visual template.
5. The visual session creation method according to claim 1, characterized in that: The adjusting the visual template based on the editing instruction to generate the conversation card data includes: Based on the editing instruction, the material data, button positions, request addresses, jump links, title names, and card message contents in the visualization template are modified to generate session card data.
6. The visual session creation method according to claim 5, characterized in that: The material data includes: picture material data, audio material data, and video material data.
7. The visual session creation method according to claim 1, characterized in that: The session configuration includes: a template ID, and the template corresponding to the session configuration is queried from a preset template database to obtain a session template including: Based on the template ID, ID characters are matched in a preset module database to obtain a matching session template.
8. The visual session creation method according to claim 1, characterized in that: After transmitting the session card data to the terminal display system, the method further includes: The terminal display system receives the session card data, parses the session card data, and obtains a session key; receiving a session operation instruction from a user, combining the session operation instruction with a session key, generating session feedback data, and sending the session feedback data to the transmission transit system; The transmission transit system receives the session feedback data, calls response data corresponding to the session feedback data, and sends the response data to the terminal display system.
9. A visual session creation device, characterized in that: The visual session creation device includes: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instructions in the memory to enable the visual session creation device to execute the visual session creation method according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the visual session creation method according to any one of claims 1 to 8 is implemented.