Message sending method, device, electronic device, storage medium and computer program
The message sending method and device allow users to customize and send messages to individuals or groups within instant messaging applications, addressing the limitations of existing online documents by providing a flexible and efficient message transmission solution.
Patent Information
- Application Number
- JP2025517001
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-10-14
- Filing Date
- 2023-09-15
- Publication Date
- 2025-10-28
AI Technical Summary
Existing online documents lack the ability to send content-rich messages to instant messaging applications, particularly in scenarios like sales management, e-commerce, and chain store management, where users need to send data information such as sales reports, and cannot send group messages with customizable formats.
A message sending method and device that displays a message setting interface allowing users to edit message fields, including message title, content, and controls, enabling automatic message sending to individuals or groups in instant messaging applications.
Enables users to create and send content-rich messages with customizable formats to both individuals and groups, enhancing the flexibility and efficiency of message transmission in various scenarios.
Smart Images

Figure 2025535659000001_ABST
Abstract
Description
[Technical Field]
[0001] (CROSS-REFERENCE TO RELATED APPLICATIONS) This application claims priority to a Chinese invention patent application bearing application number 202211263438.X, entitled "Message sending method, device, electronic device and storage medium," and filed on October 14, 2022, the entire contents of which are incorporated herein by reference.
[0002] The present disclosure relates to the field of computer technology, and in particular to a message transmission method, device, electronic device, and storage medium. [Background technology]
[0003] Currently, online documents (e.g., online forms) are widely used due to their advantages of supporting multi-person collaborative sharing, completing data collection using forms, saving instantaneous changes, managing by authority, and being flexible and efficient anytime and anywhere. They cover multiple usage scenarios, such as sales management, e-commerce management, academic affairs management, and chain store management. In some usage scenarios, such as sales management, users need to send data information, such as sending sales reports, through instant messaging applications. Summary of the Invention [Problem to be solved by the invention]
[0004] In view of this, an object of the present disclosure is to propose a message sending method, device, electronic device, and storage medium. [Means for solving the problem]
[0005] Based on the above objectives, in a first aspect, the present disclosure provides a message sending method, the method being applied to an online document, and specifically comprising: In an online document interface, in response to receiving a trigger operation for creating a message sending process, displaying a message setting interface, the message sending process being used to send a message in an instant messaging application, the message setting interface including a message field including at least one of a message title, a message content, and a message control; Obtaining an editing operation on the message field, and matching a corresponding editing result according to the editing operation to display it in the message setting interface; and saving and initiating the message sending process in response to a confirming operation for saving and initiating.
[0006] In a second aspect, the present disclosure provides a message sending device, the device comprising: a trigger module configured to display a message setting interface in response to receiving a trigger operation in an online document interface that creates a message sending process, the message sending process being used to send a message in an instant messaging application, the message setting interface including a message field including at least one of a message title, a message content, and a message control; an editing module configured to obtain editing operations on the message field, and match corresponding editing results according to the editing operations to display them in the message setting interface; and a launch module configured to save and launch the message sending process in response to a confirmation operation for saving and launching.
[0007] In a third aspect, the present disclosure provides an electronic device comprising one or more processors, a memory, and one or more programs, the one or more programs stored in the memory and executed by the one or more processors, the programs including instructions for performing a method according to the first aspect.
[0008] In a fourth aspect, the present disclosure provides a non-transitory computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the method of the first aspect. [Effects of the Invention]
[0009] As can be seen from the above, the message sending method, device, electronic device, storage medium, and program product provided by the present disclosure display a message setting interface so that, in the process of creating a message sending process, a user can complete the setting of relevant content for automatic message sending by editing message fields included in the message setting interface, thereby contributing to meeting the needs of sending content-rich messages to instant messaging applications. [Brief explanation of the drawings]
[0010] In order to more clearly explain the technical solutions in the present disclosure or related art, the following will briefly describe the drawings that need to be used in the description of the embodiments or related art. Obviously, the drawings in the following description are only embodiments of the present disclosure, and those skilled in the art can obtain other drawings from these drawings without any creative efforts. [Figure 1] 1 shows a schematic diagram of an online document system provided by an embodiment of the present disclosure. [Figure 2] 1 shows a schematic diagram of an instant messaging application system provided by an embodiment of the present disclosure; [Figure 3]1 illustrates a schematic diagram of interaction between an online document and an instant messaging application provided by an embodiment of the present disclosure. [Figure 4A] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 4B] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 5A] 1A and 1B show schematic diagrams of two exemplary pages according to an embodiment of the present disclosure. [Figure 5B] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 5C] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 5D] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 5E] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 5F] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 5G] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 5H] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 6A] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 6B] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 6C] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 6D] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 6E] 1 shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure. [Figure 7] 1 shows a flow diagram of one exemplary method provided by embodiments of the present disclosure. [Figure 8] 1 shows a flow diagram of another exemplary method provided by embodiments of the present disclosure. [Figure 9] 1 shows a schematic diagram of an exemplary device provided by an embodiment of the present disclosure. [Figure 10] 1 illustrates a schematic diagram of the hardware configuration of an exemplary computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0011] In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the present disclosure will be described in more detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0012] Unless otherwise defined, technical or scientific terms used in the embodiments of the present disclosure should have the ordinary meanings understood by those skilled in the art. The terms "first," "second," and similar terms used in the embodiments of the present disclosure do not represent any order, quantity, or importance, but are only used to distinguish different components. Similar terms such as "comprise" or "include" mean that the element or item appearing before the term includes the listed element or item and its equivalents appearing after the term, and do not exclude other elements or items.
[0013] In the prior art, for a user who simultaneously uses an online document and an instant messaging application, when the user is mentioned in an edited content in the user's online document or by another user, a notification message of the online document is received in the instant messaging application, and this notification message usually corresponds to a link address, allowing the user to jump to the corresponding online document via the link address.
[0014] As described in the background art, in scenarios such as sales management, e-commerce management, teaching and learning management, and chain store management, users have a need to send data information in instant messaging applications, such as sending sales reports. Obviously, in the current situation where online documents in the prior art only send messages to individual users in instant messaging applications and cannot send group messages, and the format of message content is uniform, it is difficult to meet the new needs of users in various scenarios.
[0015] In view of this, an embodiment of the present disclosure provides a message sending method, which displays a message setting interface so that, in the process of creating a message sending process, a user can complete the setting of automatic sending of message-related content by editing message fields included in the message setting interface, thereby contributing to meeting the needs of sending messages to individuals or groups in instant messaging applications.
[0016] 1 is a schematic diagram of an application system 100 for a message sending method provided by an embodiment of the present disclosure. The application system 100 may be an online document such as a google form, a shimo document, or an iFLYTEK document.
[0017] The system 100 may include a first terminal 102, a first server 104, and a second terminal 106. The terms "first terminal 102" and "second terminal 106" are used only to distinguish between different electronic devices and do not represent the number of electronic devices in an application scenario. In actual applications, multiple electronic devices may exist, including, but not limited to, desktop computers, mobile phones, mobile computers, tablet computers, media players, smart wearable devices, personal digital assistants (PDAs), or other electronic devices capable of implementing the above-mentioned functions. The first terminal 102 and the second terminal 106 may execute application programs that can provide corresponding services to users, such as document creation and document modification. For example, for online forms, the creation of an automated process is typically performed on a PC, but data addition to an online form may be performed on a mobile device using the form.
[0018] The first server 104 may be a single server or multiple servers, and in a scenario where there are multiple servers, a distributed architecture may be adopted among these servers and they may be formed as a server cluster.
[0019] Referring to FIG. 2, a schematic diagram of an instant messaging (IM) application system 200 provided by an embodiment of the present disclosure is shown. The system 200 may include a first terminal 202, a second server 204, and a second terminal 206. The terms first terminal 202 and second terminal 206 are used only to distinguish between different electronic devices and do not represent the number of electronic devices in the application scenario. In actual applications, multiple electronic devices may exist, including, but not limited to, desktop computers, mobile phones, mobile computers, tablet computers, media players, smart wearable devices, personal digital assistants (PDAs), or other electronic devices capable of implementing the above-mentioned functions. The first terminal 202 and second terminal 206 can execute application programs, which can provide corresponding services to users, such as chat services, through the application programs. Similarly, the second server 204 may be a single server or multiple servers, and in a scenario where there are multiple servers, a distributed architecture may be adopted among these servers and they may be formed as a server cluster.
[0020] 3 illustrates a schematic diagram of an interaction between an online document and an instant messaging application provided by an embodiment of the present disclosure. The first server 104 can receive an interaction request submitted by a first user in an online document and push it to the second server 204. After receiving the interaction request, the second server 204 can send the interaction request to a second user designated by the first user. In some embodiments, if the second server 204 fails to send the interaction request to the second user, it can alert the first user on the terminal of the instant messaging application corresponding to the first user and provide corresponding feedback to the first server 104. The first server 104 may choose to retain the result as an execution log.
[0021] In addition, the first user simultaneously has accounts for the online document and the instant messaging application, and based on preset conditions, the online document and the instant messaging application can bind the first user's two accounts together, allowing the first user to utilize the social network relationship in the instant messaging application.
[0022] Illustratively, the online form belongs to the same application platform as the instant messaging application, and the user account of the online form adopts the same account as the instant messaging application.
[0023] It should be noted that the above description of the online document and instant messaging application is provided to facilitate understanding of the spirit and principles of the present disclosure, and the embodiments of the present disclosure are not limited in any way in this respect, but may be applied to any applicable application.
[0024] The message sending method provided in the present disclosure will be described in detail below in combination with Figures 4A to 8, in which Figures 7 and 8 show a flowchart of message sending, specifically including the following steps:
[0025] Step S701: In response to a trigger operation for creating an automated process, a process setting interface is displayed, the process setting interface including a trigger condition interface 411 and a process selection interface 412 including a message sending process.
[0026] In some embodiments, FIG. 4A illustrates accessing an interface for creating an automated process, where the interface displays a function key for creating an automated process, and the user can trigger the creation of the automated process by clicking the function key.
[0027] In some embodiments, the process settings interface is shown in Figure 4B, which shows a trigger condition interface 411 on the left and a process selection interface 412 on the right.
[0028] The trigger condition may be when a new record is added, when the record contents are changed, or a timing trigger, and is not specifically limited here. The trigger condition can be selected from the drop-down menu in the figure. Other conditions that are satisfied simultaneously may also be set, i.e., multiple conditions may be set to be satisfied simultaneously to trigger the automation process, and this will not be described in detail here.
[0029] The process options shown in the process selection interface may include, in addition to the message sending process, adding a new record, modifying a record, searching for a record, and the like, but are not limited to these specifically.
[0030] In some embodiments, the process configuration interface further includes a title bar 413 that displays the name of the automation process the user is creating to easily distinguish it from other automation processes.
[0031] Step S702: In the online document interface, in response to receiving a trigger operation for creating a message sending process, a message setting interface is displayed (FIGS. 5A and 5C), where the message sending process is used to send a message in an instant messaging application, and the message setting interface includes at least one sending object type.
[0032] Illustratively, two types of transmission objects are shown in FIGS. 5A and 5C: individuals and groups, respectively.
[0033] Here, sending to an individual may be sending to an individual in a contact list in an instant messaging application, or sending to each individual in a group, whereas sending to a group refers to sending a message to a group.
[0034] Step S703: Based on the selected sending object type, the message setting interface presents corresponding message fields, where the message fields include at least one of a message title, a message content, and a message control.
[0035] Illustratively, referring to FIG. 5A, in response to the sending object type being person, the message fields include sender, recipient, message title, message content, and message controls.
[0036] Illustratively, referring to FIG. 5C, in response to the sending object type being a group, the message fields include a sender, a receiving group, a message title, a message content, and a message control.
[0037] Further, as shown in FIG. 5F, the sender options include at least one of a first robot and a second robot, of which the first robot is pre-configured in the instant messaging application and can send messages to each user of the instant messaging application, and of which the second robot is pre-configured in a group of the instant messaging application and can send messages to the corresponding group;
[0038] In some embodiments, in response to the sending object type being a person, the sender option is set as the first robot, where the first robot is the sender by default when the sending object is a person, and accordingly, the sender option is grayed out to indicate that the first robot is the default sender, as shown in FIG.
[0039] In some embodiments, in response to the sending object type being a group, the sender options are set as a first robot and a second robot. Those skilled in the art can understand that a user can select the first robot or the second robot as the sender.
[0040] Step S704: Obtain the editing operation for the message field, and match the corresponding editing result according to the editing operation to display it in the message setting interface.
[0041] Specifically, as shown in FIG. 5G, in response to the second robot being determined as the sender, a robot message address and at least one address bar are displayed in the message setting interface, of which the address bar is used to input the message address of the second robot. Note that, because the second robot is pre-configured in a group of the instant messaging application, the message address of the second robot is usually a webhook address.
[0042] Here, if the second robot is a robot created by the user in the group of the instant messaging application, the user can directly copy the corresponding webhook address and enter it in the address bar; if the second robot has not yet been created in the group of the instant messaging application, the user needs to access the group of the instant messaging application and add a custom robot to obtain the corresponding webhook address.
[0043] Optionally, the message setting interface further includes a first prompt tag 522. When a user clicks the first prompt tag 522, a prompt may be displayed, such as "Add a custom robot or select a created robot in Group Settings->Group Robots, then copy the robot's webhook address and enter it here." In this manner, instructions are provided for the user to edit the message field, which effectively reduces the user's difficulty in operation and improves the efficiency with which users create automation processes.
[0044] In some embodiments, referring to Figure 5H, the message setting interface further includes an add address option 524, and in response to triggering the add address option, increments the address bar, where the number of address bars corresponds to the number of second robots, i.e., the number of receiving groups.
[0045] Optionally, the limit for receiving groups for a single node is 5. Illustratively, the limit for receiving groups for a single trigger condition is 5.
[0046] Optionally, the maximum number of recipient groups for a single process is 5. For example, if an automated message sending process includes three trigger conditions, i.e., three conditions can be met to send a message independently, the total maximum number of recipient groups for the three trigger conditions is 10.
[0047] In some embodiments, as shown in Figure 5H, in response to the second robot's message address input operation, the message address is checked according to the message address rules, and in response to the message address being incorrect, an error is reported according to a preset message, where an error reporting area 523 is located below the error address.
[0048] For example, the webhook address of the second robot must match the following https: / / open.xxxxx.cn / open-apis / bot / v2 / hook / [hook_id], and if the entered address does not match the rule, an error will be reported with "The webhook address is incorrect, please check it."
[0049] By deploying the first and second robots, the number of sender types can be increased, messages can be sent to individuals or groups, and the range of message transmission can be expanded.
[0050] In some embodiments, the recipient / receiving group is configured with a search bar, as shown in Figures 5A and 5D.
[0051] In response to an input operation on the search content, a request to search for individuals or groups in the address book is sent to the instant messaging application, and optionally the first server 104 sends the request to the second server 204.
[0052] The search results fed back from the instant messaging application are obtained and displayed, and optionally the second server 204 feeds them back to the first server 104, and the first server 104 feeds them back to the user terminal.
[0053] In response to a selection operation on an individual and / or group in the search results, the corresponding individual and / or group is added as a recipient and / or receiving group.
[0054] Note that in response to being a recipient, search results will feed back external contacts in the address book, and external groups will not be displayed, as they will be sent to each of the group members.
[0055] In response to being a receiving group, the search results provide feedback of the internal and external groups in the address book.
[0056] Illustratively, in response to the sending object type being an individual, the recipient is configured to support adding individuals, internal groups, and combinations of individuals and internal groups, where it should be understood that for internal groups, the recipient is everyone in the internal group and is not sending a group message.
[0057] Since the message is sent to everyone in the group, to avoid information clutter, in some embodiments, as shown in FIG. 5B, in response to the recipient including a group, the message setting interface further includes a second prompt mark 511 located in the area below the recipient to remind the user to send the message to all group members. The prompt text of the second prompt mark may be, "Related notifications will be sent to all group members under the identity of 'First Robot'. Please use the notification function rationally to avoid information clutter. Currently, we only support sending messages to group members with 200 or fewer members."
[0058] Furthermore, the number of members in a group is limited: if the selected group exceeds a certain number, sending to this group will fail and automatic feedback will be given to the user.
[0059] Illustratively, in response to the sending object type being a group, the receiving group is configured to support the addition of internal and external groups. Here, the number of groups is also limited as described above, and will not be described again. Optionally, the number of groups is not limited.
[0060] 6A to 6C show schematic diagrams of some pages when editing the message title and message content fields.
[0061] As shown in FIG. 6B, the message title is set with a color palette 612, and the method specifically includes the following steps:
[0062] In response to a trigger operation on the color palette, at least two colors are displayed, where the at least two colors include at least two of light blue, turquoise, Indian red, royal purple, purple, indigo, and gray.
[0063] In response to a selection operation for one of at least two colors, a background color for the message title and a font color that matches the background color are determined.
[0064] It should be appreciated that the background color of the message title is set to transparent by default.
[0065] Furthermore, in response to the editing of the background color of the message title, the message title is set to be displayed in the selected background color and matching font color on a message card of the instant messaging application, which is advantageous in enhancing the distinctiveness and aesthetics of the message title.
[0066] In some embodiments, the message content is configured to support a preset text markup language used to format the text, as shown in Figure 6A. Optionally, a third prompt mark 611 indicates a portion of the content in the preset text markup language.
[0067] For example, the preset text markup language is MarkDown notation. MarkDown notation realizes functions such as bold, italics, character links, person mentions (@), and dividing lines. The third prompt mark 611 may be written as "MarkDown notation, bold: **character**, italics: _character_, character link: [character]."
[0068] Furthermore, in response to editing the message content with a preset text markup language, the message content is configured to be displayed on a message card of the instant messaging application with an effect corresponding to the preset text markup language, which is advantageous for enhancing the distinctiveness, richness, and aesthetics of the message content and meets users' needs for diversity in message content display.
[0069] For example, if the preset text markup language is MarkDown notation and the message content is edited to "**characters**", the "characters" will be displayed in bold on the message card.
[0070] In some embodiments, as shown in FIG. 6B , the message title is set with a first reference mark 615, and the message content is set with a second reference mark 616. The steps of obtaining the editing operations on the message fields, and matching the corresponding editing results according to the editing operations to display them in the message setting interface specifically include: displaying at least one option item 613 (shown in FIG. 6C) in response to triggering the first reference marker 615 or the second reference marker 616; In response to a selection operation on an option item, matching and displaying a corresponding effect interface 614 (shown in FIG. 6C ) according to the selected option item, wherein the effect interface 614 includes the selected item (not shown) displayed in the message content or a subsequent option (shown in FIG. 6C ) selected by the user.
[0071] Illustratively, if the selection item is natural time, the corresponding effect interface includes displaying a natural time field in the message content field.
[0072] For example, if the selection item is a first picture, the corresponding effect interface includes subsequent options for the target picture selected by the user. The subsequent options may have multiple stages, and the effect interface may display the subsequent options in stages according to the user's selection operation, allowing the user to select the target picture. For example, if the picture address is in the local D drive, the first subfolder under the first folder, the subsequent options include three stages that respectively display effect interfaces including the D drive, the first folder, and the first subfolder.
[0073] Illustratively, in an online form, a user can select to add a new record through the effects interface 614 and then select a field within the record to be included in the trigger condition.
[0074] In some embodiments, the selection items include a first picture, and the subsequent option is used to specify a target picture corresponding to the first picture, and the method further comprises: In response to the target picture determination operation, the method includes sending the target picture to a first robot to obtain a picture address of the target picture, and displaying the target picture in the message content of the message setting interface in a predetermined format.
[0075] Optionally, the address of the target picture is the image-key, and the instant messaging application can retrieve the target picture based on the picture address and display it in the message content of the chat interface.
[0076] Optionally, in the message content portion, the first picture may be displayed in a predetermined format, for example "Picture|$PictureName$".
[0077] Optionally, the first picture is from a local picture.
[0078] In some embodiments, the subsequent options include an information category of online documents to enable embedding information content of the corresponding information category into the message title or message content.
[0079] It further includes the following steps:
[0080] In response to the information category corresponding to the second picture, the target picture corresponding to the second picture is sent to the first robot to obtain the picture address of the target picture, and a field name corresponding to the target picture is displayed in the message content of the message setting interface. That is, the message sending method supports selecting and sending a picture in an online document as message content to a recipient / receiving group of an instant messaging application. It should be understood that if the attachment corresponding to the information category is not in picture format, it is skipped.
[0081] In response to the information category corresponding to a person, the information category is converted to address the person in the message content of the message setting interface, where the addressed person may be represented in the format @person.
[0082] In response to the information category corresponding to the text, the category name corresponding to the text is displayed in the message content of the message setting interface.
[0083] It should be noted that the message sending method of the present disclosure has a trigger condition, such as newly entered information, so that the specific content of the information cannot be identified during the process of editing the message content, and thus the corresponding type name and field name corresponding to the second picture are displayed in the message content portion.
[0084] Here, the formats of the first picture and the second picture may be, but are not limited to, JPEG (.jpg), PNG (.png), GIF (.gif), TIFF (.tif), PSD (.psd), or RAW (.dng / .cr2 / .nef).
[0085] Optionally, the size of the primary and secondary pictures is 10MB or less. Optionally, there is a limit of 5 pictures displayed per message.
[0086] In some embodiments, in response to the selection operation of the information category, the information content corresponding to the information category is configured to be displayed on a message card of the instant messaging application to realize embedding of specific message content. For example, if the information category is a picture, a target picture is displayed on the message card, and for example, if the information category is sales data, a specific sales data value is displayed on the message card.
[0087] In some embodiments, as shown in FIGS. 6D and 6E, the message control includes an option to add a button or not, and button 623 is used to set a link to the message, and the method further includes the following steps:
[0088] In response to a trigger operation of the option to add a button, a button title input box and a jump destination input box are displayed in the message setting interface. It should be understood that the button title input box is used to input a button title, and the jump destination input box is used to input a link address.
[0089] Furthermore, the message setting interface further includes a button increase option, and in response to a trigger operation of the button increase option, the message setting interface increases the button title input box and the jump destination address input box.
[0090] For example, button 2 and its corresponding button title input box and jump destination box, and button 3 and its corresponding button title input box and jump destination box are not shown.
[0091] Optionally, the number of buttons is limited to three, and the title is limited to 15 characters.
[0092] Furthermore, in response to the presence of a plurality of buttons, the plurality of buttons are configured to be displayed in the same row on a message card in the instant messaging application, which provides a cleaner and more beautiful visual effect and helps users to see all the buttons, improving the visual exposure of the buttons and preventing them from being overlooked.
[0093] In some implementations, referring to FIG. 6E, the message title, message content, and message controls are arranged to form a message card 621 in an instant messaging application.
[0094] Specifically, the positions and orders of the message title, message content, and message controls in the message card are determined according to the positions and orders of the message title, message content, and message controls in the message setting interface, which helps users predict the visual display effect of the message card in advance, facilitates users to perform predictable editing operations on the message field, and improves the editing accuracy and aesthetics of the message field.
[0095] Illustratively, if the message control is located below the message content, the message control is located at the bottom of the message card.
[0096] Furthermore, in response to the message content including text and a picture, set the positions and order of the text and the picture on the message card according to the positions and order of the text and the picture, and display the text and the picture on different lines, where the picture may be from a local picture (corresponding to the first picture) or from an online document (corresponding to the second picture), and is not specifically limited herein.
[0097] Setting text and pictures to be displayed on different lines helps ensure that pictures are positioned appropriately on message cards, avoiding issues such as missing characters or picture offsets that can occur when text and pictures are on the same line.
[0098] In some embodiments, the method further comprises the steps of:
[0099] Set a source description 622 configured to be displayed below the message card, which includes the account name that created the message sending process.
[0100] For example, the source description may be "From the automated process of querying an online form for a user name," where the user name and online form query may be changed according to the specific settings of the automated message sending process.
[0101] Optionally, the source description further includes a dividing line to separate the message body from the source description.
[0102] It should be noted that the attributes of the message card sent in the method of the present disclosure conform to the common standards of instant messaging applications.
[0103] Optionally, the message card may dynamically adjust its width depending on the screen width. Optionally, the message card does not support internationalized card content. Optionally, the text information of the message card is 30 KB or less, the image_key length of the picture is limited to 30 KB, and the size of the picture itself is not limited, and if the limit is exceeded, the execution log indicates an execution failure.
[0104] Optionally, addressing everyone, e.g. @Everyone, is prohibited in the message content.
[0105] Machine audits of instant messaging may also audit message cards.
[0106] With color palette settings, support for preset text markup languages, and support for inserting pictures, message content can be enriched and displayed in the form of a message card, making it more beautiful.
[0107] In some embodiments, as shown in FIGS. 5A to 6D, the message setting interface further includes a preview function key, and the method further comprises:
[0108] In response to the triggering operation of the preview function key, sending a message card to a preview account of the instant messaging application based on the edited message title and message content and according to a preset preview rule (as shown in FIG. 6E), where the preview account corresponds to the account that created the message sending process.
[0109] Using the preview allows you to test variable content in a message card and check message field settings, making it easy to immediately identify problems. If the trigger condition is the addition of new data, there is no data corresponding to the trigger condition, so you can display a preview as shown below. For example, if the content references a field variable, a multi-line text record will be converted to [Field]. If the button link references a record link, the link will display the text [Record Link], so of course it will not be possible to jump. If the content references natural time, the current time when the preview is sent will be displayed.
[0110] Optionally, if the preview fails, the user is prompted to find out the cause.
[0111] Step S705: In response to the confirmation operation for saving and starting, save and start the message sending process.
[0112] In some embodiments, as shown in FIG. 5E, in response to the sending object type being a group and the sender being the first robot, the message setting interface further includes a fourth prompt mark 521 prompting that the first robot is automatically added to the receiving group.
[0113] Furthermore, the step of saving and initiating the message sending process comprises:
[0114] Sending an add request to the instant messaging application, the add request including adding the first robot to each of the corresponding groups of the receiving groups, wherein the authority of the first robot is determined according to group management settings corresponding to each of the groups and the status of the account creating the message sending process in the corresponding group.
[0115] For example, if group management is set to "Only group owners and group administrators can add group members," and the account that created the automatic message sending process is not the group owner or group administrator, the first robot cannot be added. In this case, IM will prompt a failure saying "Only group owners and administrators can add robots," and the online document execution log will display an execution failure and explain the reason for the failure.
[0116] Illustratively, if group management is set to "Only the group owner and group administrators can speak in this group," if the account that created the automated message sending process is not the group owner or group administrator, after the automation is triggered, the IM will show that the first robot was invited to the group but push messages are not allowed, and the online document execution log will show an execution failure and explain the reason for the failure.
[0117] Illustratively, if the permission requirements are met, the invitation to the group is successful and a prompt appears in the IM group saying, "Account name invites the first robot to group chat, new members can view all history messages once they join the group."
[0118] Optionally, the message setting interface includes an option to activate the function or not, and if the activate function option is selected, a save and activate function key is displayed, otherwise a save as draft function key is displayed.
[0119] Step S706: In response to the trigger condition for message transmission being satisfied, a message transmission process is executed, where the execution of the message transmission process includes pushing a message transmission request to an instant messaging application, and the details are omitted here.
[0120] The embodiments of the present disclosure further provide a message sending method, as shown in Figure 7, which is applied to online documents, and specifically includes: In response to receiving a trigger operation for creating a message sending process in an online document interface, a step S702 of displaying a message setting interface, the message sending process being used to send a message in an instant messaging application, the message setting interface including a message field including at least one of a message title, a message content, and a message control; Step S704: obtaining an editing operation for the message field, and matching a corresponding editing result according to the editing operation to display it in the message setting interface; and step S705 of saving and launching the message sending process in response to a confirmation operation for saving and launching.
[0121] In some embodiments, before step S702, further: The method includes a step S701 of displaying a process setting interface in response to a trigger operation for creating an automated process, the process setting interface including a trigger condition interface and a process selection interface including a message sending process.
[0122] In some embodiments, after step S705, further: and S706, in response to a trigger condition for a message sending process being satisfied, executing the message sending process.
[0123] In some embodiments, the message configuration interface includes at least one sending object type, and the method includes the following steps.
[0124] Step S703: The message setting interface displays corresponding message fields based on the selected sending object type. In some embodiments, the step of displaying corresponding message fields based on the selected sending object type includes:
[0125] In response to the sending object type being a person, the message fields include a sender, a recipient, a message title, a message content, and a message control; and / or In response to the sending object type being a group, the message fields include a sender, a receiving group, a message title, a message content, and a message control.
[0126] In some embodiments, the sender options include at least one of a first robot and a second robot; Wherein, the first robot is pre-configured in the instant messaging application and is capable of sending messages to each user of the instant messaging application; Wherein, the second robot is pre-configured in a group of the instant messaging application and can send messages to the corresponding group.
[0127] In some embodiments, in response to the sending object type being a person, the sender options are set as a first robot; and / or In response to the sending object type being a group, the sender options are set as a first robot and a second robot.
[0128] In some embodiments, the step of obtaining the editing operation for the message field, and matching the corresponding editing result according to the editing operation and displaying it in the message setting interface specifically includes: In response to the second robot being determined as the sender, displaying a robot message address and at least one address bar in the message setting interface, the address bar being used to input the message address of the second robot.
[0129] In some embodiments, the message configuration interface further comprises an add address option; In response to triggering the add address option, the address bar is incremented.
[0130] In some embodiments, in response to the second robot inputting a message address, checking the message address according to a message address rule; In response to the message address being incorrect, an error is reported according to a preset message.
[0131] In some embodiments, in response to the sending object type being an individual, the recipient is configured to support adding individuals, internal groups, and combinations of individuals and internal groups; and / or In response to the sending object type being a group, the receiving group is configured to support adding internal and external groups.
[0132] In some embodiments, the recipient or the receiving group has a search bar configured, and the step of obtaining editing operations for the message fields, matching corresponding editing results based on the editing operations, and displaying the matching results in the message setting interface specifically includes: In response to an input operation on a search content, sending a request to the instant messaging application to search for a person or group in an address book; obtaining and displaying the search results fed back by the instant messaging application; In response to a selection operation on an individual or group in the search results, adding the corresponding individual as a recipient or adding the corresponding group as a recipient or receiving group.
[0133] In some embodiments, in response to the sending object type being a group and the sender being a first robot: The step of saving and initiating a message sending process comprises: sending an add request to the instant messaging application, the add request including adding the first robot to each corresponding one of the receiving groups; The authority of the first robot is determined according to a group management setting corresponding to each group and the status of an account that creates a message sending process in the corresponding group.
[0134] In some embodiments, the message title has a color palette set, and the step of obtaining an editing operation on the message field, matching the corresponding editing result according to the editing operation, and displaying the matching result on the message setting interface specifically includes: displaying at least two colors in response to a trigger operation on the color palette; In response to a selection operation for one of the at least two colors, determining a background color of the message title and a font color that matches the background color.
[0135] In some embodiments, the method further comprises: In response to edits to the background color of the message title, configuring the message title to be displayed in a message card of the instant messaging application with the selected background color and matching font color.
[0136] In some embodiments, the message content is configured to support a preset text markup language that is used to format the text.
[0137] In some embodiments, the method further comprises: In response to editing the message content in a preset text markup language, configuring the message content to be displayed in a message card of the instant messaging application with an effect corresponding to the preset text markup language.
[0138] In some embodiments, the message title is set with a first reference mark, or the message content is set with a second reference mark, and the step of obtaining the editing operation on the message field, and matching the corresponding editing result according to the editing operation and displaying it in the message setting interface specifically includes: displaying at least one selection item in response to a triggering operation of the first reference indicator or the second reference indicator; In response to a selection operation on the option item, matching and displaying a corresponding effect interface according to the selected option item, wherein the effect interface includes the selected item displayed in the message content or a subsequent option selected by the user.
[0139] In some embodiments, the selection item includes a first picture, and the subsequent option is used to specify a target picture corresponding to the first picture, and the method further comprises: In response to the determination operation of the first picture, sending the target picture to the first robot to obtain a picture address of the target picture, and displaying the target picture in the message content of the message setting interface in a predetermined format.
[0140] In some embodiments, the subsequent options include an information category of the online document to enable embedding information corresponding to the information category in the message title or the message content.
[0141] In some embodiments, the method further comprises: In response to the information category corresponding to a second picture, sending a target picture corresponding to the second picture to a first robot to obtain a picture address of the target picture, and displaying a field name corresponding to the target picture in a message content of the message setting interface; In response to the information category corresponding to a person, converting the message content of the message setting interface to address the person; In response to the information category corresponding to the text, displaying a category name corresponding to the text in the message content of the message setting interface.
[0142] In some embodiments, the method further comprises: In response to the selection operation of the information category, setting information content corresponding to the information category to be displayed on a message card of the instant messaging application.
[0143] In some embodiments, the message setting interface further includes an add button option for adding or not adding a button used to set a link to the message; The method further comprises: In response to a trigger operation of the button addition option, a button title input box and a jump destination input box are displayed in the message setting interface.
[0144] In some embodiments, the message setting interface further includes an increase button option, and the method further comprises: In response to the triggering of the button increment option, the message setting interface includes incrementing a button title input box and a jump destination address input box.
[0145] In some embodiments, the method further comprises: In response to the plurality of buttons, configuring the plurality of buttons to be displayed on the same line in a message card in the instant messaging application.
[0146] In some embodiments, the message title, the message content, and the message controls are configured to form a message card in the instant messaging application.
[0147] In some embodiments, the method includes determining the position and order of the message title, the message content, and the message controls in the message card according to the position and order of the message title, the message content, and the message controls in the message setting interface.
[0148] In some embodiments, the method includes, in response to the message content including text and a picture, setting the position and order of the text and the picture on the message card according to the positions and order of the text and the picture, and displaying the text and the picture on different lines.
[0149] In some embodiments, the method further comprises: Setting a source description configured to be displayed below the message card, the source description including the name of an account that created the message sending process, is included.
[0150] In some embodiments, the message setting interface further includes a preview function key, and the method further comprises: In response to the trigger operation of the preview function key, sending a message card to a preview account of the instant messaging application based on the edited message title and message content and according to a preset preview rule, wherein the preview account corresponds to the account that created the message sending process.
[0151] The method of the embodiment of the present disclosure may be performed by a single device, such as a computer or a server. The method of the embodiment may be applied to a distributed scenario and completed by multiple devices cooperating with each other. In such a distributed scenario, one device among the multiple devices may perform only one or more steps of the method of the embodiment of the present disclosure, and the multiple devices interact with each other to complete the method.
[0152] It should be noted that the above describes several embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the above-described embodiments and still achieve desirable results. Also, the processes depicted in the figures do not necessarily require a particular order or sequential order to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or advantageous.
[0153] Based on the same inventive concept, the present disclosure further provides a message sending device corresponding to the method of any of the above-mentioned embodiments.
[0154] Referring to FIG. 9, the message sending device includes: a trigger module 901 configured to display a message setting interface in response to receiving a trigger operation to create a message sending process in an online document interface, the message sending process being used to send a message in an instant messaging application, the message setting interface including a message field including at least one of a message title, a message content, and a message control; an editing module 903 configured to obtain editing operations on message fields, and match corresponding editing results based on the editing operations to display them in the message setting interface; and a launch module 904 configured to save and launch the message sending process in response to a confirmation operation for saving and launching.
[0155] In some embodiments, the trigger module 901 is further configured to display a process setting interface in response to a trigger operation to create an automated process, the process setting interface including a trigger condition interface and a process selection interface including a message sending process.
[0156] In some embodiments, the system further comprises an execution module configured to execute the automatic message sending process in response to a trigger condition of the message sending process being satisfied.
[0157] In some embodiments, the message configuration interface includes at least one transmission object type, and further comprises a matching module 902 configured to display corresponding message fields based on the selected transmission object type.
[0158] In some embodiments, the matching module 902: In response to the sending object type being a person, the message fields include a sender, a recipient, a message title, a message content, and a message control; and / or In response to the sending object type being a group, the message fields are configured to include a sender, a receiving group, a message title, a message content, and a message control.
[0159] In some embodiments, the sender options include at least one of a first robot and a second robot; Wherein, the first robot is pre-configured in the instant messaging application and is capable of sending messages to each user of the instant messaging application; Wherein, the second robot is pre-configured in a group of the instant messaging application and can send messages to the corresponding group.
[0160] In some embodiments, the matching module 902, in response to the sending object type being a person, sets the sender option as a first robot; and / or In response to the sending object type being a group, the sender options are configured to be set as a first robot and a second robot.
[0161] In some embodiments, the editing module 903 is configured to, in response to the second robot being determined as the sender, display a robot message address and at least one address bar in the message setting interface, the address bar being used to input the message address of the second robot. In some embodiments, the message configuration interface further includes an add address option, and the editing module 903 is configured to increase the address bar in response to triggering the add address option.
[0162] In some embodiments, in response to the second robot inputting a message address, checking the message address according to a message address rule; In response to the message address being incorrect, an error is reported according to a preset message.
[0163] In some embodiments, in response to the sending object type being an individual, the recipient is configured to support adding individuals, internal groups, and combinations of individuals and internal groups; and / or In response to the sending object type being a group, the receiving group is configured to support adding internal and external groups.
[0164] In some embodiments, the recipient or the receiving group has a search bar configured, and the editing module 903, in response to an input operation on the search content, sends a request to the instant messaging application to search for a person or group in an address book; obtaining and displaying the search results provided by the instant messaging application; In response to a selection operation on an individual or group in the search results, the corresponding individual is added as a recipient, or the corresponding group is added as a recipient or a receiving group.
[0165] In some embodiments, in response to the sending object type being a group and the sender being a first robot, the activation module 904: sending an add request to the instant messaging application, the add request including adding the first robot to each corresponding one of the receiving groups; The authority of the first robot is configured to be determined according to a group management setting corresponding to each group and the status of the account that creates the message sending process in the corresponding group.
[0166] In some embodiments, the message title has a color palette configured, and the editing module 903 displays at least two colors in response to a trigger operation on the color palette; In response to a selection operation for one of the at least two colors, a background color of the message title and a font color that matches the background color are determined.
[0167] In some embodiments, the editing module 903: In response to an edit to the background color of the message title, the message title is configured to be displayed in a message card of the instant messaging application with the selected background color and matching font color.
[0168] In some embodiments, the message content is configured to support a preset text markup language that is used to format the text.
[0169] In some embodiments, the editing module 903: In response to editing the message content in a preset text markup language, the instant messaging application is configured to set the message content to be displayed in a message card with an effect corresponding to the preset text markup language.
[0170] In some embodiments, the message title is marked with a first reference marker, or the message content is marked with a second reference marker, and the editing module 903 displays at least one option item in response to a trigger operation of the first reference marker or the second reference marker; In response to a selection operation on the option item, a corresponding effect interface is matched and displayed according to the selected option item, and the effect interface includes the selected item displayed in the message content or a subsequent option selected by the user.
[0171] In some embodiments, the selection item includes a first picture, and the subsequent option is used to specify a target picture corresponding to the first picture, and the editing module 903 is configured to, in response to a target picture determination operation, send the target picture to a first robot to obtain a picture address of the target picture, and display the target picture in a message content of the message setting interface in a predetermined format.
[0172] In some embodiments, the subsequent options include an information category of the online document to enable embedding information content of the corresponding information category into the message title or the message content.
[0173] In some embodiments, the editing module 903: In response to the information category corresponding to a second picture, sending a target picture corresponding to the second picture to a first robot to obtain a picture address of the target picture, and displaying a field name corresponding to the target picture in a message content of the message setting interface; In response to the information category corresponding to a person, converting the message content of the message setting interface to address the person; In response to the information category corresponding to the text, the message setting interface is configured to display a category name corresponding to the text in a message content.
[0174] In some embodiments, the editing module 903 is configured to, in response to a selection operation of the information category, set information content corresponding to the information category to be displayed in a message card of the instant messaging application.
[0175] In some embodiments, the message setting interface further includes an add button option for selecting whether to add a button used to set a link to the message, and the device is configured such that in response to triggering the add button option, the message setting interface displays a button title input box and a jump input box.
[0176] In some embodiments, the message setting interface further includes a button increase option, and the device is configured such that, in response to triggering the button increase option, the message setting interface increases a button title input box and a jump destination address input box.
[0177] In some embodiments, the editing module 903 is configured, in response to the plurality of buttons, to configure the plurality of buttons to be displayed on the same line in a message card in the instant messaging application.
[0178] In some embodiments, the message title, the message content, and the message controls are configured to form a message card in the instant messaging application.
[0179] In some embodiments, the editing module 903 is configured to determine the position and order of the message title, the message content, and the message controls in the message card according to the position and order of the message title, the message content, and the message controls in the message setting interface.
[0180] In some embodiments, in response to the message content including text and a picture, the editing module 903 is configured to set the position and order of the text and the picture in the message card according to the position and order of the text and the picture, and to display the text and the picture on different lines.
[0181] In some embodiments, the device sets a source description configured to be displayed below the message card, the source description configured to include the name of the account that created the message sending process.
[0182] In some embodiments, the message setting interface further includes a preview function key, and the device is configured to, in response to a trigger operation of the preview function key, send a message card to a preview account of the instant messaging application based on the edited message title and message content and according to a preset preview rule, wherein the preview account corresponds to an account that created the message sending process.
[0183] For ease of explanation, the above device will be described by functionally dividing it into various modules. Of course, when implementing the present disclosure, the functions of each module may be implemented by the same or multiple pieces of software and / or hardware.
[0184] The apparatuses of the above embodiments can be used to realize the corresponding message transmission methods in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0185] Based on a similar inventive concept, the present disclosure further provides an electronic device that corresponds to the method of any of the above-mentioned embodiments and includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and that, when the processor executes the program, realizes the message sending method described in any of the above-mentioned embodiments.
[0186] 10 is a schematic diagram of a specific hardware structure of an electronic device provided by this embodiment, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other via the bus 1050 for communication within the device.
[0187] The processor 1010 may be implemented in the form of a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, etc., to execute associated programs and implement the technical solutions provided by the embodiments of this specification.
[0188] The memory 1020 may be implemented in the form of a read-only memory (ROM), a random access memory (RAM), a static storage device, a dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided by the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and called and executed by the processor 1010.
[0189] The input / output interface 1030 is used to connect input / output modules to realize information input / output. The input / output modules may be installed in the device as components (not shown) or may be connected externally to the device to provide corresponding functions. Among them, input devices may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and output devices may include a display, speaker, vibrator, indicator, etc.
[0190] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices, which may be realized by a wired method (e.g., USB, network cable, etc.) or a wireless method (e.g., mobile network, WIFI, Bluetooth, etc.).
[0191] The bus 1050 includes a path for transmitting information between each component of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0192] Although the above-described device only includes a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050, other components necessary for normal operation may be included in a specific implementation. Those skilled in the art will understand that the above-described device may include only the components necessary for implementing the ideas of the embodiments of this specification, and may not include all of the components shown in the drawings.
[0193] The electronic devices of the above-mentioned embodiments can be used to realize the corresponding message sending methods in any of the above-mentioned embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be described again here.
[0194] Based on a similar inventive concept, the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the message sending method described in any of the above embodiments, corresponding to the method of any of the above embodiments.
[0195] Computer-readable media in this embodiment include non-transitory and transitory, portable and non-portable media, and may be implemented by any method or technology for storing information. Information may be computer-readable instructions, data structures, program modules, or other data. Computer storage media may include, for example, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital multifunction disk (DVD) or other optical storage device, cartridge magnetic tape, magnetic disk storage device or other magnetic storage device, or other non-transmission medium that can be used to store information accessible by a computing device.
[0196] The computer instructions stored on the storage medium of the above-mentioned embodiments are used to make a computer execute the message sending method described in any of the above-mentioned embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0197] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and does not mean that the scope of the present disclosure (including the claims) is limited to these examples; within the concept of the present disclosure, the technical features in the above embodiments or different embodiments can be combined, steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of the present disclosure described above, which are not provided in detail for the sake of clarity.
[0198] Additionally, to simplify the description and discussion and avoid obscuring the understanding of the embodiments of the present disclosure, the provided drawings may or may not depict well-known power / ground connections to integrated circuit (IC) chips and other components. Additionally, to avoid obscuring the understanding of the embodiments of the present disclosure, devices may be shown in block diagram form, taking into account the fact that the details regarding the embodiments of these block diagram devices will vary depending on the platform on which the embodiments of the present disclosure are implemented (i.e., these details should be entirely within the understanding of those skilled in the art). Where specific details (e.g., circuits) are described to describe exemplary embodiments of the present disclosure, it will be apparent to those skilled in the art that the embodiments of the present disclosure can be practiced without these specific details or with variations in these specific details. Therefore, these descriptions should be considered illustrative, rather than limiting.
[0199] While the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many permutations, modifications, and variations of these embodiments will be apparent to those skilled in the art in light of the above description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) can use the described embodiments.
[0200] The embodiments of the present disclosure are intended to encompass all such substitutions, changes, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should fall within the protection scope of the present disclosure.
Claims
1. 1. A method for sending a message, comprising: In an online document interface, in response to receiving a trigger operation for creating a message sending process, displaying a message setting interface, the message sending process being used to send a message to an instant messaging application, the message setting interface including a message field including at least one of a message title, a message content, and a message control; Obtaining an editing operation on the message field, and matching a corresponding editing result according to the editing operation to display it in the message setting interface; and saving and initiating the message sending process in response to a confirmation operation for saving and initiating. method.
2. In the online document interface, before the step of displaying the message setting interface in response to receiving the trigger operation for creating the message sending process, further: displaying a process setting interface in response to a trigger operation to create an automated process, the process setting interface including a trigger condition interface and a process selection interface including a message sending process; The method of claim 1.
3. After the step of saving and launching the message sending process, further executing a message sending process in response to a trigger condition of the message sending process being satisfied; The method of claim 2.
4. The message configuration interface includes at least one sending object type, and the method includes: and presenting corresponding message fields in the message configuration interface based on the selected sending object type. The method of claim 1.
5. The step of displaying corresponding message fields in the message setting interface based on the selected sending object type includes: In response to the sending object type being a person, the message fields include a sender, a recipient, a message title, a message content, and a message control; or In response to the sending object type being a group, the message fields include a sender, a receiving group, a message title, a message content, and a message control. The method of claim 4.
6. the sender options include at least one of a first robot and a second robot; the first robot is pre-configured within the instant messaging application and is capable of sending messages to each user of the instant messaging application; The second robot is pre-configured in a group of the instant messaging application and is capable of sending messages to the corresponding group; The method of claim 5.
7. In response to the sending object type being a person, the sender option is set as a first robot; or In response to the sending object type being a group, the sender options are set as a first robot and a second robot; The method of claim 6.
8. The step of obtaining the editing operation for the message field, and matching the corresponding editing result according to the editing operation and displaying it in the message setting interface specifically includes: In response to the second robot being determined as a sender, displaying a robot message address and at least one address bar in the message setting interface, wherein the address bar is used to input the message address of the second robot. The method of claim 6.
9. the message setting interface further includes an add address option; incrementing the address bar in response to triggering the add address option; The method of claim 8.
10. In response to an input operation of a message address of the second robot, checking the message address according to a message address rule; In response to the message address being incorrect, reporting an error according to a preset message. The method of claim 8.
11. In response to the sending object type being an individual, the recipient is configured to support adding individuals, internal groups, and combinations of individuals and internal groups; or responsive to the sending object type being a group, the receiving group being configured to support adding an internal group and an external group; The method of claim 5.
12. The recipient or the receiving group has a search bar set, and the step of obtaining the editing operation for the message field, and matching the corresponding editing result according to the editing operation and displaying it in the message setting interface is specifically: In response to an input operation on a search content, sending a request to the instant messaging application to search for a person or group in an address book; obtaining and displaying the search results fed back by the instant messaging application; and in response to a selection operation on an individual or group in the search results, adding the corresponding individual as a recipient or adding the corresponding group as a recipient or receiving group. The method of claim 5.
13. In response to the sending object type being a group and the sender being a first robot, The steps to save and launch the message sending process are: sending an add request to the instant messaging application, the add request including adding the first robot to each corresponding one of the receiving groups; The authority of the first robot is determined according to a group management setting corresponding to each group and a status in the corresponding group of an account that creates a message sending process. The method of claim 6.
14. The message title has a color palette set, and the step of obtaining the editing operation for the message field, matching the corresponding editing result according to the editing operation, and displaying the matching result on the message setting interface specifically includes: displaying at least two colors in response to a trigger operation on the color palette; determining a background color of the message title and a font color that matches the background color in response to a selection operation for one of the at least two colors; The method of claim 1.
15. The method further comprises: In response to edits to a background color of the message title, configuring the message title to be displayed in a message card of the instant messaging application with the selected background color and matching font color.
15. The method of claim 14.
16. the message content is configured to support a preset text markup language used to format the text; The method of claim 1.
17. The method comprises: In response to editing the message content in a preset text markup language, configuring the message content to be displayed in a message card of the instant messaging application with an effect corresponding to the preset text markup language.
17. The method of claim 16.
18. The message title is set with a first reference mark, or the message content is set with a second reference mark. The step of obtaining the editing operation on the message field, and matching the corresponding editing result according to the editing operation and displaying it on the message setting interface specifically includes: displaying at least one option item in response to a triggering operation of the first reference indicator or the second reference indicator; In response to a selection operation on the option item, matching and displaying a corresponding effect interface according to the selected option item, wherein the effect interface includes the selected item displayed in the message content or a subsequent option selected by a user; The method of claim 1.
19. The selection items include a first picture, and the subsequent options are used to specify a target picture corresponding to the first picture, and the method further comprises: In response to the target picture determination operation, transmitting the target picture to a first robot to obtain a picture address of the target picture, and displaying the target picture in a message content of the message setting interface in a predetermined format.
20. The method of claim 18.
20. The subsequent options include an information category of an online document, to enable embedding information content corresponding to the information category in the message title or the message content.
20. The method of claim 18.
21. The method further comprises: In response to the information category corresponding to a second picture, sending a target picture corresponding to the second picture to a first robot to obtain a picture address of the target picture, and displaying a field name corresponding to the target picture in a message content of the message setting interface; In response to the information category corresponding to a person, converting the message content of the message setting interface to address the person; In response to the information category corresponding to the text, displaying a category name corresponding to the text in the message content of the message setting interface.
21. The method of claim 20.
22. The method further comprises: In response to a selection operation of the information category, setting information content corresponding to the information category to be displayed on a message card of the instant messaging application.
21. The method of claim 20.
23. The message control includes an add button option for adding or removing a button used to set a link to the message; The method further comprises: displaying a button title input box and a jump destination input box in the message setting interface in response to a trigger operation of the button addition option; The method of claim 1.
24. The message setting interface further includes an increase button option, and the method further comprises: In response to a trigger operation of the button increment option, the message setting interface increments a button title input box and a jump destination address input box.
24. The method of claim 23.
25. The method further comprises: In response to the plurality of buttons, configuring the plurality of buttons to be displayed on the same line in a message card in the instant messaging application.
24. The method of claim 23.
26. the message title, the message content, and the message controls are configured to form a message card in the instant messaging application. The method of claim 1.
27. The method further comprises: determining the positions and order of the message title, the message content, and the message control in the message card according to the positions and order of the message title, the message content, and the message control in the message setting interface; 27. The method of claim 26.
28. The method further comprises: In response to the message content including text and a picture, setting the positions and order of the text and the picture on the message card according to the positions and order of the text and the picture, and displaying the text and the picture on different lines.
28. The method of claim 27.
29. The method further comprises: setting a source description configured to be displayed below the message card, the source description including a name of an account that created a message sending process; 27. The method of claim 26.
30. The message setting interface further includes a preview function key, and the method further comprises: In response to a trigger operation of the preview function key, sending a message card to a preview account of the instant messaging application based on the edited message title and message content according to a preset preview rule, wherein the preview account corresponds to an account that created the message sending process. The method of claim 1.
31. a trigger module configured to display a message setting interface in response to receiving a trigger operation to create a message sending process in an online document interface, the message sending process being used to send a message to an instant messaging application, the message setting interface including a message field including at least one of a message title, a message content, and a message control; an editing module configured to obtain editing operations on the message field, and match corresponding editing results according to the editing operations to display them in the message setting interface; a launch module configured to save and launch the message sending process in response to a confirmation operation for saving and launching; Message sending device.
32. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, When the processor executes the computer program, it implements the method of any one of claims 1 to 30. electronic equipment.
33. 31. A method for implementing a method according to any one of claims 1 to 30, comprising: A non-transitory computer-readable storage medium.
Citation Information
Patent Citations
Online document announcement processing method and device, electronic equipment and storage medium
CN112214971A
Document input editing system
JP2007328471A
Document sharing processing method and apparatus, device, medium, and system
WO2022001729A1