A method, apparatus and related product for publishing group voting
Patent Information
- Application Number
- CN202210958212.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2042-08-05
AI Technical Summary
不难发现,这样的群投票发布方式效率较低
[0030] This application provides a method for publishing a group poll. In this method, a voting entry point is provided in a document editing tool to facilitate users initiating the group poll process. Once this voting entry point is triggered, a list of conversations is displayed for the user to select the target group conversation. The target group conversation provides materials for generating voting options. After selecting the target group conversation, its chat window is displayed. Multiple group conversation messages to be parsed can be obtained and parsed to generate voting options, which are then published through the document editing tool. The method for publishing a group poll provided in this embodiment can automatically parse group conversation messages to generate voting options, replacing the manual process of organizing messages and summarizing participants' intentions. It achieves automatic option filling, avoiding complex and tedious editing operations such as editing voting options, thereby improving the efficiency of publishing group polls. Furthermore, the document editing tool provides a triggering mechanism for the voting entry point, making poll initiation very convenient and easy to implement, providing a better user experience. This application also correspondingly provides a device, equipment, computer-readable storage medium, and computer program product for publishing group polls.
Smart Images

Figure CN117560445B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus and related products for publishing group votes. Background Technology
[0002] Some communication software includes group chat mechanisms. Group chats enable multiple people to communicate together, which can improve communication efficiency. Since groups typically have many members, in situations requiring decision-making, voting can often be used to gather broader opinions from all group members, allowing everyone to express their views.
[0003] Currently, to publish a group poll, the initiator often needs to manually edit the poll page before publishing it. For example, the initiator needs to organize the group conversation, summarize the opinions, determine the voting options, and then fill them into the editing page. Group messages are often diverse rich text, containing not only directly readable text but also images, videos, and even web links. Organizing these messages and summarizing opinions consumes a significant amount of the poll creator's time, involving tedious manual operations. For example, with images, the poll creator needs to download the image before reading the information within it; with web links, the creator needs to navigate to the opened webpage and then copy the text. It's easy to see that this method of publishing group polls is inefficient. Summary of the Invention
[0004] This application provides a method, apparatus, and related products for publishing group polls, aiming to improve the efficiency of publishing group polls and reduce the complex editing operations for poll creators.
[0005] Firstly, this application provides a method for publishing group polls, including:
[0006] In response to a triggered action on the voting entry in the document editing tool, display a list of sessions;
[0007] In response to a target group session identified in the session list, display the chat window of the target group session;
[0008] Retrieve multiple group chat messages to be parsed from the chat window;
[0009] Based on the group session message to be parsed, voting options are generated, and the group vote is published through the document editing tool.
[0010] Secondly, this application provides another method for publishing group polls, including:
[0011] In response to a message selection operation in the chat window of the target group session, identify multiple group session messages to be parsed;
[0012] In response to the trigger operation of parsing the group conversation message to be parsed, the acquired multiple option information is displayed in the respective option positions on the voting editing page to generate voting options; wherein, the option information includes the information obtained from parsing the group conversation message to be parsed;
[0013] In response to a triggering operation of the publish control on the vote editing page, a group vote containing the vote options is published in the target group session.
[0014] Thirdly, this application provides an apparatus for publishing group polls, the apparatus comprising:
[0015] The conversation list display unit is used to display the conversation list in response to a triggered action on the voting entry in the document editing tool;
[0016] A chat window display unit is used to display the chat window of the target group session in response to a target group session determined in the session list;
[0017] The message acquisition unit is used to acquire multiple group conversation messages to be parsed in the chat window;
[0018] A voting option generation unit is used to generate voting options based on the group session message to be parsed;
[0019] The voting publishing unit is used to publish group polls through the document editing tool.
[0020] Fourthly, this application provides another device for publishing group polls, the device comprising:
[0021] The message determination unit is used to determine multiple group conversation messages to be parsed in response to a message selection operation in the chat window of the target group conversation;
[0022] A voting option generation unit is used to respond to a trigger operation of parsing the group session message to be parsed, and to display the acquired multiple option information in the respective option positions on the voting editing page to generate voting options; wherein, the option information includes information obtained from parsing the group session message to be parsed;
[0023] A voting publishing unit is used to publish a group vote containing the voting options in the target group session in response to a trigger operation of the publishing control on the voting editing page.
[0024] Fifthly, this application provides a device for publishing group votes, the device including a processor and a memory:
[0025] The memory is used to store program code and transfer the program code to the processor;
[0026] The processor is used to execute the method steps for publishing group voting provided by the first or second aspect, according to the instructions in the program code.
[0027] Sixthly, this application provides a computer-readable storage medium. The computer-readable storage medium is used to store program code for performing the method steps of the group voting method provided in the first or second aspect.
[0028] In a seventh aspect, this application provides a computer program product. The product includes a computer program or instructions that, when executed by a device for issuing group voting, implement the method for issuing group voting provided in the first or second aspect.
[0029] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:
[0030] This application provides a method for publishing a group poll. In this method, a voting entry point is provided in a document editing tool to facilitate users initiating the group poll process. Once this voting entry point is triggered, a list of conversations is displayed for the user to select the target group conversation. The target group conversation provides materials for generating voting options. After selecting the target group conversation, its chat window is displayed. Multiple group conversation messages to be parsed can be obtained and parsed to generate voting options, which are then published through the document editing tool. The method for publishing a group poll provided in this embodiment can automatically parse group conversation messages to generate voting options, replacing the manual process of organizing messages and summarizing participants' intentions. It achieves automatic option filling, avoiding complex and tedious editing operations such as editing voting options, thereby improving the efficiency of publishing group polls. Furthermore, the document editing tool provides a triggering mechanism for the voting entry point, making poll initiation very convenient and easy to implement, providing a better user experience. This application also correspondingly provides a device, equipment, computer-readable storage medium, and computer program product for publishing group polls. Attached Figure Description
[0031] Figure 1 A scenario architecture diagram of a method for publishing group votes provided in this application embodiment;
[0032] Figure 2A A flowchart illustrating a method for publishing group polls is provided in this application embodiment;
[0033] Figure 2B To and Figure 2A The corresponding interface view for publishing group voting on the terminal device;
[0034] Figure 3A schematic diagram of a target group chat window provided in an embodiment of this application;
[0035] Figure 4 This is an illustration showing that some messages in the target group's chat window are selected.
[0036] Figure 5A This is an illustration of a voting editing page where the options are missing.
[0037] Figure 5B After filling in the information for the option positions on the voting editing page, a schematic diagram of the voting options is generated;
[0038] Figure 5C A flowchart for parsing group session messages provided in this application embodiment;
[0039] Figure 5D A flowchart illustrating another method for publishing group voting provided in this application embodiment;
[0040] Figure 6A A flowchart for publishing a group vote is provided as an embodiment of this application;
[0041] Figure 6B To and Figure 6A The corresponding interface view for publishing group voting on the terminal device;
[0042] Figure 7A Another flowchart for publishing group voting provided in this application embodiment;
[0043] Figure 7B To and Figure 7A The corresponding interface view for publishing group voting on the terminal device;
[0044] Figure 8A A schematic diagram of a device for publishing group votes is provided as an embodiment of this application;
[0045] Figure 8B A schematic diagram of another device structure for publishing group voting provided in this application embodiment;
[0046] Figure 9 This is a schematic diagram of the server structure in an embodiment of this application;
[0047] Figure 10 This is a schematic diagram of the structure of a terminal device in an embodiment of this application. Detailed Implementation
[0048] First, we will explain several terms that may be involved in the embodiments of this application below.
[0049] Group voting: "Voting" is a method of group decision-making. The "group voting" mentioned in this application refers to an application that publishes voting information to a designated group chat and allows group members to complete their votes within a specified time. The system automatically calculates the voting results and completes the group decision.
[0050] Creator: In this application, the creator specifically refers to the "user who initiates the group vote". The basic task flow for this user role is "initiate a vote - edit the vote - end the vote and announce the voting results".
[0051] Collaborators: In this application, it refers to "group member users who participate in the voting".
[0052] Link parsing: In this application, "link parsing" refers to retrieving webpage titles, descriptions, and images using Hypertext Markup Language (HTML).
[0053] Image understanding: "Image understanding" refers to the semantic understanding of images by computers. Based on artificial intelligence technologies such as deep learning and massive training data, images are analyzed to understand "what" and "in what scene" the image is, used to interpret scenes, objects, people, animals, etc. in the image.
[0054] Image tagging: Based on image understanding, intelligent classification and object recognition are performed on images, and images are labeled through classification and recognition. For example, a picture of "spicy chicken cubes" can be labeled with "food", "Sichuan cuisine", and "chili pepper".
[0055] Smart Fill: In this application, "smart fill" refers to a technical application that automatically fills in the title, description, and options of a poll. It utilizes link parsing and image understanding technologies to analyze group conversations and automatically fill in the text or image fields for the poll options; and intelligently fills in the poll title based on the semantic meaning of the images and text contained in the poll options.
[0056] Currently, publishing group polls typically involves the poll creator manually interpreting group members' intentions and performing a series of tedious editing operations, resulting in complex and inefficient poll publishing methods. This application provides a method and related products for publishing group polls. In this application, only the group conversation messages to be parsed need to be identified and their parsing triggered. Poll options can then be generated based on these messages, and the group poll can be published. There is no need for manual interpretation of group members' intentions and editing of poll options. Group conversation messages can be accurately parsed to generate poll options, reducing tedious manual operations and making group poll publishing simpler, more convenient, and easier to implement. The entire process is more efficient and time-saving compared to previous technologies. Document editing tools also provide efficient paths for initiating group polls.
[0057] The method for publishing group polls provided in this application embodiment can be executed by a terminal device. For example, an instant messaging software application client can run on the terminal device. Through the instant messaging software application client, users can initiate group conversations. A group conversation can begin once the chat window of the conversation is opened. Taking the chat window of the target group conversation as an example, when a user needs to initiate a poll, they can select some group conversation messages in the conversation window by touching the screen of the terminal device or by using an external device such as a mouse or keyboard. The terminal device can then determine that the selected group conversation messages are the group conversation messages to be parsed. The parsing of the group conversation messages can be completed by the terminal device itself or by other devices. For example, the terminal device can send a parsing request to a server that has the application server of the communication software installed, and the server will parse the group conversation messages to be parsed. The terminal device then receives the parsing results from the server. The terminal device can intelligently fill the parsed option information into the poll editing page to form poll options, replacing the method of manually editing poll options by the poll creator. Finally, users only need to apply a trigger operation to the publish control on the vote editing page, and the software client running on the terminal device can publish a group vote containing the above-generated voting options in the target group session window, allowing other members in the group to express their voting opinions, ultimately realizing the decision-making of multiple members in the group.
[0058] Furthermore, the execution entity of the group voting method provided in this application embodiment can also be other devices, such as a server. Therefore, this application embodiment does not limit the implementation entity of the technical solution of this application. As mentioned above, the group voting method provided in this application embodiment can be implemented by both terminal devices and servers. Figure 1 This is a scenario architecture diagram illustrating a method for publishing group voting as provided in an embodiment of this application. Figure 1 In the scenario shown, the terminal device is responsible for directly interacting with the user and requesting the server to parse the group session messages; the server is responsible for parsing the group session messages and then sending them back to the terminal device. The server provides backend technical support for the group voting method described above. Both the initiation and publication of group votes are displayed on the terminal device. Terminal devices include, but are not limited to, any of the following: mobile phones, desktop computers, tablets, laptops, PDAs, etc. Figure 1 The server shown can be a standalone physical server, a server cluster consisting of multiple physical servers, or a distributed system. Additionally, the server can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0059] For ease of understanding, the implementation of the method will be described below using a terminal device as an example of the execution subject. Figure 2A This application provides a flowchart of a method for publishing a group poll. The method specifically describes a path for initiating and publishing a group poll from a document editing tool. From... Figure 2B The shown and Figure 2A The corresponding interface view for publishing a group poll on the terminal device also illustrates this path. The path involves the following process: the creator enters a document editing tool and creates a blank poll in the document editing tool, and then the page jumps to the conversation list; the creator selects the target group conversation window from the conversation list and selects the group conversation message in it; the selected message is added as an option in the conversation window to parse the message and actually generate the poll options, and finally the group poll is published.
[0060] First, the methodology and process will be introduced. For example... Figure 2A The methods for publishing group polls shown include:
[0061] Step 2001: In response to the triggered operation for the voting entry in the document editing tool, display the session list.
[0062] In this embodiment, to generate voting options, a window containing group chat messages needs to be presented for the creator of the group vote to select messages. In the path provided in this embodiment for publishing a group vote, the group vote is not triggered from the chat window of the group chat, but rather from a document editing tool.
[0063] As an example, the document editing tool can create various types of documents, such as text editing documents, chart editing documents, slideshow editing documents, and poll editing documents. After the document editing tool is opened, a document creation page is displayed. The document creation page displays creation controls for the aforementioned documents. The creation control for the poll editing document serves as the voting entry point.
[0064] The document editing tool can be a standalone application, a mini-program within instant messaging software, or another type of tool. There are no restrictions on the form or nature of the document editing tool. The document editing tool includes a voting entry point. Because of this voting entry point, once triggered, the creator can see a list of displayed conversations on their terminal device, allowing them to select a group conversation.
[0065] In one example implementation, step 2001 may include:
[0066] In response to a trigger operation on the voting entry point, a voting editing page is created and displayed. All information in the voting editing page can be used as voting parameter settings. That is, the voting editing page includes voting parameter settings. For example, voting parameter settings include voting options, voting deadline, voting instructions, voting title, etc., and may also include controls for adding options from a session. In this step, based on the displayed page, in response to a trigger operation on the control in the voting parameter settings that adds options from a session, the session list can be displayed.
[0067] Step 2002: In response to the target group session identified in the session list, display the chat window of the target group session.
[0068] As mentioned earlier, triggering the voting entry in the document editing tool displays the creator's chat list for the instant messaging software. This list includes chats that the creator hasn't cleared, some of which may be one-on-one or group chats involving multiple people. The creator can select a group of chats as the target group chat. This target group chat is the source of the group voting message.
[0069] Step 2003: Obtain multiple group conversation messages to be parsed in the chat window.
[0070] Before the method in this embodiment is executed, several group session messages have already been generated in the target group session window. These group session messages may be sent by different members within the group. For example, the members included in the target group session window are: User A, User B, User C, and User D. Among them, User A is the creator of the group vote, and the other users in the group, including User B, User C, and User D, are collaborators in the group vote. Figure 3 This is a schematic diagram of a target group chat window provided in an embodiment of this application. Figure 3 In the chat window shown, User A asked, "Where should we eat for our Friday get-together?" and then sent a link to "Haoyouji Restaurant (Keji Road Branch)". User B also offered their opinion, sharing a link to "Sichuan Restaurant Across the Street (No. 22 Kunming Road, Garden Community, Room 104)" in the chat window. User C sent a picture of roast duck and noted, "A new roast duck restaurant opened 900 meters from my company; a friend said it's good." User D sent the message, "I'm fine with where we eat; how about we play pool afterwards?"
[0071] After all members in the group have shared their suggestions about Friday's dinner, user A can select a portion of the messages in the group chat window. These selected messages will be the group chat messages that need to be parsed later. To distinguish them from other messages, the group chat messages for which the user has selected messages will be referred to as the group chat messages to be parsed.
[0072] In practice, user A can select messages in the target group chat window through multi-selection. As an optional implementation, once a user triggers the multi-selection function in the software application, they can select messages in the group chat window. Figure 4 This is an illustration showing a portion of the messages in the target group's chat window being selected. (Combined with...) Figure 3 and Figure 4 It's easy to see that, for users, the target group chat window clearly shows which chat messages are selected and which are not. In other words, in the target group chat window, selected and unselected messages are in different states. Figure 4 For example, the selected message displays a selected indicator (a checkmark within a rectangle) on one side; the unselected message displays an unselected indicator on the other side. Other examples can also display selected and unselected messages in different ways. For instance, the background color of the selected message is a first color, and the background color of the unselected message is a second color; or, the bubble border of the selected message is a first type of border, and the bubble border of the unselected message is a second type of border. Because the user has selected a message in the target group chat window, the corresponding terminal device can respond to the message selection operation in the target group chat window and determine the group chat message to be parsed. Figure 4 For example, these selected messages are the group session messages to be parsed.
[0073] For messages that have been selected by users (the creators of the group vote), the terminal device can obtain these messages for subsequent parsing.
[0074] Step 2004: Generate voting options based on the group session message to be parsed, and publish the group vote through the document editing tool.
[0075] In practical applications, step 2004 may include: parsing the group session message to be parsed to obtain multiple option information; displaying the multiple option information in the respective option positions on the voting editing page to generate voting options; and publishing the group vote in response to the triggering operation of the publish control on the voting editing page.
[0076] In this embodiment, group chat messages are often rich text, containing various formats such as text, images, videos, and web links. These different message formats can all be selected by the user and used as group chat messages to be parsed. In this embodiment, the group chat messages to be parsed include at least two of the following formats: text, images, videos, or web links. Taking images, videos, and web links as examples, in previous technologies, the creator typically had to perform additional manual operations and understanding to obtain and extract semantics and construct voting options. Unlike previous technologies, in this technical solution, once the group chat message to be parsed is determined, once parsing is triggered, the message can be automatically parsed without human intervention, enabling intelligent filling of relevant positions in the voting editing page and generating voting options.
[0077] In practical applications, paths and controls for triggering the parsing of group chat messages can be pre-defined. Once a user triggers such a control at the corresponding path, it indicates that the user intends to parse the group chat message identified above. The terminal device can respond to the triggering operation of parsing the group chat message and fill the parsed option information into the voting editing page.
[0078] In this embodiment, the voting editing page includes voting parameter settings, such as voting options, voting deadline, voting instructions, and voting title. Before voting options are generated, the option positions are empty; similarly, before voting instructions are generated, the voting instruction position is empty; and before the voting title is generated, the title position is empty. Multiple option positions are displayed, each corresponding to one voting option. By filling in the option information into the option positions, multiple voting options are generated. Figure 5A This is an illustration of a voting editing page where the options are missing. Figure 5B This generates a diagram of the voting options after you fill in the information for the option positions on the voting editing page.
[0079] The option information includes information used to generate voting options, obtained by parsing the group conversation message to be parsed. The format and type of the parsed information used to generate voting options are not limited here; for example, it can include text and images. Furthermore, in real-time applications, the location information of the voting options can also be obtained by parsing the group conversation message to be parsed. This location information is also used as auxiliary information for generating voting options. Location information allows group members to more clearly and intuitively understand the geographical location corresponding to the voting options, thereby obtaining voting results that better reflect the intentions and needs of the group members.
[0080] For example, if a group chat message is about a restaurant discussion, the parsed information used to generate voting options can include: restaurant name, location, description of the restaurant's cuisine, names and pictures of its signature dishes, etc. Additionally, the option information can include the sender's identity within the target group chat window. For instance, if User B shares a web link to "Across the Street Sichuan Restaurant (No. 22 Kunming Road, Garden Community, Room 104)" in the chat window, the generated voting option "Across the Street Sichuan Restaurant" will also be labeled with "User B". This allows other users to clearly see which group member proposed the voting option. For example, User B is known for their good taste in restaurants and is unlikely to make a mistake; therefore, displaying "User B" in the voting options can help others choose a more likely and satisfactory restaurant. In practical applications, voting options are not limited to restaurants; they depend on the purpose of the group poll. For example, voting options could also include types of outdoor sports, weekend getaway locations, and beverage preferences.
[0081] Once all voting parameter settings on the voting editing page are filled in, the creator can trigger the publication of the group poll. In an optional implementation, publishing the group poll in response to a trigger operation on the publish control on the voting editing page includes:
[0082] In response to a trigger operation on the publish control in the voting editing page, the document editing tool generates an open path for the group poll; in response to a trigger operation on sharing the open path, the open path is shared to publish the group poll. The open path can be one of the following forms: an identification code, a link, a hyperlink, or the storage address of the voting editing page. For example, an identification code can be a QR code, barcode, etc., for voting collaborators to trigger. After the open path is generated and shared with collaborators, they can trigger and vote.
[0083] The method for publishing group polls provided in this embodiment can automatically parse group conversation messages to generate poll options. This replaces the manual process of organizing messages and summarizing participants' intentions, achieving automatic option input and avoiding complex and tedious editing operations such as editing poll options, thereby improving the efficiency of publishing group polls. Furthermore, the document editing tool provides a trigger mechanism for the poll entry point, making it very convenient and easy to initiate polls, providing a better user experience.
[0084] As mentioned in step 2004, the group poll is published. It should be noted that in practical applications, the opening path of the group poll can be shared to the target group session. In other implementations, the options, descriptions, and titles of these group polls can also be used by individuals in other scenarios and environments for voting decisions. Therefore, the opening path can also be shared to a custom path outside the target group session. In practical applications, the creator can customize the path to be shared before generating the opening path. If the target group session is a group session within an instant messaging application, the custom path can include one of the following: other group sessions outside the target group session within the instant messaging application, other social applications, network platforms, or the address book of the terminal device.
[0085] In other words, in practical applications, it's not limited to sharing the open path to the target group session and publishing the aforementioned group poll within that session. It can also be shared to other group sessions within the application, or to the address books of other social applications, online platforms, or terminal devices. This enables multiple and diverse applications of the voting parameter settings in group polls, expanding the scope of their use. Of course, custom paths can be set according to actual needs without violating legal regulations.
[0086] It should be noted that the document editing tool can be a collaborative editing tool. Therefore, a group poll published by the creator can also be viewed and edited by other users with authorization. Specifically, other users who trigger the open path can see the displayed poll publishing page, which also includes some or all of the voting parameter settings in the poll editing page before the group poll was published, including at least the already filled-in voting options. The method provided in this application embodiment may also include:
[0087] When the user who triggered the opening path is identified as an authorized collaborative editor, the voting publishing page is displayed after the opening path is triggered; in response to the collaborative editor's editing operation on the voting publishing page, the voting publishing page is updated.
[0088] For example, if a collaborator discovers a typo in a voting option, and if they are a user authorized by the creator to collaborate on editing, they can trigger the edit function on the voting posting page to correct the typo. Of course, the edits are not limited to voting options; they can also involve editing other voting parameter settings.
[0089] In this way, the collaborative operation features of the document editing tool are fully utilized in the function of initiating and publishing group polls, improving the accuracy of the voting parameter settings in group polls, and thus improving the accuracy and effectiveness of group polls.
[0090] In the specific application of the method in the embodiments of this application, parsing group chat messages is a relatively important step. The following web link serves as an example of group chat messages, combined with... Figure 5C This section describes the implementation of the parsing process in the method for publishing group polls. Figure 5C A flowchart illustrating the parsing of group session messages provided in an embodiment of this application. (In...) Figure 5C As shown, after determining the group session message to be parsed, parsing the group session message yields information used to generate voting options, including the following steps:
[0091] Step 51: Obtain the Hypertext Markup Language of the group conversation message to be parsed.
[0092] Step 52: Determine whether the group chat message to be parsed is a plain text webpage link based on the Hypertext Markup Language. If yes, proceed to step 53; otherwise, proceed to step 54.
[0093] Step 53: When the webpage link in the group chat message to be parsed is identified as a plain text webpage link according to the Hypertext Markup Language, the image within the plain text webpage link is parsed using image parsing technology, and the parsed image information is used as information for generating voting options.
[0094] In this step, image parsing technology can be performed by the terminal device itself or by the server. For example, a communication software client on the terminal device can request the server to parse the image within a plain text webpage link using image parsing technology. Upon receiving the request, the server parses the image within the webpage link and sends the image information back to the client. The client, upon receiving the image information from the server, can then use it to generate voting options on the voting editing page. Here, image parsing technology uses image understanding to interpret the semantics contained in the image. It can not only identify the semantics within the image but also assign category tags to it. Therefore, image information can include the image itself, as well as semantic information, category tags, and other content. The image in the image information can be the original image after the webpage link is opened, or a screenshot obtained by cropping the original image.
[0095] Step 54: When the webpage link in the group conversation message to be parsed is identified as a webpage link with a thumbnail based on the hypertext, the thumbnail is used as information for generating voting options.
[0096] Due to abbreviation Figure 1 These are typically representative images found within webpage links. Therefore, they can be used directly when generating voting options.
[0097] The above embodiments used web links as an example of group chat messages to be parsed, illustrating the parsing process. The parsing measures taken to address differences in the types of content contained within the messages were also described. In practical applications, the parsed content is not limited to web links; it can also include text, images, videos, etc. The accuracy of content parsing depends on the maturity of image parsing technology. In practical applications, communication software can develop an image recognition service to perform image parsing operations.
[0098] To improve the accuracy of option information and thus the accuracy of generated voting options, this application provides a technical solution for web page developers, facilitated by collaboration between web page developers and communication software developers. This solution is applied to scenarios where web page links are shared to group chat windows. The web page link in the group chat message to be parsed is a link shared to the target group chat window via a sharing function. The web page link is configured such that when the web page is opened, its global variables are injected into a software development kit (SDK). The SSD is invoked during web page initialization to provide information for generating voting options. Since the SSD is injected into the web page's global variables, initializing the web page requires invoking the SSD. The method for publishing group polls provided in this application invokes the SSD to receive information for generating voting options. Specifically, the SSD provides an interface for web page developers to input information for generating voting options. If a web page developer wants the shared content to generate voting options, they only need to provide the SSD for generating voting options. The website developer can be either a business employee or an internet operations staff member. There are no restrictions on the identity of the website developer.
[0099] For example, the information provided by the website developer may include the website's title and introductory image. For the same website link, the website title and introductory image are entered into the same option field on the voting editing page to generate a single voting option. For instance, a website link shared by user B uses its title and introductory image to generate voting option B; a website link shared by user C uses its title and introductory image to generate voting option C.
[0100] Since the web developer provided the information used to generate the voting options, after initiating the group vote, the voting editing page is displayed. The voting editing page on the terminal device can obtain the previously provided information through the software development kit (SDK) to generate voting options, displaying the webpage title and introductory image. Because the information is pre-provided by the web developer, it is more accurate than information obtained through parsing and recognition. This, in turn, makes the generated voting options more precise. In practical applications, the information provided by the web developer and the parsed information obtained by the terminal device can complement each other to jointly construct voting options. For example, voting options can be constructed by referring to the information provided by the web developer; or the parsed information can be used as a supplement to the information provided by the web developer to construct voting options. Voting options with introductory images are more intuitive and easier to understand than plain text voting options, helping collaborators to vote quickly.
[0101] The previously introduced solution proposed a method to generate voting options by providing information to web developers through a software development kit (SDK). In other possible implementations, the meta tags corresponding to web links in the group chat message to be parsed can be configured to declare that the web link can be parsed after it is shared. Therefore, when the web link is shared to the target group chat window via the sharing function, due to the declaration in its meta tag configuration, the terminal device can parse or request the server to parse the content of the web link, thereby obtaining the information used to generate voting options.
[0102] In addition to voting options, the voting editing page may also include other information, such as voting instructions and voting titles. The voting instructions and titles can be manually edited by the creator, or, similar to the voting options, generated from parsed group session messages and intelligently populated. In an optional implementation, the method for publishing a group vote provided in this application embodiment may further include, before publishing the group vote through the document editing tool:
[0103] Parse the group session message to be parsed to obtain description information and / or title information;
[0104] The explanatory information is displayed in the voting description position on the voting editing page to generate a voting description; and / or, the title information is displayed in the title position on the voting editing page to generate a voting title.
[0105] By parsing the explanatory and title information and filling it into the voting editing page, the entire group voting process becomes easier and simpler, greatly reducing the creator's manual editing work. This lowers the creator's editing burden and reduces tedious operations.
[0106] It should be noted that the implementation of the group voting scheme and the publication of group votes in this application embodiment rely on the analysis and parsing of data. In particular, the above analysis and parsing are based on the environment in which the group vote occurs, i.e., the target group conversation window. The series of selected and parsed group conversation messages involved are the basis for publishing the group vote. However, it should be specifically noted here that users apply the technology of this application to publish group votes only after they are already aware of the use scenario and usage method of the group conversation messages. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0107] For example, after a user triggers the voting module or adds an option control to the target group's conversation window, a prompt window first pops up, explaining the usage method and scenario of the selected conversation message. The window states that the conversation message and the parsed information used to generate voting options will not be used in other scenarios or by a third party without the user's consent. The conversation message can only be parsed if the user clicks the confirmation or authorization control in the prompt window.
[0108] The following describes other methods and embodiments for publishing group polls. Figure 5D For another method flowchart for publishing group voting provided in this application embodiment, see [link to flowchart]. Figure 5D The methods for releasing group polls include:
[0109] Step 501: In response to the message selection operation in the chat window of the target group session, identify multiple group session messages to be parsed.
[0110] This application embodiment can also initiate and publish group polls by utilizing the target group chat window without relying on document editing tools. Specifically, a polling module can be set up in the instant messaging software for user use. Under this mechanism, multiple group chat messages to be parsed can be determined in response to message selection operations.
[0111] Since the preceding embodiments have provided a vivid and illustrative explanation of message selection, please refer to... Figures 3 to 4 Therefore, it will not be elaborated further here.
[0112] Step 502: In response to the trigger operation of parsing the group conversation message to be parsed, display the acquired multiple option information in the respective option positions on the voting editing page to generate voting options; wherein, the option information includes the information obtained from parsing the group conversation message to be parsed.
[0113] The triggering operation for parsing the group session message may differ depending on the path. The following sections will provide examples of this triggering operation using two different paths. The display of option information in the option position is essentially an intelligent filling of the results from parsing the group session message.
[0114] Step 503: In response to the triggering operation of the publish control on the vote editing page, publish a group vote containing the vote options in the target group session.
[0115] In the above embodiments, group chat messages can be automatically parsed to generate voting options, which can replace the process of manually sorting out messages and summarizing the intentions of the participants. This achieves automatic filling of options and avoids complex and tedious editing operations such as editing voting options, thereby improving the efficiency of group voting.
[0116] The above text Figure 5D Based on the relevant methodologies and workflows, two different deployment paths are introduced. See [link to relevant documentation] for details. Figure 6A and Figure 7A . Figure 6B To and Figure 6A The corresponding interface view for publishing group polls on terminal devices. Figure 7B To and Figure 7A The corresponding interface view for publishing group polls on terminal devices.
[0117] For the first method of publishing group polls, see [link / reference]. Figure 6A and Figure 6B . Figure 6A This is a flowchart of a group voting process provided in an embodiment of this application. Figure 6B To and Figure 6A The corresponding interface view for publishing a group poll on the terminal device. In short, the first path for publishing a group poll involves the following process: The creator selects multiple messages in the conversation window. After multiple selections, the first function panel is displayed on the terminal device. The creator clicks the poll module in the first function panel, executes the parsing of the group conversation messages to be parsed, intelligently fills the poll editing page to generate poll options, and the creator publishes the group poll.
[0118] exist Figure 6A and Figure 6B In the example, in response to the triggering operation of parsing the group session message to be parsed, the option information is filled into the option position of the voting editing page to generate voting options, which may include the following steps 601 to 603.
[0119] Step 600: In response to the message selection operation in the chat window of the target group session, identify multiple group session messages to be parsed.
[0120] The target group session is a group session in an instant messaging application; the step of responding to the trigger operation of parsing the group session message to be parsed, and displaying the acquired multiple option information in the respective option positions on the voting editing page to generate voting options, includes: responding to the trigger operation of the voting module provided by the instant messaging application, displaying the acquired multiple option information in the respective option positions on the voting editing page to generate voting options. Specifically, see steps 601 to 603 below.
[0121] Step 601: Display the first function panel corresponding to the message selection operation in the chat window of the target group session;
[0122] Step 602: In response to the trigger operation of the voting module on the first function panel, display the voting editing page in the first state, and display the parsing prompt information on the voting editing page.
[0123] Step 603: After the parsing prompt information disappears, the voting editing page is displayed in the second state, and the option information is filled in the option position on the voting editing page to generate voting options.
[0124] When the creator selects a message within the target group chat window, the terminal device's screen will display a first function panel in the target group chat window. That is, the first function panel can be an automatically displayed panel in response to the message selection operation. The first function panel can display various controls, each of which performs a different function when triggered. For example, the first function panel may include a voting module. Since the group chat messages have already been selected, when the creator triggers the voting module, it indicates that the creator intends to parse these selected group chat messages. The triggering operation of the voting module serves as the triggering operation for parsing the group chat messages.
[0125] When the voting module of the first function panel is triggered, the voting editing page can be displayed in its first state. In this embodiment, it should be noted that the voting editing page is displayed in response to the triggering operation of the voting module. The first state refers to the state where the voting editing page is uneditable during the parsing of the group conversation message to be parsed. As an example, the voting editing page in the first state is displayed with a first background color, while other states are displayed with other background colors. To facilitate the creator's understanding of the status of the voting editing page and the message parsing progress, in practical applications, parsing prompts can be displayed floating on the voting editing page, such as displaying the words "Parsing in Progress." In practical applications, parsing progress can also be displayed, such as a progress bar or hourglass.
[0126] The parsing prompt disappears after the group chat message to be parsed is parsed. The second state of the poll editing page refers to the poll editing page being in an editable state. On the poll editing page in the second state, the option positions on the poll editing page can be automatically filled according to the parsed option information. Therefore, by comparing the poll editing page in the first state and the poll editing page in the second state, the creator can intuitively see the poll options appear from nothing. Unlike the poll editing page in the first state mentioned above, in one example, the poll editing page in the second state is displayed with a second background color. In the second state, the publish control is lit up, indicating that the publish control is in a triggerable state. Then, we can proceed to step 604.
[0127] Step 604: In response to the triggering operation of the publish control on the vote editing page, publish a group vote containing the vote options in the target group session.
[0128] For the second method of publishing group polls, see [link / reference]. Figure 7A and Figure 7B . Figure 7A This is another flowchart for publishing group voting provided as an embodiment of this application. Figure 7B To and Figure 7A The corresponding interface view for publishing a group vote on the terminal device. In short, the second method of publishing a group vote involves the following process: the creator triggers a function expansion control within the session window, thereby expanding the second function panel; the second function panel includes a triggerable voting module; after triggering the voting module, the creator can select a portion of the group session messages to parse the option information, then fill in the voting options and initiate the group vote. Unlike the first method, in the second method, the vote is initiated first, then the group session messages are selected; in the first method, the group session messages are selected first, then the vote is initiated.
[0129] Before determining multiple group session messages to be parsed in response to a message selection operation in the chat window of the target group session, the method further includes: in response to a triggering operation on a voting editing path provided in the chat window of the target group session, displaying the messages in the target group session in a pending state. This step may specifically include:
[0130] Step 701: In response to the triggering operation of the function expansion control in the chat window of the target group session, display the second function panel; the second function panel includes a voting module.
[0131] The target group chat window includes a function expansion control. Due to the limited screen space, displaying all function controls in the target group chat window would result in a cluttered and unsightly visual effect. Therefore, frequently used function controls are generally displayed in the chat window, while less frequently used or larger function controls are hidden. The function expansion control is used to expand and present the hidden function controls. Specifically, when the function expansion control is triggered, a second function panel is displayed. One or more hidden function controls are presented on the second function panel. For example, the second function panel includes a voting module. By triggering the voting module, the creator can initiate a vote.
[0132] Step 702: In response to the trigger operation of the voting module, the voting editing page is displayed in a third state, which includes voting parameter settings.
[0133] Once the voting module is triggered, the terminal device displays the voting editing page in its third state. This third-state voting editing page is editable and awaits parsing from the group chat message and adding it as a voting option. In this third state, the publish control displayed on the voting editing page is not activated. Specifically, the third-state voting editing page includes a control named "Add Option from Chat".
[0134] Step 703: In response to a triggering operation of the control that adds options from the session in the voting parameter settings, display the messages in the target group session in a pending state.
[0135] Once the control for adding options from a session is triggered, the terminal device displays the group session messages in the target group session window in a pending state, allowing the creator to select some of these group session messages as group session messages to be parsed.
[0136] Step 704: In response to the message selection operation in the chat window of the target group session, identify multiple group session messages to be parsed.
[0137] In response to the triggering operation of parsing the group session message to be parsed, the process of filling the option information into the option position of the voting editing page and generating voting options may specifically include the following steps 705 to 706.
[0138] Step 705: In response to the trigger operation of adding an option control to the chat window of the target group session, display the voting editing page in the first state, and display the parsing prompt information on the voting editing page.
[0139] The target group chat window not only displays group chat messages in a selectable state for the creator to choose from, but also displays a control named "Add as Option". This "Add as Option" control is active and can be triggered. In this embodiment, triggering the "Add as Option" control in the target group chat window serves as the triggering operation for parsing the group chat messages to be parsed. Once the creator selects some group chat messages and triggers the "Add as Option" control, it indicates that these selected messages (i.e., the group chat messages to be parsed) need to be parsed using the method of this embodiment to fill the option positions and generate voting options. At this time, the voting editing page is displayed in a first state with a floating parsing prompt message.
[0140] Step 706: After the parsing prompt information disappears, the voting editing page is displayed in the second state, and the option information is filled in the option position on the voting editing page to generate voting options.
[0141] Step 707: In response to the triggering operation of the publish control on the vote editing page, publish a group vote containing the vote options in the target group session.
[0142] Based on the method for publishing group votes provided in the foregoing embodiments, this application also provides an apparatus for publishing group votes. The following is in conjunction with... Figure 8A and Figure 8B Each will be explained separately. Figure 8A This is a schematic diagram of a device for publishing group votes, provided as an embodiment of this application. Figure 8A The device shown for publishing group polls includes:
[0143] The conversation list display unit K81 is used to display the conversation list in response to a triggered operation on the voting entry in the document editing tool;
[0144] The chat window display unit K82 is used to display the chat window of the target group session in response to the target group session determined in the session list;
[0145] The message acquisition unit K83 is used to acquire multiple group conversation messages to be parsed in the chat window;
[0146] Voting option generation unit K84 is used to generate voting options based on the group session message to be parsed;
[0147] The voting publishing unit K85 is used to publish group votes through the document editing tool.
[0148] Optionally, the session list display unit K81 includes:
[0149] The page display sub-unit is used to create and display a vote editing page in response to a trigger operation on the voting entry; the vote editing page includes vote parameter settings.
[0150] The list display sub-cell is used to display the session list in response to a triggering operation of a control that adds an option from the session in the voting parameter settings.
[0151] Optionally, the voting option generation unit K84 is used for:
[0152] Obtain multiple option information obtained by parsing the group session message to be parsed;
[0153] The multiple option information is displayed in their respective positions on the vote editing page to generate vote options;
[0154] The voting publishing unit K85 is specifically used to publish the group vote in response to the triggering operation of the publishing control in the voting editing page.
[0155] Optionally, the voting publishing unit K85 is specifically used for:
[0156] In response to a trigger operation on the publish control in the voting editing page, the open path of the group vote is generated through the document editing tool;
[0157] In response to the triggering operation of sharing the opened path, the opened path is shared to publish a group poll.
[0158] Optionally, the voting publishing unit K85 is used for:
[0159] Share the opened path to the target group session;
[0160] Alternatively, the open path can be shared to a custom path outside the target group session.
[0161] Optionally, the target group session is a group session in an instant messaging application; the custom path includes one of the following:
[0162] Other group conversations besides the target group conversation in the instant messaging application, other social applications, network platforms, or the address book of the terminal device.
[0163] Optionally, the device for publishing group votes further includes:
[0164] The permission identification unit is used to display a voting page after the opening path is triggered when it is identified that the user who triggered the opening path is an authorized collaborative editing user; the voting page includes the voting options.
[0165] The voting posting page update unit is used to update the voting posting page in response to the editing operation of the collaborative editing user on the voting posting page.
[0166] Optionally, the opening path can be one of the following forms:
[0167] The identification code, link, hyperlink, or storage address of the voting editing page.
[0168] Optionally, the apparatus for issuing group votes further includes a parsing unit for parsing the group session message to be parsed. Specifically, the parsing unit may be used for:
[0169] Obtain the Hypertext Markup Language of the group session message to be parsed;
[0170] When the webpage link in the group conversation message to be parsed is identified as a plain text webpage link according to the hypertext markup language, the image in the plain text webpage link is parsed using image parsing technology, and the parsed image information is used as information for generating voting options.
[0171] When the hypertext identifies a webpage link in the group conversation message to be parsed as a webpage link carrying a thumbnail, the thumbnail is used as information for generating voting options.
[0172] Optionally, the webpage link in the group session message to be parsed is the webpage link in the target group session; the webpage link is configured such that when the webpage is opened, the global variables of the webpage are injected into the software development kit; the software development kit is used to be invoked when the webpage is initialized to provide voting parameter settings corresponding to the webpage;
[0173] The device for publishing group votes may further include:
[0174] The toolkit invocation unit is used to invoke the software development kit to receive the voting parameter settings corresponding to the webpage.
[0175] Optionally, providing the voting parameter settings corresponding to the webpage includes:
[0176] Provide the webpage title and introductory image corresponding to the webpage as option information;
[0177] The voting option generation unit K84 is used for:
[0178] Enter the webpage title and the introductory image into the voting editing page to generate a voting option.
[0179] Optionally, the meta tag corresponding to the webpage link in the group session message to be parsed is configured to declare that the webpage link is allowed to be parsed after it is shared.
[0180] Optionally, the parsing unit is further configured to: parse the group session message to be parsed to obtain description information and / or title information;
[0181] The device further includes: a vote description generation unit and a vote title generation unit, wherein the vote description generation unit is used to display the description information at the vote description position on the vote editing page to generate a vote description; and / or, the vote title generation unit is used to display the title information at the title position on the vote editing page to generate a vote title.
[0182] Optionally, the group conversation message to be parsed includes at least two forms of messages such as text, images, videos, or web links.
[0183] Figure 8B A schematic diagram of another device for publishing group votes provided in an embodiment of this application. (See attached diagram.) Figure 8B The device shown for publishing group polls includes:
[0184] The message determination unit J81 is used to determine multiple group conversation messages to be parsed in response to a message selection operation in the chat window of the target group conversation.
[0185] The voting option generation unit J82 is used to respond to the trigger operation of parsing the group session message to be parsed, and to display the acquired multiple option information in the respective option positions of the voting editing page to generate voting options; wherein, the option information includes the information obtained from parsing the group session message to be parsed;
[0186] The voting publishing unit J83 is used to publish a group vote containing the voting options in the target group session in response to a trigger operation of the publishing control on the voting editing page.
[0187] Optionally, the target group session is a group session in an instant messaging application; the voting option generation unit J82 is used for:
[0188] In response to the triggering operation of the voting module provided by the instant messaging application, the acquired multiple option information is displayed in the respective option positions on the voting editing page to generate voting options.
[0189] Optionally, the voting option generation unit J82 is specifically used for:
[0190] The first function panel corresponding to the message selection operation is displayed in the chat window of the target group session;
[0191] In response to a trigger operation on the voting module on the first function panel, the voting editing page is displayed in the first state, and a parsing prompt message is displayed floating on the voting editing page;
[0192] After the parsing prompt disappears, the voting editing page is displayed in the second state, and the option information is filled in the option position on the voting editing page to generate voting options.
[0193] Optionally, the device for issuing group polls also includes:
[0194] The message display unit is used to respond to the triggering operation of the voting editing path provided in the chat window of the target group session, and to display the messages in the target group session in a pending state.
[0195] Optionally, the message display unit includes:
[0196] The panel display subunit is used to display a second function panel in response to the triggering operation of the function expansion control in the chat window of the target group session; the second function panel includes a voting module;
[0197] The page display sub-unit is used to respond to the trigger operation of the voting module and display the voting editing page in a third state. The voting editing page includes voting parameter settings.
[0198] The message display subunit is used to display messages in the target group session in a pending state in response to a trigger operation of a control that adds options from the session in the voting parameter settings.
[0199] Optionally, the voting option generation unit J82 is used for:
[0200] In response to the triggering operation of adding an option control to the chat window of the target group session, the voting editing page is displayed in the first state, and a parsing prompt message is displayed floating on the voting editing page;
[0201] After the parsing prompt disappears, the voting editing page is displayed in the second state, and the option information is filled in the option position on the voting editing page to generate voting options.
[0202] The following sections describe the structure of devices for publishing group polls, specifically in server and terminal device formats.
[0203] Figure 9This is a schematic diagram of a server structure provided in an embodiment of this application. The server 900 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 922 (e.g., one or more processors) and memory 932, and one or more storage media 930 (e.g., one or more mass storage devices) for storing application programs 942 or data 944. The memory 932 and storage media 930 can be temporary or persistent storage. The program stored in the storage media 930 may include one or more modules (not shown in the diagram), each module may include a series of instruction operations on the server. Furthermore, the CPU 922 may be configured to communicate with the storage media 930 and execute the series of instruction operations in the storage media 930 on the server 900.
[0204] Server 900 may also include one or more power supplies 926, one or more wired or wireless network interfaces 950, one or more input / output interfaces 958, and / or one or more operating systems 941, such as Windows Server. TM Mac OS X TM Unix TM Linux TM FreeBSD TM etc.
[0205] CPU 922 is used to perform the following steps:
[0206] In response to a triggered action on the voting entry in the document editing tool, display a list of sessions;
[0207] In response to a target group session identified in the session list, display the chat window of the target group session;
[0208] Retrieve multiple group chat messages to be parsed from the chat window;
[0209] Based on the group session message to be parsed, voting options are generated, and the group vote is published through the document editing tool.
[0210] Alternatively, CPU 922 can be used to perform the following steps:
[0211] In response to a message selection operation in the chat window of the target group session, identify multiple group session messages to be parsed;
[0212] In response to the trigger operation of parsing the group conversation message to be parsed, the acquired multiple option information is displayed in the respective option positions on the voting editing page to generate voting options; wherein, the option information includes the information obtained from parsing the group conversation message to be parsed;
[0213] In response to a triggering operation of the publish control on the vote editing page, a group vote containing the vote options is published in the target group session.
[0214] This application also provides another device for publishing group votes, such as... Figure 10 As shown, for ease of explanation, only the parts related to the embodiments of this application are shown. For specific technical details not disclosed, please refer to the method section of the embodiments of this application. The terminal can be any terminal device including mobile phones, tablets, personal digital assistants (PDAs), point-of-sale (POS) terminals, in-vehicle computers, etc. Taking a mobile phone as an example:
[0215] Figure 10 This is a block diagram illustrating a portion of the structure of a mobile phone related to the terminal provided in the embodiments of this application. (Reference) Figure 10 The mobile phone includes: a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, a processor 1080, and a power supply 1090, etc. Those skilled in the art will understand that... Figure 10 The mobile phone structure shown does not constitute a limitation on the mobile phone and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0216] The following is combined Figure 10 A detailed introduction to each component of a mobile phone:
[0217] The RF circuit 1010 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with the processor 1080; additionally, it transmits uplink data to the base station. Typically, the RF circuit 1010 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, etc. Furthermore, the RF circuit 1010 can also communicate wirelessly with networks and other devices. The aforementioned wireless communications may use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, and Short Messaging Service (SMS).
[0218] The memory 1020 can be used to store software programs and modules. The processor 1080 executes various mobile phone functions and data processing by running the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 1020 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0219] The input unit 1030 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 1031), and drive the corresponding connection devices according to a pre-set program. Optionally, the touch panel 1031 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 1080, and can also receive and execute commands sent by the processor 1080. In addition, the touch panel 1031 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032. Specifically, other input devices 1032 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.
[0220] The display unit 1040 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. The display unit 1040 may include a display panel 1041, which may optionally be configured as a Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), or similar display panel 1041. Further, a touch panel 1031 may cover the display panel 1041. When the touch panel 1031 detects a touch operation on or near it, it transmits the information to the processor 1080 to determine the type of touch event. Subsequently, the processor 1080 provides corresponding visual output on the display panel 1041 according to the type of touch event. Although in Figure 10 In this embodiment, the touch panel 1031 and the display panel 1041 are two separate components to realize the input and output functions of the mobile phone. However, in some embodiments, the touch panel 1031 and the display panel 1041 can be integrated to realize the input and output functions of the mobile phone.
[0221] The mobile phone may also include at least one sensor 1050, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1041 according to the ambient light level, and the proximity sensor can turn off the display panel 1041 and / or the backlight when the phone is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, taps), etc. Other sensors that may be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.
[0222] The audio circuit 1060, speaker 1061, and microphone 1062 provide an audio interface between the user and the mobile phone. The audio circuit 1060 converts the received audio data into electrical signals and transmits them to the speaker 1061, where the speaker 1061 converts them into sound signals for output. On the other hand, the microphone 1062 converts the collected sound signals into electrical signals, which are then received by the audio circuit 1060, converted into audio data, and then processed by the processor 1080 before being transmitted via the RF circuit 1010 to, for example, another mobile phone, or the audio data can be output to the memory 1020 for further processing.
[0223] WiFi is a short-range wireless transmission technology. Through the WiFi module 1070, mobile phones can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 10 The WiFi module 1070 is shown, but it is understood that it is not an essential component of a mobile phone and can be omitted as needed without changing the essence of the invention.
[0224] The processor 1080 is the control center of the mobile phone, connecting various parts of the phone through various interfaces and lines. It executes software programs and / or modules stored in the memory 1020 and calls data stored in the memory 1020 to perform various functions and process data, thereby collecting overall data and information from the phone. Optionally, the processor 1080 may include one or more processing units; preferably, the processor 1080 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 1080.
[0225] The mobile phone also includes a power supply 1090 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 1080 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.
[0226] Although not shown, mobile phones may also include a camera, Bluetooth module, etc., which will not be described in detail here.
[0227] In this embodiment of the application, the processor 1080 included in the terminal also has the following functions:
[0228] In response to a triggered action on the voting entry in the document editing tool, display a list of sessions;
[0229] In response to a target group session identified in the session list, display the chat window of the target group session;
[0230] Retrieve multiple group chat messages to be parsed from the chat window;
[0231] Based on the group session message to be parsed, voting options are generated, and the group vote is published through the document editing tool.
[0232] Alternatively, the processor 1080 included in the terminal may also have the following functions:
[0233] In response to a message selection operation in the chat window of the target group session, identify multiple group session messages to be parsed;
[0234] In response to the trigger operation of parsing the group conversation message to be parsed, the acquired multiple option information is displayed in the respective option positions on the voting editing page to generate voting options; wherein, the option information includes the information obtained from parsing the group conversation message to be parsed;
[0235] In response to a triggering operation of the publish control on the vote editing page, a group vote containing the vote options is published in the target group session.
[0236] This application also provides a computer-readable storage medium for storing program code that executes any one of the methods for publishing group voting described in the foregoing embodiments.
[0237] This application also provides a computer program product including instructions that, when run on a computer, cause the computer to execute any of the implementation methods of a group voting method described in the foregoing embodiments.
[0238] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the system and equipment described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0239] In the several embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For instance, the division of the system is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple systems may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0240] The system described as separate components may or may not be physically separate. Components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0241] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0242] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.
[0243] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for publishing group polls, characterized in that, include: In response to a triggered operation on the voting entry in the document editing tool, a voting editing page is created and displayed, the voting editing page including voting parameter settings; In response to a triggering action on a control that adds an option from a session in the voting parameter settings, a session list is displayed; In response to a target group session identified in the session list, a chat window for the target group session, which is a group session in an instant messaging application, is displayed. Retrieve multiple group chat messages to be parsed from the chat window; The voting editing page is displayed in a first state, and a parsing prompt message is displayed floating on the voting editing page. The first state refers to the state in which the voting editing page is not editable during the parsing of the group conversation message to be parsed. After the parsing prompt message disappears, the voting editing page is displayed in the second state, and the option information obtained from parsing the group conversation message to be parsed is filled in the option position of the voting editing page to generate voting options. The second state means that the voting editing page is in an editable state. In the second state, the publishing control is in a lit state, which indicates that the publishing control is in a triggerable state. In response to the triggering operation of the publishing control, the group vote is published through the document editing tool.
2. The method according to claim 1, characterized in that, The step of publishing the group vote via the document editing tool in response to a trigger operation on the publishing control includes: In response to a trigger operation on the publish control in the voting editing page, the open path of the group vote is generated through the document editing tool; In response to the triggering operation of sharing the opened path, the opened path is shared to publish a group poll.
3. The method according to claim 2, characterized in that, The sharing of the access path to publish a group poll includes: Share the opened path to the target group session; Alternatively, the open path can be shared to a custom path outside the target group session.
4. The method according to claim 3, characterized in that, The target group session is a group session in an instant messaging application; the custom path includes one of the following: Other group conversations besides the target group conversation in the instant messaging application, other social applications, network platforms, or the address book of the terminal device.
5. The method according to any one of claims 2-4, characterized in that, The method further includes: When the user who triggered the opening path is identified as an authorized collaborative editor, a voting posting page is displayed after the opening path is triggered; the voting posting page includes the voting options. In response to the editing operation performed by the collaborative editing user on the voting publishing page, the voting publishing page is updated.
6. The method according to any one of claims 2-4, characterized in that, The opening path can be in one of the following forms: The identification code, link, hyperlink, or storage address of the voting editing page.
7. The method according to any one of claims 1-4, characterized in that, The parsing of the group session message to be parsed includes: Obtain the Hypertext Markup Language of the group session message to be parsed; When the webpage link in the group conversation message to be parsed is identified as a plain text webpage link according to the hypertext markup language, the image in the plain text webpage link is parsed using image parsing technology, and the parsed image information is used as information for generating voting options. When the hypertext identifies a webpage link in the group conversation message to be parsed as a webpage link carrying a thumbnail, the thumbnail is used as information for generating voting options.
8. The method according to any one of claims 1-4, characterized in that, The webpage link in the group session message to be parsed is the webpage link in the target group session; the webpage link is configured such that when the webpage is opened, the webpage's global variables are injected into the software development kit; the software development kit is used to be called when the webpage is initialized to provide voting parameter settings corresponding to the webpage; The method further includes: The software development kit is invoked to receive the voting parameter settings corresponding to the webpage.
9. The method according to claim 8, characterized in that, The provision of voting parameter settings for the webpage includes: Provide the webpage title and introductory image corresponding to the webpage as option information; The voting options include: Enter the webpage title and the introductory image into the voting editing page to generate a voting option.
10. The method according to any one of claims 1-4, characterized in that, The meta tag corresponding to the webpage link in the group session message to be parsed is configured to declare that the webpage link is allowed to be parsed after it is shared.
11. The method according to any one of claims 1-4, characterized in that, Before publishing the group vote via the document editing tool, the method further includes: Parse the group session message to be parsed to obtain description information and / or title information; The explanatory information is displayed in the voting description position on the voting editing page to generate a voting description; and / or, the title information is displayed in the title position on the voting editing page to generate a voting title.
12. The method according to any one of claims 1-4, characterized in that, The group chat messages to be parsed include at least two of the following forms: text, images, videos, or web links.
13. A method for publishing group polls, characterized in that, include: In response to a message selection operation in the chat window of the target group session, multiple group session messages to be parsed are identified, wherein the target group session is a group session in an instant messaging application. In response to the trigger operation of parsing the group conversation message to be parsed, the acquired multiple option information is displayed in the respective option positions on the voting editing page to generate voting options; wherein, the option information includes the information obtained from parsing the group conversation message to be parsed; In response to a triggering operation of the publish control on the vote editing page, a group vote containing the vote options is published in the target group session; The trigger operation in response to parsing the group session message to be parsed displays the acquired multiple option information in their respective option positions on the voting editing page, generating voting options, including: The first function panel corresponding to the message selection operation is displayed in the chat window of the target group session; In response to the trigger operation of the voting module on the first function panel, the voting editing page is displayed in a first state, and a parsing prompt message is displayed floating on the voting editing page. The first state refers to the state in which the voting editing page is not editable during the parsing of the group conversation message to be parsed. After the parsing prompt message disappears, the voting editing page is displayed in the second state, and the option information is filled in the option position on the voting editing page to generate voting options. The second state means that the voting editing page is in an editable state, and the publishing control is in a lit state in the second state, which indicates that the publishing control is in a triggerable state.
14. The method according to claim 13, characterized in that, Before determining multiple group session messages to be parsed in response to a message selection operation in the chat window of the target group session, the method further includes: In response to a triggered operation that provides a voting editing path in the chat window of the target group session, messages in the target group session are displayed in a pending state.
15. The method according to claim 14, characterized in that, The response to the triggered operation of providing a voting editing path to the chat window of the target group session, displaying messages in the target group session in a pending state, includes: In response to the triggering operation of the function expansion control in the chat window of the target group session, a second function panel is displayed; the second function panel includes a voting module; In response to a trigger operation on the voting module, the voting editing page is displayed in a third state, which includes voting parameter settings. In response to a triggering operation of a control that adds an option from the session in the voting parameter settings, messages in the target group session are displayed in a pending state.
16. The method according to claim 15, characterized in that, In response to the trigger operation of parsing the group session message to be parsed, the acquired multiple option information is displayed in the respective option positions on the voting editing page to generate voting options, including: In response to the triggering operation of adding an option control to the chat window of the target group session, the voting editing page is displayed in the first state, and a parsing prompt message is displayed floating on the voting editing page; After the parsing prompt disappears, the voting editing page is displayed in the second state, and the option information is filled in the option position on the voting editing page to generate voting options.
17. A device for publishing group polls, characterized in that, include: The conversation list display unit is used to create and display a voting editing page in response to a triggered operation on the voting entry in the document editing tool. The voting editing page includes voting parameter settings. In response to a triggering action on a control that adds an option from a session in the voting parameter settings, a session list is displayed; A chat window display unit is used to display a chat window of a target group session in response to a target group session determined in the session list, wherein the target group session is a group session in an instant messaging application. The message acquisition unit is used to acquire multiple group conversation messages to be parsed in the chat window; The voting option generation unit is used to display the voting editing page in a first state and to display parsing prompt information floating on the voting editing page. The first state refers to the state in which the voting editing page is not editable during the parsing of the group conversation message to be parsed. After the parsing prompt message disappears, the voting editing page is displayed in the second state, and the option information obtained from parsing the group conversation message to be parsed is filled in the option position of the voting editing page to generate voting options. The second state means that the voting editing page is in an editable state. In the second state, the publishing control is in a lit state, which indicates that the publishing control is in a triggerable state. The voting publishing unit is used to publish a group vote through the document editing tool in response to a trigger operation of the publishing control.
18. A device for publishing group polls, characterized in that, include: The message determination unit is used to determine multiple group conversation messages to be parsed in response to a message selection operation in the chat window of the target group conversation, wherein the target group conversation is a group conversation in an instant messaging application. A voting option generation unit is used to respond to a trigger operation of parsing the group session message to be parsed, and to display the acquired multiple option information in the respective option positions on the voting editing page to generate voting options; wherein, the option information includes information obtained from parsing the group session message to be parsed; A voting publishing unit is used to publish a group vote containing the voting options in the target group session in response to a trigger operation of the publishing control on the voting editing page. The voting option generation unit is specifically used for: The first function panel corresponding to the message selection operation is displayed in the chat window of the target group session; In response to the trigger operation of the voting module on the first function panel, the voting editing page is displayed in a first state, and a parsing prompt message is displayed floating on the voting editing page. The first state refers to the state in which the voting editing page is not editable during the parsing of the group conversation message to be parsed. After the parsing prompt message disappears, the voting editing page is displayed in the second state, and the option information is filled in the option position on the voting editing page to generate voting options. The second state means that the voting editing page is in an editable state, and the publishing control is in a lit state in the second state, which indicates that the publishing control is in a triggerable state.
19. A device for publishing group polls, characterized in that, The device includes a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute, according to instructions in the program code, the steps of the method for publishing group voting as described in any one of claims 1 to 12 or 13 to 16.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store program code for performing the steps of the method for publishing group voting as claimed in any one of claims 1 to 12 or 13 to 16.
21. A computer program product, characterized in that, It includes a computer program or instructions that, when executed by a device for issuing group voting, implement the steps of the method for issuing group voting as described in any one of claims 1 to 12 or 13 to 16.
Citation Information
Patent Citations
Online collaborative document processing method and device
CN110264163A
Information processing method and device
CN110634220A
Electronic voting method and device and terminal equipment
CN114035729A