Application calling method and device, computer equipment and storage medium

By obtaining the application information and confidence in the instructions in the large language model service platform, the application is applied to the application under different modes based on the confidence, and the application calls that need to be applied in the existing technology to achieve the problem of the interface configuration. And system extension.

CN119376808AInactive Publication Date: 2025-01-28MATTER INNOVATION PTE LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311830720.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2025-01-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When calling applications, the existing large language model service platform needs to query the application interface configuration agreed in advance, resulting in poor scalability and unable to support large-scale access to new applications.

Method used

By obtaining the application information and confidence in the instructions entered by the user, the application is applied according to different modes according to the confidence, and the application interface configuration is not required. Specifically, when the confidence reaches the preset threshold, the application is used to call the application with the first mode (background operation mode); when the confidence does not reach the preset threshold, the application is used to call the application in the second mode (front desk operation mode).

Benefits of technology

Improved the execution efficiency of instructions, saved power consumption, and supported a large number of new applications, which enhanced the scalability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119376808A_ABST
    Figure CN119376808A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses an application calling method and device, computer equipment and a storage medium. The method comprises the steps that an instruction input by a user is responded, the instruction is analyzed, application information and confidence in the instruction are obtained, and the confidence represents the explicit degree of information covered by the instruction; judging whether the confidence degree reaches a preset threshold value or not; under the condition that the confidence degree reaches the preset threshold value, calling an application program pointed by the application information by utilizing a first mode; under the condition that the confidence degree does not reach the preset threshold value, a second mode is used for calling an application program pointed by the application information, and the second mode is different from the first mode. According to the method, application interface configuration does not need to be agreed, the application program is called in different modes according to the confidence coefficient and the application information, the expansibility is high, and large-batch access of new applications can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an application calling method, device, computer equipment and storage medium. Background Art

[0002] In recent years, major Internet companies, hardware manufacturers, and research institutions have invested heavily in the development of their own large-scale language model service platforms. These products have outstanding natural language understanding and generation capabilities.

[0003] However, when existing large-scale language model service platforms call corresponding applications according to natural language instructions input by users, they cannot directly call the applications, but instead query the pre-agreed application interface configuration and use the application interface configuration to call the application to execute the natural language instructions. This method is not conducive to expansion and is not conducive to the large-scale access of new applications. Summary of the invention

[0004] In view of this, the present invention provides an application calling method to solve the problem that the existing way of calling applications requires calling applications through application interface configuration, which is not conducive to expansion and is not conducive to large-scale access of new applications.

[0005] In a first aspect, the present invention provides an application calling method, the method comprising:

[0006] In response to an instruction input by a user, the instruction is parsed to obtain application information and confidence in the instruction, wherein the confidence indicates the clarity of information covered by the instruction;

[0007] Determining whether the confidence level reaches a preset threshold;

[0008] When the confidence reaches the preset threshold, calling the application pointed to by the application information using the first mode;

[0009] When the confidence level does not reach the preset threshold, the application program pointed to by the application information is called using a second mode, wherein the second mode is different from the first mode.

[0010] The application calling method provided in this embodiment obtains application information and confidence in the instruction, and calls the application program in different modes according to the confidence of the instruction. There is no need to agree on the application interface configuration, and the method has strong scalability and can meet the needs of large-scale access of new applications.

[0011] In an optional implementation, the calling the application pointed to by the application information by using the first mode includes:

[0012] In the first mode, the application is started so that the application obtains first parameter information in the instruction and executes the instruction based on the first parameter information.

[0013] The application calling method of this embodiment calls the application program in different modes according to the confidence level of the instruction, thereby improving the execution efficiency of the instruction and saving power consumption.

[0014] In an optional implementation, the using the second mode to call the application pointed to by the application information includes:

[0015] In the second mode, the application is started so that the application obtains second parameter information in the instruction, and when the second parameter information meets the execution requirement, the instruction is executed based on the second parameter information.

