CN115334199A - Task processing method, terminal and storage medium - Google Patents

Task processing method, terminal and storage medium Download PDF

Info

Publication number
CN115334199A
CN115334199A CN202210982384.6A CN202210982384A CN115334199A CN 115334199 A CN115334199 A CN 115334199A CN 202210982384 A CN202210982384 A CN 202210982384A CN 115334199 A CN115334199 A CN 115334199A
Authority
CN
China
Prior art keywords
instruction
target
user
menu
target instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210982384.6A
Other languages
Chinese (zh)
Inventor
金若诗
鲍丰
周姮
孙博文
姚海龙
王森
石佳锐
刘畅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dingtalk China Information Technology Co Ltd
Original Assignee
Dingtalk China Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dingtalk China Information Technology Co Ltd filed Critical Dingtalk China Information Technology Co Ltd
Publication of CN115334199A publication Critical patent/CN115334199A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Abstract

The embodiment of the invention provides a task processing method, a terminal and a storage medium, wherein the method comprises the following steps: displaying a current interface, wherein the current interface at least comprises an input box for inputting information; detecting characters input by a user in the input box, and judging whether the characters are matched with set function characters, wherein the set function characters are used for calling an instruction menu or calling a specified function; if the characters are matched with the set functional characters, acquiring a target instruction menu according to the user identity and/or scene information of the user, wherein the target instruction menu is configured with at least one shortcut instruction, and one shortcut instruction is used for executing at least one task; displaying the target instruction menu on the current interface; and determining a selected target instruction in the target instruction menu, and executing a corresponding target task according to the target instruction. The task processing method provided by the embodiment of the invention can realize efficient instruction calling and improve the task processing efficiency.

Description

