CN116069308A - Message configuration method and related device - Google Patents

Message configuration method and related device Download PDF

Info

Publication number
CN116069308A
CN116069308A CN202111301416.3A CN202111301416A CN116069308A CN 116069308 A CN116069308 A CN 116069308A CN 202111301416 A CN202111301416 A CN 202111301416A CN 116069308 A CN116069308 A CN 116069308A
Authority
CN
China
Prior art keywords
target
component
message
template
target object
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
CN202111301416.3A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202111301416.3A priority Critical patent/CN116069308A/en
Publication of CN116069308A publication Critical patent/CN116069308A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to the technical field of computers, and provides a message configuration method and a related device, wherein the method can be applied to various scenes such as cloud technology, artificial intelligence, intelligent traffic, auxiliary driving and the like, and is used for improving the message configuration efficiency, and the method comprises the following steps: the terminal equipment responds to the message template configuration operation triggered by the target object and presents the selected target component; responding to the component template presenting operation triggered by the target object aiming at the target component, and presenting the target component templates corresponding to the target components respectively; and generating and presenting the target message template containing the target component template in response to the message template generating operation triggered by the target object, and improving the configuration efficiency and the operation and maintenance efficiency and reducing the operation and maintenance difficulty through a visual configuration process.

Description

Message configuration method and related device
Technical Field
The application relates to the technical field of computers, and provides a message configuration method and a related device.
Background
With the development of communication technology, the conventional short message service has been unable to meet the requirement of service diversity due to simple function and limited experience, and the conventional short message service needs to be upgraded to a rich media message service, which may also be called as a fifth generation mobile communication technology (5G) message service. The 5G message supports rich media formats including text, pictures, audio and video, etc.
In the related art, corresponding code files are generally written according to different message presentation forms respectively to obtain each message configuration template corresponding to each message presentation form respectively, and then each 5G message is configured according to each message configuration template.
However, when a new message presentation form appears, if the code file of the new message configuration template is written according to the new message presentation mode, because the same components may exist in different message presentation modes, a great amount of repeated work exists, so that the message configuration efficiency is low and the operation and maintenance difficulty is high, if the code file of the existing message configuration template is modified to obtain the new message configuration template, under the condition that the code file is complex, the code modification difficulty is high, the configuration difficulty is increased, and the message configuration efficiency is further reduced.
Disclosure of Invention
The embodiment of the application provides a message configuration method and a related device, which are used for improving the message configuration efficiency of a multimedia message and reducing the operation and maintenance difficulty of a message service.
In a first aspect, an embodiment of the present application provides a message configuration method, applied to a terminal device, where the method includes:
Presenting at least one target component selected by the target object from at least one candidate component in response to a message template configuration operation triggered by the target object;
responding to component template presenting operation triggered by the target object aiming at the at least one target component, and presenting target component templates corresponding to the at least one target component respectively;
and generating and presenting a target message template in response to the message template generating operation triggered by the target object, wherein the target message template comprises target component templates corresponding to the at least one target component respectively.
In a second aspect, an embodiment of the present application provides a message configuration apparatus, including:
a component selection unit, configured to respond to a message template configuration operation triggered by a target object, and present at least one target component selected by the target object from at least one candidate component;
the component processing unit is used for responding to the component template presenting operation triggered by the target object aiming at the at least one target component and presenting the target component templates corresponding to the at least one target component respectively;
and the template generating unit is used for responding to the message template generating operation triggered by the target object to generate and present a target message template, wherein the target message template comprises target component templates corresponding to at least one target component.
In some embodiments, the apparatus further comprises a template configuration unit for:
responding to target text input operation triggered by the target object, and acquiring and presenting target text input by the target object;
and generating and presenting a target multimedia message in response to the target object triggering content configuration operation for the target message template and the target text.
In some embodiments, the template configuration unit is configured to generate the target multimedia message by:
extracting content configuration information corresponding to each of the at least one target component based on the target text; and generating the target multimedia message based on the extracted content configuration information.
In some embodiments, when the target message template is generated, the template generating unit is specifically configured to:
acquiring a first data structure corresponding to the at least one target component and acquiring a second data structure corresponding to the at least one target component template;
and combining the original data structure, the first data structure and the second data structure to obtain a target data structure corresponding to the target message template.
In some embodiments, the component selection unit is specifically configured to, when the message template selection operation triggered by the target object is used to present at least one target component selected by the target object from at least one candidate component:
responding to the message template configuration operation triggered by the target object, and presenting at least one candidate component contained in a component library;
and in response to a component template selection operation triggered by the target object for the at least one candidate component, presenting at least one target component selected by the target object from the at least one candidate component.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the message configuration method described above.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium comprising a computer program for causing an electronic device to perform the steps of the message configuration method described above when the computer program is run on the electronic device.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program stored in a computer readable storage medium, from which a processor of an electronic device reads and executes the computer program, causing the electronic device to perform the steps of the message configuring method described above.
In the embodiment of the application, the terminal equipment responds to the message template configuration operation triggered by the target object to present the selected target component; responding to the component template presenting operation triggered by the target object aiming at the target component, and presenting the target component templates corresponding to the target components respectively; a target message template including a target component template is generated and presented in response to a message template generation operation triggered by the target object.
In this way, the terminal device can generate message templates corresponding to different message presentation modes according to different components selected by the target object, thereby improving the message configuration efficiency. Because the target message templates are generated according to the target component template combinations corresponding to the target components, if the multimedia message needs to be modified, the generated multimedia message can be directly modified, if the target message templates need to be newly added, new target components can be selected, new target message templates can be generated, the configuration difficulty is reduced, and if the target message templates need to be modified, target controls contained in the generated target message templates can be directly managed, so that the message configuration efficiency is improved. In addition, through the visual configuration process, the target object can conveniently select the target control and view the generated target message template, so that the overall configuration efficiency is improved, and the operation and maintenance difficulty is reduced.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1a is a schematic diagram of a conventional sms provided in an embodiment of the present application;
fig. 1b is a schematic diagram of a 5G message provided in an embodiment of the present application;
fig. 1c is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a flow chart of a message configuration method provided in an embodiment of the present application;
FIG. 3a is a schematic diagram of a target assembly provided in an embodiment of the present application;
FIG. 3b is a schematic diagram of a target component template provided in an embodiment of the present application;
FIG. 4a is a schematic diagram of a target message template corresponding to a message card provided in an embodiment of the present application;
Fig. 4b is a schematic diagram of a target message template corresponding to a single image-text message provided in an embodiment of the present application;
fig. 4c is a schematic diagram of a target message template corresponding to a multi-text message provided in an embodiment of the present application;
FIG. 5 is a flowchart of a method for generating a component template according to an embodiment of the present application;
FIG. 6a is a schematic diagram of candidate input components provided in an embodiment of the present application;
FIG. 6b is a schematic diagram of a selection target input assembly provided in an embodiment of the present application;
FIG. 6c is a schematic diagram of a target component template corresponding to a button provided in an embodiment of the present application;
FIG. 7a is a schematic diagram of an add-on target input component provided in an embodiment of the present application;
FIG. 7b is a schematic diagram of a delete target input assembly provided in an embodiment of the present application;
FIG. 8 is a flow chart of configuring a multimedia message based on a generated message template provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of a new creative provided in an embodiment of the present application;
FIG. 10a is a schematic diagram of a message card configuration provided in an embodiment of the present application;
fig. 10b is a schematic configuration diagram of a single teletext message provided in an embodiment of the application;
fig. 10c is a schematic configuration diagram of a multi-text message provided in an embodiment of the present application;
FIG. 11 is a schematic diagram of a new creative provided in an embodiment of the present application;
fig. 12 is a schematic logic structure diagram of a message configuration device provided in an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the technical solutions of the present application, but not all embodiments. All other embodiments, which can be made by a person of ordinary skill in the art without any inventive effort, based on the embodiments described in the present application are intended to be within the scope of the technical solutions of the present application.
Some of the concepts involved in the embodiments of the present application are described below.
1. 5G message: the 5G message is constructed based on a universal configuration file (Universal Profile, UP) of a global system for mobile communications (Global System for Mobile Communications Association, GSMA) converged communication (Rich Communication Suite, RCS), so that the multimedia and light weight of the message are realized, and the interaction of industry messages is realized by introducing the message, namely a platform (Messaging as a Platform, maaP) technology. The 5G message may support a variety of media formats including text, pictures, audio, video, expressions, locations, contacts, and the like. In the embodiment of the present application, the 5G message may also be referred to as a multimedia message.
2. Chatbot: chatbot is a man-machine interaction service mode with high integration level and capable of replacing application programs (apps), and is generally based on artificial intelligence technology, wherein the artificial intelligence technology comprises voice recognition, semantic analysis and the like, and provides message services such as sending, receiving, analyzing, processing and the like for terminal equipment in a dialogue form.
With the development of communication technology, the conventional short message service has been unable to meet the requirement of service diversity due to simple function and limited experience, and the conventional short message service needs to be upgraded to a rich media message service, which may also be called as a fifth generation mobile communication technology (5G) message service. The 5G message supports rich media formats including text, pictures, audio and video, etc. For example, referring to fig. 1a, in the conventional sms service, a conventional sms is presented only in text form, and only interaction with a target object through an input box is supported. For another example, referring to fig. 1b, in the 5G message service, the message core content may be displayed in a card manner, so as to support interaction with the target object through a card button and a custom menu.
In the related art, corresponding code files are generally written according to different message presentation forms respectively to obtain each message configuration template corresponding to each message presentation form respectively, and then each 5G message is configured according to each message configuration template.
However, when a new message presentation form appears, if the code file of the new message configuration template is written according to the new message presentation mode, because the same components may exist in different message presentation modes, a great amount of repeated work exists, so that the message configuration efficiency is low and the operation and maintenance difficulty is high, if the code file of the existing message configuration template is modified to obtain the new message configuration template, under the condition that the code file is complex, the code modification difficulty is high, the configuration difficulty is increased, and the message configuration efficiency is further reduced.
In order to improve the message configuration efficiency, in the embodiment of the application, the terminal equipment responds to the message template configuration operation triggered by the target object to present the selected target component; responding to the component template presenting operation triggered by the target object aiming at the target component, and presenting the target component templates corresponding to the target components respectively; a target message template including a target component template is generated and presented in response to a message template generation operation triggered by the target object.
In this way, the terminal device can generate message templates corresponding to different message presentation modes according to different components selected by the target object, thereby improving the message configuration efficiency. Because the target message templates are generated according to the target component template combinations corresponding to the target components, if the multimedia message needs to be modified, the generated multimedia message can be directly modified, if the target message templates need to be newly added, new target components can be selected, new target message templates can be generated, the configuration difficulty is reduced, and if the target message templates need to be modified, target controls contained in the generated target message templates can be directly managed, so that the message configuration efficiency is improved. In addition, through the visual configuration process, the target object can conveniently select the target control and view the generated target message template, so that the overall configuration efficiency is improved, and the operation and maintenance difficulty is reduced.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are for illustration and explanation only, and are not intended to limit the present application, and the embodiments of the present application and the features of the embodiments may be combined with each other without conflict.
Fig. 1c is a schematic diagram of an application scenario provided in an embodiment of the present application. In an application scenario of the embodiment of the present application, the method includes: a first terminal device 110, a second terminal device 130, a server 150. The number of the first terminal device 110 and the second terminal device 130 may be one or more, and in this embodiment of the present application, only one second terminal device is taken as an example for illustration. The first terminal device 110, the second terminal device 130, and the server 150 may communicate with each other via a communication network.
In an alternative embodiment, the communication network is a wired network or a wireless network. The first terminal device 110, the second terminal device 130, and the application server 150 may be directly or indirectly connected through wired or wireless communication, which is not limited herein.
In the embodiment of the present application, the first terminal device 110 and the second terminal device 130 may be mobile phones, computers, intelligent voice interaction devices, intelligent home appliances, vehicle terminals, and the like, but are not limited thereto.
The server 150 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligence platforms, and the like.
In this embodiment, the target object may log on the application related interface 120 through the first terminal device 110, and the first terminal device 110 generates and presents the target message template by responding to various operations triggered by the target object in the interface 120. Further, the first terminal device 110 may configure the multimedia message according to the target message template, and then send the generated multimedia message to the server 150. Accordingly, the server 150 may store the received multimedia message.
The target object may log on to the application-related interface 140 through the second terminal device 130, and the second terminal device 130 sends a corresponding reply keyword to the server 150 and receives a target multimedia message replied from the server 150 according to the stored multimedia message by responding to various operations triggered by the target object in the interface 140.
The first terminal device 110 and the second terminal device 130 have applications installed thereon, the applications installed on the first terminal device 110 are used for configuring the target component templates, and the applications installed on the second terminal device 130 are used for providing chat bot business services. The application may be software, web page, applet, etc., and the server may be an application server corresponding to the software, web page, applet, etc.
The embodiments of the present application may be applied to various scenarios including, but not limited to, cloud technology, artificial intelligence, intelligent transportation, assisted driving, and the like.
Referring to fig. 2, a flow chart of a message configuration method provided in an embodiment of the present application is shown, where the method is applied to a first terminal device, and the specific flow chart is as follows:
s201, the first terminal equipment responds to a message template configuration operation triggered by the target object, and presents at least one target component selected by the target object from at least one candidate component.
Illustratively, when the target object triggers the corresponding message template configuration button, the first terminal device determines that the target object triggers the message template configuration operation. The message template configuration button may be triggered by, but is not limited to, a mouse, touch, keyboard, etc.
Candidate components include, but are not limited to, card, button, text box, input box, button, radio box, drop down box, and the like types of components. The card is used for aggregating information into a card container for display, and referring to fig. 3a, the card may include a title (i.e. a card name) and card content, and the card content may be presented with content in media formats such as text and pictures. The button is used for responding to clicking operation of the target object. The text box is used for presenting the content in the media format of words, pictures and the like. The input box is used for acquiring characters input by the target object in a mouse or keyboard mode, the single selection box is used for acquiring one selected from one or more options of the target object, the drop-down box is used for displaying one or more options through the drop-down menu, and the selected one of the target object is acquired.
In order to provide more candidate components to be selected to generate diversified message templates, in this embodiment of the present application, a library including various candidate components may be preset, where the library may be configured in the first terminal device or may be configured in another device, which is not limited thereto.
Specifically, when executing S201, the first terminal device may respond to the message template configuration operation triggered by the target object, and present at least one candidate component included in the component library; in response to a component selection operation triggered by the target object for at least one candidate component, at least one target component selected by the target object from the at least one candidate component is presented.
It should be noted that, in the embodiment of the present application, the component selection operation includes, but is not limited to, a component drag operation, a component click operation, and the like.
For example, referring to fig. 3a, the operation interface may include a terminal display area and a template configuration area, where the target object clicks a message template configuration button, and the first terminal device presents, in the terminal display area, each candidate component included in the component library in response to a message template configuration operation triggered by the target object: cards, buttons, text boxes, input boxes, buttons, radio boxes, drop-down boxes, etc., and then, in response to component selection operations triggered by the target object for each candidate component, presenting the target component selected by the target object from each candidate component in a template configuration area: card, button.
S202, the first terminal equipment responds to component template presenting operation triggered by the target object aiming at least one target component, and presents target component templates corresponding to at least one target component respectively.
The first terminal device may determine that the target object triggers the module template to present when the target object triggers the corresponding message template configuration button, where the message template configuration button may be triggered by, but not limited to, a mouse, a touch, a keyboard, or the like, or may present, in real time, a target control template corresponding to one target control selected by the target object after the target object selects one target control, which is not limited.
In this embodiment of the present invention, different target controls may correspond to different target control templates, each target control may correspond to one or more control templates, if one target control corresponds to one control template, the first terminal device may directly use the target control template corresponding to one target control as the target control template, and if one target control corresponds to multiple target control templates, the first terminal device may use the control template selected by the target object from the multiple target control templates as the target control template.
In the embodiment of the application, the operation interface may include a terminal display area and a template configuration area, where the terminal display area is used for presenting candidate controls and target controls, and the template configuration area is used for presenting target control templates.
For example, referring to FIG. 3b, the target components are: the method comprises the steps of providing a card and a button, and enabling a first terminal device to respond to a component template presentation operation triggered by a target object for a target component, and presenting a target component template corresponding to the card and a target component template corresponding to the button, wherein in the target component template corresponding to the card, the left side content is a description of each field, the right side content is a description of the field, and each field is not repeated.
It should be noted that in the embodiment of the present application, the target component template may be generated by the first terminal device before executing S202, or may be generated after the first terminal device responds to the component template presenting operation triggered by the target object for at least one target component, and a specific generating manner of the target component template is described below.
S203, the first terminal equipment responds to a message template generation operation triggered by the target object to generate and present a target message template, wherein the target message template comprises at least one target component template corresponding to each target component.
For example, referring to fig. 4a, the first terminal device generates and presents the target message template 1 in response to the message template generating operation triggered by the target object, where the target message template 1 includes a target component template corresponding to the card and a target component template corresponding to the presenting button, and the target message template 1 may also be referred to as a message template corresponding to the message card.
It should be noted that, in the embodiment of the present application, each component may be subdivided into various sub-components, for example, a text box component includes a title text box, a description text box, and the like, and a button component includes a picture button, a text button, and the like.
For example, referring to fig. 4b, the first terminal device generates and presents the target message template 2 in response to the message template generating operation triggered by the target object, where the target message template 2 includes a main title text box, a subtitle text box, a picture button, and a description text box, which are respectively corresponding to target component templates, and the target message template 1 may also be referred to as a message template corresponding to a single image-text message.
For another example, referring to fig. 4c, the first terminal device responds to the message template generating operation triggered by the target object to generate and present the target message template 3, where the target message template 3 includes a main title text box, a main title picture button, a sub-title text box, and a sub-title picture button, which are respectively corresponding to the target component templates, and the target message template 1 may also be referred to as a message template corresponding to the multi-graphic message.
In some embodiments, to support more message presenting manners, and avoid repeated development, when generating the target message template, the first terminal device may acquire the first data structure corresponding to each target control, acquire the second data structure corresponding to each target component template, and then combine the original data structure, the first data structure and the second data structure to obtain the target data structure corresponding to the target message template.
The original data structure includes, but is not limited to, a message presentation form identifier, a short message body, a message name, a corresponding structure body, and the like. Taking the target message template 1 as an example, the target message template 1 includes a target component template corresponding to a card (also referred to as a card template) and a target component template corresponding to a button (also referred to as a button template), and the original data structure acquired by the first terminal device is as follows:
Figure BDA0003338524970000111
in this embodiment of the present application, the target message template may include a message content template and an interaction control template, where the message content template is used to configure contents such as pictures, titles, descriptions, and the like, and the interaction control template is used to configure card buttons, and the card buttons include, but are not limited to, card buttons, hover buttons, and the like. Correspondingly, the first data structure comprises a message content set and an interactive control list, wherein the message content set is used for representing a message content template, and the interactive control list is used for an interactive control template.
The message content set in the first data structure comprises a message content field name, the message content field name is used for representing that the information corresponding to the field in the second data structure is bound with the message content set, the interactive control list in the first data structure comprises an interactive control field name, and the interactive control field name is used for representing that the information corresponding to the field in the second data structure is bound with the interactive control list.
For example, the target message template 1 includes a card and a button, and a first data structure corresponding to the card and the button is as follows:
Figure BDA0003338524970000112
in this embodiment of the present application, the second data structure includes a data structure of each target component template, where each data structure corresponding to each target component template may be preset and configured according to a component type. The second data structure comprises a message content field name, an interaction control field name and information corresponding to the message content field name and the interaction control field name.
For example, the first terminal device obtains the second data structure corresponding to the card template and the button template as follows:
Figure BDA0003338524970000113
Figure BDA0003338524970000121
and then, the first terminal equipment can combine the first data structure and the first data structure according to the message content field name and the interaction control field name, and fill the data structure obtained by the combination into a structural body of the original data structure to obtain the data structure corresponding to the target message template.
For example, the first terminal device combines the original data structure, the first data structure, and the first data structure to obtain a data structure corresponding to the target message template 1 as follows:
Figure BDA0003338524970000122
it should be noted that, in the embodiment of the present application, the above-mentioned capability may be packaged into a Software Development Kit (SDK), so that by installing the SDK, the first terminal device may directly obtain the corresponding target component template according to the message presentation form.
In the following, only the target component x will be described as an example, and the process of generating the target component template corresponding to the target component x will be described. Wherein the target component x is any one of the at least one target component.
In some embodiments, when generating the target component template, a bidirectional data flow relationship may be established by establishing a correspondence between the target component and the target input component, so as to implement a configuration effect in real time, and specifically, referring to fig. 5, the target component template corresponding to the target component x may be generated by:
s501, the first terminal device responds to a component template creation operation triggered by the target object for at least one target component, and presents at least one candidate input component used for acquiring target object input.
In this embodiment of the present application, when the target object triggers the corresponding component template creation button, the first terminal device may determine that the target object triggers the component template creation operation, and the component template creation button may be triggered by, but not limited to, a mouse, a touch, a keyboard, and the like.
The candidate input component refers to a component for obtaining input of a target object, and may be, but is not limited to, an input box, a drop down box, a radio box, and the like.
For example, referring to fig. 6a, the first terminal device responds to the component template creation operation triggered by the target object for the button, and presents an input box, a drop-down box and a single box to wait for selecting the component for input.
S502, the first terminal device responds to input component selection operation triggered by the target object for at least one candidate input component, and at least one target input component selected by the target object is presented.
For example, referring to FIG. 6b, the candidate input components include an input box, a drop down box, a single selection box, etc., and the target object selects the target input component from the candidate input components: the method comprises the steps of responding to input component selection operation triggered by a target object for candidate input components by the first terminal device, and presenting the target input components selected by the target object, wherein the input frame, the single selection frame and the drop-down frame are input by the first terminal device: input box, single selection box, drop down box.
S503, the first terminal device responds to the component template generating operation triggered by the target object aiming at the at least one target input component, and generates and presents the target component templates corresponding to the at least one target component respectively.
It should be noted that, in the embodiment of the present application, the target object may also be described with respect to each target input component through a text box.
For example, referring to fig. 6c, the first terminal device generates and presents a target component template corresponding to a button in response to a component template generating operation triggered by the target object for at least one target input component, where the target component template corresponding to the button may be used to configure a button name and a button type, a button name text box is used to prompt the target object to input the button name through an input box, a button type text box is used to prompt the target object to input the button type through a radio box, and an H5 short-chain text box is used to prompt the target object to input a button jump path through a drop-down box.
In the present embodiment, button types include, but are not limited to: a fifth generation hypertext markup language (Hyper Text Markup Language, HTML 5) page, applet, application (APP), phone call, and suggested reply, wherein the suggested reply refers to that the client sends reply information carrying the interactive control name to the server, and the reply information is presented in the form of a message in the operation interface. The HTML5 page may also be referred to herein as an H5 page.
When the button type is H5 page, applet and APP, the button jump path is uniform resource locator (Uniform Resource Locator, URL), and the trigger button can present the interface corresponding to the H5 page, applet and APP. When the button type is telephone, the button jump path is telephone number, and the button is triggered to realize talking.
Each candidate URL included in the drop-down frame may be a link processing operation triggered by the first terminal device in response to the target object, and when it is determined that the length of the URL to be processed input by the target object exceeds a preset chain length threshold value, the candidate URL is acquired through a short chain tool. By way of example, the chain length threshold value may be 20 characters.
In some embodiments, in order to reduce the difficulty of message configuration and improve the template configuration efficiency, the first terminal device may edit the generated target message template to obtain a new target message template. Specifically, the first terminal device responds to a message template editing operation triggered by a target object aiming at a target message template, and presents at least one target component contained in the target message template; responsive to a component editing operation triggered by the target object for the at least one target component, presenting the updated at least one target component; and generating and presenting a new target message template in response to a message template generating operation triggered by the target object aiming at the updated at least one target component, wherein the new target message template comprises target component templates corresponding to the updated at least one target component respectively.
The component editing operation includes, but is not limited to, a component adding operation, a component deleting operation, and the like.
In the process that the first terminal equipment responds to the component editing operation triggered by the target object aiming at the at least one target component and presents the updated at least one target component, if the component editing operation is the component adding operation, the first terminal equipment responds to the component adding operation triggered by the target object aiming at the at least one target component and presents at least one new target component selected by the target object from at least one candidate component.
Taking the target message template 1 as an example, referring to fig. 7a, candidate components include: text box, card, button, hover button, etc., the first terminal device responds to the message template editing operation triggered by the target object for the target message template 1, and presents the target components contained in the target message template, wherein the target components comprise: the card and the button, and then, the first terminal device responds to the component adding operation triggered by the target object for each target component to present a new target component selected by the target object from each candidate component: the hover button, i.e., updated target component, includes: the card, the button and the suspension button, and then, the first terminal equipment responds to the message template generating operation triggered by the target object aiming at the updated at least one target component to generate and present a new target message template, wherein the new target message template comprises: the card, the button and the hover button each correspond to a target component template.
In the process that the first terminal equipment responds to the component editing operation triggered by the target object aiming at least one target component and presents at least one updated target component, if the component editing operation is the component deleting operation, the first terminal equipment responds to the component deleting operation triggered by the target object aiming at any one target component in the at least one target component and deletes any one target component.
Taking the target message template 1 as an example, referring to fig. 7a, the first terminal device responds to a message template editing operation triggered by a target object for the target message template 1 to present a target component contained in the target message template, where the target component includes: the card and the button, then, the first terminal equipment responds to the component adding operation triggered by the target object for each target component, the first terminal equipment deletes the button in response to the component deleting operation triggered by the target object for the button, and the updated target components comprise: and then, the first terminal equipment responds to the message template generating operation triggered by the target object aiming at the updated at least one target component to generate and present a new target message template, wherein the new target message template comprises a target component template corresponding to the card.
After the first terminal device generates the target message template, the multimedia message may be configured according to the target message template. In the practical application process, in order to improve the configuration efficiency of the multimedia message, the first terminal device may generate various message templates in advance based on the generation process of the target message template, where each message template corresponds to one message presentation form, so that each multimedia message may be configured according to the generated message template.
Next, a procedure for configuring a multimedia message based on a target message template will be described.
Referring to fig. 8, a flow chart of a message-based configuration method provided in an embodiment of the present application is shown, where the method may be applied to a first terminal device, and the specific flow chart is as follows:
s801, the first terminal equipment responds to message configuration operation triggered by a target object, and presents message templates to be configured selected by the target object from candidate message templates, wherein each candidate message template corresponds to a message presentation type.
Wherein, each candidate message template can be based on the generation process of the target message template, and each message template is generated in advance.
Referring to fig. 9, when the target object clicks a new creative button of the message creative list, the first terminal device determines that the target object triggers a message configuration operation. In embodiments of the present application, the multimedia message may also be referred to as a creative or a message creative, and the message presentation forms include, but are not limited to: message cards and scene messages including, but not limited to, single-text messages and multi-text messages.
For example, the target object clicks the new message-message card, and the first terminal device responds to the message configuration operation triggered by the target object to present the message templates to be configured selected by the target object from the candidate message templates: the target message template corresponding to the message card, namely the target message template shown in fig. 4 a.
For another example, after the target object clicks the new message-scene message, the message type is selected to be single-image-text, and the first terminal device responds to the message configuration operation triggered by the target object for the single-image-text message to present the message template to be configured selected by the target object from the candidate message templates: the target message template corresponding to the single graphic message, namely the target message template shown in fig. 4 b.
For another example, after the target object clicks the new message-scene message, the message type is selected to be multi-graphics context, and the first terminal device responds to the message configuration operation triggered by the target object aiming at the multi-graphics context message to present the message template to be configured selected by the target object from the candidate message templates: the target message template corresponding to the multi-graphic message, namely the target message template shown in fig. 4 c.
S802, the first terminal equipment responds to the content input operation triggered by the target object aiming at the message template to be configured, and presents each input multimedia message.
For example, referring to fig. 10a, the card name is configured for partner recruitment, the card content includes three fields of product, allied rights and product features, wherein the product is an integrated wallboard, the allied rights are sent between decoration templates, the product features are provided directly by manufacturers, and the button name is configured as "instant reservation".
For another example, referring to fig. 10b, the message name is configured as game show, the main title is configured as "xx game show la", the sub-title is configured as "6 months 1 day grand show", the description is configured as "click on top picture selection belonging to your game character", the picture is configured as game picture, and the picture skip is configured as H5 page.
For another example, referring to FIG. 10b, the message name is configured for product promotion, the main heading is configured as "double 11, full 99 minus 20 la" in the main diagram, the picture is configured as a moving promotion picture, the picture skip is configured as an H5 page, and the sub-heading is configured as "new people welfare to be picked up" in the sub-diagram.
It should be noted that in the embodiment of the present application, each time a target object inputs one item of information in a message template to be configured, a first terminal device may present a configuration effect in real time in a terminal display area.
In some embodiments, in order to reduce the message configuration difficulty, in the process of executing S802, the first terminal device acquires and presents the target text input by the target object in response to the target text input operation triggered by the target object; the target multimedia message is generated and presented in response to a content configuration operation of the target object for the target message template and the target text trigger. The target text may also be referred to herein as a text message source.
For example, referring to fig. 11, in the case where the target object inputs the target text as "integrated wallboard partner recruitment, the partner recruitment message shown in fig. 10a is generated and presented by the first terminal device in response to the target object clicking the content configuration button after the first terminal device acquires and presents the target text input by the target object in response to the target object triggering target text input operation, and the first terminal device now joins the immediate delivery finishing template, the manufacturer directly supplies, and immediately reserves the bar.
Wherein the target multimedia message may be generated by:
the first terminal equipment extracts content configuration information corresponding to at least one target component based on the target text, and generates a target multimedia message based on each extracted content configuration information.
The content configuration information is used for representing the content to be filled in a target component template corresponding to one target component.
For example, in the process of recruiting the integrated wallboard partner, the product is an integrated wallboard, the alliance benefit is a decoration template, the product is provided directly, and the button name is configured as "instant reservation".
Based on the same inventive concept, the embodiments of the present application provide a message configuration apparatus. As shown in fig. 12, which is a schematic structural diagram of a message configuration apparatus 1200, may include:
a component selection unit 1201, configured to respond to a message template configuration operation triggered by a target object, and present at least one target component selected by the target object from at least one candidate component;
a component processing unit 1202, configured to respond to a component template presenting operation triggered by the target object for the at least one target component, and present a target component template corresponding to each of the at least one target component;
The template generating unit 1203 is configured to generate and present a target message template in response to the message template generating operation triggered by the target object, where the target message template includes target component templates corresponding to the at least one target component.
In some embodiments, the component processing unit 1202 is configured to generate the target component templates corresponding to the at least one target component respectively by:
in response to a component template creation operation triggered by the target object for the at least one target component, presenting at least one candidate input component for obtaining a target object input;
presenting at least one target input component selected by the target object in response to an input component selection operation triggered by the target object for the at least one candidate input component;
and generating and presenting the target component templates corresponding to the at least one target component respectively in response to the component template generating operation triggered by the target object for the at least one target input component.
In some embodiments, the component processing unit 1202 is further configured to present the at least one target component contained in the target message template in response to a message template editing operation triggered by the target object for the target message template; and presenting the updated at least one target component in response to a component editing operation triggered by the target object for the at least one target component;
The template generating unit 1203 is further configured to generate and present a new target message template in response to a message template generating operation triggered by the target object for the updated at least one target component, where the new target message template includes target component templates corresponding to the updated at least one target component.
In some embodiments, in response to the component editing operation triggered by the target object for the at least one target component, when presenting the updated at least one target component, the component processing unit 1202 is specifically configured to:
in response to a component addition operation triggered by the target object for the at least one target component, presenting at least one new target component selected by the target object from at least one candidate component; or,
and deleting any one target component in response to a component deleting operation triggered by the target object for the any one target component in the at least one target component.
In some embodiments, the apparatus further comprises a template configuration unit 1204, the template configuration unit 1204 being configured to:
responding to target text input operation triggered by the target object, and acquiring and presenting target text input by the target object;
And generating and presenting a target multimedia message in response to the target object triggering content configuration operation for the target message template and the target text.
In some embodiments, the template configuration unit 1204 is configured to generate the target multimedia message by:
extracting content configuration information corresponding to each of the at least one target component based on the target text; and generating the target multimedia message based on the extracted content configuration information.
In some embodiments, when generating the target message template, the template generating unit 1203 is specifically configured to:
acquiring a first data structure corresponding to the at least one target component and acquiring a second data structure corresponding to the at least one target component template;
and combining the original data structure, the first data structure and the second data structure to obtain a target data structure corresponding to the target message template.
In some embodiments, the component selection unit 1201 is specifically configured to, in response to the message template selection operation triggered by the target object, present at least one target component selected by the target object from at least one candidate component:
Responding to the message template configuration operation triggered by the target object, and presenting at least one candidate component contained in a component library;
and in response to a component template selection operation triggered by the target object for the at least one candidate component, presenting at least one target component selected by the target object from the at least one candidate component.
For convenience of description, the above parts are described as being functionally divided into modules (or units) respectively. Of course, the functions of each module (or unit) may be implemented in the same piece or pieces of software or hardware when implementing the present application.
The specific manner in which the respective units execute the requests in the apparatus of the above embodiment has been described in detail in the embodiment concerning the method, and will not be described in detail here.
Those skilled in the art will appreciate that the various aspects of the present application may be implemented as a system, method, or program product. Accordingly, aspects of the present application may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
Having described the methods and apparatus of exemplary embodiments of the present application, next, an electronic device according to another exemplary embodiment of the present application is described.
Fig. 13 is a block diagram of an electronic device 1300, according to an example embodiment, the apparatus comprising:
a processor 1310;
a memory 1320 for storing instructions executable by the processor 1310;
wherein the processor 1310 is configured to execute instructions to implement a message configuration method in an embodiment of the present application, such as the steps shown in fig. 2, 5 or 8.
In an exemplary embodiment, a storage medium is also provided that includes operations, such as a memory 1320 including operations, that are executable by the processor 1310 of the electronic device 1300 to perform the above-described methods. Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a portable compact disc Read-Only Memory (Compact Disk Read Only Memory, CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Based on the same inventive concept, the present application also provides a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the message configuration methods provided in the various alternative implementations of the embodiments described above.
In some possible embodiments, aspects of the message configuration method provided herein may also be implemented in the form of a program product comprising a computer program for causing a computer device to perform the steps of the message configuration method according to the various exemplary embodiments of the present application described herein above when the program product is run on the computer device, e.g. the computer device may perform the steps as shown in fig. 2, 5 or 8.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product of embodiments of the present application may take the form of a CD-ROM and include program code that can run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with a command execution system, apparatus, or device.
The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with a command execution system, apparatus, or device. While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (15)

1. A message configuration method, applied to a terminal device, the method comprising:
presenting at least one target component selected by the target object from at least one candidate component in response to a message template configuration operation triggered by the target object;
responding to component template presenting operation triggered by the target object aiming at the at least one target component, and presenting target component templates corresponding to the at least one target component respectively;
and generating and presenting a target message template in response to the message template generating operation triggered by the target object, wherein the target message template comprises target component templates corresponding to the at least one target component respectively.
2. The method of claim 1, wherein the target component templates for each of the at least one target component are generated by:
in response to a component template creation operation triggered by the target object for the at least one target component, presenting at least one candidate input component for obtaining a target object input;
presenting at least one target input component selected by the target object in response to an input component selection operation triggered by the target object for the at least one candidate input component;
And generating and presenting the target component templates corresponding to the at least one target component respectively in response to the component template generating operation triggered by the target object for the at least one target input component.
3. The method of claim 1 or 2, further comprising:
presenting the at least one target component contained in the target message template in response to a message template editing operation triggered by the target object for the target message template;
presenting the updated at least one target component in response to a component editing operation triggered by the target object for the at least one target component;
and generating and presenting a new target message template in response to the message template generating operation triggered by the target object for the updated at least one target component, wherein the new target message template comprises target component templates corresponding to the updated at least one target component respectively.
4. The method of claim 3, wherein the presenting the updated at least one target component in response to the target object triggering component editing operations for the at least one target component comprises:
In response to a component addition operation triggered by the target object for the at least one target component, presenting at least one new target component selected by the target object from at least one candidate component; or,
and deleting any one target component in response to a component deleting operation triggered by the target object for the any one target component in the at least one target component.
5. The method of claim 1 or 2, further comprising:
responding to target text input operation triggered by the target object, and acquiring and presenting target text input by the target object;
and generating and presenting a target multimedia message in response to the target object triggering content configuration operation for the target message template and the target text.
6. The method of claim 5, wherein the targeted multimedia message is generated by:
extracting content configuration information corresponding to each of the at least one target component based on the target text;
and generating the target multimedia message based on the extracted content configuration information.
7. The method of claim 1 or 2, wherein the generating a target message template comprises:
Acquiring a first data structure corresponding to the at least one target component and acquiring a second data structure corresponding to the at least one target component template;
and combining the original data structure, the first data structure and the second data structure to obtain a target data structure corresponding to the target message template.
8. The method of claim 1 or 2, wherein presenting at least one target component selected by the target object from at least one candidate component in response to a message template selection operation triggered by the target object comprises:
responding to the message template configuration operation triggered by the target object, and presenting at least one candidate component contained in a component library;
and in response to a component template selection operation triggered by the target object for the at least one candidate component, presenting at least one target component selected by the target object from the at least one candidate component.
9. A message configuring apparatus, comprising:
a component selection unit, configured to respond to a message template configuration operation triggered by a target object, and present at least one target component selected by the target object from at least one candidate component;
The component processing unit is used for responding to the component template presenting operation triggered by the target object aiming at the at least one target component and presenting the target component templates corresponding to the at least one target component respectively;
and the template generating unit is used for responding to the message template generating operation triggered by the target object to generate and present a target message template, wherein the target message template comprises target component templates corresponding to at least one target component.
10. The apparatus of claim 9, wherein the component processing unit is to generate the target component templates for each of the at least one target component by:
in response to a component template creation operation triggered by the target object for the at least one target component, presenting at least one candidate input component for obtaining a target object input;
presenting at least one target input component selected by the target object in response to an input component selection operation triggered by the target object for the at least one candidate input component;
and generating and presenting the target component templates corresponding to the at least one target component respectively in response to the component template generating operation triggered by the target object for the at least one target input component.
11. The apparatus of claim 9 or 10, wherein the component processing unit is further configured to present the at least one target component contained in the target message template in response to a message template editing operation triggered by the target object for the target message template; and presenting the updated at least one target component in response to a component editing operation triggered by the target object for the at least one target component;
the template generating unit is further configured to generate and present a new target message template in response to a message template generating operation triggered by the target object for the updated at least one target component, where the new target message template includes target component templates corresponding to the updated at least one target component.
12. The apparatus of claim 11, wherein the component processing unit is specifically configured to, in response to the component editing operation triggered by the target object for the at least one target component, present the updated at least one target component:
in response to a component addition operation triggered by the target object for the at least one target component, presenting at least one new target component selected by the target object from at least one candidate component; or,
And deleting any one target component in response to a component deleting operation triggered by the target object for the any one target component in the at least one target component.
13. An electronic device comprising a processor and a memory, wherein the memory stores a computer program which, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 8.
14. A computer readable storage medium, characterized in that it comprises a computer program for causing an electronic device to perform the steps of the method according to any one of claims 1-8 when said computer program is run on the electronic device.
15. A computer program product, characterized in that it comprises a computer program stored in a computer readable storage medium, from which computer readable storage medium a processor of an electronic device reads and executes the computer program, causing the electronic device to perform the steps of the method according to any one of claims 1 to 8.
CN202111301416.3A 2021-11-04 2021-11-04 Message configuration method and related device Pending CN116069308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111301416.3A CN116069308A (en) 2021-11-04 2021-11-04 Message configuration method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111301416.3A CN116069308A (en) 2021-11-04 2021-11-04 Message configuration method and related device

Publications (1)

Publication Number Publication Date
CN116069308A true CN116069308A (en) 2023-05-05

Family

ID=86177504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111301416.3A Pending CN116069308A (en) 2021-11-04 2021-11-04 Message configuration method and related device

Country Status (1)

Country Link
CN (1) CN116069308A (en)

Similar Documents

Publication Publication Date Title
CN102937999A (en) Dynamic browser icons
US20150281138A1 (en) Keyword based automatic reply generation in a messaging application
CN107741844B (en) Method and device for generating application installation package
CN108810646B (en) Group information push control method and device and computer readable storage medium
US11855940B2 (en) Methods, systems, and media for generating contextually relevant messages
US20180225267A1 (en) Generating rich digital documents from limited instructional data
CN111158924A (en) Content sharing method and device, electronic equipment and readable storage medium
CN112328140B (en) Image input method, device, equipment and medium thereof
CN110647327B (en) Method and device for dynamic control of user interface based on card
CN110418181B (en) Service processing method and device for smart television, smart device and storage medium
CN115510347A (en) Presentation file conversion method and device, electronic equipment and storage medium
CN112054950B (en) Resource transmission method, device, terminal and medium
CN114168853A (en) Data visualization display method, device, medium and electronic equipment
CN115905742A (en) Data display method, device, equipment and storage medium
CN114422468A (en) Message processing method, device, terminal and storage medium
CN116069308A (en) Message configuration method and related device
CN113805992B (en) Information display method and device, electronic equipment and storage medium
CN116233041A (en) Information processing method and device and electronic equipment
CN112054951B (en) Resource transmission method, device, terminal and medium
CN105991417B (en) Method and device for receiving dynamic information of friends in social network
CN116069307A (en) Message configuration method and related device
CN114489902A (en) Interface display method, device, equipment and medium
CN107209782B (en) Method for interactive operation, and transmitting machine, receiving machine and interactive operation system using the method
CN115250259B (en) Information interaction method and device and electronic equipment
CN118779038A (en) Method, device and computer readable storage medium for displaying data of multiple data sources

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