[0016] The application calling method of this embodiment calls the application program in different modes according to the confidence level of the instruction, thereby improving the execution efficiency of the instruction and saving power consumption.

[0017] In an optional implementation, the calling the application pointed to by the application information by using the second mode further includes:

[0018] In the second mode, the application is started to enable the application to obtain the second parameter information in the instruction. If the second parameter information cannot meet the execution requirements, a first window pops up, and the first window is used to prompt the user to supplement the parameter information. Third parameter information is received, and it is determined whether the third parameter information meets the execution requirements. If the third parameter information meets the execution requirements, the instruction is executed based on the third parameter information. If the third parameter information cannot meet the execution requirements, the first window pops up, wherein the third parameter information is the parameter information supplemented by the user.

[0019] The application calling method of this embodiment calls the application program in different modes according to the confidence level of the instruction, thereby improving the execution efficiency of the instruction and saving power consumption.

[0020] In an optional embodiment, the method further includes:

[0021] When the application completes the instruction, determining whether a new instruction is received;

[0022] If no new instruction is received, the calling of the application is terminated.

[0023] The application calling method of this embodiment calls the application program in different modes according to the confidence level of the instruction, thereby improving the execution efficiency of the instruction and saving power consumption.

[0024] In an optional embodiment, the method further includes:

[0025] When a new instruction is received, the new instruction is parsed to obtain application information and confidence in the new instruction, wherein the confidence indicates the clarity of information covered by the new instruction;

[0026] Determining whether the confidence level reaches a preset threshold;

[0027] When the confidence reaches the preset threshold, calling the application pointed to by the application information using the first mode;

[0028] When the confidence level does not reach the preset threshold, the application program pointed to by the application information is called using a second mode, wherein the second mode is different from the first mode.

[0029] The application calling method of this embodiment calls the application program in different modes according to the confidence level of the instruction, thereby improving the execution efficiency of the instruction and saving power consumption.

[0030] In an optional embodiment, the method further includes:

[0031] In response to a confirmation operation by the user, the execution result of the instruction is confirmed.

[0032] In an optional implementation, the instruction is a voice instruction.

[0033] In a second aspect, the present invention provides an application calling device, the device comprising:

[0034] An instruction parsing module, configured to parse the instruction in response to the instruction input by the user, and obtain application information and confidence in the instruction, wherein the confidence indicates the clarity of the information covered by the instruction;

[0035] A confidence judgment module, used to judge whether the confidence reaches a preset threshold;

[0036] A first mode calling module, configured to call the application pointed to by the application information using a first mode when the confidence reaches the preset threshold;

[0037] The second mode calling module is used to call the application pointed to by the application information using a second mode when the confidence level does not reach the preset threshold, wherein the second mode is different from the first mode.

[0038] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the application calling method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0039] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the application calling method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 is a flowchart of an application calling method according to an embodiment of the present invention;

[0042] Figure 2 is a flowchart of another application calling method according to an embodiment of the present invention;

[0043] Figure 3 is a flowchart of another application calling method according to an embodiment of the present invention;

[0044] Figure 4 is a structural block diagram of an application calling device according to an embodiment of the present invention;

[0045] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0047] Large language model service platforms can be used as AI (Artificial Intelligence) assistants. In related technologies, when large language model service platforms call corresponding applications according to natural language instructions input by users, they cannot directly call applications, but instead query the application interface configuration agreed in advance and use the application interface configuration to call applications to execute natural language instructions. This method is not conducive to expansion, nor is it conducive to the large-scale access of new applications.

[0048] The embodiment of the present invention provides an application calling method, which obtains application information and confidence in an instruction, calls the application program in different modes according to the confidence information, does not require an agreed application interface configuration, has strong scalability, and can meet the needs of large-scale access of new applications.