Task processing method, terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a task processing method, a terminal and a storage medium.
Background
With the development of computer technology, IM (Instant Messaging) software has been widely used in intelligent office scenarios, and users can implement Instant Messaging chat, conference discussion, and the like between users through the IM software.
In a daily office scenario, in addition to instant messaging, a user generally needs to invoke collaborative office applications such as file collaboration, approval flow, and calendar. In the process of processing the cooperative office applications, the user can not communicate with related personnel by using instant messaging software, so that the user usually needs to switch back and forth between the instant messaging software and other cooperative office applications to complete corresponding work. How to improve the processing efficiency of cooperative office becomes a technical problem that needs to be solved urgently by technical personnel in the field.
Disclosure of Invention
In view of this, embodiments of the present invention provide a task processing method, a terminal, and a storage medium, so as to implement efficient instruction invocation and improve task processing efficiency.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions.
In a first aspect, an embodiment of the present invention provides a task processing method, including:
displaying a current interface, wherein the current interface at least comprises an input interface used for inputting information;
detecting characters input by a user in the input box, and judging whether the characters are matched with set function characters, wherein the set function characters are used for calling an instruction menu or calling a specified function;
if the characters are matched with the set functional characters, acquiring a target instruction menu according to the user identity and/or scene information of the user, wherein the target instruction menu is configured with at least one shortcut instruction, and one shortcut instruction is used for executing at least one task;
displaying the target instruction menu on the current interface;
and determining a selected target instruction in the target instruction menu, and executing a corresponding target task according to the target instruction.
In a second aspect, an embodiment of the present invention further provides a task processing method, including:
acquiring a request for calling an instruction menu sent by a terminal, wherein the request carries user identity and/or scene information of a user; the terminal sends the request to a server when detecting that the characters input by the user in the input box are matched with the set function characters;
acquiring a target instruction menu according to the user identity and/or the scene information of the user; the target instruction menu is configured with at least one shortcut instruction, and one shortcut instruction is used for executing at least one task;
and feeding back the target instruction menu to the terminal so that the terminal can display the target instruction menu.
In a third aspect, an embodiment of the present invention further provides a terminal, including at least one memory and at least one processor, where the memory stores one or more computer-executable instructions, and the processor invokes the one or more computer-executable instructions to perform the task processing method according to the foregoing first aspect.
In a fourth aspect, an embodiment of the present invention further provides a server, including at least one memory and at least one processor, where the memory stores one or more computer-executable instructions, and the processor calls the one or more computer-executable instructions to execute the task processing method performed at the server according to the second aspect.
In a fifth aspect, an embodiment of the present invention further provides a storage medium, where the storage medium stores one or more computer-executable instructions, and when the one or more computer-executable instructions are executed, the task processing method according to the first aspect or the task processing method according to the second aspect is implemented.
In a sixth aspect, an embodiment of the present invention further provides a computer program, where the computer program, when executed, implements the task processing method according to the first aspect or the task processing method according to the second aspect.
The embodiment of the invention provides a task processing method, a terminal and a storage medium, wherein when the method detects that characters input by a user in an input box are matched with set function characters for calling an instruction menu, a target instruction menu configured with at least one shortcut instruction is obtained according to the user identity and/or scene information of the user, the target instruction menu is displayed on the current interface, and a selected target instruction in the target instruction menu is determined based on the operation of the user, so that a corresponding target task is executed according to the target instruction.
According to the task processing method provided by the embodiment of the invention, the instruction menu configured with at least one instruction can be preset, and the calling of the instruction menu is associated with the input of the preset characters in the input box, so that when the characters input in the input box of the current interface by a user are matched with the preset characters of the calling instruction menu, the instruction menu can be displayed on the current interface, the user can select the calling instruction from the instruction menu, the process that the user searches and clicks the instruction icon integrated in the interface is avoided, and the calling of the instruction menu can be realized by the user in a mode of inputting the characters in the input box. Furthermore, after the user selects the target instruction from the instruction menu, the embodiment of the invention can execute the corresponding target task according to the target instruction, thereby realizing the execution and processing of the task. Therefore, the instruction menu can be called in a mode that the user inputs the preset characters in the input box, so that the user can conveniently and efficiently select the instruction to be called and executed from the instruction menu, and the instruction can be efficiently executed and processed corresponding to the task.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is an exemplary diagram of an interface variation;
FIG. 2 is an alternative block diagram of a task processing system provided by an embodiment of the present invention;
FIG. 3 is an alternative flow chart of a task processing method provided by an embodiment of the present invention;
fig. 4 is an exemplary diagram of interface changes under a data sharing instruction according to an embodiment of the present invention;
FIG. 5 is an alternative block diagram of a task processing device according to an embodiment of the present invention;
FIG. 6 is another alternative block diagram of a task processing device according to an embodiment of the present invention;
FIG. 7 is an alternative block diagram of a server provided by an embodiment of the present invention;
FIG. 8 is an alternative block diagram of a server provided by an embodiment of the present invention;
fig. 9 is an alternative block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The IM software realizes online chatting and communication through an instant messaging technology, and on the basis, the IM software can also provide some task processing functions except for chatting by accessing other applications. Referring to an example of an interface change shown in fig. 1, when a user needs to perform other tasks while chatting, such as sending a mail or entering an approval flow approval document, the current chat interface of the terminal will have to be interrupted, and even if the pending task can be completed by integrating application icons in the IM software (refer to an application icon list expanded after clicking an ═ or ^ icon output in fig. 1), the current chat input box needs to be exited for operation, so as to implement processing of the corresponding task.
Obviously, the above operation flow is not only complicated in steps, but also requires frequent switching of the user interface, so that the task processing efficiency is low and the user experience is poor.
Based on this, the embodiment of the present invention provides a task processing method, a terminal, and a storage medium, where when it is detected that a character input by a user in an input box matches a set function character, a target instruction menu configured with at least one shortcut instruction is obtained according to user identity and/or scene information, the target instruction menu is displayed based on a current interface, and a selected target instruction in the target instruction menu is determined based on an operation of the user, so that a corresponding target task is executed according to the target instruction.
The task processing method provided by the embodiment of the invention can preset the instruction menu configured with at least one instruction, wherein the instruction is associated with the user identity and/or the scene information, and the calling of the instruction menu is associated with the preset character input in the input box, so that when the character input in the input box of the current interface by the user is matched with the preset character of the calling instruction menu, the embodiment of the invention can display the instruction menu on the current interface, so that the user can select the called instruction from the instruction menu, the process of searching and clicking the instruction icon integrated in the interface by the user is avoided, and the calling of the instruction menu can be realized by the user in a mode of inputting the character in the input box. Furthermore, after the user selects the target instruction from the instruction menu, the embodiment of the invention can execute the corresponding target task according to the target instruction, thereby realizing the execution and processing of the task. Therefore, the method and the device for processing the task can achieve calling of the instruction menu by obtaining the instruction related to the user identity and/or the scene information and displaying the instruction on the periphery of the input box in a mode that the user inputs the preset characters in the input box, so that the user can conveniently and efficiently select the instruction to be called and executed or execute the corresponding task without leaving the current page or the input box.
In an alternative implementation, fig. 2 shows an alternative block diagram of a task processing system provided in an embodiment of the present invention, and a task processing method provided in an embodiment of the present invention may be implemented based on the system shown in fig. 2, as shown in fig. 2, the task processing system may include: a server 10, a plurality of terminals 20; the server 10 is a network service device providing the task processing service according to the embodiment of the present invention, and may include a single server device or a server group formed by a plurality of server devices; the terminal 20 is a terminal device used by a user using a task processing service, such as a notebook computer, a smart phone, a PC (personal computer), and the like, and generally, a user uses a terminal, and the user referred to herein may be a user using the terminal, or artificial intelligence with decision-making capability loaded in the terminal, and the like; the terminal and the server can interact through a browser and also can interact through specific application software (APP), and the embodiment of the invention does not limit the interaction channel between the terminal and the server.
For convenience of description, in a case where a plurality of users participate in the same task processing by using the task processing service provided by the server 10, the following introduces the task processing method provided by the embodiment of the present invention by taking the first user as any user participating in the task processing, and the task processing method corresponding to any user participating in the task processing can be implemented in the same way;
in an alternative implementation, fig. 3 shows an alternative flowchart of the task processing method provided by the embodiment of the present invention, where the flowchart may be implemented by a server and a terminal used by a first user (hereinafter, referred to as a terminal) interactively, and as shown in fig. 3, the flowchart may include:
step S10: the terminal displays a current interface, wherein the current interface at least comprises an input interface used for inputting information;
the current interface may be a chat interface providing chat service for the user, a search interface providing search service for the user, an online text input interface, an input interface for schedule setting, an input interface during task approval, an input interface during email composition, or the like, which is not limited herein. Accordingly, the input interface may be, for example, an input box, which may be an input box for inputting text information or an input box for inputting search information.
In the embodiment of the invention, the input box can input text information and character information or numerical information at the same time. In one embodiment, when it is detected that the user input character is matched with the set function character, the corresponding instruction menu is acquired and displayed or the corresponding function is executed by acquiring the user identity and/or scene information, so that the set task is executed while the input interface is not skipped.
Step S11: and the terminal detects the characters input by the user in the input box and judges whether the characters are matched with the set functional characters.
The set function characters are used for calling the instruction menu or calling the designated function, the set function characters can be preset characters used for indicating a user to call the instruction menu, and the set function characters can be single characters or combinations of multiple characters. The instruction menu may be configured with one or more instructions that, when selected, execute the selected instruction. And when the character input by the user is detected to be a set function character, considering that the user calls the instruction menu. In an alternative example, detection of the entered character may be implemented based on a typing detection function.
In an alternative example, the terminal may perform the judgment of the character based on the input detection function, thereby determining whether the character matches the set function character.
If the characters are matched with the set function characters, executing step S12, if the characters are not matched, considering the characters as text characters, and correspondingly, if the input box is a chat content input box, responding to the character sending operation in the input box, and sending the characters in the input box to a chat area in the current interface; and if the input box is a search box, responding to the search operation, and searching the content according to the characters in the input box.
Wherein, it can be understood that, if the search box is a search box of a chat interface, the search box can be used for searching chat contents (including document contents, character contents involved in chat); if the search box is a search box in a document, the search box can be used for searching the content in the document; if the search box is a search box in a folder, the search box may be used to search for documents or document contents in the folder.
In an optional example, it is determined whether the character matches a set function character, specifically, it may be determined whether a character input start position of the input box is input, and a set function character is input; if yes, matching the characters input in the input box by the user with the set function characters; and if not, the characters input in the input box by the user are not matched with the set function characters.
It can be understood that the determination of the set function character is performed based on the character input starting position, and the set function character and other character information input by the user can be more accurately distinguished, so that the phenomenon that the set function character is confused with other character information (such as chat information or search information) and then the set function character is difficult to determine is avoided.
Step S12: a server acquires a request for calling an instruction menu, which is sent by a terminal, wherein the request carries user identity and/or scene information of a user; the user identity includes information of an enterprise and/or an organization to which the user belongs, and role information of the user in the enterprise/organization, for example, the user is an administrator or a common member. The scene comprises an application corresponding to the current input box, such as a chat application, a document application, a search application, a task application, such as a card punching application, an approval application, a mail application and the like, or a calendar application.
And the terminal sends the request to a server when detecting that the characters input in the input box by the user are matched with the set function characters.
Step S13: the server acquires a target instruction menu according to the user identity and/or the scene information of the user;
the target instruction menu is an instruction menu corresponding to the user identity and/or the scene information, at least one shortcut instruction is configured in the target instruction menu, and one shortcut instruction is used for executing at least one task.
Based on the user identity and/or context information of the user, a target instruction menu matching the information may be determined. The user identity may indicate the enterprise and organization to which the user belongs, and the role in the enterprise and organization, such as an administrator, a common member, and the like; the interface scene where the user is located may be an application corresponding to the current input box or a specific function corresponding to the application, for example, the interface scene may be a chat scene or a document input scene, or the interface scene may also be a search scene, a task creation scene, a calendar scene, or the like.
It can be understood that, based on the difference of the user identity and/or the scene information, the corresponding target instruction menu is also different, so in this step, the target instruction menu matched with the user identity and/or the interface scene may be obtained according to the user identity of the user and/or the interface scene where the user is located.
Specifically, in an optional example, if the current interface is a document editing interface, according to the user identity of the user, a target instruction menu matched with the user identity is obtained, a shortcut instruction in the target instruction menu is used for calling document contents, and the user identities with different permissions correspondingly call shortcut instructions of different document contents; for example, the content that a document creator, or a document viewer, can invoke in a document editing process is different.
Or, in another optional example, if the current interface is not a document editing interface, according to the interface scene, a target instruction menu matched with the interface scene is obtained, a shortcut instruction in the target instruction menu is used to invoke an application capability, and different interface scenes correspond to shortcut instructions invoking different application capabilities. For example, in different scenarios such as a chat scenario, a search box, text entry, a calendar, etc., the recommended applications displayed in the corresponding target instruction menu are different.
The application capability may be a specific function of an application or a set of a plurality of specific functions, or in some examples, the application capability may also be an application or a set of a plurality of applications. It should be noted that the application capability called in the instruction menu may belong to the application to which the current interface belongs, or may belong to an application developed by a third party, and when the called application capability belongs to the application developed by the third party, a third party developer is required to interface the application capability of the third party developer to the shortcut instruction through an open platform of the application to which the current interface belongs. In one example, the shortcut instruction in the target instruction menu corresponds to the application capability of a third party, and the application capability of the third party is accessed through an application open platform; or the shortcut instruction in the target instruction menu corresponds to the application capability of the instant messaging platform.
Specifically, a developer developed by a third party can access the application capability to the shortcut instruction function by using the application open platform. For example, the shortcut instruction function may be registered in the application open platform, and in the application expansion capability of the application open platform, a result that a response is required after the user selects the shortcut instruction, such as opening a new link, sending a message, and the like, may be determined.
Step S14: the terminal acquires a target instruction menu according to the user identity and/or the scene information of the user;
the server feeds the target instruction menu back to the terminal so that the terminal can display the target instruction menu, and correspondingly, the terminal can receive the target instruction menu.
It should be noted that, the terminal may obtain the target instruction menu according to the user identity and/or the scenario information of the user through the service provided by the server, and may also obtain the target instruction menu based on the information built in the terminal side, which is not specifically limited herein.
Step S15: the terminal displays the target instruction menu on the current interface;
it can be understood that after the target instruction menu is obtained, the target instruction menu can be displayed on the current interface, so that the user can directly and intuitively select the shortcut instruction in the target instruction menu.
In an optional example, the manner of presenting the target instruction menu in step S15 may include: displaying the target instruction menu on the current interface in a pop-up window mode; or, the target instruction menu is pulled out above the input box, so that the user can conveniently select the target instruction in the target instruction menu, which is not specifically limited herein.
In a further alternative example, the presentation target may be presented based on different categories, such as one category of functional instructions in the application to which the current interface belongs and another category of instructions provided by a third party application, so as to facilitate selection by the user.
In some specific examples, the displaying of the target instruction menu may further divide the instructions in the target instruction menu into function instructions and application instructions, and in the displaying step, based on different classifications, the function instructions and the application instructions are respectively displayed in different areas, the function instructions may be disposed in an upper area of the target instruction menu, and the application instructions may be disposed in a lower area of the target instruction material.
The function instructions may include, for example, "add person", "do not disturb", "set top", and other function instructions in the chat interface, where the "add person" function instruction is used to add more chat objects in the current chat interface, the "do not disturb" function instruction is used to set the current chat interface to be in the do not disturb mode, and the "set top" function instruction is used to set the current chat interface to be set top. The application instructions may include, for example, "session" application instructions for opening a "session" application, "calendar" application instructions for opening a "calendar" application, and "proxy" application instructions for opening a "proxy" application.
It should be noted that, in some examples, in order to enable a user to intuitively understand the effect of the corresponding instruction, the target instruction menu may further display an effect description corresponding to the instruction, and the effect description and the instruction are set in a one-to-one correspondence manner. For example, the function description may be displayed behind the instructions, or the function description may be displayed below the instructions, etc., and the present invention is not limited in detail herein.
In some other examples, the target instruction menu may also be presented based on a slider. Specifically, when the target instruction menu contains a large number of instructions, the display interface of the target instruction menu can be simultaneously provided with a sliding block, and the instructions in the target instruction menu are displayed based on the sliding block, so that the situation that the current interface is excessively shielded due to the fact that the display interface of the target instruction material is too large is avoided.
Step S16: and the terminal determines the selected target instruction in the target instruction menu and executes the corresponding target task according to the target instruction.
Based on user operation, the selected target instruction in the target instruction menu can be determined, so that the corresponding target task can be executed according to the target instruction.
In an optional example, in the instruction menu, different instructions may correspond to different instruction selection characters, for example, the instruction name is an instruction selection character, and when a target instruction selected in the target instruction menu is determined, specifically, a clicked target instruction in the instruction menu is determined, or an instruction selection character input in the input box is detected, and a target instruction matched with the instruction selection character is selected from the instruction menu according to the instruction selection character, so that a user may select an instruction based on the instruction selection character of the target instruction, and therefore, search and click of the instruction are not needed, and user operation is facilitated.
It should be noted that, in the target instruction menu, the instruction matching may be performed based on the characters input in the input box, and then the instruction matching the characters input in the input box is displayed, so as to narrow the selection range of the user, and when the characters input in the input box are complete instruction selection characters, the target instruction matching the instruction selection characters is selected. In an optional example, matching of the instructions can be assisted based on intelligent recommendation and/or automatic completion functions, so that the matching function of the instructions is further optimized.
In a further optional example, when the flow in which the target instruction is selected is assisted by an intelligent recommendation and/or automatic completion function, the intelligent recommendation and/or automatic completion flow may be executed based on a server side.
In another alternative example, the terminal may perform different tasks based on different instructions. Specifically, the executing of the corresponding target task according to the target instruction may include the following examples:
if the target instruction is an instruction for setting a user state, setting the user state according to the target instruction; for example, when a user wishes to set an application to a do-not-disturb state, a do-not-disturb instruction may be selected, thereby setting the application do-not-disturb state.
Or if the target instruction is a function calling instruction of the instant messaging software, calling a target function of the instant messaging software according to the target instruction, and displaying a function bar of the target function on the current interface or jumping to an interface corresponding to the target function to execute the target function; for example, when a user wishes to add a friend, the friend adding instruction can be selected, so that the friend adding function of the instant messaging software is called, a mobile phone number input box with the friend adding function or other friend adding mode bars are displayed on the current interface, and at the moment, the interface can not jump; or, when the user wants to initiate a voice call or a conference, jumping to the corresponding interface.
Or if the target instruction is a data sharing instruction, displaying a selection item of the data to be shared according to the target instruction, selecting the shared target data according to the selection item, and sending the target data to a specified user or group chat. When the option of the data to be shared is displayed according to the target instruction, source options of the data can be displayed according to the target instruction, and one source option corresponds to one source of the data; for example, "i collect", "send to me", "i create", etc., and correspondingly, the target data selected and shared according to the selection item may specifically be to determine a selected target source option in the source options, and show a plurality of data corresponding to the target source option (e.g., a plurality of data i collect, a plurality of data sent to me, etc.); and selecting shared target data from the plurality of data.
In a further optional example, if the target instruction is an application capability of a third party, the application call request is sent according to the target instruction. Correspondingly, after receiving the application call request, the server calls back the application capability of the third party corresponding to the target instruction to the third party application. After the third party responds to the callback message, the application capability of the corresponding third party is called through an open API interface (for example, a native open API interface), and after the calling is successful, the application interface is sent to the terminal, or after the calling is successful, interface information is sent, so that the terminal interface jumps to an interface corresponding to the application capability of the third party. Correspondingly, after receiving the application interface, the terminal can display the application interface on the interface, or jump to the interface corresponding to the application capability of the third party.
According to the task processing method provided by the embodiment of the invention, the instruction menu configured with at least one instruction can be preset, and the calling of the instruction menu is associated with the input of the preset characters in the input box, so that when the characters input in the input box of the current interface by a user are matched with the preset characters of the calling instruction menu, the instruction menu can be displayed on the current interface, the user can select the calling instruction from the instruction menu, the process that the user searches and clicks the instruction icon integrated in the interface is avoided, and the calling of the instruction menu can be realized by the user in a mode of inputting the characters in the input box. Furthermore, after the user selects the target instruction from the instruction menu, the embodiment of the invention can execute the corresponding target task according to the target instruction, thereby realizing the execution and processing of the task. Therefore, the instruction menu can be called in a mode that the user inputs the preset characters in the input box, so that the user can conveniently and efficiently select the instruction to be called and executed from the instruction menu, and the instruction can be efficiently executed and processed corresponding to the task.
In a specific example, a target instruction is taken as a data sharing instruction as an example, and an optional flow of the task processing method according to the embodiment of the present invention is shown. Specifically, referring to the example diagram of the interface change under the data sharing instruction shown in fig. 4, taking "/" as an example of setting functional characters, when viewed from left to right, the first interface diagram is in a state where no character is input, and in the second interface diagram, "/" is input in an interface input box, then the terminal acquires and displays a target instruction menu, where in the target instruction menu, "select instruction" refers to an instruction in the application of the current interface, and "application instruction" refers to an instruction provided by a third-party application, and then, referring to the third interface diagram, "instruction 2" is continuously input as an instruction selection character, and accordingly, an instruction matching "instruction 2" is displayed and selected in the target instruction menu, and then, referring to the fourth interface diagram, and "instruction 2" is taken as an example of the data sharing instruction, selection of data can be performed based on a source option of data, for example, "favorite", "send to my", "create me", and the like, selection of "my favorite" is performed, and then a fifth interface diagram is selected, and specific data selection is performed, and after data 1 is selected, a transition is performed to seven user interfaces, and a user data is determined and sent in the user drawing.
While various embodiments of the present invention have been described above, various alternatives described in the various embodiments can be combined and cross-referenced without conflict to extend the variety of possible embodiments that can be considered disclosed and disclosed in connection with the embodiments of the present invention.
In the following, from the perspective of the terminal, the task processing device provided in the embodiment of the present invention is described, and the task processing device described below may be considered as a functional module that is required by the terminal to implement the task processing method provided in the embodiment of the present invention. The contents of the task processing device described below and the contents of the task processing method described above may be referred to in correspondence with each other.
In an alternative implementation, fig. 5 shows an alternative block diagram of a task processing device provided in an embodiment of the present invention, and as shown in fig. 5, the task processing device may include:
an interface display module 300, configured to display a current interface, where the current interface at least includes an input interface for inputting information;
a detection module 310, configured to detect a character input by a user in the input box, and determine whether the character matches a set function character, where the set function character is used to call an instruction menu or call a specified function;
a determining module 320, configured to, if the character matches the set function character, obtain a target instruction menu according to the user identity and/or the scene information of the user, where the target instruction menu is configured with at least one shortcut instruction, and one shortcut instruction is used to execute at least one task;
a target menu display module 330, configured to display the target instruction menu on the current interface;
and the target task execution module 340 is configured to determine a selected target instruction in the target instruction menu, and execute a corresponding target task according to the target instruction.
Optionally, in the task processing apparatus provided in the embodiment of the present invention, the user identity and/or the context information of the user includes: the user identity of the user, and/or the interface scene where the user is located; the target menu display module 330 is configured to, according to the user identity and/or the scene information of the user, obtain a target instruction menu, where the obtaining of the target instruction menu includes:
and acquiring a target instruction menu matched with the user identity and/or the interface scene according to the user identity of the user and/or the interface scene where the user is located.
Optionally, in the task processing apparatus provided in the embodiment of the present invention, the determining module 320, configured to determine whether the character matches a set function character includes:
judging whether the character input initial position of the input box inputs a set function character or not; if yes, matching the characters input in the input box by the user with the set function characters; if not, the characters input in the input box by the user are not matched with the set function characters.
Optionally, in the task processing apparatus provided in the embodiment of the present invention, the target task execution module 340, configured to determine the target instruction selected in the target instruction menu, includes:
determining a clicked target instruction in the target instruction menu;
or detecting an instruction selection character input in the input box, and selecting a target instruction matched with the instruction selection character from the target instruction menu according to the instruction selection character.
Optionally, in the task processing apparatus provided in the embodiment of the present invention, the target task execution module 340 is configured to execute the corresponding target task according to the target instruction, and includes:
if the target instruction is an instruction for setting a user state, setting the user state according to the target instruction;
or if the target instruction is a function calling instruction of the instant messaging software, calling a target function of the instant messaging software according to the target instruction, and displaying a function bar of the target function on the current interface or jumping to an interface corresponding to the target function to execute the target function.
Or if the target instruction is a data sharing instruction, displaying a selection item of the data to be shared according to the target instruction, selecting the shared target data according to the selection item, and sending the target data to a specified user or group chat.
In the following, from the perspective of a server, a task processing device provided in the embodiment of the present invention is described, and the task processing device described below may be considered as a functional module that is required by the server to implement the task processing method provided in the embodiment of the present invention. The contents of the task processing device described below and the contents of the task processing method described above may be referred to in correspondence with each other.
In an alternative implementation, fig. 6 shows an alternative block diagram of another task processing device provided in an embodiment of the present invention, and as shown in fig. 6, the task processing device may include:
a request obtaining module 400, configured to obtain a request for invoking an instruction menu, where the request carries a user identity and/or scene information of a user, and is sent by a terminal; the terminal sends the request to a server when detecting that the characters input by the user in the input box are matched with the set function characters;
a target menu obtaining module 410, configured to obtain a target instruction menu according to the user identity and/or the scene information of the user; the target instruction menu is configured with at least one shortcut instruction, and one shortcut instruction is used for executing at least one task;
a feedback module 420, configured to feed back the target instruction menu to the terminal, so that the terminal displays the target instruction menu.
Optionally, the shortcut instruction in the target instruction menu corresponds to application capability of a third party, and the application capability of the third party is accessed through an application open platform; or the shortcut instruction in the target instruction menu corresponds to the application capability of the instant messaging platform.
The embodiment of the invention also provides a server, which can deploy the service for task processing so that a plurality of objects can access the service to participate in the task processing; specifically, the server may implement the task processing method executed by the server angle provided by the embodiment of the present invention by loading the task processing device described in the server angle. In an alternative implementation, fig. 7 shows an alternative block diagram of the server, and as shown in fig. 7, the server may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the present invention, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 complete mutual communication through the communication bus 4.
Alternatively, the communication interface 2 may be an interface of a communication module for performing network communication.
Alternatively, the processor 1 may be a CPU (central Processing Unit), a GPU (Graphics Processing Unit), an NPU (embedded neural network processor), an FPGA (Field Programmable Gate Array), a TPU (tensor Processing Unit), an AI chip, an ASIC (Application Specific Integrated Circuit), or one or more Integrated circuits configured to implement the embodiments of the present invention.
The memory 3 may comprise high-speed RAM memory and may also comprise non-volatile memory, such as at least one disk memory.
The memory 3 stores one or more computer-executable instructions, and the processor 1 calls the one or more computer-executable instructions to execute the task processing method provided by the embodiment of the invention.
It should be noted that, in the embodiment of the present invention, referring to an optional block diagram of a server shown in fig. 8, functional modules such as an instruction registration module, a completion recommendation module, a rule engine module, a configuration center module, an instruction routing module, and the like may be configured in the server to implement the task processing method, and meanwhile, a native OpenAPI (open application programming interface), an extranet gateway, and a connector are used to implement corresponding interactions, for example, an interaction with a third-party instruction application, an interaction with an enterprise/organization self-established shortcut instruction application, an interaction with a self-organization instruction application, and the like.
The embodiment of the invention also provides a terminal, which comprises at least one memory and at least one processor, wherein the memory stores one or more computer executable instructions, and the processor calls the one or more computer executable instructions to execute the task processing method executed by the terminal angle.
Specifically, referring to an alternative block diagram of a terminal shown in fig. 9, the terminal may further be provided with modules such as a typing detection module, an automatic completion module, and a trigger for determining a shortcut instruction, where the typing detection module is configured to detect a typed character, the automatic completion module is configured to complete the typed character, and the trigger is configured to trigger a corresponding instruction based on the entered character. Meanwhile, the SDK (software development kit) may further include a specific configuration for determination of the shortcut instruction, a general configuration for a normal function, and a software development kit for data synchronization.
The terminal can interact with the server based on the access stratum.
The embodiment of the present invention further provides a storage medium, where the storage medium may store one or more computer-executable instructions, and when the one or more computer-executable instructions are executed, the method for processing the task executed by the terminal angle provided in the embodiment of the present invention is implemented, or the method for processing the task executed by the server angle provided in the embodiment of the present invention is implemented.
The embodiment of the invention also provides a computer program, and when the computer program is executed, the task processing method provided by the embodiment of the invention is realized.
While various embodiments of the present invention have been described above, various alternatives described in the various embodiments can be combined and cross-referenced without conflict to extend the variety of possible embodiments that can be considered disclosed and disclosed in connection with the embodiments of the present invention.
Although the embodiments of the present invention have been disclosed, the present invention is not limited thereto. Various changes and modifications may be effected by one skilled in the art without departing from the spirit and scope of the invention, as defined in the appended claims.

