Method, apparatus, terminal, medium, and program product for processing application program
Patent Information
- Authority / Receiving Office
- HK · HK
- Patent Type
- Patents
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2023-05-24
- Publication Date
- 2026-07-17
AI Technical Summary
In existing technologies, setting up robot service tasks in applications is not convenient enough, and it is difficult to efficiently set up and manage service tasks.
In the social conversation interface, the service settings window can be directly invoked from the message display area, allowing users to set the task information of the target service task in the window and output the execution result in the conversation interface.
The process of opening the service settings window has been simplified, the path has been shortened, and the convenience and efficiency of setting up service tasks have been improved.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to the field of application programs, and more particularly to an application program processing method, an application program processing device, a terminal, a computer-readable storage medium, and a computer program product. Background Technology
[0002] With the widespread use of electronic products (such as personal computers and smart terminals), applications running on these products have emerged. Existing technologies allow the addition of robots to applications to provide various services (such as application management and statistical data collection). Therefore, improving the ease of setting up robot service tasks within applications has become a hot research topic. Summary of the Invention
[0003] This application provides a method, apparatus, terminal, medium, and program product for processing applications, which can improve the convenience and flexibility of service task settings.
[0004] On one hand, embodiments of this application provide a method for processing an application, the method comprising:
[0005] The conversation interface displays the social conversation, which includes a message display area for showing conversation messages related to the social conversation.
[0006] During the display of the conversation interface, the service settings window is invoked in the message display area; the service settings window is used to set service tasks for the social conversation, and the service settings window is provided by the application, which includes an installation-free application running in the client to which the social conversation belongs;
[0007] Configure the task information for the target service task in the service settings window;
[0008] The execution result of the target service task is output in the session interface.
[0009] On the other hand, embodiments of this application provide an application processing apparatus, the apparatus comprising:
[0010] The display unit is used to display the conversation interface of the social conversation. The conversation interface includes a message display area, which is used to display conversation messages related to the social conversation.
[0011] The processing unit is used to invoke the service settings window in the message display area during the display of the session interface; wherein, the service settings window is used to set service tasks for the social session, and the service settings window is provided by the application, which includes an installation-free application running in the client to which the social session belongs;
[0012] The processing unit is also used to set the task information of the target service task in the service settings window;
[0013] The processing unit is also used to output the execution results of the target service task in the session interface.
[0014] In one implementation, the message display area includes an input area for entering conversational messages related to the social conversation; the processing unit, when invoking the service settings window in the message display area, specifically performs the following:
[0015] When the input area contains a flag character, the service settings window is displayed.
[0016] In one implementation, the session interface includes a service settings entry; the processing unit, when invoking the service settings window in the message display area, specifically performs the following:
[0017] If the service settings entry is triggered, the service settings window will be displayed;
[0018] The service settings entry is a service control located anywhere in the session interface. When the service control is operated, the service settings entry is triggered.
[0019] Alternatively, the service settings entry can be set in the session message in the message display area. When the session message is triggered, the service settings entry is triggered. The session message being triggered includes any of the following: the session message is executed, or a trigger signal exists in the area associated with the session message.
[0020] In one implementation, when the processing unit is used to display the service settings window, it is specifically used for:
[0021] The service window displays a list of services, which contains one or more functional services provided by one or more service objects.
[0022] In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
[0023] In one implementation, when the processing unit is used to display the service settings window, it is specifically used for:
[0024] Display the service window, which includes a list of objects and a list of services;
[0025] If the object list contains one or more service objects that provide functional services for social conversations, then the functional services provided by one or more service objects will be displayed in the service list.
[0026] In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
[0027] In one implementation, when the processing unit is used to display the service settings window, it is specifically used for:
[0028] Display the service window, which includes a list of objects and a list of services;
[0029] If there are one or more service objects in the object list that provide functional services for social conversations, and the target service object among the one or more service objects is selected, then the functional services provided by the target service object will be displayed in the service list.
[0030] In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
[0031] In one implementation, the processing unit is further used for:
[0032] Display the service window, which includes a list of objects and a list of services;
[0033] Display the object addition entry in the service list;
[0034] Add a new service object to the service list through the object addition entry, and display the functional services provided by the newly added service object in the service list.
[0035] In one implementation, the processing unit is further used for:
[0036] In response to adding a new service object to the service list, the newly added service object is displayed in the object list.
[0037] In one implementation, the processing unit is further used for:
[0038] Retrieve one or more service objects that provide functional services for social conversations;
[0039] The list of objects displays one or more service objects that provide functional services for social conversations.
[0040] In one implementation, the service settings window includes task cards corresponding to one or more service tasks and a task creation area; the processing unit, when setting task information for a target service task in the service settings window, specifically performs the following:
[0041] If one or more service tasks do not include the target service task, then set the task information of the target service task in the task creation area;
[0042] If one or more service tasks contain a target service task, then the task information of the target service task is set through the task card corresponding to the target service task.
[0043] In one implementation, the service settings window is displayed as a floating layer on the session interface, and the processing unit is further used for:
[0044] In response to adjustment information for the service settings window, the display area of the service settings window is adjusted;
[0045] Specifically, when the display area of the adjusted service settings window is within the area range indicated by the adjustment information, the adjusted service settings window will be displayed on the session interface.
[0046] When the adjusted information indicates that the display area of the service settings window is less than or equal to the minimum value contained in the area range, the service settings window is closed and the session interface is displayed.
[0047] In one implementation, when the processing unit outputs the execution result of the target service task in the session interface, it is specifically used for:
[0048] The target service object is displayed in the chat interface. The target service object provides the target function service corresponding to the target service task.
[0049] In the associated area of the display location of the target service object, a session message containing the execution result of the target service task is displayed.
[0050] In one implementation, the processing unit is further used for:
[0051] If the target service object is triggered in the session interface, the service information interface of the target service object will be displayed, which contains one or more functional services provided by the target service object.
[0052] When the target service function is triggered in one or more functional services provided by the target service object, the service details interface of the target service function is displayed. The service details interface contains one or more service tasks belonging to the target service function.
[0053] In response to editing information for any of the one or more service tasks, update the display of one or more service tasks in the service details interface.
[0054] In one implementation, the task information of the target service task is set in the service settings window; when the processing unit outputs the execution result of the target service task in the session interface, it is specifically used for:
[0055] Obtain task information for the target service task set in the service settings window through the application;
[0056] The application sends the task information of the target service task to the target service object, which then provides the corresponding functional services for the target service task. This allows the target service object to send the execution result to the client to which the social session belongs after executing the target service task.
[0057] Receive the execution result of the target service task sent by the target service object, and output the execution result of the target service task in the session interface.
[0058] On the other hand, embodiments of this application provide a terminal, the target terminal including:
[0059] A processor is used to load and execute computer programs;
[0060] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the processing method of the aforementioned application program.
[0061] On the other hand, embodiments of this application provide a computer-readable storage medium storing a computer program adapted for loading by a processor and executing the processing method of the aforementioned application.
[0062] On the other hand, embodiments of this application provide a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. The terminal's processor reads the computer instructions from the computer-readable storage medium, and when executed by the processor, the computer instructions implement the aforementioned application processing method.
[0063] In this embodiment, during the display of the session interface, the service settings window can be directly invoked from the message display area included in the session interface. The task information for the target service task can be set in the service settings window, and the execution result of the target service task is displayed in the session interface. In the above solution, the service settings window for setting service tasks can be directly invoked from the message display area included in the session interface, making the operation of invoking the service settings window simple and convenient, shortening the path to invoking the service settings window, thereby improving the convenience of service task setting and increasing the efficiency of service task setting. Attached Figure Description
[0064] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0065] Figure 1 This application illustrates a scenario diagram of a robot service setup provided by an exemplary embodiment.
[0066] Figure 2 A flowchart illustrating an application processing method provided in an exemplary embodiment of this application is shown.
[0067] Figure 3 A schematic diagram of a social conversation interface provided in an exemplary embodiment of this application is shown;
[0068] Figure 4a This illustration shows an exemplary embodiment of the present application that provides a way to invoke a service settings window by entering a flag character in an input area included in a session interface;
[0069] Figure 4b This illustration shows a schematic diagram of a service entry point set in a service control within a session interface, according to an exemplary embodiment of this application.
[0070] Figure 4c This illustration shows a service entry point set in a session message according to an exemplary embodiment of this application;
[0071] Figure 5a This illustration shows a schematic diagram of a service settings window provided in an exemplary embodiment of this application;
[0072] Figure 5b This illustration shows an interface diagram of a task creation window provided in an exemplary embodiment of this application;
[0073] Figure 5c This illustration shows a schematic diagram of setting up a historically created service task according to an exemplary embodiment of this application;
[0074] Figure 6 This illustration shows a schematic diagram of a session message containing the execution result of a target service task displayed in a session interface, according to an exemplary embodiment of this application.
[0075] Figure 7 A flowchart illustrating an application processing method provided in an exemplary embodiment of this application is shown.
[0076] Figure 8a A schematic diagram of a service window provided in an exemplary embodiment of this application is shown;
[0077] Figure 8b A schematic diagram of a service window provided in an exemplary embodiment of this application is shown;
[0078] Figure 8c A schematic diagram of a service window provided in an exemplary embodiment of this application is shown;
[0079] Figure 9a This illustration shows a schematic diagram of adding a new service object to a social session through an object addition entry point, provided by an exemplary embodiment of this application.
[0080] Figure 9b This illustration shows a schematic diagram of displaying newly added service objects in an object list according to an exemplary embodiment of this application;
[0081] Figure 10 This illustration shows a schematic diagram of a configuration interface for setting functional services provided in an exemplary embodiment of this application;
[0082] Figure 11 This illustration shows a schematic diagram of adjusting the display area of a service settings window according to an exemplary embodiment of this application;
[0083] Figure 12 This illustration shows a schematic diagram of an interface for triggering a service object from a session interface and displaying the service object's service information, provided by an exemplary embodiment of this application.
[0084] Figure 13 A flowchart illustrating an application processing method provided in an exemplary embodiment of this application is shown.
[0085] Figure 14 The present application provides a flowchart illustrating an exemplary embodiment of a processing method for an application.
[0086] Figure 15 This illustration shows a schematic diagram of the structure of an application processing apparatus provided in an exemplary embodiment of this application;
[0087] Figure 16 A schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application is shown. Detailed Implementation
[0088] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0089] The following is a brief explanation of the technical terms and concepts involved in the embodiments of this application, wherein:
[0090] This application relates to applications, which are computer programs designed to perform one or more specific tasks. Applications can be categorized according to different dimensions (such as their operation method and functions) to obtain the types of the same application under different dimensions. Specifically: According to the operation method, applications can include, but are not limited to: ① Clients installed on a terminal. A client (also known as an application client or APP client) is a program installed and running on a terminal. ② Applications can also be installation-free applications, i.e., applications that can be used without downloading and installation. These applications are commonly known as mini-programs, and they usually run as subroutines on a client. ③ Applications can also refer to web applications opened through a browser; and so on. According to the functional type, applications can include, but are not limited to: ① Instant Messaging (IM) applications. Instant messaging applications refer to applications that facilitate instant messaging and social interaction based on the internet. Instant messaging applications can include, but are not limited to: social applications, map applications with social interaction functions, game applications, etc. ② Content interaction applications. Content interaction applications refer to applications that can achieve content interaction, such as online banking, personal spaces, news applications, etc. It should be noted that the above are just two exemplary dimensions for classifying applications, and the types of applications under each dimension are exemplary.
[0091] Service objects can be deployed within the application. These service objects can be entities or virtual devices used to provide services to the application (such as notification services, data statistics services, etc.). For ease of explanation, the following description will use virtual devices as the example of service objects and virtual robots as virtual devices. A virtual robot, also known as a social robot or simply a robot, is a tool (or robot tool) that runs within a social conversation. This robot tool can be used to manage, entertain, and statistically analyze social conversations. The social conversation here can be provided by an application with social interaction capabilities; hereinafter, applications with social interaction capabilities will be referred to as social applications. The social conversation can include at least two social conversation objects participating in the conversation. For example, the social conversation can be a group chat or a private conversation provided by an instant messaging application. A group chat refers to a social conversation consisting of at least three members (i.e., social conversation objects), and a private conversation refers to a social conversation consisting of two members. This application does not limit the type of social conversation in its embodiments.
[0092] A bot running in a social conversation can provide one or more of the following functional services (or bot services): welcome message, scheduled notification (or scheduled message), autonomous Q&A, member management, data statistics, multi-conversation management, invitation statistics, points check-in, points redemption, lucky draw activities, automatic group switching, paid group entry, intelligent chat, and song guessing interaction, etc. Below is a brief introduction to some of the various functional services mentioned above. Specifically: When the bot has a scheduled notification function, it can automatically output a notification message in the social conversation when the specified time arrives; when the bot has a welcome message function, it can output a welcome message (e.g., "Welcome new member XX to the group") when a new user joins the social conversation; when the bot has a self-answering function, it can proactively answer any question entered by any member in the social conversation; when the bot has a member management function, it can manage the members in the social conversation periodically or at regular intervals, such as removing members from the social conversation within a historical time period, thus disqualifying them from participating in that social conversation; and so on.
[0093] Robotics primarily involves Natural Language Processing (NLP) within the framework of Artificial Intelligence (AI). Artificial intelligence utilizes digital computers or computers-controlled machines to simulate, extend, and expand human intelligence, perceiving the environment, acquiring knowledge, and using that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce new intelligent machines capable of reacting in a manner similar to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, enabling them to possess perception, reasoning, and decision-making capabilities. AI technology is a multidisciplinary field, encompassing both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly include computer vision, speech processing, natural language processing, and machine learning / deep learning. Natural Language Processing (NLP) is a crucial area within both computer science and artificial intelligence. It studies the theories and methods for enabling effective communication between humans and computers using natural language. Natural Language Processing (NLP) is a science that integrates linguistics, computer science, and mathematics. Therefore, research in this field involves natural language, that is, the language people use in daily life, and thus it has a close relationship with linguistic research. NLP technologies typically include text processing, semantic understanding, machine translation, question answering, and knowledge graphs.
[0094] Currently, it is supported for target users (such as any user logged into the application) to set the functional services of service objects (i.e., the aforementioned robot) within the application (such as a social application), specifically setting the service tasks under the functional services provided by the service object. Based on this, this application embodiment provides an application processing solution that can improve the efficiency of service task setting. Specifically, the application processing solution supports directly invoking the service settings window from the message display area included in the social conversation interface during the display of the conversation interface. This service settings window is used to set service tasks for the social conversation; the target user can quickly set the task information of the target service task (such as any service task) in this service settings window. In the above solution, the service settings window for setting service tasks can be directly invoked from the message display area included in the conversation interface, making the operation of invoking the service settings window simple and convenient, shortening the path to invoking the service settings window, thereby improving the convenience of setting service tasks and increasing the efficiency of service task setting.
[0095] The application processing scheme proposed in this application embodiment can be executed by the target terminal, specifically by an application running on the target terminal (an application with social interaction functions, such as a social application). The target terminal can be any terminal, including but not limited to: smartphones (such as Android phones, iOS phones, etc.), tablets, personal computers, portable personal computers, mobile internet devices (MIDs), smart TVs, in-vehicle devices, head-mounted devices, and other touchscreen-enabled smart devices. This application embodiment does not limit the type of terminal; this is not stated herein. A schematic diagram of an exemplary robot service setup scenario can be found [link to relevant documentation]. Figure 1 ,like Figure 1 As shown, assuming the target terminal is a personal computer 101, the setter (i.e., the aforementioned target user) can invoke the service settings window in the social conversation displayed on the personal computer 101, and set the task information of the target service task within the service settings window. For example, if the service object provides a timed notification function service, a service task under the timed notification can be set. For example, if the service task is to notify members to hold a meeting at 3 PM every day, the task information of the service task is "Time is 3 PM, prepare for meeting". Then, when the time reaches 3 PM, the service object outputs the execution result of the timed notification task in the social conversation. This execution result can be represented as a conversation message 102 containing the timed notification, and the conversation content contained in the conversation message 102 can be "Time is 3 PM, prepare for meeting". Based on the above description, it can be seen that the processing scheme of the application mentioned in the embodiments of this application can simplify the operation of invoking the service settings window, shorten the path of invoking the service settings window, and improve the convenience of setting service tasks.
[0096] Based on the application processing scheme described above, this application embodiment proposes a more detailed application processing method. The application processing method proposed in this application embodiment will be described in detail below with reference to the accompanying drawings.
[0097] Figure 2 The illustration shows a flowchart of an application processing method provided in an exemplary embodiment of this application; the application processing method can be executed by the aforementioned target terminal 101, and the application processing method may include, but is not limited to, steps S201-S204:
[0098] S201: Displays the conversation interface for social interactions.
[0099] The conversation interface is used to display the social information flow of participants in a social conversation. This social information flow consists of conversation messages related to the social conversation. Specifically, the conversation interface includes a message display area that can be used to display conversation messages related to the social conversation. When a target user opens and uses an application with social functionality, such as an instant messaging application, the application displays the conversation interface for the social conversation (such as any one of multiple social conversations included in the application). The message display area within the conversation interface displays one or more pieces of social information related to the social conversation, which together form the social information flow. See also... Figure 3 , Figure 3 This illustration shows a schematic diagram of a social conversation interface provided in an exemplary embodiment of this application; as shown Figure 3 As shown, the conversation interface 301 of a social conversation (such as "XXX conversation") includes a message display area 302, which contains a social information stream. This social information stream consists of social information 3021, social information 3022, ... edited and sent by members of the social conversation. Social information can also be called conversation messages, conversation information, etc., and these terms are not distinguished in this embodiment.
[0100] It should be understood that if a social session includes a service object, then that service object is also a member of the social session and has the same or different permissions as other members of the social session (such as users participating in the social session) (such as permissions to participate in the social session, data statistics permissions, management permissions, etc.). In this case, the service object included in the social session can edit and send social information in the session interface, that is, the social information sent by the service object included in the social session can be displayed in the session interface 301. In addition, considering that the display area of the target terminal's screen is limited, some of the social information contained in the social information stream may be hidden. Thus, the session interface may include a sliding axis 303, and the hidden social information can be displayed by operating the sliding axis 303. Of course, in addition to displaying the social information in the session interface by sliding the sliding axis 303, the social information in the social information stream can also be displayed by performing a sliding operation in the session interface (such as pressing any position on the session interface and sliding up or down). This application embodiment does not limit this.
[0101] S202: During the display of the session interface, the service settings window is invoked in the message display area.
[0102] The service settings window is used to set service tasks for social conversations. This window can be displayed as a floating layer on the conversation interface. Specifically, it's the service settings window for the functional services provided by the service objects included in the social conversation. In this window, you can set service tasks related to the functional services provided by the service objects. For example, if a social conversation includes service object X, and service object X provides functional services such as scheduled notifications, self-answering, and song guessing interaction, then the service settings window invoked from the message display area could be the window corresponding to the "scheduled notifications" functional service provided by service object X. Within this window, you can set service tasks related to the "scheduled notifications" functional service. For instance, if the service task for "scheduled notifications" is set to "Meeting at 3 PM every day," then when 3 PM arrives, the service object will output a social message (such as "Time is 3 PM, meeting to begin") in the conversation interface to remind other members of the social conversation. Of course, the service settings window invoked from the message display area can also be a window for other functional services provided by service object X besides "scheduled notifications." The above example uses "scheduled notifications" as an example.
[0103] The following are several exemplary methods for invoking the service settings window in the message display area during the display of the session interface:
[0104] (1) The message display area in the conversation interface includes an input area, which is used to input conversation messages about the social conversation (such as the aforementioned social information); then the implementation of waking up the service settings window in the message display area may include: when the input area includes a flag character, the service settings window is displayed. That is, the message display area of the social conversation includes an input area, which may refer to the input bar (or input box) in the conversation interface used to input social information; when a flag character is entered in the input area, it indicates that the target user wants to set up a service task, and the service settings window is displayed. Among them, the flag character may include a string, which is composed of one or more characters, and the characters may include at least one of the following: Chinese characters (i.e., Chinese characters), English characters (i.e., letters), numbers and symbols (such as commas ",", periods ".", square brackets "【】", and @).
[0105] An exemplary interface diagram showing how to invoke a service settings window by entering a flag character in the input area contained within the message display area can be found here. Figure 4a ,like Figure 4a As shown, the social conversation interface 301 includes a message display area 302, which in turn includes an input area 401, which is presented as an input box. When a flag character is entered in the input area 401, such as the symbol "@", it indicates that the target user wants to set a service task for the social conversation, and the service settings window 402 is displayed. This method of directly entering a flag character in the input area of the conversation interface to bring up the service settings window simplifies the operation of bringing up the service settings window, allowing the service settings window to be quickly accessed within the conversation interface.
[0106] (2) If the session interface contains a service settings entry, then the method to invoke the service settings window in the message display area may include: if the service settings entry contained in the session interface is triggered, the service settings window is displayed. That is, the service settings entry can be directly set in the session interface, and the service settings window can be quickly invoked by triggering the service settings entry in the session interface. Several exemplary methods for setting the service settings entry in the session interface may include:
[0107] ① The service settings entry point can be a service control (or option, component) located anywhere in the session interface. When the service control is triggered, the service settings entry point is also triggered. See the diagram illustrating a service entry point set within a service control in the session interface. Figure 4b ,like Figure 4bAs shown, the social conversation interface 301 includes a shortcut area 403, which displays one or more shortcut keys. Triggering these shortcut keys allows for quick access to a specific function or service within the social conversation. For example, the shortcut area 403 may contain a shortcut key to quickly access emoticons, or it may contain a shortcut key that accesses more shortcut keys (such as shortcut key 4031). Triggering shortcut key 4031 can access other hidden shortcut keys. Optionally, the service settings entry 4032 can be directly displayed as a shortcut key (i.e., a service control) within the shortcut area 403. Alternatively, the service settings entry 4032 can also be indirectly set within the shortcut area 403. For instance, triggering shortcut key 4031 in the shortcut area 403 will display all or some of the hidden shortcut keys, which may include the service settings entry 4032. Since the shortcut area 403 is designed to display shortcut keys, placing the service settings entry 4031 within the shortcut area 403 serves as a way of indicating to the target user that the service settings entry 4031 can be found in the shortcut area 403. Of course, the service settings entry can also be placed in other locations on the session interface 301, such as at the top of the session interface, making it easy for the target user to see the service settings entry at a glance. This application embodiment does not limit the specific display location of the service settings entry in the session interface in the form of a service control.
[0108] ② The service settings entry is located within the conversation messages displayed in the message display area. The service settings entry is triggered when a conversation message is sent; this conversation message can be a message sent by any member participating in the social conversation. A diagram illustrating how a service entry can be set within a conversation message can be found here. Figure 4c ,like Figure 4cAs shown, the social conversation interface 301 contains conversation messages 3023; when the conversation message 3032 is triggered, an option bar 404 can be output in the conversation interface 301. The option bar 404 contains one or more options, and the service settings entry 4032 is set in any of the options; when any of the options is triggered, the service settings entry 4032 is triggered, and the service settings window is displayed. The triggering operation for a session message can include any of the following: the session message is executed, such as a single click, double click, long press, or drag. This operation can be performed when a finger (or cursor (a cursor mapped from an electronic pen, mouse, etc.) directly touches the target terminal's screen, or when a finger performs the operation on the session message without directly touching the session interface; or, a trigger signal exists within the area associated with the session message, such as a signal generated when the cursor hovers over the area associated with the session message, or a signal generated when a finger (or electronic pen, etc.) hovers over the area associated with the session message. This method of performing operations or generating signals without direct contact with the terminal screen improves the user experience.
[0109] It should be noted that the above are only two exemplary implementations of how to invoke the service settings window in the message display area. This application embodiment does not limit the specific implementation of how to invoke the service settings window from the message display area.
[0110] S203: Set the task information for the target service task in the service settings window.
[0111] The service settings window can be used to set service tasks related to the functional services provided by the service object. In specific implementations, the service settings window can be the window corresponding to any functional service provided by the service object. That is, service tasks related to any functional service can be set within the service settings window. Specifically, the service settings window includes one or more task cards corresponding to service tasks and a task creation area. One or more service tasks are set by members included in the social session within a historical time (i.e., a preset time period before the current time, such as 24 hours). The task card of any service task can be used to display the task information of that service task. The task creation area included in the service settings window is used to input the task information of the service task to be created, thereby creating a new service task. For example, assuming that one or more service tasks included in the service settings window include a target service task, i.e., the target service task is a previously created service task, this embodiment supports setting the task information of the target service task through the task card corresponding to the target service task. Setting the task information of the target service task here refers to modifying, adding, or deleting the task information of the target service task. Similarly, assuming that the target service task is not included in one or more service tasks contained in the service settings window, this application embodiment supports setting the task information of the target service task in the task creation area, that is, creating a new service task in the service settings window.
[0112] A schematic diagram of an exemplary service settings window can be found here. Figure 5a ,like Figure 5aAs shown, the service settings window 402 includes task cards 501, 502, ... ; where task card 501 is the card obtained when a service task is set at a first historical time, and task card 501 displays the task information of the service task set at the first historical time; task card 502 is the card obtained when a service task is set at a second historical time, and task card 502 displays the task information of the service task set at the second historical time. The first historical time is later than the second historical time. That is, the task cards of one or more service tasks are displayed in the service settings window 402 in order from latest to earliest setting time, which makes it easier for the target user to quickly find the most recently set service task; of course, the task cards of one or more service tasks can also be displayed in the service settings window in order from earliest to latest setting time. This embodiment of the application does not limit the display order of the task cards of one or more service tasks in the service settings window. The service settings window 402 also includes a task creation area 503, which can be displayed anywhere within the service settings window 402. This allows target users to quickly create service tasks directly within the task creation area 503 of the service settings window 402. Furthermore, after a new service task is successfully created within the service settings window 402, the task card for the service task can be updated and displayed within the service settings window 402. The updated service settings window contains the task card for the newly created service task (such as task card 504).
[0113] It should be noted that, Figure 5a This is just an example of a service settings window interface. In actual application scenarios, the display style of the service settings window can also change. For example, the service settings window may also include a search box, which allows users to quickly search for historically created service tasks, making it easier for target users to find previously created service tasks. Alternatively, the service settings window may also include a slider, which allows users to slide and display hidden service task cards within the service settings window.
[0114] Furthermore, considering that the amount of information required to set service tasks varies depending on the function service—for example, the "timed notification" function service requires setting the time and task, while the "guess the song" function service requires setting the playlist, number of interactions, and participants—the display area of the service settings window may limit the ability to set task information for the target service task. Therefore, this embodiment also supports jumping from the service settings window to the task creation window when a task creation event is detected in the service settings window, allowing the target user to set task information for the target service task within the task creation window. The interface diagram for displaying the task creation window can be found in the above example. Figure 5b ,like Figure 5bAs shown, the service settings window 402 contains a new option 505. When the new option 505 is triggered, it indicates that the target user wants to create a new service task, and the task creation window 506 is displayed. Figure 5b Taking the service settings window for the "Scheduled Notification" function as an example, the task creation window 506 includes a task editing area 5061 and a time selection area 5062. The task editing area 5061 allows input of the specific service task, while the time selection area 5062 supports setting the time for the service task (such as a scheduled task). Specifically, triggering the time selection area 5062 displays a time area 5063, where the time can be set according to the target user's needs. Furthermore, after successfully creating a new service task in the task creation window 506, if a return operation from the task creation window 506 to the service settings window 402 is detected (e.g., the completion option in the task creation window 506 is triggered), the service settings window 402 is redisplayed, and the newly created service task's task card (e.g., task card 504) is displayed in the service settings window 402. It should be noted that the task creation window 506 and the service settings window 402 mentioned above can be the same window; only the content displayed in the two windows differs.
[0115] As described above, this application embodiment also supports setting task information for historically created service tasks in the service settings window. These settings include: deleting service tasks, adding new service tasks, and modifying service task information. The following is in conjunction with... Figure 5c An exemplary interface diagram for configuring historically created service tasks is provided, such as... Figure 5c As shown, each service task's task card in the service settings window 402 contains more options, such as task card 501 containing more options 5011. When more options 5011 in task card 501 are triggered, an edit bar 5012 is displayed in the service settings window 402. This edit bar 5012 includes at least a delete option 50121 and a modify option 50122. If the delete option 50121 in the edit bar 5012 is selected, it indicates that the target user wants to delete task card 501, i.e., the target user wants to delete the service task corresponding to task card 501. The service settings window 402 is then updated, and task card 501 is deleted within it. Similarly, if the modify option 50122 is triggered, it indicates that the target user wants to modify the task information of the service task corresponding to task card 501. The task creation window 506 for the service task corresponding to task card 501 is then displayed. In this task creation window 506, existing task information can be deleted and modified, and new task information can be added.
[0116] It should be noted that, Figure 5c This is an exemplary process for setting historically created service tasks. For example, this application embodiment also supports setting task information for multiple service tasks simultaneously in the service settings window 502. If the service settings window 502 includes a multi-select option, when the multi-select option is selected, it indicates that the target user wants to set the task information for multiple service tasks at the same time. Then, the task cards of all service tasks are set to an optional state, so that the target user can select some service tasks from all service tasks to set the task information. This improves the efficiency of task information editing to a certain extent. This application embodiment does not limit the specific implementation method of setting the task information of historically created service tasks.
[0117] S204: Output the execution result of the target service task in the session interface.
[0118] The execution result of the target service task is the result obtained after executing the target service task. In a specific implementation, outputting the execution result of the target service task in the session interface may include: displaying the target service object in the session interface, where the target service object is the object that provides the target service function corresponding to the target service task; and displaying a session message containing the execution result of the target service task in the associated area of the display location of the target service object. An exemplary diagram illustrating the display of a session message containing the execution result of the target service task in the session interface can be found here. Figure 6 ,like Figure 6 As shown, the object identifier 601 of the target service object is displayed in the session interface, and the session message 602 containing the execution result of the target service task is displayed in the area associated with the object identifier 601 of the target service object.
[0119] It's easy to understand that the execution result of the target service task varies depending on the service type of the corresponding functional service. Furthermore, the time at which the execution result is output in the conversation interface also differs depending on the service type of the corresponding functional service. The following uses two types of functional services as examples to illustrate how to output the execution result of the target service task in the conversation interface. Specifically: ① Assuming the functional service corresponding to the target service task is "timed notification," and the target service task is "meeting at 3 PM every day," then when the social application detects that the time (e.g., according to the time standard set by different regions) has reached 3 PM, the social application can output a conversation message containing the execution result of the target service task in the conversation interface of the social conversation to remind the members of the social conversation to prepare for the meeting. ② Assuming the target service task corresponds to the "Welcome New Member" function, and the target service task is "When a new member joins a social conversation, output 'Welcome New Member' in the conversation interface," then when a new member joins a social conversation, the social application can output the conversation message "Welcome New Member" in the conversation interface to notify the members of the social conversation that a new member has joined. The above provides two exemplary processes for outputting the execution result of the target service task in the conversation interface, and does not limit the embodiments of this application; it is only described here.
[0120] In this embodiment, during the display of the session interface, a service settings window is invoked from the session interface. The task information for the target service task can be set in the service settings window, and the execution result of the target service task is displayed in the session interface. In the above solution, the service settings window for setting service tasks can be directly invoked from the session interface, making the operation of invoking the service settings window simple and convenient, shortening the path to invoking the service settings window, improving the convenience of setting service tasks, and increasing the efficiency of setting service tasks.
[0121] Figure 7 The illustration shows a flowchart of an application processing method provided in an exemplary embodiment of this application; the application processing method can be executed by the aforementioned target terminal 101, and the application processing method may include, but is not limited to, steps S701-S705:
[0122] S701: The conversation interface that displays social conversations.
[0123] It should be noted that the specific implementation method shown in step S701 can be found in [reference needed]. Figure 2 The specific implementation details of step S201 in the illustrated embodiment will not be repeated here.
[0124] S702: Display the service window during the display of the session interface.
[0125] S703: In response to selecting a target function service from the service list, display the service settings window corresponding to the target function service.
[0126] In steps S702-S703, it should be noted that if a social conversation contains only one service object, and that service object provides only one functional service, then the service settings window corresponding to that functional service can be directly invoked in the conversation interface; for details on how to implement this, please refer to [link to relevant documentation]. Figure 2 The process of invoking the service settings window in the conversation interface shown in the illustration will not be repeated here. However, it should be understood that the number of service objects included in a social conversation is often at least two, and / or the number of functional services provided by each service object is often at least two. Based on this, this embodiment of the application also supports displaying a service window before displaying the service settings window, and displaying service objects and the functional services provided by the service objects in the service window, so that the target user can select the service object and functional service of the service task they want to set in the service window, thereby improving the flexibility and diversity of the target user in setting service tasks. The service window may include one or both of the service list and the object list. The object list can be used to display the members (including service objects) participating in the social conversation, and the service list can be used to display the functional services provided by the service objects in the social conversation. By triggering any functional service provided by the service object in the service window, the service settings window corresponding to that functional service can be invoked in the conversation interface. For the implementation method of triggering the display of the service window during the display of the conversation interface, please refer to the above. Figure 2 The embodiments shown describe the specific implementation process of invoking the service settings window during the display of the conversation interface. For example, when a marker character (such as the character "@") is entered in the input area contained in the message display area, the service window can be triggered. Or, when the service settings entry is triggered in the conversation interface of a social conversation, the service window can be triggered.
[0127] The following section describes several exemplary implementations of triggering the display of a service settings window through a service window, using an example of a service window containing an object list and / or a service list:
[0128] (1) The service window only includes a service list. Specifically, during the display of the conversation interface, if a trigger event occurs in the conversation interface, a service window is displayed. This service window contains a service list, which includes one or more functional services provided by one or more service objects included in the social conversation. In response to selecting a target functional service from the service list, the service settings window corresponding to the target functional service is displayed. The trigger event mentioned above can be an execution... Figure 2 The event shown in the embodiment is generated when a flag character is entered in the input area of the message display area, or when the service settings entry in the session interface is triggered. In this implementation, as long as a trigger event exists in the session interface, a service window can be displayed, showcasing all the functional services provided by all service objects included in the social session.
[0129] Combination Figure 8a The above implementation method will be explained, such as Figure 8a As shown, during the display of the session interface 301, if the marker character "@" is entered in the input area 401 of the message display area 302, indicating that the target user wants to set a service task, then the service window 801 is displayed. The service window 801 is displayed in the session interface with a display area smaller than that of the target terminal's screen. The service window 801 contains a service list, which includes the functional service 8011 provided by service object 1, the functional service 8012 provided by service object 3, and so on. When a target functional service (such as any functional service) is selected in the service window 801, the service settings window corresponding to the selected target functional service is displayed. For example, if the functional service 8011 provided by service object 1 is selected in the service window 801, then the service settings window 402 corresponding to the functional service 8011 is displayed.
[0130] It should be noted that, due to the limited display length of the target terminal's screen, one or more functional services included in the service list may not all be displayed in the service window at once; that is, some functional services may be hidden. Therefore, this embodiment of the application also provides a sliding axis 303 in the service window, so that the target user can slide the sliding axis 303 to display various functional services in the service window. Of course, in addition to sliding the sliding axis 303 to display functional services, users can also directly press and hold any position in the service window to perform a sliding operation to display functional services, etc. This embodiment of the application does not limit the implementation method of triggering the display of hidden functional services. In addition, the display method of one or more functional services provided by one or more service objects included in the social conversation in the service window may include, but is not limited to: randomly arranging and displaying various functional services in the service window; or dividing the service window into multiple areas based on service objects, with each area displaying one or more functional services provided by one service object; etc. In addition, the service window may also include a search box, which allows the target user to quickly find the required functional service from multiple functional services, simplifying the operation of selecting functional services.
[0131] (2) The service window includes an object list and a service list. Specifically, during the display of the session interface, if a wake-up event occurs in the session interface, the service window is displayed, which includes an object list and a service list; if one or more service objects provide functional services for the social session exist in the object list, the functional services provided by one or more service objects are displayed in the service list; in response to selecting a target functional service from the service list, the service settings window corresponding to the target functional service is displayed. More specifically, the service window contains an object list and a service list. The object list has object options, and the service list has service options. When a wake-up event occurs in the session interface, the service window is displayed. By default, the object options are selected, while the service options are unselected. The service window also displays a list of the selected options. If the social session contains service objects, one or more service objects that provide functional services for the social session (service objects added to the social session in the past) are retrieved and displayed in the object list. When a service option is triggered, the service option is selected, the object option is changed from selected to unselected, and one or more functional services contained in the service list are displayed in the service window. In response to the selection of a target functional service in the service list, the service settings window of the target functional service object is displayed.
[0132] Combination Figure 8b The above implementation method will be explained, such as Figure 8b As shown, during the display of the conversation interface 301, if the marker character "@" is entered in the input area 401 of the message display area 302, it indicates that the target user wants to set a service task, and then the service window 801 is displayed. The service window 801 contains object options 802 and service options 803. Among them, the service option 803 is in an unselected state and the object option 802 is in a selected state. That is, when the service window 801 is displayed, the object option 802 is set to the selected state by default. At this time, the service window 801 displays one or more service objects contained in the object list, such as service object 1, service object 2, ... Of course, the object list can also include social conversation objects participating in the social conversation (i.e., members participating in the social conversation, such as any user participating in the social conversation). When service option 803 is selected in service window 801, service option 803 is changed from an unselected state to a selected state, object option 802 is changed from a selected state to an unselected state, and one or more functional services contained in the service list are displayed in service window 801. These one or more functional services are provided by service object 1, service object 2, ... contained in the object list. In response to selecting a target functional service in the service list, the service settings window corresponding to the target functional service is displayed. This implementation method can improve the versatility of the function of the marker character. For example, the common function of the character "@" is to select a member from at least one member participating in a social conversation. When the character "@" is used as the marker character, if "@" is entered in the input area of the message display area, then displaying the object list first can meet the target user's need to select a member and also meet the target user's need to set service tasks.
[0133] (3) The service window includes an object list and a service list. If a target service object (such as any service object) is selected in the object list, the service list displays the functional services provided by the target service object. Specifically, if a wake-up event occurs in the session interface, the service window is displayed, which includes an object list and a service list. If one or more service objects provide functional services for social sessions in the object list, and a target service object is selected among the one or more service objects, the service list displays the functional services provided by the target service object. In response to selecting a target functional service from the service list, the service settings window corresponding to the target functional service is displayed. In other words, this application embodiment supports the target user selecting a target service object in the object list of the service window, and the corresponding service list only displays the functional services provided by that target service object, enabling the target user to quickly and specifically find the functional services provided by the target service object.
[0134] Combination Figure 8c The above implementation method will be explained, such as Figure 8cAs shown, during the display of the conversation interface 301, if the symbol "@" is entered in the input area 401 of the message display area 302, the service window 801 is displayed. The service window 801 contains object options 802 and service options 803, where service option 803 is unselected and object option 802 is selected. The service window 801 displays one or more service objects included in the object list, such as service object 1, service object 2, ... Of course, the object list can also include social conversation objects participating in the social conversation (i.e., members participating in the social conversation, such as any user participating in the social conversation). When the target service object (such as service object 1) is selected in the object list, the service list is displayed in the service window. At this time, the service list only contains one or more functional services provided by the target service object. In response to selecting the target functional service from the service list, the service settings window corresponding to the target functional service is displayed.
[0135] Furthermore, this application embodiment also supports adding service objects to social conversations by the target user through a service window. Specifically, a service window is displayed, containing an object list and a service list; an object addition entry is displayed in the service list; a service object is added to the service list through the object addition entry, and the functional services provided by the newly added service object are displayed in the service list. In other words, the service window can contain an object addition entry, specifically within the service list of the service window. Of course, the object addition entry can also be included in the object list of the service window. This application embodiment does not limit the display position of the object addition entry; when the object addition entry is triggered, a new service object can be added to the social conversation.
[0136] An exemplary process for adding a service object to a social session via an object addition entry can be found in [reference needed]. Figure 9a ,like Figure 9aAs shown, assuming the social session does not contain service objects, i.e., the service objects are not included in the object list of the service window, and the service object in the service window displays an object addition entry 901; then the process of adding a service object to the social session may include: First, based on the selection operation of the object addition entry 901, the service object window 902 is displayed (this service object window 902 and the service settings window 402 may be the same window or different windows). The service object window 902 contains at least one service object provided by the social application, including service object 1, service object 2, ...; each service object corresponds to a display area, such as service object 1 corresponding to display area 9021, and service object 2 corresponding to display area 9022; the display area corresponding to any service object displays the relevant information of that service object, which may include, but is not limited to: the object name, object avatar, and provided functional services of that service object. Secondly, when a selection operation exists within the display area corresponding to any one or more service objects in the service object window 902, the selected service object is determined to be added to the social session. Of course, this embodiment also supports selecting the functional services of the service object, that is, selecting some of the functional services of the service object in the service object window and adding them to the social session. Finally, if a return operation from the service object window 902 to the service settings window 402 is detected, the service settings window 402 is redisplayed, and the newly added service object and the functional services provided by the service object are displayed in the service settings window 402. For example, if functional service 1 of service object 1 and functional service 4 of service object 2 are selected in the service object window 902, the redisplayed service settings window 402 contains functional service 1 provided by service object 1 and functional service 4 provided by service object 2.
[0137] It is worth noting that this application embodiment also supports displaying newly added service objects for social sessions in the object list contained in the service window. Specifically, in response to adding a service object to the service list, the newly added service object can be displayed in the object list; this makes it easy for the target user to clearly see which service objects are included in the social session from the object list. An exemplary interface diagram for displaying newly added service objects in the object list can be found here. Figure 9b .
[0138] S704: Set the task information for the target service task in the service settings window.
[0139] It should be noted that the specific implementation method shown in step S704 can be found in [reference needed]. Figure 2 The specific implementation details of step S203 in the illustrated embodiment will not be repeated here.
[0140] It is particularly noteworthy that the service settings window (and the aforementioned task creation window and service object window) corresponding to the functional services provided in this application embodiment are provided by the application; the application here refers to an installation-free application (i.e., a mini-program), which includes installation-free applications running within the client (i.e., the social application) to which the social session belongs. In other words, the application includes a mini-program running within a social application containing a social session, and the service settings window corresponding to the functional services displayed in the session interface is a mini-program window provided by the mini-program. For ease of explanation, the following description will use a mini-program (or a half-screen mini-program) as an example, running within the client to which the social session belongs and providing the service settings window.
[0141] In specific implementation, this application embodiment supports the configuration of various functional services of a service object by the service setter on a developer platform (such as a device or interface used to configure the functional services of the service object). That is, one or more functional services provided by the service object are set by the service developer. During the process of configuring any functional service of the service object, the service setter can configure a mini-program for that functional service. This allows the mini-program configured for that functional service to be used to display the service settings window when it is triggered. This application embodiment introduces the mini-program window into social conversations, enabling the setting of service tasks within the conversation interface to be achieved when there is a need to set service tasks. The mini-program window can be directly invoked in the message display area of the conversation interface to set service tasks within the conversation interface. Furthermore, compared to full-screen H5 (HTML5) pages, the mini-program window provided by the mini-program is faster and more stable. The service developer can leverage the rich interfaces of the mini-program to add personalized services to the service object, enriching the types of functional services, and setting service tasks can be achieved without redirection within the conversation interface.
[0142] Combination Figure 10 A schematic diagram of a configuration interface for setting up functional services in a developer platform is provided, such as... Figure 10As shown, a configuration interface 1001 for a service object (e.g., service object 1) is displayed. This configuration interface includes a configuration area 1002 for functional service 1. This configuration area 1002 contains one or more configuration bars, in which functional service 1 is configured. The configuration area 1002 includes at least one configuration bar for configuring the following information: the service name (or title) of functional service 1, the functional description of functional service 1, and the parameter fields required for the mini-program jump link corresponding to functional service 1. The parameter fields required for the mini-program jump link corresponding to functional service 1 include at least: the mini-program's application identifier (appid), the mini-program's specified path (path, i.e., the path to open the service settings window), and the mini-program's array (extdata, used to store information obtained by the mini-program when displaying the service settings window, such as group information for social conversations (e.g., conversation ID)). Of course, in addition to setting the above information in the configuration area 1002, this embodiment also supports setting other information in the configuration area 1002 according to the personalized needs of the service setter, to enrich the personalized services provided by the mini-program. In addition, the configuration interface 1001 also includes a new control 1003. By triggering the new control 1003, a new functional service of service object 1 can be added in the configuration interface. For example, a new functional service 2 can be added. The configuration area 1004 of functional service 2 is displayed in the configuration interface 1001. The specific process of configuring the new functional service of service object 1 can be found in the above description, which will not be repeated here.
[0143] This application embodiment also supports adjusting the display area of the service settings window in the session interface; specifically, it can adjust the display height of the service settings window in the session interface, or adjust the display width of the service settings window in the session interface, or adjust both the display height and display width of the service settings window in the session interface simultaneously, to achieve adjustment of the display area of the service settings window. An exemplary rule for dividing the display height and display width may include: using the edge along the bottom edge of the target terminal's screen as the width, and using the edges along the left and right edges of the terminal screen as the height.
[0144] For ease of explanation, the following description will use adjusting the display height of the service settings window as an example to illustrate the process of adjusting the display area of the service settings window in the session interface. Specifically, in response to the adjustment operation on the service settings window, the display area of the service settings window is adjusted. When the adjustment information indicates that the adjusted display area of the service settings window is within the area range, it means that the adjusted display area of the service settings window indicated by the adjustment information is an adjustable area, and the adjusted service settings window is displayed on the session interface according to the adjustment information. Conversely, when the adjustment information indicates that the adjusted display area of the service settings window is less than or equal to the minimum value contained in the area range, the service settings window is closed, and the parent interface of the service settings window is displayed. As described above, the parent interface of the service settings window can include different interfaces in different situations. For example, when the service settings window is triggered directly from the message display area contained in the session interface, the parent interface of the service settings window can be the session interface; when the service settings window is triggered from the service window, the parent interface of the service settings window can be the service window. This application embodiment does not limit this. This method of returning from the service settings interface to the previous level interface, such as returning from the service settings window to the service window, can help target users quickly return to the service window to select functional services or service objects, thereby improving the efficiency of service task setup to a certain extent.
[0145] The following is combined Figure 11 This example illustrates the process of adjusting the display area of the service settings window, using the example of adjusting the display height of the window and representing the corresponding area range as the height range; see [link to example]. Figure 11 Assuming the height range 1101 is [h1, h2], h1 = 2cm, h2 = 8cm; the current display height of the service settings window 402 is h = 7; in response to adjustment information for the service settings window, the display height of the service settings window is adjusted according to the adjustment information. Specifically, when the adjustment information indicates that the adjusted display height of the service settings window is 6cm, it can be determined that 6cm is within the height range 1101 (e.g., [2cm, 8cm]), so the display height of the service settings window is adjusted to 6cm according to the adjustment information. When the adjustment information indicates that the adjusted display height of the service settings window is 1.9cm, it can be determined that 1.9cm is less than the minimum value (i.e., 2cm) contained within the height range 1101 (e.g., [2cm, 8cm]), so the service settings window 402 is closed, and the parent interface of the service settings window (e.g., the parent interface is service window 802) is displayed.
[0146] The above is just a brief introduction to adjusting information in the service settings window. Below is an example of adjusting the display area of the service settings window; see below for further details. Figure 11 The service settings window 402 includes an adjustment control 1102; by pressing and sliding the adjustment control 1102 within the service settings window 402, the display area of the service settings window 402 can be adjusted. Of course, the method for adjusting the display area of the service settings window is not limited to the one mentioned above. The adjustment operation can vary in actual application scenarios. This application embodiment does not limit the specific implementation method for adjusting the display area of the service settings window, but this is only described here.
[0147] The height range of the service settings window mentioned above can be set by the service provider when configuring the mini-program (i.e., the mini-program) for the functional service; or it can be configured by the service provider when configuring the mini-program. Specifically, the service provider can customize the height range of the mini-program through its configuration file; this configuration file can be the mini-program's app.json file. An example of initialization parameters used when customizing the height range of the mini-program in the app.json file is as follows:
[0148]
[0149] In the code snippet above, `halfScreen` is a function that sets the display height (or can set the display width or display area). `isEnabled` is used to set whether the mini-program supports half-screen mode. When `isEnabled = true`, half-screen mode is enabled. In half-screen mode, the display height of the service settings window provided by the mini-program is less than the height of the terminal screen, and the display height of the service settings window can be adjusted. When `isEnabled = False`, half-screen mode is disabled, and the service settings window provided by the mini-program is displayed in full-screen mode on top of the session interface. `upperBound` sets the upper limit of the height ratio of the service settings window provided by the mini-program. For example, `upperBound = 0.9` means that the maximum display height of the service settings window provided by the mini-program can be 0.9. `lowerBound` sets the lower limit of the height ratio of the service settings window provided by the mini-program. For example, `lowerBound = 0.1` means that the minimum display height of the service settings window provided by the mini-program can be 0.1.
[0150] Based on the code snippet above, during the adjustment of the service settings window, if a pull-up operation is detected in the service settings window provided by the mini-program, the pull-up operation is sent to the mini-program using the social application gesture response interface. The mini-program then responds to the pull-up operation, stretching the service settings window upwards until the operation ends, up to the maximum height percentage limit set by the service settings provider. Similarly, if a pull-down operation is detected in the service settings window provided by the mini-program, the pull-down operation is sent to the mini-program using the social application gesture response interface. The mini-program then responds to the pull-down operation, stretching the service settings window downwards until the operation ends. If the displayed height of the service settings window at the end of the pull-down operation is less than the minimum height percentage limit set by the service settings provider, the service settings window is closed. If the displayed height of the service settings window at the end of the pull-down operation is greater than or equal to the minimum height percentage limit set by the service settings provider, the service settings window with the adjusted height is displayed according to the pull-down operation.
[0151] S705: Output the execution result of the target service task in the session interface.
[0152] It should be noted that the specific implementation method shown in step S705 can be found in [reference needed]. Figure 2 The specific implementation details of step S204 in the illustrated embodiment will not be repeated here.
[0153] Furthermore, this application embodiment also supports viewing the functional services of a service object and setting service tasks under the functional services from the session interface. Taking a session message containing the execution result of a target service task in the session interface, and the session message containing the execution result of the target service task being sent by the target service object (such as service object 1 that provides the functional service corresponding to the target service task) as an example, the process of triggering and displaying the functional services and service tasks provided by the target service object in the session interface is described; specifically: the target service object and the session message containing the execution result of the target service task sent by the target service object are displayed in the session interface; if the target service object is triggered in the session interface, the service information interface of the target service object is displayed, which contains one or more functional services provided by the target service object; when the target functional service among one or more functional services provided by the target service object is triggered, the service details interface of the target functional service is displayed, which contains one or more service tasks belonging to the target functional service.
[0154] An exemplary interface flow for the above implementation process can be found in [reference needed]. Figure 12 ,like Figure 12As shown, the session interface contains a session message 602 sent by service object 1 containing the execution result of the target service task, and the session interface contains an object identifier 601 of service object 1; when the object identifier 601 is selected, the service resource interface 1201 is displayed, which contains one or more functional services provided by service object 1; if the target user has a need to view the service tasks under the target functional service (such as functional service 1) in the service resource interface 1201, the target functional service can be triggered in the service resource interface 1201, and the service details interface 1202 of the target functional service will be displayed, which contains one or more service tasks belonging to the target functional service. It is worth noting that the service details interface 1202 can be represented as the service settings window mentioned above, that is, the service details interface 1202 can also be a mini-program window provided by the mini-program, and / or, historical service tasks can be edited and new service tasks can be created in the service details interface 1202; for example, in response to the editing information of any service task in one or more service tasks in the service details interface 1202, one or more service tasks are updated and displayed in the service details interface. In addition, the service information interface 1201 can also be displayed in the form of a floating layer before the session interface, and the service resource interface 1201 contains more options 12011. When more options 12011 are selected, the service resource interface 1201 is displayed in full screen on the target terminal screen; the specific display form of the service information interface is not limited in this application embodiment.
[0155] In this embodiment, during the display of the session interface, a service settings window is invoked from the session interface. The task information for the target service task can be set in the service settings window, and the execution result of the target service task is displayed in the session interface. Furthermore, this embodiment also supports triggering the display of the service object's service resource interface from the session interface, so that the functional services provided by the service object can be viewed through the service information interface, and service tasks can be viewed or edited. This ability to directly invoke the service settings window for setting service tasks from the session interface makes the operation of invoking the service settings window simple and convenient, shortens the path to invoking the service settings window, and thus improves the convenience and efficiency of setting service tasks.
[0156] The above Figure 2 and Figure 7 The relevant content of the illustrated embodiment mainly describes the interface diagram of the application processing method proposed in this application embodiment. The following is a detailed description in conjunction with... Figure 13The illustrated process simplifies the background processing flow of this application embodiment. In a specific implementation, ① when a target user has a service task setting requirement during a social conversation, the target user can perform a trigger operation to invoke the service settings window (or service window) in the conversation interface of the social conversation; for example, entering a flag character in the input area included in the conversation interface, or triggering the service settings entry in the conversation interface, etc. Correspondingly, the social application sends a request to invoke the service settings window to the mini-program module of the mini-program configured for the functional services provided to the service object based on the trigger operation. The mini-program module may include a mini-program SDK (Software Development Kit), which is a mini-program that encapsulates the half-screen capabilities (such as enabling half-screen mode) provided by the mini-program; the so-called SDK refers to a collection of development tools for building application software for specific software packages, software frameworks, hardware platforms, operating systems, etc., and this collection includes relevant documents, examples, and tools to assist in the development of a certain type of software. The mini-program SDK includes a mini-program interface (Application Programming Interface, API), which refers to some predefined functions used for data communication. The API is used to connect different components of the system. For example, the mini-program SDK in this application includes a data acquisition interface. After obtaining authorization, the social application can access a set of routines in the mini-program through the data acquisition interface provided by the mini-program, without needing to access the source code or understand the details of the internal working mechanism.
[0157] ② After receiving a request from the social application, the mini-program module responds by retrieving basic information about the mini-program from its backend services. This basic information may include, but is not limited to, the mini-program's application identifier, icon, avatar, description, interface information, business domain name, etc. Based on this basic information, the mini-program window is initialized, which serves as the service settings window. ③ The social application obtains task information for the target service task set in the service settings window through the mini-program, as well as community information for the social session. This community information may refer to information that uniquely identifies the social session, such as a session identifier (e.g., session ID). ④ The social application calls the mini-program to send the task information of the target service task to the background service of the target service object. The target service object provides the functional services corresponding to the target service task. After the background service of the target service object executes the target service task and obtains the execution result, it sends the execution result to the client (i.e., the social application) to which the social session belongs. Furthermore, it also calls the mini-program to send the community information of the social session to the background service of the service object, so that the background service of the service object can distribute the execution result of the target service task to the client (i.e., the social application) to which the social session belongs based on the community information of the social session. ⑤ The social application receives the execution result of the target service task sent by the target service object and outputs the execution result of the target service task in the session interface. The background service of the service object and the background service of the social application can be the same background server or different background servers. For ease of explanation, the following description will use the example of the background service of the service object and the background service of the social application being different background servers.
[0158] The following is combined Figure 14 The focus is on the interaction flow of the social application (or its backend server), the mini-program (or its backend server), and the background service of the service object jointly executing the application's processing method. This interaction flow may include, but is not limited to, steps s10-s19, wherein:
[0159] s10: During the display of the conversation interface, the social application obtains the triggering action of the target user in the conversation interface to bring up the service settings window.
[0160] s11: Social applications display a service window in response to a triggered action.
[0161] s12: If the target function service is detected to be triggered in the service window, the social application sends a request to the mini-program module associated with the target function service to bring up the service settings window.
[0162] s13: The mini-program module receives a request from the social application to launch the service settings window, and responds to the request by sending a data retrieval request to the mini-program's background service.
[0163] s14: The background service of the mini program receives the data acquisition request sent by the mini program module and responds to the data acquisition request by returning the basic information of the mini program to the mini program module.
[0164] s15: The mini-program module receives the basic information of the mini-program returned by the mini-program's backend service, and renders the service settings window of the target function service based on the basic information.
[0165] s16: The mini-program module obtains task information of the target service task input by the target user through the service settings window; and obtains community information of social conversations.
[0166] s17: The mini-program module sends community information and task information of the target service to the backend service of the service recipient.
[0167] s18: The service recipient's backend sends the execution result of the target service task to the social application based on the community information of the social conversation.
[0168] s19: The social application receives the execution result of the target service task sent by the background service of the service object, and outputs the execution result of the target service task in the conversation interface of the social session.
[0169] It should be noted that the specific implementation methods shown in steps s10-s19 can be found in the aforementioned... Figure 2 , Figure 7 or Figure 13 The specific implementation details in the illustrated embodiments are not elaborated here.
[0170] In this embodiment, when there is a need to set service tasks in the conversation interface of a social application, the social application can call a mini-program to open the service settings window of the function service. In this way, the service settings window can be displayed in a floating layer on the conversation interface, avoiding the need to jump to other pages of the social application to set service tasks. Moreover, the service settings window provided by the mini-program is faster and more stable than a full-screen H5 page. Furthermore, the service developers of the function service can take advantage of the rich interface of the mini-program to add personalized services to the service object, enrich the function service types of the service object, and set service tasks without jumping in the conversation interface.
[0171] The methods of the embodiments of this application have been described in detail above. In order to facilitate better implementation of the above solutions of the embodiments of this application, the apparatus of the embodiments of this application is provided below.
[0172] Figure 15 This illustration shows a schematic diagram of the structure of a processing device for an application provided in an exemplary embodiment of this application; the processing device for the application can be a computer program (including program code) running on a target terminal, for example, the processing device for the application can be an application (such as Tencent Docs) on the target terminal; the processing device for the application can be used to execute Figure 2 as well as Figure 7 Some or all of the steps in the method embodiments shown. Please refer to [link / reference]. Figure 15 The processing device of this application includes the following units:
[0173] Display unit 1501 is used to display the conversation interface of a social conversation. The conversation interface includes a message display area, which is used to display conversation messages related to the social conversation.
[0174] The processing unit 1502 is used to invoke the service settings window in the message display area during the display of the conversation interface; wherein, the service settings window is used to set service tasks for the social conversation, and the service settings window is provided by the application, which includes an installation-free application running in the client to which the social conversation belongs;
[0175] The processing unit 1502 is also used to set the task information of the target service task in the service settings window;
[0176] The processing unit 1502 is also used to output the execution result of the target service task in the session interface.
[0177] In one implementation, the message display area includes an input area for inputting conversational messages related to the social conversation; the processing unit 1502, when invoking the service settings window in the message display area, specifically performs the following:
[0178] When the input area contains a flag character, the service settings window is displayed.
[0179] In one implementation, the session interface includes a service settings entry; when the processing unit 1502 invokes the service settings window in the message display area, it is specifically used for:
[0180] If the service settings entry is triggered, the service settings window will be displayed;
[0181] The service settings entry is a service control located anywhere in the session interface. When the service control is operated, the service settings entry is triggered.
[0182] Alternatively, the service settings entry can be set in the session message in the message display area. When the session message is triggered, the service settings entry is triggered. The session message being triggered includes any of the following: the session message is executed, or a trigger signal exists in the area associated with the session message.
[0183] In one implementation, when the processing unit 1502 displays the service settings window, it is specifically used for:
[0184] The service window displays a list of services, which contains one or more functional services provided by one or more service objects.
[0185] In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
[0186] In one implementation, when the processing unit 1502 displays the service settings window, it is specifically used for:
[0187] Display the service window, which includes a list of objects and a list of services;
[0188] If the object list contains one or more service objects that provide functional services for social conversations, then the functional services provided by one or more service objects will be displayed in the service list.
[0189] In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
[0190] In one implementation, when the processing unit 1502 displays the service settings window, it is specifically used for:
[0191] Display the service window, which includes a list of objects and a list of services;
[0192] If there are one or more service objects in the object list that provide functional services for social conversations, and the target service object among the one or more service objects is selected, then the functional services provided by the target service object will be displayed in the service list.
[0193] In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
[0194] In one implementation, the processing unit 1502 is further configured to:
[0195] Display the service window, which includes a list of objects and a list of services;
[0196] Display the object addition entry in the service list;
[0197] Add a new service object to the service list through the object addition entry, and display the functional services provided by the newly added service object in the service list.
[0198] In one implementation, the processing unit 1502 is further configured to:
[0199] In response to adding a new service object to the service list, the newly added service object is displayed in the object list.
[0200] In one implementation, the processing unit 1502 is further configured to:
[0201] Retrieve one or more service objects that provide functional services for social conversations;
[0202] The list of objects displays one or more service objects that provide functional services for social conversations.
[0203] In one implementation, the service settings window includes task cards corresponding to one or more service tasks and a task creation area; the processing unit 1502, when setting task information for a target service task in the service settings window, specifically performs the following:
[0204] If one or more service tasks do not include the target service task, then set the task information of the target service task in the task creation area;
[0205] If one or more service tasks contain a target service task, then the task information of the target service task is set through the task card corresponding to the target service task.
[0206] In one implementation, the service settings window is displayed as a floating layer on the session interface, and the processing unit 1502 is further configured to:
[0207] In response to adjustment information for the service settings window, the display area of the service settings window is adjusted;
[0208] Specifically, when the display area of the adjusted service settings window is within the area range indicated by the adjustment information, the adjusted service settings window will be displayed on the session interface.
[0209] When the adjusted information indicates that the display area of the service settings window is less than or equal to the minimum value contained in the area range, the service settings window is closed and the session interface is displayed.
[0210] In one implementation, when the processing unit 1502 outputs the execution result of the target service task in the session interface, it is specifically used for:
[0211] The target service object is displayed in the chat interface. The target service object provides the target function service corresponding to the target service task.
[0212] In the associated area of the display location of the target service object, a session message containing the execution result of the target service task is displayed.
[0213] In one implementation, the processing unit 1502 is further configured to:
[0214] If the target service object is triggered in the session interface, the service information interface of the target service object will be displayed, which contains one or more functional services provided by the target service object.
[0215] When the target service function is triggered in one or more functional services provided by the target service object, the service details interface of the target service function is displayed. The service details interface contains one or more service tasks belonging to the target service function.
[0216] In response to editing information for any of the one or more service tasks, update the display of one or more service tasks in the service details interface.
[0217] In one implementation, the task information of the target service task is set in the service settings window; when the processing unit 1502 outputs the execution result of the target service task in the session interface, it is specifically used for:
[0218] Obtain task information for the target service task set in the service settings window through the application;
[0219] The application sends the task information of the target service task to the target service object, which then provides the corresponding functional services for the target service task. This allows the target service object to send the execution result to the client to which the social session belongs after executing the target service task.
[0220] Receive the execution result of the target service task sent by the target service object, and output the execution result of the target service task in the session interface.
[0221] According to one embodiment of this application, Figure 15The processing device of the application shown can be composed of various units, either individually or entirely, into one or more other units, or some of these units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of this application. The above-mentioned units are based on logical function division. In practical applications, the function of one unit can be implemented by multiple units, or the function of multiple units can be implemented by one unit. In other embodiments of this application, the processing device of the application may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented collaboratively by multiple units. According to another embodiment of this application, the application can be executed by running on a general-purpose computing device, such as a computer, which includes processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM). Figure 2 as well as Figure 7 The computer program (including program code) for each step involved in the corresponding method shown, to construct such... Figure 15 The application processing apparatus shown herein, and the processing method for implementing the application according to the embodiments of this application. The computer program may be recorded on, for example, a computer-readable recording medium, loaded onto the aforementioned computing device via the computer-readable recording medium, and run therein.
[0222] In this embodiment, during the process of the display unit 1501 displaying the session interface, the processing unit 1502 can be used to invoke the service settings window from the session interface; the processing unit 1502 is also used to receive the task information of the target service task set in the service settings window, and display the execution result of the target service task in the session interface. In the above solution, the service settings window for setting service tasks can be invoked directly from the session interface, making the operation of invoking the service settings window simple and convenient, shortening the path of invoking the service settings window, thereby improving the convenience of service task setting and improving the efficiency of service task setting.
[0223] Figure 16 A schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application is shown. Please refer to... Figure 16The terminal includes a processor 1601, a communication interface 1602, and a computer-readable storage medium 1103. The processor 1601, communication interface 1602, and computer-readable storage medium 1603 can be connected via a bus or other means. The communication interface 1602 is used to receive and send data. The computer-readable storage medium 1603 can be stored in the terminal's memory and is used to store computer programs, including program instructions. The processor 1601 is used to execute the program instructions stored in the computer-readable storage medium 1603. The processor 1601 (or CPU (Central Processing Unit)) is the terminal's computing and control core, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to achieve corresponding method flows or functions.
[0224] This application embodiment also provides a computer-readable storage medium (Memory), which is a memory device in a target terminal for storing programs and data. It is understood that the computer-readable storage medium here can include both built-in storage media in the terminal and extended storage media supported by the terminal. The computer-readable storage medium provides storage space that stores the processing system of the target terminal. Furthermore, the storage space also stores one or more instructions suitable for loading and execution by the processor 1601, which can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device; optionally, it can also be at least one computer-readable storage medium located remotely from the aforementioned processor.
[0225] In one embodiment, the terminal may be the target terminal mentioned in the foregoing embodiments; the computer-readable storage medium stores one or more instructions; the processor 1601 loads and executes one or more instructions stored in the computer-readable storage medium to implement the corresponding steps in the above-described display processing method embodiments; specifically, the one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and executed as follows:
[0226] The conversation interface displays the social conversation, which includes a message display area for showing conversation messages related to the social conversation.
[0227] During the display of the conversation interface, the service settings window is invoked in the message display area; the service settings window is used to set service tasks for the social conversation, and the service settings window is provided by the application, which includes an installation-free application running in the client to which the social conversation belongs;
[0228] Configure the task information for the target service task in the service settings window;
[0229] The execution result of the target service task is output in the session interface.
[0230] In one implementation, the message display area includes an input area for entering conversational messages related to the social conversation; one or more instructions in a computer-readable storage medium are loaded by the processor 1601 and, when the service settings window is invoked in the message display area, specifically perform the following steps:
[0231] When the input area contains a flag character, the service settings window is displayed.
[0232] In one implementation, the session interface includes a service settings entry; when one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and executed to invoke the service settings window in the message display area, the following steps are specifically performed:
[0233] If the service settings entry is triggered, the service settings window will be displayed;
[0234] The service settings entry is a service control located anywhere in the session interface. When the service control is operated, the service settings entry is triggered.
[0235] Alternatively, the service settings entry can be set in the session message in the message display area. When the session message is triggered, the service settings entry is triggered. The session message being triggered includes any of the following: the session message is executed, or a trigger signal exists in the area associated with the session message.
[0236] In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and, when executing the display service settings window, specifically perform the following steps:
[0237] The service window displays a list of services, which contains one or more functional services provided by one or more service objects.
[0238] In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
[0239] In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and, when executing the display service settings window, specifically perform the following steps:
[0240] Display the service window, which includes a list of objects and a list of services;
[0241] If the object list contains one or more service objects that provide functional services for social conversations, then the functional services provided by one or more service objects will be displayed in the service list.
[0242] In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
[0243] In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and, when executing the display service settings window, specifically perform the following steps:
[0244] Display the service window, which includes a list of objects and a list of services;
[0245] If there are one or more service objects in the object list that provide functional services for social conversations, and the target service object among the one or more service objects is selected, then the functional services provided by the target service object will be displayed in the service list.
[0246] In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
[0247] In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and are also used to perform the following steps:
[0248] Display the service window, which includes a list of objects and a list of services;
[0249] Display the object addition entry in the service list;
[0250] Add a new service object to the service list through the object addition entry, and display the functional services provided by the newly added service object in the service list.
[0251] In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and are also used to perform the following steps:
[0252] In response to adding a new service object to the service list, the newly added service object is displayed in the object list.
[0253] In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and are also used to perform the following steps:
[0254] Retrieve one or more service objects that provide functional services for social conversations;
[0255] The list of objects displays one or more service objects that provide functional services for social conversations.
[0256] In one implementation, the service settings window includes task cards corresponding to one or more service tasks and a task creation area; when one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and executed to set the task information of the target service task in the service settings window, the following steps are specifically performed:
[0257] If one or more service tasks do not include the target service task, then set the task information of the target service task in the task creation area;
[0258] If one or more service tasks contain a target service task, then the task information of the target service task is set through the task card corresponding to the target service task.
[0259] In one implementation, the service settings window is displayed as a floating layer on the session interface, and one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and are also used to perform the following steps:
[0260] In response to adjustment information for the service settings window, the display area of the service settings window is adjusted;
[0261] Specifically, when the display area of the adjusted service settings window is within the area range indicated by the adjustment information, the adjusted service settings window will be displayed on the session interface.
[0262] When the adjusted information indicates that the display area of the service settings window is less than or equal to the minimum value contained in the area range, the service settings window is closed and the session interface is displayed.
[0263] In one implementation, when one or more instructions in a computer-readable storage medium are loaded by processor 1601 and the execution result of the target service task is output in the session interface, the following steps are specifically performed:
[0264] The target service object is displayed in the chat interface. The target service object provides the target function service corresponding to the target service task.
[0265] In the associated area of the display location of the target service object, a session message containing the execution result of the target service task is displayed.
[0266] In one implementation, one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and are also used to perform the following steps:
[0267] If the target service object is triggered in the session interface, the service information interface of the target service object will be displayed, which contains one or more functional services provided by the target service object.
[0268] When the target service function is triggered in one or more functional services provided by the target service object, the service details interface of the target service function is displayed. The service details interface contains one or more service tasks belonging to the target service function.
[0269] In response to editing information for any of the one or more service tasks, update the display of one or more service tasks in the service details interface.
[0270] In one implementation, the task information of the target service task is set in the service settings window; when one or more instructions in the computer-readable storage medium are loaded by the processor 1601 and executed, and the execution result of the target service task is output in the session interface, the following steps are specifically performed:
[0271] Obtain task information for the target service task set in the service settings window through the application;
[0272] The application sends the task information of the target service task to the target service object, which then provides the corresponding functional services for the target service task. This allows the target service object to send the execution result to the client to which the social session belongs after executing the target service task.
[0273] Receive the execution result of the target service task sent by the target service object, and output the execution result of the target service task in the session interface.
[0274] In this embodiment, during the display of the session interface, the processor 1601 can be used to invoke the service settings window from the session interface; the processor 1601 is also used to receive the task information of the target service task set in the service settings window, and display the execution result of the target service task in the session interface. In the above solution, the service settings window for setting service tasks can be directly invoked from the session interface, making the operation of invoking the service settings window simple and convenient, shortening the path to invoking the service settings window, thereby improving the convenience of service task setting and increasing the efficiency of service task setting.
[0275] This application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A terminal's processor reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the terminal to perform the processing method of the aforementioned application.
[0276] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0277] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0278] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this invention should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for processing an application, characterized in that, include: A conversation interface that displays a social conversation, the conversation interface including a message display area for displaying conversation messages related to the social conversation; During the display of the conversation interface, when the service settings entry point contained in the conversation interface is triggered, a service settings window is displayed in the message display area. The service settings window contains task cards corresponding to one or more service tasks and a task creation area. These one or more service tasks are set by members of the social conversation within a historical timeframe. The task creation area is used to input the task information of the service task to be created. The service settings window is used to set service tasks for the social conversation. The service settings entry point is located in the conversation message within the message display area. When the conversation message is triggered, the service settings entry point is triggered. Triggering the conversation message includes any of the following: the triggering object performs an operation on the conversation message remotely; the triggering object remotely stays in the area associated with the conversation message and generates a trigger signal. The service settings window is provided by an application, which includes an installation-free application running within the client to which the social conversation belongs. If the target service task is not included in the one or more service tasks, then the task information of the target service task is set in the task creation area; If one or more service tasks include a target service task, then the task information of the target service task is set through the task card corresponding to the target service task; The execution result of the target service task is output in the session interface.
2. The method as described in claim 1, characterized in that, The message display area includes an input area, which is used to input conversation messages related to the social conversation. When the input area contains a flag character, the service settings window is displayed in the message display area.
3. The method as described in claim 1, characterized in that, The service settings entry is a service control located at any position on the session interface. When the service control is operated, the service settings entry is triggered.
4. The method as described in claim 2 or 3, characterized in that, The display service settings window includes: Display a service window containing a service list, which contains one or more functional services provided by one or more service objects; In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
5. The method as described in claim 2 or 3, characterized in that, The display service settings window includes: Display a service window, which includes a list of objects and a list of services; If the object list contains one or more service objects that provide functional services for the social session, then the functional services provided by the one or more service objects are displayed in the service list; In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
6. The method as described in claim 2 or 3, characterized in that, The display service settings window includes: Display a service window, which includes a list of objects and a list of services; If the object list contains one or more service objects that provide functional services for the social session, and a target service object among the one or more service objects is selected, then the functional services provided by the target service object are displayed in the service list. In response to selecting a target function service from the service list, the service settings window corresponding to the target function service is displayed.
7. The method as described in claim 1, characterized in that, The method further includes: Display a service window, which includes a list of objects and a list of services; The service list displays an entry point for adding objects; The service object can be added to the service list through the object addition entry, and the functional services provided by the newly added service object will be displayed in the service list.
8. The method as described in claim 7, characterized in that, The method further includes: In response to the addition of a service object to the service list, the newly added service object is displayed in the object list.
9. The method as described in claim 5, characterized in that, The method further includes: Obtain one or more service objects that provide functional services for the social session; The list of objects displays one or more service objects that provide functional services for the social session.
10. The method as described in claim 1, characterized in that, The service settings window is displayed as a floating layer on the session interface, and the method further includes: In response to adjustment information for the service settings window, the display area of the service settings window is adjusted; When the adjustment information indicates that the display area of the adjusted service settings window is within the area range, the adjusted service settings window is displayed on the session interface. When the adjustment information indicates that the display area of the adjusted service settings window is less than or equal to the minimum value contained in the area range, the service settings window is closed and the session interface is displayed.
11. The method as described in claim 1, characterized in that, The step of outputting the execution result of the target service task in the session interface includes: The target service object is displayed in the session interface, and the target service object provides the target function service corresponding to the target service task. Within the associated area of the display location of the target service object, a session message containing the execution result of the target service task is displayed.
12. The method as described in claim 11, characterized in that, The method further includes: If the target service object is triggered in the session interface, the service information interface of the target service object is displayed, and the service information interface contains one or more functional services provided by the target service object; When the target functional service provided by the target service object is triggered, the service details interface of the target functional service is displayed, and the service details interface contains one or more service tasks belonging to the target functional service. In response to editing information for any of the one or more service tasks, the one or more service tasks are updated and displayed in the service details interface.
13. The method as described in claim 1, characterized in that, Setting the task information of the target service task in the service settings window; outputting the execution result of the target service task in the session interface includes: The application retrieves the task information of the target service task set in the service settings window. The application is invoked to send the task information of the target service task to the target service object, and the target service object provides the functional services corresponding to the target service task; so that after the target service object executes the target service task and obtains the execution result, it sends the execution result to the client to which the social session belongs; Receive the execution result of the target service task sent by the target service object, and output the execution result of the target service task in the session interface.
14. A processing apparatus for an application, characterized in that, include: The display unit is used to display the conversation interface of the social conversation, the conversation interface including a message display area, the message display area being used to display conversation messages related to the social conversation; The processing unit is configured to display a service settings window in the message display area when a service settings entry included in the session interface is triggered during the display of the session interface. The service settings window includes task cards corresponding to one or more service tasks and a task creation area. The one or more service tasks are set by members of the social session within a historical time period. The task creation area is used to input task information for the service task to be created. The service settings window is used to set service tasks for the social session. The service settings entry is located in the session message in the message display area. When the session message is triggered, the service settings entry is triggered. Triggering the session message includes any of the following: the triggering object performs an operation on the session message remotely; the triggering object remotely stays in the area associated with the session message and generates a trigger signal. The service settings window is provided by an application, which includes an installation-free application running within the client to which the social session belongs. The processing unit is further configured to, if the one or more service tasks do not include a target service task, set the task information of the target service task in the task creation area; and if the one or more service tasks include a target service task, set the task information of the target service task through the task card corresponding to the target service task. The processing unit is also used to output the execution result of the target service task in the session interface.
15. A terminal, characterized in that, include: A processor, adapted to execute computer programs; A computer-readable storage medium storing a computer program that, when executed by the processor, implements the processing method of the application program as described in any one of claims 1-13.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded by a processor and executed by a processing method of the application program as described in any one of claims 1-13.
17. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed by a processor, implement the processing method of the application program as described in any one of claims 1-13.