[0049] According to an embodiment of the present invention, an application calling method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0050] In this embodiment, an application calling method is provided, which can be used in the above-mentioned mobile terminal, such as a central processing unit, a server, etc. Figure 1 is a flow chart of an application calling method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0051] Step S101, in response to an instruction input by a user, the instruction is parsed to obtain application information and confidence in the instruction.

[0052] The confidence level indicates the clarity of the information covered by the instruction. The instruction is a natural language instruction, and the user can input the instruction by voice or manually. The instruction is used to instruct the AI ​​assistant to call an application so that the application can perform the operation in the instruction.

[0053] AI assistants have excellent natural language understanding and generation capabilities. Through a large amount of corpus training, they can perform logical reasoning, judge the truth or falsehood of things, analyze the necessary information needed to execute instructions, etc.

[0054] In other words, the AI ​​assistant can parse the user's input commands based on the context and obtain the confidence level of the commands.

[0055] Step S102, determining whether the confidence level reaches a preset threshold.

[0056] After analyzing the confidence of the command, the confidence is judged to determine whether it reaches a preset threshold, where the preset threshold is obtained by the AI ​​assistant based on a large amount of corpus training.

[0057] Step S103: When the confidence reaches a preset threshold, the application pointed to by the application information is called using the first mode.

[0058] Among them, when the confidence reaches the preset threshold, it means that the confidence of the instruction is high and the information covered by the instruction is clear.

[0059] Among them, the first mode is the background operation mode, which means that there is no need to interact with the user.

[0060] When the confidence reaches a preset threshold, the application program pointed to by the application information is called in the background running mode.

[0061] Step S104: When the confidence level does not reach the preset threshold, the application pointed to by the application information is called using the second mode.

[0062] Among them, the second mode is different from the first mode.

[0063] If the confidence level does not reach the preset threshold, it means that the confidence level of the instruction is low and the information covered by the instruction is not clear enough.

[0064] Among them, the second mode is the foreground operation mode, which means that it may interact with the user.

[0065] When the confidence level does not reach a preset threshold, the application program pointed to by the application information is called in the foreground running mode.

[0066] The application calling method provided in this embodiment obtains application information and confidence in the instruction, and calls the application program in different modes according to the confidence of the instruction. There is no need to agree on the application interface configuration, and the method has strong scalability and can meet the needs of large-scale access of new applications.

[0067] It should be noted that the application calling method of this embodiment calls the application program in different modes according to the confidence level of the instruction, thereby improving the execution efficiency of the instruction and saving power consumption.

[0068] In this embodiment, an application calling method is provided, which can be used in the above-mentioned mobile terminal, such as a central processing unit, a server, etc. Figure 2 is a flow chart of an application calling method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0069] Step S201: In response to the instruction input by the user, the instruction is parsed to obtain the application information and confidence level in the instruction. Figure 1Step S101 of the illustrated embodiment will not be described in detail here.

[0070] Step S202, determining whether the confidence level reaches a preset threshold.

[0071] For details, please see Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0072] Step S203: When the confidence reaches a preset threshold, the application pointed to by the application information is called using the first mode.

[0073] Specifically, the above step S203 includes:

[0074] Step S2031: in the first mode, start the application program so that the application program obtains the first parameter information in the instruction and executes the instruction based on the first parameter information.

[0075] Among them, in the first mode, the information covered by the instruction is more clear, and the application can execute the instruction according to the first parameter information in the instruction.

[0076] After acquiring the first parameter information in the instruction, the application executes the instruction based on the first parameter information.

[0077] In order to more clearly explain the above-mentioned use of the first mode to call the application pointed to by the application information, an exemplary description is given in conjunction with the following example.

[0078] For example, the user's instruction is "set an alarm for me at 10 o'clock tomorrow morning";

[0079] The AI ​​assistant parses the command and determines the confidence level of the command. Since the information contained in the command is relatively clear, the AI ​​assistant determines that the confidence level reaches the preset threshold, and therefore calls the alarm clock application in the background operation mode.

[0080] The application obtains the first parameter information as 10 o'clock tomorrow morning;

[0081] After the AI ​​assistant starts and initializes the alarm clock application, the alarm clock application sets an alarm for 10 o'clock tomorrow morning according to the first parameter information;

[0082] After the alarm is set, the AI ​​assistant determines that the command execution has ended, ends the call to the alarm application, and recycles system resources.

[0083] Step S204: When the confidence level does not reach the preset threshold, the application pointed to by the application information is called in the second mode.

[0084] Specifically, the above step S204 includes:

[0085] Step S2041, in the second mode, starting the application so that the application obtains second parameter information in the instruction, and executes the instruction based on the second parameter information when the second parameter information meets the execution requirement.

[0086] Among them, in the second mode, the information covered by the instruction is less clear, and the application may not be able to execute the instruction according to the second parameter information in the instruction.

[0087] Since the information covered by the instruction is less clear, the application needs to determine whether the second parameter information can meet the requirements for executing the instruction. When the second parameter information can meet the requirements for executing the instruction, the application executes the instruction based on the second parameter information.

[0088] Step S2042, in the second mode, start the application so that the application obtains the second parameter information in the instruction. When the second parameter information cannot meet the execution requirements, the first window pops up, and the first window is used to prompt the user to supplement the parameter information, receive the third parameter information, and determine whether the third parameter information meets the execution requirements. When the third parameter information meets the execution requirements, the instruction is executed based on the third parameter information. When the third parameter information cannot meet the execution requirements, the first window pops up.

[0089] The third parameter information is the parameter information supplemented by the user.

[0090] When the second parameter information cannot meet the requirements for executing the instruction, the user is required to supplement the parameter information.

[0091] It should be noted that the first window may prompt the user with the parameter information to be supplemented, so that the user can supplement the parameter information according to the prompt.

[0092] Among them, after the user supplements the parameter information, the application obtains the complete supplemented parameter information and again determines whether the supplemented parameter information meets the execution requirements until the application can execute the instruction based on the supplemented parameter information.

[0093] The application calling method of this embodiment calls the application program in different modes according to the confidence level of the instruction, thereby improving the execution efficiency of the instruction and saving power consumption.

[0094] In some optional embodiments, the method further comprises:

[0095] Step a1: when the application completes the instruction, determine whether a new instruction is received.

[0096] Figure 3 FIG. 1 is a flow chart of an application calling method according to an embodiment of the present invention. Figure 3 As shown,

[0097] When the application completes executing the instructions, the AI ​​assistant determines whether it has received new instructions, that is, whether the task is completed.

[0098] It should be noted that when a user requires an application to perform a task, multiple instructions may be required to complete it. Therefore, when the application completes an instruction, it is necessary to determine whether a new instruction has been received.

[0099] Step a2: if no new instruction is received, terminate the calling of the application.

[0100] like Figure 3 As shown, if no new instruction is received, it means that there is no need to call the application temporarily, the calling of the application is terminated, and the system resources are recovered.

[0101] Step a3, when a new instruction is received, the new instruction is parsed to obtain the application information and confidence in the new instruction, wherein the confidence indicates the clarity of the information covered by the new instruction, and whether the confidence reaches a preset threshold is determined; when the confidence reaches the preset threshold, the application pointed to by the application information is called using the first mode; when the confidence does not reach the preset threshold, the application pointed to by the application information is called using the second mode.

[0102] If a new instruction is received, the step of re-executing the new instruction for parsing is performed.

[0103] In some optional embodiments, the method further comprises:

[0104] Step b1, in response to the user's confirmation operation, confirm the execution result of the instruction.

[0105] When the application executes the instruction, the instruction is executed and the execution result is obtained. Figure 3 As shown, the execution result needs to be fed back to the user for confirmation. If the user approves the execution result of the instruction, the execution of the instruction is completed. If the user does not approve the execution result of the instruction, the execution of the instruction is canceled, and it is determined whether a new instruction is received and the new instruction is parsed.

[0106] For example: the user inputs the command "help me book the cheapest air ticket to Shanghai tomorrow";

[0107] The AI ​​assistant parses the command and determines the confidence level. Due to the lack of information such as the passenger information, specific flight time period, airline information, and acceptable price range, the AI ​​determines that the confidence level does not reach the preset threshold, so it will start the flight booking application in the second mode;

[0108] After the application is started and initialized, it begins to determine the existing parameter information. If it finds that the existing information is insufficient to complete the ticket order, a UI window will pop up to allow the user to fill in more information, such as passenger information, flight time period, airline screening, price range, etc. After collecting enough information, a flight that meets the requirements is selected and displayed to the user for confirmation. If the user agrees, the next order process will be automatically completed. If the user disagrees, the order will be canceled.

[0109] The AI ​​assistant determines whether the task is completed. If not, it continues to wait for the user to enter new instructions; if completed, it ends the call, recycles system resources, and the AI ​​assistant enters a dormant state.

[0110] The application calling method provided in this embodiment calls the application program in different modes according to the confidence level of the instruction, thereby improving the execution efficiency of the instruction and saving power consumption.

[0111] In this embodiment, an application calling device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0112] This embodiment provides an application calling device, such as Figure 4 As shown, including:

[0113] The instruction parsing module 401 is used to parse the instruction in response to the instruction input by the user, and obtain the application information and confidence level in the instruction, wherein the confidence level indicates the clarity of the information covered by the instruction.

[0114] The confidence determination module 402 is used to determine whether the confidence reaches a preset threshold.

[0115] The first mode calling module 403 is used to call the application pointed to by the application information using the first mode when the confidence reaches a preset threshold.

[0116] The second mode calling module 404 is used to call the application pointed to by the application information using a second mode when the confidence level does not reach a preset threshold, wherein the second mode is different from the first mode.

[0117] In some optional implementations, the first mode calling module 403 includes:

[0118] The first mode calling subunit is used to start the application in the first mode so that the application obtains the first parameter information in the instruction and executes the instruction based on the first parameter information.

[0119] In some optional implementations, the second mode calling module 404 includes:

[0120] The second mode calling subunit is used to start the application in the second mode so that the application obtains the second parameter information in the instruction, and executes the instruction based on the second parameter information when the second parameter information meets the execution requirements.

[0121] In some optional embodiments, the second mode calling sub-unit is also used to start the application in the second mode so that the application obtains the second parameter information in the instruction. If the second parameter information cannot meet the execution requirements, a first window pops up, and the first window is used to prompt the user to supplement the parameter information, receive third parameter information, and determine whether the third parameter information meets the execution requirements. If the third parameter information meets the execution requirements, the instruction is executed based on the third parameter information. If the third parameter information cannot meet the execution requirements, the first window pops up, wherein the third parameter information is the parameter information supplemented by the user.

[0122] In some optional embodiments, the device further comprises:

[0123] The instruction reception judgment module is used to judge whether a new instruction is received when the application completes the instruction.

[0124] The calling end module is used to end the calling of the application program when no new instruction is received.

[0125] In some optional embodiments, the device further comprises:

[0126] The step execution module is used to parse the new instruction upon receiving it, obtain the application information and confidence in the new instruction, wherein the confidence indicates the clarity of the information covered by the new instruction, and determine whether the confidence reaches a preset threshold. If the confidence reaches the preset threshold, the application pointed to by the application information is called using a first mode; if the confidence does not reach the preset threshold, the application pointed to by the application information is called using a second mode, wherein the second mode is different from the first mode.

[0127] In some optional embodiments, the device further comprises:

[0128] The execution result determination module is used to confirm the execution result of the instruction in response to the user's confirmation operation.

[0129] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0130] The application calling device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0131] The embodiment of the present invention also provides a computer device having the above Figure 4 The application shown calls the device.

[0132] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 501, memory 502, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Each component utilizes different buses to communicate with each other, and can be installed on a common mainboard or installed in other ways as required. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 501 is taken as an example.

[0133] The processor 501 may be a central processing unit, a network processor or a combination thereof. The processor 501 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0134] The memory 502 stores instructions executable by at least one processor 501, so that the at least one processor 501 executes the method shown in the above embodiment.

[0135] The memory 502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 502 may optionally include a memory remotely arranged relative to the processor 501, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0136] The memory 502 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 502 may also include a combination of the above types of memory.

[0137] The computer device also includes a communication interface 503, which is used for the computer device to communicate with other devices or a communication network.

[0138] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0139] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. An application calling method, characterized in that: The method comprises: In response to an instruction input by a user, the instruction is parsed to obtain application information and confidence in the instruction, wherein the confidence indicates the clarity of information covered by the instruction; Determining whether the confidence level reaches a preset threshold; When the confidence reaches the preset threshold, calling the application pointed to by the application information using the first mode; When the confidence level does not reach the preset threshold, the application program pointed to by the application information is called using a second mode, wherein the second mode is different from the first mode.

2. The method according to claim 1, characterized in that: The using the first mode to call the application pointed to by the application information includes: In the first mode, the application is started so that the application obtains first parameter information in the instruction and executes the instruction based on the first parameter information.

3. The method according to claim 1, characterized in that The using the second mode to call the application pointed to by the application information includes: In the second mode, the application is started so that the application obtains second parameter information in the instruction, and when the second parameter information meets the execution requirement, the instruction is executed based on the second parameter information.

4. The method according to claim 3, characterized in that The method of calling the application pointed to by the application information by using the second mode further includes: In the second mode, the application is started to enable the application to obtain the second parameter information in the instruction. If the second parameter information cannot meet the execution requirements, a first window pops up, and the first window is used to prompt the user to supplement the parameter information. Third parameter information is received, and it is determined whether the third parameter information meets the execution requirements. If the third parameter information meets the execution requirements, the instruction is executed based on the third parameter information. If the third parameter information cannot meet the execution requirements, the first window pops up, wherein the third parameter information is the parameter information supplemented by the user.

5. The method according to claim 2, characterized in that: The method further comprises: When the application completes the instruction, determining whether a new instruction is received; If no new instruction is received, the calling of the application is terminated.

6. The method according to claim 5, characterized in that The method further comprises: When a new instruction is received, the new instruction is parsed to obtain application information and confidence in the new instruction, wherein the confidence indicates the clarity of information covered by the new instruction; Determining whether the confidence level reaches a preset threshold; When the confidence reaches the preset threshold, calling the application pointed to by the application information using the first mode; When the confidence level does not reach the preset threshold, the application program pointed to by the application information is called using a second mode, wherein the second mode is different from the first mode.

7. The method according to claim 3, characterized in that The method further comprises: In response to a confirmation operation by the user, the execution result of the instruction is confirmed.

8. The method according to any one of claims 1 to 7, characterized in that: The command is a voice command.

9. An application calling device, characterized in that: The device comprises: An instruction parsing module, configured to parse the instruction in response to the instruction input by the user, and obtain application information and confidence in the instruction, wherein the confidence indicates the clarity of the information covered by the instruction; A confidence judgment module, used to judge whether the confidence reaches a preset threshold; A first mode calling module, configured to call the application pointed to by the application information using a first mode when the confidence reaches the preset threshold; The second mode calling module is used to call the application pointed to by the application information using a second mode when the confidence level does not reach the preset threshold, wherein the second mode is different from the first mode.

10. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the application calling method according to any one of claims 1 to 8 by executing the computer instructions.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the application calling method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Information processing method and device

    CN112306450A

  • Terminal equipment and automatic control method thereof

    CN113869296A

  • Voice instruction processing method, control system and intelligent sofa

    CN116416980A