Claims (11)

1. A task processing method comprises the following steps:
displaying a current interface, wherein the current interface at least comprises an input box for inputting information;
detecting characters input by a user in the input box, and judging whether the characters are matched with set function characters, wherein the set function characters are used for calling an instruction menu or calling a specified function;
if the characters are matched with the set functional characters, acquiring a target instruction menu according to the user identity and/or scene information of the user, wherein the target instruction menu is configured with at least one shortcut instruction, and one shortcut instruction is used for executing at least one task;
displaying the target instruction menu on the current interface;
and determining a selected target instruction in the target instruction menu, and executing a corresponding target task according to the target instruction.
2. The method of claim 1, wherein the obtaining a target instruction menu according to the user identity and/or context information of the user comprises:
acquiring a target instruction menu matched with the authority of the user identity according to the user identity of the user;
and/or acquiring a target instruction menu matched with the interface scene according to the interface scene where the user is located.
3. The method of claim 1, wherein said determining whether the character matches a set function character comprises:
judging whether the character input initial position of the input box inputs a set function character or not; if yes, matching the characters input in the input box by the user with the set function characters; and if not, the characters input in the input box by the user are not matched with the set function characters.
4. The method of claim 1, wherein the determining a target instruction selected in the menu of target instructions comprises:
determining a clicked target instruction in the instruction menu;
or detecting an instruction selection character input in the input box, selecting a target instruction matched with the instruction selection character from the instruction menu according to the instruction selection character.
5. The method of claim 1, wherein the executing the corresponding target task according to the target instruction comprises:
if the target instruction is an instruction for setting a user state, setting the user state according to the target instruction;
or if the target instruction is a function calling instruction of the instant messaging software, calling a target function of the instant messaging software according to the target instruction, and displaying a function bar of the target function on the current interface or jumping to an interface corresponding to the target function to execute the target function;
or if the target instruction is a data sharing instruction, displaying a selection item of the data to be shared according to the target instruction, selecting the shared target data according to the selection item, and sending the target data to a specified user or group chat.
6. The method of claim 1, wherein the current interface is a chat interface, a search interface, an online text entry interface, an entry interface for calendar settings, an entry interface during a task approval process, or an entry interface during a mail composition process.
7. A task processing method comprises the following steps:
acquiring a request for calling an instruction menu sent by a terminal, wherein the request carries user identity and/or scene information of a user; the terminal sends the request to a server when detecting that the characters input by the user in the input box are matched with the set function characters;
acquiring a target instruction menu according to the user identity and/or the scene information of the user; the target instruction menu is configured with at least one shortcut instruction, and one shortcut instruction is used for executing at least one task;
and feeding back the target instruction menu to the terminal so that the terminal can display the target instruction menu.
8. The method of claim 7, wherein the shortcut command in the target command menu corresponds to an application capability of a third party, and the application capability of the third party is accessed through an application open platform; or the shortcut instruction in the target instruction menu corresponds to the application capability of the instant messaging platform.
9. A terminal comprising at least one memory storing one or more computer-executable instructions and at least one processor invoking the one or more computer-executable instructions to perform the task processing method of any of claims 1-6.
10. A server comprising at least one memory storing one or more computer-executable instructions and at least one processor invoking the one or more computer-executable instructions to perform the task processing method of any of claims 7-8.
11. A storage medium having stored thereon one or more computer-executable instructions which, when executed, implement a method of task processing according to any one of claims 1 to 6 or a method of task processing according to any one of claims 7 to 8.
CN202210982384.6A 2022-03-22 2022-08-16 Task processing method, terminal and storage medium Pending CN115334199A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210284730 2022-03-22
CN2022102847303 2022-03-22

