Information processing method and device, equipment and storage medium
By displaying media entity identifiers and calling media entities for information processing in real-time interactive applications, the problem of chat text being uninterrupted is solved, achieving a user-friendly interaction method and reducing development costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2022-04-22
- Publication Date
- 2026-07-31
AI Technical Summary
In real-time interactive applications, chat text cannot enable interaction between multiple chat objects, and existing interaction methods increase the difficulty of page development and memory consumption, resulting in high development costs.
Display media entity identifiers on interactive pages, respond to selection actions by calling media entities for information processing, achieve visualization and on-demand processing, and reduce page development and memory overhead.
It provides multiple interaction methods to improve user experience and reduce page development difficulty and memory consumption.
Smart Images

Figure CN116974440B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, and includes, but is not limited to, an information processing method, apparatus, device, and storage medium. Background Technology
[0002] In real-time interactive applications (e.g., live streaming, instant messaging), the chat text in these applications is typically just plain text. After the text is sent, other users can read and view it, but cannot interact with it. That is, they cannot manipulate the text to achieve interaction between multiple users, nor can they use group chats to address everyday needs. Furthermore, even with more complex interaction methods, additional storage and separate page development are required, significantly increasing the difficulty of page development, requiring greater memory consumption, and raising development costs. Summary of the Invention
[0003] This application provides an information processing method, apparatus, device, and storage medium, which are at least applicable to the fields of instant messaging or live streaming. They can provide more interactive channels in real-time interactive applications, process interactive information on the current interactive page, improve the user experience, and reduce the difficulty of page development and memory consumption requirements.
[0004] The technical solution of this application embodiment is implemented as follows: This application provides an information processing method, the method comprising: Display interactive information and multiple media icons on the current interactive page; In response to a selection operation for any one or more of the media identifiers, the media corresponding to the media identifier is invoked to process the interactive information to obtain processed information; wherein, the information processing is performed using an information processing method corresponding to the selection operation. The processed information is displayed on the current interactive page.
[0005] In some embodiments, the current interactive page displays at least one media entity identifier, each media entity identifier corresponding to a media entity; each media entity can process the interactive information using at least one information processing method.
[0006] In some embodiments, the method further includes: determining the information processing mode corresponding to the selection operation; obtaining the operating environment corresponding to the information processing mode; and setting the current state of the operating environment to an occupied state when the selection operation is received.
[0007] In some embodiments, the method further includes: acquiring a function release operation for the media identifier; in response to the function release operation, adjusting the current state of the operating environment from the occupied state to the released state; the step of invoking the media corresponding to the media identifier to process the interactive information in response to the selection operation for the media identifier includes: acquiring a selection operation for the media identifier when the operating environment is in the released state; and in response to the selection operation for the media identifier, invoking the media corresponding to the media identifier to process the interactive information.
[0008] In some embodiments, the method further includes: visually configuring the processing flow of the information processing method through a process editor to obtain the editor configuration information of the media; determining the configuration information of the media corresponding to the media identifier based on the editor configuration information; wherein, there is a mapping relationship between the editor configuration information and the configuration information.
[0009] In some embodiments, the step of invoking the media corresponding to the media identifier to process the interactive information and obtain processed information includes: obtaining an invocation instruction to invoke the media corresponding to the media identifier; in response to the invocation instruction, obtaining configuration information of the media corresponding to the media identifier; determining editor configuration information of the media based on the configuration information and the mapping relationship; determining the information processing method based on the editor configuration information; and processing the interactive information using the information processing method to obtain the processed information.
[0010] In some embodiments, the step of calling the media corresponding to the media identifier to process the interactive information and obtain the processed information includes: calling the media corresponding to the media identifier to obtain the file name corresponding to the interactive information; reading the data body of the interactive information based on the file name; and determining the read data body as the processed information.
[0011] In some embodiments, the step of calling the media corresponding to the media identifier to process the interactive information and obtain processed information includes: calling the media corresponding to the media identifier to obtain the data body of the interactive information and key information in the interactive information; writing the data body to a preset file name to obtain the file name of the written data body; writing the key information to a preset log file in an append-only manner to obtain a log file of the written key information; and determining the file name of the written data body and the log file of the written key information as the processed information.
[0012] In some embodiments, writing the data body to a preset filename to obtain the filename of the written data body includes: writing the data body to the preset filename in an overwrite manner to overwrite the original information under the preset filename to obtain the filename of the written data body.
[0013] In some embodiments, the step of calling the media corresponding to the media identifier to process the interactive information and obtain processed information includes: calling the media corresponding to the media identifier to add a delay time to the interactive information; and triggering the interactive operation corresponding to the interactive information when the delay time is reached.
[0014] In some embodiments, the method further includes: when a selection operation for the media identifier is obtained, writing the first interactive information corresponding to the selection operation into a pending event form; after obtaining the selection operation for the media identifier, when a secondary selection operation for the media identifier is detected, writing the second interactive information corresponding to the secondary selection operation into the pending event form; when sending interactive information for pending events in the pending event form, if the interactive information to be sent for the current pending event is different from the interactive information read from the pending event form, prohibiting the sending of the interactive information to be sent.
[0015] This application provides an information processing device, comprising: a first display module for displaying interactive information and multiple media identifiers on a current interactive page; an information processing module for, in response to a selection operation on any one or more of the media identifiers, calling a media corresponding to the media identifier to process the interactive information and obtain processed information; wherein the information processing is performed using an information processing method corresponding to the selection operation; and a second display module for displaying the processed information on the current interactive page.
[0016] In some embodiments, the current interactive page displays at least one media entity identifier, each media entity identifier corresponding to a media entity; each media entity can process the interactive information using at least one information processing method.
[0017] In some embodiments, the apparatus further includes: a first determining module, configured to determine an information processing method corresponding to the selection operation; an acquiring module, configured to acquire an operating environment corresponding to the information processing method; and a setting module, configured to set the current state of the operating environment to an occupied state when the selection operation is received.
[0018] In some embodiments, the apparatus further includes: a second determining module, configured to acquire a function release operation for the media identifier; a state adjusting module, configured to adjust the current state of the operating environment from the occupied state to the released state in response to the function release operation; the information processing module is further configured to: acquire a selection operation for the media identifier when the operating environment is in the released state; and, in response to the selection operation for the media identifier, invoke the media corresponding to the media identifier to perform information processing on the interactive information.
[0019] In some embodiments, the apparatus further includes: a visualization configuration module, configured to visualize the processing flow of the information processing method through a process editor to obtain the editor configuration information of the media; and a configuration information determination module, configured to determine the configuration information of the media corresponding to the media identifier based on the editor configuration information; wherein there is a mapping relationship between the editor configuration information and the configuration information.
[0020] In some embodiments, the information processing module is further configured to: obtain a call instruction for calling a media entity corresponding to the media entity identifier; in response to the call instruction, obtain configuration information of the media entity corresponding to the media entity identifier; determine editor configuration information of the media entity based on the configuration information and the mapping relationship; determine the information processing method based on the editor configuration information; and process the interactive information using the information processing method to obtain the processed information.
[0021] In some embodiments, the information processing module is further configured to: invoke the media corresponding to the media identifier to obtain the file name corresponding to the interactive information; read the data body of the interactive information based on the file name; and determine the read data body as the processed information.
[0022] In some embodiments, the information processing module is further configured to: invoke the media corresponding to the media identifier, obtain the data body of the interactive information and the key information in the interactive information; write the data body to a preset file name to obtain the file name of the written data body; write the key information to a preset log file in an append-only manner to obtain a log file of the written key information; and determine the file name of the written data body and the log file of the written key information as the processed information.
[0023] In some embodiments, the information processing module is further configured to: write the data body to a preset file name in an overwrite manner to overwrite the original information under the preset file name, thereby obtaining the file name of the written data body.
[0024] In some embodiments, the information processing module is further configured to: invoke the media corresponding to the media identifier, add a delay time to the interactive information; and trigger the interactive operation corresponding to the interactive information when the delay time is reached.
[0025] In some embodiments, the apparatus further includes: a first writing module, configured to write first interactive information corresponding to the selection operation to a pending event form when a selection operation for the media identifier is obtained; a second writing module, configured to write second interactive information corresponding to the secondary selection operation to the pending event form when a secondary selection operation for the media identifier is detected after the selection operation for the media identifier is obtained; and a control module, configured to prohibit the sending of the pending interactive information when sending interactive information for pending events in the pending event form, if the pending interactive information of the current pending event is different from the interactive information read from the pending event form.
[0026] This application provides an information processing device, including: The memory is used to store executable instructions; the processor is used to implement the above-mentioned information processing method when executing the executable instructions stored in the memory.
[0027] This application provides a computer program product or computer program, which includes executable instructions stored in a computer-readable storage medium; wherein, when the processor of the information processing device reads the executable instructions from the computer-readable storage medium and executes the executable instructions, the above-described information processing method is implemented.
[0028] This application provides a computer-readable storage medium storing executable instructions, which are used to cause a processor to execute the executable instructions to implement the above-described information processing method.
[0029] The embodiments of this application have the following beneficial effects: Interactive information and multiple media identifiers are displayed on the current interactive page of a real-time interactive application, and a selection operation for any one or more media identifiers is received. The media corresponding to the media identifier is invoked to process the interactive information, and the processed information is obtained and displayed. Thus, multiple interaction paths are provided for interactive objects on the current interactive interface of the real-time interactive application. Interactive objects interact through the media identifiers on the current interactive page, enabling visualization and on-demand processing of interactive information on the current interactive page, improving the user experience. Furthermore, since the interactive information is processed through the media corresponding to the media identifier, no additional page development or memory overhead is required, thereby reducing the difficulty of page development and memory overhead requirements. Attached Figure Description
[0030] Figure 1 This is an interface diagram of the chat box interaction provided in the embodiments of this application; Figure 2 This is an optional architecture diagram of the information processing system provided in the embodiments of this application; Figure 3 This is a schematic diagram of the structure of the information processing device provided in the embodiments of this application; Figure 4 This is an optional flowchart illustrating the information processing method provided in the embodiments of this application; Figure 5 This is an interface diagram of Scenario 1 provided in the embodiments of this application; Figure 6 This is an interface diagram of scenario two provided in the embodiments of this application; Figure 7 This is another optional flowchart illustrating the information processing method provided in the embodiments of this application; Figure 8 This is another optional flowchart of the information processing method provided in the embodiments of this application; Figure 9 This is an interface diagram of calling the robot provided in an embodiment of this application; Figure 10 This is an interface diagram of the robot binding management platform provided in the embodiments of this application; Figure 11 This is a diagram of the robot operation interface provided in an embodiment of this application; Figure 12 This is an interface diagram of the robot implementing the addition of detailed requirements review provided in the embodiments of this application; Figure 13 This is an example of an environment occupancy reminder interface provided in this application embodiment; Figure 14 This is a schematic diagram illustrating the implementation method of establishing a chat bridge provided in the embodiments of this application; Figure 15 This is a schematic diagram illustrating the implementation process of the read operation provided in the embodiments of this application; Figure 16 This is a schematic diagram illustrating the implementation process of the write operation provided in an embodiment of this application; Figure 17 This is a schematic diagram illustrating the implementation process of the call request plugin interacting with a third-party API, as provided in the embodiments of this application. Figure 18 This is a schematic diagram of the code for calculating the target time of the delay provided in an embodiment of this application; Figure 19 This is a flowchart illustrating the solution to demand order reversal provided in an embodiment of this application; Figure 20This is an overall flowchart of the information processing method provided in the embodiments of this application; Figure 21 This is a schematic diagram of delayed operation provided in the embodiments of this application. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0032] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. However, it is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art to which the embodiments of this application pertain. The terminology used in the embodiments of this application is for the purpose of describing the embodiments of this application only and is not intended to limit the application.
[0033] In the implementation of this application, the collection and processing of relevant data should strictly comply with the requirements of relevant laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of laws and regulations and the authorization of the personal information subject.
[0034] Before describing the solutions of the embodiments of this application, the terms involved in the embodiments of this application will be explained first: (1) Medium: refers to a carrier or virtual object used to perform specific functions to process any information. A medium corresponds to a processing flow of an information processing method. When any medium is invoked, the information can be processed through the information processing method corresponding to that medium. In at least one implementation of the embodiments of this application, the medium can be presented in the form of a robot.
[0035] (2) Media Identifier: Used to identify a media. The media identifier can be the media's name, storage address, function name, processing flow name, etc. On the current interactive page, the media identifier can be displayed in text form or as an icon.
[0036] (3) Node-red: Node-red provides a browser-based process editor that not only makes it very easy to assemble nodes on the panel into processes, but also allows processes to be installed into the runtime environment with a one-click deployment function. Among them, Node-red has a user-visible data flow editing interface and another part is the execution of data flows.
[0037] Before explaining the information processing method of the embodiments of this application, the methods in related technologies will be described first.
[0038] In real-time interactive applications that implement interactive objects, many existing technologies lack interactive features in chat text and cannot address everyday needs through group chats, such as the timeliness of request order reversals and review processes. Furthermore, when information is published from the front end, the backend cannot identify who is using the current development environment, hindering effective environment release. Implementing interaction in real-time applications requires additional storage and separate page development, significantly increasing development complexity, memory consumption, and costs. Moreover, adapting to page changes and redeveloping new logic is challenging in real-time interactive processes.
[0039] Based on the aforementioned problems in related technologies, this application provides an information processing method. This information processing method is based on a Node-red underlying design, allowing users to perform visual interactions during chats and trigger different logic based on the corresponding selection results. This increases the interactivity of group chats and solves some daily pain points, making black-box interactive messages more transparent.
[0040] The information processing method of this application embodiment can be applied to scenarios involving interaction within a chat box. For example, the interactive object (e.g., a user) can chat freely in the chat box, sending pictures and content. At this time, a bot can be used to allow the user to interact, such as choosing where to eat or which plaza to shop at. Figure 1 The diagram shows an interactive interface in a chat box provided in this embodiment. In this chat box 101, if the interaction involves choosing where to eat, multiple location ranges 103 corresponding to the specified location 102 can be provided for the interaction to choose from. The final interaction result is determined based on the selected location range and the restaurants within that range. Additionally, in the chat box, bullet comments can be divided into ordinary text bullet comments and interactive bullet comments.
[0041] The information processing method of this application embodiment can solve at least the following problems: it enables richer logical interactions with only pipeline configuration; it solves some pain points in daily life, with all interactions in the group completed through a medium, and then the corresponding form is selected and submitted on the medium's panel, which is convenient and fast; no additional storage logic needs to be written, and the page only needs to be configured, especially for page changes and requirement changes, only the corresponding logical branch needs to be started, without affecting other branches, and the re-deployment problem is small.
[0042] The information processing method provided in this application first displays interactive information and multiple media identifiers on the current interactive page; then, in response to a selection operation for any one or more media identifiers, the media corresponding to the media identifier is invoked to process the interactive information, obtaining processed information; wherein, the information processing is performed using an information processing method corresponding to the selection operation; finally, the processed information is displayed on the current interactive page. This enables the visualization and on-demand processing of interactive information on the current interactive page, improving the user experience; furthermore, it eliminates the need for additional page development and memory overhead, thus reducing page development difficulty and memory requirements.
[0043] The following describes exemplary applications of the information processing device according to embodiments of this application. The information processing device provided in this application can be implemented as a terminal or as a server. In one implementation, the information processing device provided in this application can be implemented as any terminal with information processing or information interaction functions, such as a laptop, tablet, desktop computer, mobile device (e.g., mobile phone, portable music player, personal digital assistant, dedicated messaging device, portable gaming device), intelligent robot, smart home appliance, and smart vehicle device. In another implementation, the information processing device provided in this application can also be implemented as a server, wherein the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or 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, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal and the server can be directly or indirectly connected through wired or wireless communication, which is not limited in this application embodiment. The following describes exemplary applications when the information processing device is implemented as a terminal.
[0044] See Figure 2 , Figure 2This is an optional architecture diagram of the information processing system provided in this application embodiment. To support any real-time interactive application and to achieve visual interaction and diversity of interaction methods by processing the interactive information in the real-time interactive application, the terminal in this application embodiment has at least a real-time interactive application installed. The information processing system 10 includes at least a terminal 100, a network 200, and a server 300, wherein the server 300 is the server for the real-time interactive application, and the terminal 100 can constitute the information processing device of this application embodiment. The terminal 100 is connected to the server 300 through the network 200, which can be a wide area network, a local area network, or a combination of both. During the operation of the real-time interactive application, the client of the real-time interactive application can obtain the interactive information input by the interactive object and the selection operation for the media identifier. In some embodiments, there can be multiple terminals, and multiple terminals can run the real-time interactive application simultaneously and interact in the same interactive environment to realize the information processing of interactive information.
[0045] During the live broadcast, terminal 100 displays interactive information and multiple media identifiers on the current interactive page; and receives selection operations from the interactive object (i.e., the user corresponding to terminal 100) for any one or more media identifiers; then, in response to the selection operation, the terminal calls the media corresponding to the media identifier from the server, and processes the interactive information through the media to obtain the processed information; wherein, the information processing is performed using the information processing method corresponding to the selection operation; finally, the terminal displays the processed information on the current interactive page.
[0046] In some embodiments, the server 300 may also call the media corresponding to the media identifier, process the interactive information through the media, obtain the processed information, and send the processed information to the terminal.
[0047] The information processing method provided in this application embodiment can also be implemented based on a cloud platform and through cloud technology. For example, the server 300 mentioned above can be a cloud server. The cloud server calls the media corresponding to the media identifier to process the interactive information and obtain the processed information.
[0048] In some embodiments, a cloud storage device may also be included, which can store interactive information and media identifiers displayed on the current interactive page, or store processed information in the cloud storage. This allows the stored information to be read and retrieved from the cloud storage later.
[0049] It's important to clarify that cloud technology refers to a hosting technology that unifies hardware, software, and network resources within a wide area network (WAN) or local area network (LAN) to achieve data computation, storage, processing, and sharing. Cloud technology is a collective term for network technologies, information technologies, integration technologies, management platform technologies, and application technologies applied in the cloud computing business model. It can form resource pools, providing flexible and convenient on-demand access. Cloud computing technology will become a crucial support. Backend services of technical network systems require substantial computing and storage resources, such as video websites, image websites, and many portal websites. With the rapid development and application of the internet industry, every item may have its own identification mark in the future, requiring transmission to backend systems for logical processing. Data at different levels will be processed separately, and various industry data will require robust system support, which can only be achieved through cloud computing.
[0050] Figure 3 This is a schematic diagram of the structure of the information processing device provided in the embodiments of this application. Figure 3 The information processing device shown includes at least one processor 310, a memory 350, at least one network interface 320, and a user interface 330. The various components of the information processing device are coupled together via a bus system 340. It is understood that the bus system 340 is used to implement communication between these components. In addition to a data bus, the bus system 340 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in… Figure 3 The general labeled all buses as Bus System 340.
[0051] The processor 310 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0052] User interface 330 includes one or more output devices 331 that enable the presentation of media content, and one or more input devices 332.
[0053] Memory 350 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. Memory 350 may optionally include one or more storage devices physically located remote from processor 310. Memory 350 may include volatile memory or non-volatile memory, or both. Non-volatile memory may be read-only memory (ROM), and volatile memory may be random access memory (RAM). The memory 350 described in this application embodiment is intended to include any suitable type of memory. In some embodiments, memory 350 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as illustrated below.
[0054] Operating system 351 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks; The network communication module 352 is used to reach other computing devices via one or more (wired or wireless) network interfaces 320, exemplary network interfaces 320 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc. The input processing module 353 is used to detect and translate one or more user inputs or interactions from one or more input devices 332.
[0055] In some embodiments, the apparatus provided in this application may be implemented in software. Figure 3 An information processing device 354 stored in memory 350 is shown. This information processing device 354 can be an information processing unit within an information processing apparatus. It can be software in the form of programs and plug-ins, including the following software modules: a first display module 3541, an information processing module 3542, and a second display module 3543. These modules are logically connected and can therefore be arbitrarily combined or further divided according to their implemented functions. The functions of each module will be described below.
[0056] In other embodiments, the apparatus provided in this application can be implemented in hardware. As an example, the apparatus provided in this application can be a processor in the form of a hardware decoding processor, which is programmed to execute the information processing method provided in this application. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0057] The information processing methods provided in the embodiments of this application can be executed by an information processing device. The information processing device can be any terminal with information processing or information interaction functions, or it can be a server. That is, the information processing methods in the embodiments of this application can be executed by a terminal, by a server, or by an interaction between a terminal and a server.
[0058] See Figure 4 , Figure 4 This is an optional flowchart illustrating the information processing method provided in the embodiments of this application. The following will be combined with... Figure 4 The steps shown will be explained. It should be noted that... Figure 4 The information processing method in this example is illustrated by using the terminal as the execution subject.
[0059] Step S401: Display interactive information and multiple media identifiers on the current interactive page.
[0060] Here, the current interactive page can be the current interface of a real-time interactive application. A real-time interactive application can be any application that enables multi-user interaction, such as an instant messaging application or a live streaming application.
[0061] Interactive information refers to messages sent by interactive objects in a real-time interactive application or response information corresponding to triggered actions. Messages sent can include any type of information, such as text, voice, video, image, and Uniform Resource Locator (URL) information; response information can be a redirected page in response to a triggered action, or display information in response to a triggered action.
[0062] In this embodiment, interactive objects engage in multi-person interaction within a real-time interactive application to generate interactive information, which is then displayed on the current interface by the client of the real-time interactive application. In other words, in this embodiment, the current interactive page corresponds to multiple interactive objects, and these multiple objects engage in multi-person interaction within the current interactive scenario to generate interactive information, which originates from at least one of the multiple interactive objects.
[0063] For example, the current interaction scenario could be a group chat scenario in an instant messaging application, in which case the interaction information could be group chat information; or, the current interaction scenario could be a live streaming scenario in a live streaming application, in which case the interaction information could be comment information from multiple live streaming viewers; or, the current interaction scenario could be a game live streaming scenario in a game live streaming application, in which case the interaction information could be comment information from multiple game live streaming viewers; or, the current interaction scenario could also be a game development scenario, in which case the interaction information could be chat interaction information from multiple game objects in a game application.
[0064] The media identifier is used to identify media. The media identifier can include information such as the media's name, storage address, function name, and processing flow name. On the current interactive page, the media identifier can be displayed as text or as an icon.
[0065] A medium is a carrier or virtual object used to perform specific functions to process any information. Each medium corresponds to a processing flow of an information processing method. When any medium is invoked, the interactive information can be processed through the information processing method corresponding to that medium.
[0066] Step S402: In response to a selection operation for any one or more media identifiers, the media corresponding to the media identifier is invoked to process the interactive information and obtain the processed information; wherein, the information processing is performed using the information processing method corresponding to the selection operation.
[0067] In this embodiment, the current interactive page can display multiple pieces of interactive information, and the selection operation corresponds to at least one of these pieces of interactive information. During implementation, at least one piece of interactive information can be selected, and a selection operation can be performed on any one or more media identifiers. The selection operation can be any form of interface operation, such as a click, double-click, long-press, or drag-and-drop operation.
[0068] In some embodiments, invoking a media entity corresponding to a media entity identifier to process interactive information can mean invoking the media entity's information processing method to process the interactive information. That is, it means using the processing flow corresponding to the information processing method to process the interactive information, thereby realizing the specific information processing function of the media entity. Here, each media entity identifier uniquely corresponds to one media entity, and each media entity can implement at least one information processing function. When invoking a media entity, the information processing method can be specified, i.e., the information processing function to be implemented can be specified, or the media entity's default information processing method can also be used to process the interactive information.
[0069] The information processing function of a media entity can be pre-configured as a processing flow. This configuration can be done before running a real-time interactive application, or it can be pre-edited. The processing flow can be edited sequentially and stored in a specific storage space. In some embodiments, the processing flow includes multiple sub-flows, each of which can be pre-edited. Each sub-flow corresponds to a sub-flow identifier, which indicates the order of the corresponding sub-flow within the processing flow. After editing each sub-flow, multiple sub-flows are concatenated based on their identifiers to form a complete processing flow capable of performing a specific information processing function.
[0070] In this embodiment of the application, after successfully invoking the media, the process content of each sub-process in the processing flow is retrieved from a specific storage space, and then the process content of each sub-process is executed sequentially to realize information processing of interactive information.
[0071] In some embodiments, the pre-configured processing flow can also be modified and updated. When modifying and updating the processing flow, at least one sub-flow within the processing flow can be modified and updated. The modification and update process can be implemented through a terminal, a server, or through interaction between the terminal and the server.
[0072] This section uses the interaction between a terminal and a server as an example for explanation. During the implementation, the terminal generates a process update request, which includes the update object and update content. The update object indicates which sub-processes need to be updated and may include the sub-process identifiers. The update content refers to the new content of the updated sub-processes. After receiving the process update request from the terminal, the server parses the request to obtain the update object and update content, and then updates the process content of the sub-processes indicated by the update object to that updated content. After completing the update, the server can send an update completion message to the terminal.
[0073] Step S403: Display the processed information on the current interactive page.
[0074] In this embodiment of the application, the processed information is information with specific information processing functions, and the processed information can be displayed on the current interactive page.
[0075] During the implementation process, the processed information can be displayed in correspondence with the corresponding interactive information before processing. For example, it can be displayed in the same display position and display area, or in the form of a before-and-after comparison chart. Alternatively, the interactive information before processing can be deleted, and only the processed information can be displayed. Or, the interactive information before processing and the processed information can be displayed sequentially according to the order in which the information was generated.
[0076] The information processing method provided in this application displays interactive information and a media identifier on the current interactive page of a real-time interactive application, receives a selection operation for the media identifier, calls the media corresponding to the media identifier to process the interactive information, obtains the processed information, and displays it. In this way, more interaction channels are provided for interactive objects on the current interactive interface of the real-time interactive application. Interactive objects interact through the media identifier of the current interactive page, which enables the visualization and on-demand processing of interactive information on the current interactive page, improving the user experience. Furthermore, since the interactive information is processed through the media corresponding to the media identifier, no additional page development or memory overhead is required, thus reducing the difficulty of page development and memory overhead requirements.
[0077] The following sections will use real-time interactive applications, namely instant messaging applications and live streaming applications, as examples to illustrate the application scenarios of the information processing method in this application.
[0078] Scenario 1: In the group chat function of instant messaging applications, the interactive environment can be a group chat. Within the group chat, multiple chat participants (i.e., interactive participants) engage in interactive chat, and the chat messages constitute the aforementioned interactive information. For example... Figure 5 The diagram shown is an interface diagram of scenario one provided in this application embodiment. The chat interface 50 of the chat group (i.e., the current interaction page) displays interaction information 501 of the chat participants and multiple media identifiers 502. The interaction information 501 can be any form of information, such as text information, voice information, image information, video information, URL information, etc. Each media identifier 502 corresponds to a media entity, and each media entity can process the interaction information 501 using at least one information processing method. For example... Figure 5The media identifier "Delayed Sending" indicates a delayed sending media, used to delay the sending of chat messages; the media identifier "Information Storage" indicates an information storage media, used to store chat messages; and the media identifier "Information Effects" indicates an information feature processing media, used to apply effects to chat messages. Of course, Figure 5 The media identifiers in this example are merely illustrative. In instant messaging applications, various media can be configured to implement different information processing methods, and the corresponding media identifiers can be displayed on the chat interface accordingly.
[0079] During interactive chat, the system can receive a selection action from a chat participant regarding any media identifier displayed on the current chat interface. This selection action corresponds to at least one chat message, or it corresponds to a specific interaction method. Then, in response to the selection action for the media identifier, the system invokes the media corresponding to that identifier to process the chat message, obtaining the processed information and displaying it on the current chat interface. For example, when a user selects a chat message and chooses the media identifier "Message Effects," effects can be applied to that chat message, resulting in information with certain display effects, which will then be displayed on the terminals of all chat participants in the current chat group.
[0080] Scenario 2: In the live streaming function of a live streaming application, the interactive environment can be the live streaming room during the live stream. In the live streaming room, the host and multiple viewers can interact and chat, or multiple viewers can interact and chat within the live streaming room; the chat messages constitute the aforementioned interactive information. For example... Figure 6 The diagram shown is an interface diagram of scenario two provided in this application embodiment. The live broadcast room includes a chat interface 60 and a live broadcast interface 61. The chat interface 60 (i.e., the current interactive page) displays interactive information 601 from live viewers and multiple media entity identifiers 602. The interactive information 601 can be any form of information, such as text information, voice information, image information, video information, URL information, etc. Each media entity identifier 602 corresponds to a media entity, and each media entity can process the interactive information 601 using at least one information processing method.
[0081] During live stream interactions, viewers can select any media identifier displayed on the current live stream interface. This selection corresponds to at least one chat message, or it may correspond to a specific interaction method. In response to the selection, the corresponding media is invoked to process the chat message, and the processed message is displayed on the live stream interface. For example, if a user enters a chat message and selects the "delay sending" media identifier, the message will be sent later, after the delay period.
[0082] It is important to clarify here that "live streamer" refers to a user who performs and shares their performance in a live streaming service; "live stream room" is an application on the live streaming platform that allows live streamers to publish different live stream content, in contrast to "live streamer"; and "live stream audience" refers to the viewers of a live streamer's performance.
[0083] In some embodiments, the information processing system includes at least a terminal and a server, wherein the terminal is equipped with a real-time interactive application, and the server constitutes the backend server of the real-time interactive application. The server processes the interactive information in the real-time interactive application to achieve visual interaction and diversity of interaction methods.
[0084] Figure 7 This is another optional flowchart illustrating the information processing method provided in the embodiments of this application, such as... Figure 7 As shown, the method includes the following steps: In step S701, the terminal runs a real-time interactive application and receives interactive information sent by the interactive object.
[0085] Here, interactive information can be information input by the interactive object through the client of the real-time interactive application or response information corresponding to the triggered operation.
[0086] Step S702: The terminal displays interactive information and media identifiers on the current interactive page.
[0087] In this embodiment of the application, the current interactive page displays multiple media entity identifiers, each media entity identifier corresponding to a media entity; each media entity can use at least one information processing method to process interactive information.
[0088] Step S703: The terminal receives the selection operation of the interactive object for the media identifier.
[0089] Step S704: The terminal generates an information processing request based on the selection operation.
[0090] In step S705, the terminal sends an information processing request to the server.
[0091] Step S706: The server determines the information processing method corresponding to the selected operation.
[0092] In this embodiment of the application, when performing a selection operation, the name of the information processing method can be selected. Therefore, the server can parse the selection operation and obtain the selected information processing method.
[0093] Step S707: The server obtains the operating environment corresponding to the information processing method.
[0094] Here, the operating environment includes the hardware and software environment of the processing flow corresponding to the running information processing method.
[0095] In step S708, the server sets the current state of the operating environment to occupied state.
[0096] Here, when a selection operation is received, the current state of the operating environment can be set to occupied state.
[0097] In some embodiments, the method may further include the following steps: Step S709: The terminal obtains the function release operation for the media identifier.
[0098] When an operating environment is in an occupied state, if you want to use it again, you can release the operating environment, that is, change the current state of the operating environment from occupied to released. Only when the operating environment is in a released state can it be used again.
[0099] Here, the release operation environment can be achieved by releasing the information processing function of the medium. Therefore, a function release operation can be entered, which corresponds to a medium.
[0100] Step S710: The terminal generates a function release request based on the function release operation.
[0101] The function release request includes a media entity identifier. This request is used to request the release of the information processing function of the media entity corresponding to that identifier. Here, releasing the information processing function of the media entity means controlling it to no longer be in a running state, stopping the operation and implementation of the information processing function.
[0102] In step S711, the terminal sends a function release request to the server.
[0103] In step S712, the server responds to the function release operation by changing the current state of the operating environment from the occupied state to the released state.
[0104] Here, after releasing the information processing function of the medium, the current state of the operating environment is changed from occupied to released.
[0105] In some embodiments, a status query request for the current state of the operating environment may also be generated, which is used to request a query for the current state of the operating environment.
[0106] In some embodiments, the current state of the operating environment can also be visualized. An operating environment status display interface can be provided in the real-time interactive application. In this operating environment status display interface, the current state of the operating environment corresponding to the information processing method of each medium is displayed. In this way, by visually presenting the current state of the operating environment, developers can be provided with a more convenient and efficient way to query.
[0107] Step S713: When the operating environment is in a released state, obtain the selection operation for the media identifier; and in response to the selection operation for the media identifier, call the media corresponding to the media identifier to process the interactive information; wherein, the information processing is performed using the information processing method corresponding to the selection operation.
[0108] In step S714, the server sends the processed information to the terminal.
[0109] Step S715: The terminal displays the processed information on the current interactive page.
[0110] The information processing method provided in this application sets the current state of the operating environment corresponding to the media to an occupied state when running and implementing the information processing function of the media. This allows for quick identification of the current occupancy status of the operating environment by querying its current state, thereby improving the efficiency of development and function calls and ultimately enhancing the user experience.
[0111] In some embodiments, the processing flow of information processing methods can be visually configured through a process editor. That is, the information processing methods for all media are configurable, and the processing flow for each media's information processing method can be pre-configured. Here, the process editor can be a Node-red editor.
[0112] The following uses the Node-red editor as an example to illustrate the information processing method of this application embodiment.
[0113] Before running a real-time interactive application, the processing flow of information processing methods can be visually configured in advance through a process editor to obtain the editor configuration information of the media; and based on the editor configuration information, the configuration information of the media corresponding to the media identifier can be determined; here, there is a mapping relationship between the editor configuration information and the configuration information.
[0114] When running a real-time interactive application, interactive information and media identifiers are displayed on the current interactive page. Furthermore, when a selection operation is received for any media identifier, the following steps S11 to S15 (not shown in the figure) are executed to process the interactive information: Step S11: Obtain the invocation instruction for the media corresponding to the media identifier.
[0115] Step S12: In response to the call command, obtain the configuration information of the media corresponding to the media identifier.
[0116] Step S13: Determine the editor configuration information of the media based on the configuration information and mapping relationship.
[0117] Step S14: Determine the information processing method based on the editor configuration information.
[0118] Step S15: Use information processing methods to process the interactive information to obtain processed information.
[0119] It should be noted that steps S11 to S15 above can be executed by the terminal or by the server.
[0120] In this embodiment, the processing flow of information processing methods is visually configured through a process editor. This enables modular pre-configuration of information processing methods, allowing different information processing methods to be pre-configured to form different functional modules. Each functional module can consist of multiple process nodes. Thus, when configuring the processing flow of each information processing method, each node of the processing flow can be pre-configured, i.e., each sub-flow of the processing flow. Then, all nodes of the same processing flow are concatenated to assemble a complete processing flow. In this embodiment, the pre-configuration process can be implemented manually by developers.
[0121] After configuring the processing flow for all information processing methods, the processing flow for all information processing methods can be deployed to a preset storage space to install the processing flow in the runtime environment of the real-time interactive application. A visual interface is then provided corresponding to the preset storage space, forming the media display interface of the real-time interactive application. This media interface displays the media identifiers of different media. In some embodiments, the media interface can be the current interactive page.
[0122] In some embodiments, in the runtime environment of a real-time interactive application, one part is the user-visible data stream editing interface, namely the editing interface for configuring the processing flow of information processing methods, and the editing interface for editing and inputting interactive information; the other part is the data stream execution process, namely the execution process of the processing flow of information processing methods.
[0123] In some embodiments, the information processing method includes, but is not limited to, at least one of the following: a read operation, a write operation, and a delay operation. A read operation refers to reading the data body from the interactive information; a write operation refers to writing the data body to a preset filename; and a delay operation refers to delaying the triggering of the interactive operation corresponding to the interactive information.
[0124] Figure 8 This is another optional flowchart illustrating the information processing method provided in the embodiments of this application, such as... Figure 8 As shown, the method includes the following steps: In step S801, the terminal runs a real-time interactive application and receives interactive information sent by the interactive object.
[0125] In step S802, the terminal displays interactive information and media identifiers on the current interactive page.
[0126] Here, multiple media entity logos are displayed on the current interactive page.
[0127] Step S803: The terminal receives the selection operation of the interactive object for the media identifier.
[0128] In step S804, the terminal generates an information processing request based on the selection operation.
[0129] In step S805, the terminal sends an information processing request to the server.
[0130] In one implementation, when the information processing method is a read operation, the method includes the following steps S806 and S807: In step S806, the server calls the media corresponding to the media identifier to obtain the file name corresponding to the interactive information.
[0131] In step S807, the server reads the data body of the interactive information based on the file name and determines the read data body as the processed information.
[0132] Here, you can read the data from the interactive information stored under this filename.
[0133] In another implementation, when the information processing method is a write operation, the method includes the following steps S808 to S811: Step S808: Call the media corresponding to the media identifier to obtain the data body of the interactive information and the key information in the interactive information.
[0134] Step S809: Write the data body to a preset file name to obtain the file name of the written data body.
[0135] Here, data can be written to a preset filename using an overwrite method, thus overwriting the original information under that filename and obtaining the filename of the written data. The overwrite method means that when writing new information, the existing information under the filename is overwritten. When writing information using the overwrite method, after the overwrite process is complete, the existing information no longer exists, and the filename only contains the newly written information.
[0136] Step S810: Write the key information to a preset log file in append mode to obtain a log file containing the key information.
[0137] Append-to-write is a completely different writing method from overwrite-to-write. It involves appending new information to the existing information in the log file.
[0138] In this embodiment, the key information is information related to the processing flow of the write operation. By querying this key information, the specific implementation process of the write operation can be understood. In some embodiments, the data type of the key information can be predefined, and data with a predefined specific type can be identified as key information and written to a preset log file.
[0139] Step S811: The filename of the data body to be written and the log file of the key information to be written are determined as the processed information.
[0140] In another implementation, when the information processing method is a delayed operation, the method includes the following steps S812 to S813: Step S812: Call the media corresponding to the media identifier and add a delay time to the interactive information.
[0141] Here, delay time refers to the duration of the delay used to process interactive information. For example, the delay time can be 1 minute, 1 hour, 1 day, etc.
[0142] When the information processing function of the media corresponding to the media identifier is a delayed operation, when the media is invoked, there can also be a duration input area on the current display interface corresponding to the media identifier, where the delay time can be manually entered or selected.
[0143] Step S813: When the delay time is reached, trigger the interactive operation corresponding to the interactive information.
[0144] Here, the interactive operation can be any kind of operation. For example, when the interactive information is to initiate a vote, the interactive operation is to generate a voting channel and collect voting results.
[0145] In this embodiment, when a selection operation for a media identifier is obtained, the first interaction information corresponding to the selection operation can be written to the pending event form. After obtaining the selection operation for the media identifier, and when a second selection operation for the media identifier is detected, the second interaction information corresponding to the second selection operation is also written to the pending event form. At this time, since two selection operations are performed for the same media identifier, that is, two interaction information is written to the pending event form for the same media, and each time interaction information is written, a pending event is generated, thus generating a total of two pending events. Therefore, when processing each pending event, it is necessary to judge whether the two interaction information are the same.
[0146] In other words, when sending interactive information for an event pending in the event pending form (i.e., processing the event pending), if the interactive information to be sent for the current event pending is different from the interactive information of the medium read from the event pending form, the sending of the interactive information to be sent is prohibited.
[0147] For example, user A submits a detailed review (interaction information) at 10:30 AM the following day. Then, user A realizes they have something to do at 10:30 AM and submits another detailed review (comment and analysis information) at 2:30 PM the following day. The content of the 2:30 PM review is exactly the same as the 10:30 AM review. Since the processing logic for the 10:30 AM review is already implemented and does not affect the processing logic for the 2:30 PM review, the fact that the 2:30 PM review is identical to the 10:30 AM review means that the processing logic for both reviews is for the same interactive platform B. Therefore, the processing logic for the 10:30 AM review has a problem. Here, since the interaction information of media B is read from the pending event form in chronological order, the first interaction information of media B read from the pending event form is the detailed review at 10:30 AM the next day. Obviously, the detailed review that user A actually needs to process is the detailed review at 2:30 PM the next day. Therefore, there may be a situation where the interaction information to be sent for the current pending event (i.e., the detailed review at 2:30 PM the next day) is different from the interaction information of the media read from the pending event form (i.e., the detailed review at 10:30 AM the next day). In this case, sending the interaction information to be sent is prohibited.
[0148] In some embodiments, when sending interactive information based on any medium (e.g., submitting a detailed review), it is detected whether there is other interactive information for that medium in the pending event form. If multiple identical interactive information for the same medium exist at the same time, the interactive operation corresponding to the previous interactive information is not executed. That is, when it involves repeatedly submitting interactive operations for the same medium, the previous interactive operation is not executed.
[0149] It's important to explain here that after each pending event is processed or its execution time has elapsed, the event is removed from the pending event form to avoid duplicate execution of the same event. Therefore, since two interaction messages were written to the same medium in the pending event form, the first interaction message is not executed; that is, the pending event for the first written interaction message is not executed. The first interaction message is then removed from the pending event form. This ensures that only the pending event for the second interaction message is executed, thus achieving flow control for repeatedly submitted pending events and avoiding repeated execution of duplicate events, which would consume excessive memory.
[0150] In step S814, the server sends the processed information to the terminal.
[0151] In step S815, the terminal displays the processed information on the current interactive page.
[0152] The following describes an exemplary application of this application embodiment in a real-world scenario. This application embodiment provides an information processing method based on a Node-red editor. Users can engage in visual interaction during chats, triggering different logic based on their selections, thereby increasing the interactivity of group chats and addressing some everyday pain points, making previously unreliable messages more transparent. This information processing method allows for richer logical interactions with only pipeline configuration; it solves common daily pain points by using a robot (a form of media implementation) for all group interactions, allowing users to submit forms via the robot panel – convenient and fast; no additional storage logic is required, and page configuration is minimal. Especially with page changes and requirement alterations, only a new logical branch needs to be created, without affecting other branches, minimizing redeployment issues.
[0153] Figure 9 This is an interface diagram of calling the robot provided in an embodiment of this application, such as... Figure 9 As shown, you can click the robot button 901 (i.e., the media icon) on the current interactive page 900 to select the robot and invoke the robot to perform the corresponding function. Figure 10 This is an interface diagram of the robot binding management platform provided in the embodiments of this application, such as... Figure 10 As shown, on the current interface 1000, a reminder message 1001 is displayed, which reminds users to bind the robot to the management platform to achieve collaboration and software development management. Figure 11 This is a diagram of the robot operation interface provided in the embodiments of this application, such as... Figure 11 As shown, the robot's functional interface 110 displays at least one operation mode 1101, such as requirement review reminder operation, P0 completion to experience operation, experience completion to test experience operation, and test completion to release operation.
[0154] In this embodiment, the robot can help to effectively streamline requirement orders, add detailed review time, and improve the experience and testing after requirement development. After testing is completed, it can be released in a timely manner and the relevant developers can be notified. For example, the robot can be applied to a live chat group (e.g., a Trovo chat group). A robot can be added to the live chat group first. Figure 12 This is an interface diagram of the robot implementing the addition of detailed review requirements provided in the embodiment of this application. In the interface 121, information such as the review time and review location can be added.
[0155] In some embodiments, when the front-end is deployed, multiple environments are involved, and developers often encounter situations where the environment is occupied during deployment. In this case, by adding the above-mentioned bot in the chat group, it is possible to quickly find out who is occupying the environment and resolve pain points in daily communication while chatting. Figure 13 This is an example of an environmental occupancy reminder interface provided in an embodiment of this application, such as... Figure 13 As can be seen from the robot interface 131, the current environment occupancy status is as follows: four environments, A, B, C, and D, are occupied.
[0156] In this embodiment, the rich interface interactions described above can all be provided by Node-red, and the user interface (UI) templates are configurable, offering great flexibility. First, the robot can be invoked (in the implementation, for example, by mentioning @robot), such as... Figure 14 As shown, it is necessary to ensure that the robot configuration in the group chat and the robot in Node-red correspond in the three circled places in message receiving configuration 141 and robot message sending and receiving configuration 142. This is equivalent to establishing a chat bridge. At this time, you only need to @ this robot in the group, and the entry point in Node-red can receive the corresponding message and then perform the corresponding logical interaction.
[0157] In this embodiment, storage is a key function, employing a message flow model. When the chat room receives a message, if no filename is specified, the message is read as the filename message (msg.filename), and the content read is the data body (msg.payload). The data body is a string. To parse corresponding fields, a syntax analysis object (json.parse) is used to process the data body. This completes the file reading process. Writing to the file follows the same principle, writing to the filename message and the data body. For easier problem analysis, key information can be written to a pre-defined log file. It's important to note that storing session information involves overwriting the file; subsequent writes overwrite previous information. However, the log file records everything, so it's appended. This completes the storage function.
[0158] Figure 15 This is a schematic diagram illustrating the implementation process of the read operation provided in the embodiments of this application, as shown below. Figure 15 As shown, after the chat room receives a message through the private chat entry 151, the differences between the old and new interfaces are smoothed out in step S151. Then, in step S152, the session information file is read. In step S153, the reading result is processed. In step S154, the case of capturing an exception when the file is empty is handled. In step S155, the processed reading result is judged and analyzed based on the judgment content.
[0159] Figure 16 This is a schematic diagram illustrating the implementation process of the write operation provided in the embodiments of this application, as shown below. Figure 16 As shown, in step S161, the submission information is processed; in step S162, the session information is stored; in step S163, the function is called; and in step S164, some key information is written to a preset log file.
[0160] In some embodiments, since interaction with a third-party application programming interface (API) is required, a request plugin (e.g., the HTTP request plugin) can be directly invoked to accomplish this. Figure 17 The diagram shown is a schematic of the implementation process of the call request plugin to interact with a third-party API provided in this application embodiment. The first function 171 is to process some parameters of the GET / POST request, and the second function 173 is to parse whether the HTTP request 172 is normal.
[0161] In some embodiments, due to scheduled operations, the plugin delay operation has two methods: The first method is a fixed delay. For example, if a message is triggered at 11:30 and needs to be triggered again at 12:30, then it only needs to be delayed by one hour from 11:30. The second method is for situations where, for example, a message triggered at a certain time today needs to be triggered again at 10:00 tomorrow. Since there is only a delay instruction and no timed alarms for each time, the target delay time needs to be calculated based on the current timestamp. Figure 18 This is a schematic diagram of the code for calculating the target time of the delay provided in an embodiment of this application.
[0162] In some embodiments, the information submitted by the form can be stored and notified accordingly. However, there is a problem here: since Node-red is based on a message flow model, if a delay instruction is written into the notification message, it will be sent multiple times.
[0163] Based on the above embodiments and key points, a flowchart for resolving demand order reversals in a chat room, such as... Figure 19 The diagram shown is a flowchart illustrating the solution to demand order reversal provided in an embodiment of this application. Figure 19 As shown, each square represents a corresponding logical process, and the integrated UI configuration is output through the chat room, thus realizing the integrated interactive and chat functions. The implementation is simple, relying on each component in Node-red and then piecing them together with its own code logic. If any branch is found to be redundant, it can be deleted directly, and then redeployed to take effect, which is very simple and convenient.
[0164] Figure 20 This is an overall flowchart of the information processing method provided in the embodiments of this application, such as... Figure 20 As shown, the method includes the following steps: Step S201: Add a bot to the chat room.
[0165] Here, you can add the corresponding bots that have already been released and have completed the corresponding functions in the private chat group.
[0166] In step S202, after the user @ robot triggers the robot, the logic processing of each branch of Node-red is implemented.
[0167] Here, you can @ trigger this robot to appear, and use a toast notification mechanism to display the corresponding page template for users to choose from and interact with.
[0168] After the user selects or submits the form, the robot receives the message and performs corresponding parsing and logical branch processing; Node-red offers a variety of logical options such as file storage, delay, and sending HTTP requests.
[0169] Step S203: Fill the template with the logic processing result and output the content (i.e. the processed information) to the chat room.
[0170] Here, the parsed results (i.e., the logical processing results), such as numbers and field information, are filled into the pre-embedded fields in the template, and finally the overall result is output to the chat room again. If the user does not choose to interact, the process ends.
[0171] The information processing method of this application addresses many pain points in the communication process and improves efficiency. The solution design is very simple and universal, and secondary development is very convenient, reducing the amount of development work. Moreover, it does not require complex storage; key information is saved through file storage, which improves storage efficiency. At the same time, it adds more interaction to the chat process and promotes communication between people.
[0172] It should be noted that in other embodiments, if the delay variable of the delayed operation (delay instruction) contains content to be pushed, global deployment is not possible, as it would affect the content of other people's delay variables. In this case, branch deployment is the only solution, as it only affects the content modified in one's own delay instruction. This is something to be very careful about. Figure 21 This is a schematic diagram of delayed operation provided in the embodiments of this application. The third deployment method 211 below, the modified node method, is a deployment method that only deploys the modified nodes. Compared with the first deployment method 212 above, the comprehensive method, which deploys all content in the work area, it is a better deployment method.
[0173] It is understood that in the embodiments of this application, if the content involving user information, such as interactive information, selection operations for the media identifier, processed information, etc., involves data related to user information or enterprise information, when the 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.
[0174] The following continues to describe the exemplary structure of the information processing device 354 provided in the embodiments of this application as a software module. In some embodiments, such as Figure 3 As shown, the information processing device 354 includes: The first display module 3541 is used to display interactive information and multiple media identifiers on the current interactive page; The information processing module 3542 is used to respond to a selection operation for any one or more of the media identifiers by calling the media corresponding to the media identifier to process the interactive information and obtain the processed information; wherein the information processing is performed using an information processing method corresponding to the selection operation. The second display module 3543 is used to display the processed information on the current interactive page.
[0175] In some embodiments, the current interactive page displays at least one media entity identifier, each media entity identifier corresponding to a media entity; each media entity can process the interactive information using at least one information processing method.
[0176] In some embodiments, the apparatus further includes: a first determining module, configured to determine an information processing method corresponding to the selection operation; an acquiring module, configured to acquire an operating environment corresponding to the information processing method; and a setting module, configured to set the current state of the operating environment to an occupied state when the selection operation is received.
[0177] In some embodiments, the apparatus further includes: a second determining module, configured to acquire a function release operation for the media identifier; a state adjusting module, configured to adjust the current state of the operating environment from the occupied state to the released state in response to the function release operation; the information processing module is further configured to: acquire a selection operation for the media identifier when the operating environment is in the released state; and, in response to the selection operation for the media identifier, invoke the media corresponding to the media identifier to perform information processing on the interactive information.
[0178] In some embodiments, the apparatus further includes: a visualization configuration module, configured to visualize the processing flow of the information processing method through a process editor to obtain the editor configuration information of the media; and a configuration information determination module, configured to determine the configuration information of the media corresponding to the media identifier based on the editor configuration information; wherein there is a mapping relationship between the editor configuration information and the configuration information.
[0179] In some embodiments, the information processing module is further configured to: obtain a call instruction for calling a media entity corresponding to the media entity identifier; in response to the call instruction, obtain configuration information of the media entity corresponding to the media entity identifier; determine editor configuration information of the media entity based on the configuration information and the mapping relationship; determine the information processing method based on the editor configuration information; and process the interactive information using the information processing method to obtain the processed information.
[0180] In some embodiments, the information processing module is further configured to: invoke the media corresponding to the media identifier to obtain the file name corresponding to the interactive information; read the data body of the interactive information based on the file name; and determine the read data body as the processed information.
[0181] In some embodiments, the information processing module is further configured to: invoke the media corresponding to the media identifier, obtain the data body of the interactive information and the key information in the interactive information; write the data body to a preset file name to obtain the file name of the written data body; write the key information to a preset log file in an append-only manner to obtain a log file of the written key information; and determine the file name of the written data body and the log file of the written key information as the processed information.
[0182] In some embodiments, the information processing module is further configured to: write the data body to a preset file name in an overwrite manner to overwrite the original information under the preset file name, thereby obtaining the file name of the written data body.
[0183] In some embodiments, the information processing module is further configured to: invoke the media corresponding to the media identifier, add a delay time to the interactive information; and trigger the interactive operation corresponding to the interactive information when the delay time is reached.
[0184] In some embodiments, the apparatus further includes: a first writing module, configured to write first interactive information corresponding to the selection operation to a pending event form when a selection operation for the media identifier is obtained; a second writing module, configured to write second interactive information corresponding to the secondary selection operation to the pending event form when a secondary selection operation for the media identifier is detected after the selection operation for the media identifier is obtained; and a control module, configured to prohibit the sending of the pending interactive information when sending interactive information for pending events in the pending event form, if the pending interactive information of the current pending event is different from the interactive information read from the pending event form.
[0185] It should be noted that the description of the apparatus in this application embodiment is similar to the description of the method embodiment described above, and has similar beneficial effects as the method embodiment; therefore, it will not be repeated. For technical details not disclosed in this apparatus embodiment, please refer to the description of the method embodiment of this application for understanding.
[0186] This application provides a computer program product or computer program that includes executable instructions, which are computer instructions; the executable instructions are stored in a computer-readable storage medium. When the processor of an information processing device reads the executable instructions from the computer-readable storage medium and executes the executable instructions, the information processing device performs the method described in this application embodiment.
[0187] This application provides a storage medium storing executable instructions. When these executable instructions are executed by a processor, they cause the processor to perform the method provided in this application, for example... Figure 4 The method shown.
[0188] In some embodiments, the storage medium may be a computer-readable storage medium, such as a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), flash memory, magnetic surface memory, optical disc, or a compact disk-read-only memory (CD-ROM); or it may be a device that includes one or any combination of the above-mentioned memories.
[0189] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0190] As an example, executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file containing other programs or data, for example, in one or more scripts within a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., files storing one or more modules, subroutines, or code sections). As an example, executable instructions may be deployed to execute on a single computing device (which may be a job runtime-determined device), or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.
[0191] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. An information processing method characterized by comprising: The method includes: The current interactive page displays interactive information and multiple media entity identifiers; wherein, the media entity identifier is used to identify the corresponding media entity; In response to a selection operation for any one or more of the media identifiers, the media corresponding to the media identifier is invoked to process the interactive information to obtain processed information; wherein, the information processing is performed using an information processing method corresponding to the selection operation; the media is a virtual object that processes the interactive information, and the media corresponds to the processing flow of the information processing method; The step of calling the media corresponding to the media identifier to process the interactive information and obtain the processed information includes: calling the media corresponding to the media identifier to add a delay time to the interactive information; and triggering the interactive operation corresponding to the interactive information when the delay time is reached. The processed information is displayed on the current interactive page; When a selection operation is received for the media identifier, the first interaction information corresponding to the selection operation is written into the event form to be processed. After obtaining the selection operation for the media identifier, when a second selection operation for the media identifier is detected, the second interaction information corresponding to the second selection operation is written into the event form to be processed. When sending interactive information for events pending in the pending event form, if the second interactive information for the current pending event is different from the first interactive information read from the pending event form, sending the second interactive information is prohibited.
2. The method of claim 1, wherein, The method further includes: Determine the information processing method corresponding to the selection operation; Obtain the operating environment corresponding to the information processing method; Upon receiving the selection operation, the current state of the operating environment is set to occupied state.
3. The method of claim 2, wherein, The method further includes: Obtain the function release operation for the aforementioned media identifier; In response to the function release operation, the current state of the operating environment is changed from the occupied state to the released state; The step of responding to a selection operation for any one or more of the media identifiers, and invoking the media corresponding to the media identifier to process the interactive information, includes: When the operating environment is in the released state, a selection operation for the media identifier is obtained; and In response to the selection operation for the media identifier, the media corresponding to the media identifier is invoked to process the interactive information.
4. The method of claim 1, wherein, The method further includes: The processing flow of the information processing method is visualized and configured through the process editor to obtain the editor configuration information of the media. Based on the editor configuration information, the configuration information of the media corresponding to the media identifier is determined; wherein, there is a mapping relationship between the editor configuration information and the configuration information.
5. The method of claim 4, wherein, The method further includes: Obtain the invocation instruction for the media entity corresponding to the media entity identifier; In response to the invocation command, obtain the configuration information of the media corresponding to the media identifier; Based on the configuration information and the mapping relationship, the editor configuration information of the media is determined; Based on the editor configuration information, the information processing method is determined.
6. An information processing apparatus, characterized by comprising: The device includes: The first display module is used to display interactive information and multiple media entity identifiers on the current interactive page; wherein, the media entity identifier is used to identify the corresponding media entity; An information processing module is configured to, in response to a selection operation for any one or more of the media identifiers, invoke the media corresponding to the media identifier to process the interactive information and obtain processed information; wherein the information processing is performed using an information processing method corresponding to the selection operation; the media is a virtual object for processing the interactive information, and the media corresponds to the processing flow of the information processing method; wherein invoking the media corresponding to the media identifier to process the interactive information and obtain processed information includes: invoking the media corresponding to the media identifier to add a delay time to the interactive information; and triggering the interactive operation corresponding to the interactive information when the delay time is reached; The second display module is used to display the processed information on the current interactive page; The first writing module is used to write the first interaction information corresponding to the selection operation to the event form to be processed when a selection operation for the media identifier is obtained. The second writing module is used to write the second interaction information corresponding to the second selection operation to the event form to be processed when a second selection operation is detected after a selection operation for the media identifier is obtained. The control module is configured to prevent the sending of the second interactive information when sending interactive information for the pending events in the pending event form, if the second interactive information of the current pending event is different from the first interactive information read from the pending event form.
7. The apparatus of claim 6, wherein, The device further includes: The first determining module is used to determine the information processing method corresponding to the selection operation; The acquisition module is used to acquire the operating environment corresponding to the information processing method; The setting module is used to set the current state of the operating environment to an occupied state when the selection operation is received.
8. The apparatus according to claim 7, characterized in that, The device further includes: The second determining module is used to obtain the function release operation for the media identifier; A state adjustment module is used to adjust the current state of the operating environment from the occupied state to the released state in response to the function release operation. The information processing module is further configured to: when the operating environment is in the released state, obtain a selection operation for the media identifier; and in response to the selection operation for the media identifier, call the media corresponding to the media identifier to process the interactive information.
9. An information processing apparatus, characterized by comprising: include: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the information processing method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that, The device stores executable instructions for causing a processor to execute the executable instructions to implement the information processing method according to any one of claims 1 to 5.
11. A computer program product comprising executable instructions, characterized in that, When the executable instructions are executed by the processor, they implement the information processing method according to any one of claims 1 to 5.