Publications (1)

Publication Number Publication Date
CN115334199A true CN115334199A (en) 2022-11-11

Family

ID=83923654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210982384.6A Pending CN115334199A (en) 2022-03-22 2022-08-16 Task processing method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115334199A (en)

Similar Documents

Publication Publication Date Title
US9652123B2 (en) Technique for enabling multiple actions to be performed on an active data item
CN105871690B (en) Method and device for realizing instant messaging
CN111857500B (en) Message display method and device, electronic equipment and storage medium
CN110519461B (en) File transmission method, device, computer equipment and storage medium
WO2013085570A2 (en) Seamless collaboration and communication
CN111654429A (en) To-do-list creating method, display method, terminal device and storage medium
US11630688B2 (en) Method and apparatus for managing content across applications
US11334221B2 (en) Left rail corresponding icon for launching apps within the context of a personal information manager
CN111324262B (en) Application interface control method, device, terminal and medium
CN110971424B (en) Message processing method, device and system, computer equipment and storage medium
CN112187624A (en) Message reply method and device and electronic equipment
CN112181351A (en) Voice input method and device and electronic equipment
CN115334199A (en) Task processing method, terminal and storage medium
CN115361354A (en) Message processing method and device, electronic equipment and readable storage medium
US10635268B2 (en) Layered content selection
EP3625743B1 (en) Automatic clean-up and sharing of image content
CN112291420A (en) Message display method and terminal equipment
CN116360652A (en) Message interaction method, device, equipment, storage medium and program product
CN114979060A (en) Information transmission method and information transmission device
CN115102916A (en) Task processing method, electronic system and storage medium
CN114416267A (en) Information processing method and device and electronic equipment
CN115883712A (en) Information display method and device, electronic equipment and readable storage medium
CN115883498A (en) Group message processing method and device
CN116600041A (en) Information sharing method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination