An instruction display method and related device

By customizing and managing commands on electronic devices, the problem of cumbersome user operations is solved, enabling users to quickly find and use useful function pages.

CN120743149BActive Publication Date: 2026-04-17HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2024-08-28
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Users often find operating electronic devices cumbersome, struggling to find and use useful function pages. Existing technologies cannot dynamically add or delete commands, impacting user experience.

Method used

This invention provides a method for displaying instructions, allowing users to customize, edit, or hide instructions, dynamically add or delete instructions on electronic devices, and quickly find the desired instructions through a search application.

Benefits of technology

It improves the efficiency and experience of users using commands, allowing users to customize commands according to their needs and quickly find and open function pages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120743149B_ABST
    Figure CN120743149B_ABST
Patent Text Reader

Abstract

This application provides a command display method and related equipment, applicable to scenarios where electronic devices provide command services to users, where a command service is a service that directly opens a specific function page through a command. This method provides users with the ability to dynamically add or delete commands, allowing them to freely choose and use desired commands and delete unwanted ones; it provides users with a custom command service, facilitating the creation, editing, or deletion of existing commands; it provides recommended commands, especially those with high usage popularity and user satisfaction, helping users discover interesting and useful commands; and it provides a service to apply dynamically added or custom commands to search applications, enabling users to quickly find desired commands and open corresponding function pages within the search application. These solutions improve the efficiency of command usage, thereby enhancing the user experience of using electronic devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to an instruction display method and related equipment. Background Technology

[0002] Currently, electronic devices offer an increasing number of functions, and people are becoming more and more reliant on them for work, daily life, and other related activities. For example, electronic devices have an ever-growing number of applications installed, and almost every application can provide users with multiple different functions.

[0003] Taking mobile phones as an example, the pre-installed apps from manufacturers, plus the apps installed by users, typically fill 2-3 screens, sometimes even more. Furthermore, each app offers multiple functions. Therefore, finding and opening the relevant function pages for an app requires a particularly cumbersome process. At the same time, many apps offer overlapping functions. For example, navigation apps, ride-hailing apps, and payment apps can all offer ride-hailing functionality. Therefore, features that could significantly improve the user experience may not be used by users. Summary of the Invention

[0004] This application provides a method and related device for displaying instructions, which can improve the efficiency of users using instructions and enhance the user experience.

[0005] A first aspect provides a method for displaying instructions, applied to an electronic device, characterized in that the method includes: displaying a first interface, the first interface including first instruction display information and first instruction type information, the first instruction display information being associated with a first instruction, the first instruction being an entry point for opening a first function page, the first instruction display information including at least one of the following: a first name, a first icon, or a first description, wherein the first name is used to identify the first instruction, the first icon is associated with the first instruction, the first description is used to describe the first instruction, the first instruction type information indicates the type of the first instruction, the type of the first instruction including: an instruction defined by the local user, or an instruction recommended by the electronic device; if the first instruction is an instruction recommended by the electronic device, the first interface... The interface includes a first area, which includes first instruction display information and first instruction type information. The first interface also includes a first area and a second area. The content displayed in the second area is associated with the instructions configured on the electronic device. The first area and the second area are different. In response to a first operation on the first instruction display information, the second area displays the first instruction display information and the first instruction type information. Alternatively, if the first instruction is a user-defined instruction, the first interface also includes a first control. In response to a second operation on the first control, the first instruction display information and the first instruction type information are deleted from the first interface, or the first instruction display information is hidden from the first interface, or a second interface is displayed for editing the first instruction.

[0006] The above solution allows users to configure recommended commands on electronic devices, meaning users can add commands themselves. For user-defined commands, users can delete, edit, or hide them, allowing them to manage or delete commands independently. Compared to situations where users are forced to use or not use commands provided by electronic devices, this solution provides a dynamic command addition service, enabling users to freely choose and configure desired commands. This makes command functionality more tailored to user needs, significantly improving command efficiency and enhancing the user experience.

[0007] For example, the first interface can be an instruction marketplace interface or a search application interface with an instruction marketplace module. The first area is the recommendation page in the instruction marketplace interface or instruction marketplace module, and the second area is the area of ​​applied instructions, which is included in the "My" page in the instruction marketplace interface or instruction marketplace module.

[0008] In one possible embodiment, if the first instruction is an instruction recommended by the electronic device, the second area further includes a second control, and the method further includes: deleting the first instruction display information and the first instruction type information in the first area in response to a third operation on the second control.

[0009] The above solution provides users with a dynamic deletion command service, allowing them to freely choose to delete unwanted commands, improving interface display efficiency and the efficiency with which users can find the commands they want. Compared to situations where users cannot delete unwanted commands but they are constantly displayed on the interface for selection, this significantly improves the user experience.

[0010] In one possible embodiment, if the first instruction is an instruction recommended by the electronic device, the first area further includes a third control indicating that the first instruction is configured to the electronic device, the first operation includes clicking the third control, and the method further includes: in response to the first operation, updating the third control to a fourth control for executing the first instruction.

[0011] In the above solution, users add commands by clicking the third control, which then updates to become the control used to execute the command, allowing the user to carry it out. In other words, within the command marketplace, clicking the fourth control directly jumps to the corresponding function page, making the operation convenient and quick.

[0012] For example, the third control is an application control, and the fourth control is an open control. Executing the first instruction opens the first function page.

[0013] In one possible embodiment, if the first instruction is a user-defined instruction, the method further includes, before displaying the first interface, displaying a third interface, the third interface including a first area to be created, a second area to be created, and a fifth control, the first area to be created being associated with the first instruction display information, and the second area to be created being associated with a first function page; detecting an operation of inputting information in the first area to be created; detecting an operation of inputting information in the second area to be created; and displaying the first interface, including: displaying the first interface in response to a fourth operation of clicking the fifth control, the fifth control being used to confirm the information input in the third interface.

[0014] In other words, users can create custom commands by inputting and confirming the relevant information. This information includes details displayed on the interface and the redirection to the first functional page. Providing users with a custom command service allows them to freely create the commands they want, and compared to recommended commands, custom commands better meet user needs.

[0015] For example, the third interface is the command creation page, used to create user-defined commands. The fifth control is the save control.

[0016] In one possible embodiment, the first area to be created includes: a first input box and first input indication information, and / or, a second input box and second input indication information, wherein the first input indication information indicates that a name of a first instruction is entered in the first input box, and the second input indication information indicates that an icon associated with the first instruction is entered in the second input box. Detecting an operation of entering information in the first area to be created includes: detecting an operation of entering first text in the first input box and / or an operation of entering a first image in the second input box, wherein the first text is associated with a first name, and the first image is associated with a first icon.

[0017] In other words, users can set the name and icon of the command themselves.

[0018] In one possible embodiment, the second area to be created includes a third input box and third input indication information. The third input indication information indicates that an address for jumping to a function page is entered in the third input box. Detecting an operation of entering information in the second area to be created includes: detecting an operation of entering a first address in the third input box, the first address being used to jump to a first function page.

[0019] In other words, users can enter the URL of a feature page. This means users can obtain the URL of a feature page from the application's official website.

[0020] In one possible embodiment, when the first instruction is a user-defined instruction, the second interface includes a first editable area and a fifth control. The first editable area includes a first input box and a second input box. The first editable area is associated with the first instruction display information. The method further includes: detecting a fifth operation of editing information in the first editable area; and, in response to a sixth operation on the fifth control, displaying a fourth interface. The fourth interface includes second instruction display information and first instruction type information. The second instruction display information is different from the first instruction display information. The second instruction display information includes at least one of the following: a second name and a second icon, wherein the second name is used to identify the edited first instruction, and the second icon is associated with the edited first instruction. The fifth operation includes: entering second text in the first input box, and / or entering a second image in the second input box; or, the fifth operation includes: deleting the first text when the first input box displays the first text, or deleting the first image when the second input box displays the first image.

[0021] In other words, after a user creates a custom command, the system provides a service to edit the custom command, making it convenient for users to manage their custom commands flexibly and improving the efficiency of using commands.

[0022] For example, the fifth control is a save control.

[0023] In one possible embodiment, the second interface includes a second editable area, which includes a third input box. The second editable area is associated with the first functional page. The method further includes: detecting a seventh operation of editing information in the second editable area. The seventh operation includes: entering a second address in the third input box. The second address is used to jump to the second functional page. The second instruction display information is associated with a second instruction, which is the entry point to open the second functional page.

[0024] In other words, after a user creates a custom command, the system provides a service to edit the custom command, making it convenient for users to manage their custom commands flexibly and improving the efficiency of using commands.

[0025] In one possible embodiment, after the first instruction display information and the first instruction type information are hidden on the first interface, the method further includes: displaying a hidden area on the first interface; displaying a verification interface in response to an operation on the hidden area; and displaying the first interface when the verification interface indicates that the verification is successful, wherein the first interface displays the first instruction display information.

[0026] In other words, it provides users with the ability to hide custom commands, which can only be seen after verification, in order to enhance the security and privacy of custom commands.

[0027] In one possible embodiment, if the first instruction is a recommended instruction by the electronic device and after the first operation is detected, or if the first instruction is a user-defined instruction and before the second operation is detected, the method further includes: displaying a fifth interface, the fifth interface including a first search box; detecting an operation of entering a first search term in the first search box, the first search term being associated with the first instruction; displaying first instruction display information and first instruction type information on the fifth interface; and displaying a first function page in response to an operation on the first instruction display information.

[0028] The above solution allows users to search for related commands by entering a first search term, and clicking on the command directly opens the corresponding first function page. This improves the efficiency of command usage and enhances the user experience.

[0029] Optionally, if the first instruction is a recommended instruction by the electronic device, the fifth interface also displays an open control, which the user can use to open the first instruction.

[0030] For example, the fifth interface is the search application interface.

[0031] In one possible embodiment, the method further includes: displaying a sixth interface, the sixth interface including a second search box; detecting an operation of entering a second search term in the second search box, the second search term being associated with a third instruction; displaying third instruction display information, second instruction type information, and a sixth control on the sixth interface, wherein the third instruction display information is associated with a third instruction, the third instruction being an entry point to open a third function page, and the third instruction display information including at least one of the following: a third name, a third icon, or a third description, wherein the third name is used to identify the third instruction, the third icon is associated with the third instruction, the third description is used to describe the third instruction, the second instruction type information indicates that the third instruction belongs to an instruction recommended by the electronic device, and the sixth control indicates that the third instruction is configured to the electronic device.

[0032] The above solution allows users to search for commands using search terms, finding commands that haven't yet been configured on electronic devices. These commands can then be configured on the device via a sixth control within the current interface. In other words, even commands not yet configured on the device will be provided based on the search terms; and users can configure commands as they search, rather than having to navigate to the command marketplace. This improves the efficiency of command usage and enhances the user experience.

[0033] For example, the sixth interface is the search application interface. If the first and second search terms are the same, the fifth and sixth interfaces can be the same interface; that is, the third and first instructions related to the same search term are displayed on the same interface. The sixth control is an application control.

[0034] In one possible embodiment, the fifth interface further displays fourth instruction display information, wherein the fourth instruction display information is associated with the fourth instruction, the fourth instruction is associated with the first search term, the fourth instruction is the entry point to open the fourth function page, and the fourth instruction display information includes at least one of the following: a fourth name, a fourth icon, or a fourth description. The method further includes: displaying the fourth function page in response to an operation on the fourth instruction display information, wherein the fifth interface does not include content indicating configuration, editing, or deletion of the fourth instruction.

[0035] It is understandable that this fourth instruction is statically or dynamically configured by the third-party application provider through the third-party application. Users cannot add, delete, or manage the fourth instruction.

[0036] In one possible embodiment, if the first instruction is an instruction recommended by an electronic device, the first instruction type information is specifically used to indicate the source of the first instruction. The source of the first instruction includes: the provider of the electronic device, or the provider of a third-party application, or a user database, wherein the user database is used to filter the instruction set based on the frequency of user use of the instruction and / or user evaluation of the instruction.

[0037] The above solution provides users with a rich source of recommended commands, which can meet user needs as much as possible. Furthermore, the user database is updated in real time based on user command data, thus dynamically providing interesting and useful commands.

[0038] For example, the user database is used to filter and obtain a set of instructions based on the frequency of user use of instructions and / or user evaluation of instructions, including: when the instruction usage data includes the instruction name and instruction usage time (optionally, also includes the instruction description), the user database is used to determine the usage popularity of the instruction based on the number of users using the instruction in the same time period; when the instruction usage data includes the instruction name and instruction rating (optionally, also includes the instruction description), the user database is used to determine the user satisfaction of the instruction based on the instruction rating; the user database is also used to filter and obtain a set of instructions based on usage popularity and / or user satisfaction.

[0039] In one possible embodiment, before displaying the first interface, the method further includes: in response to the operation of opening the first interface, obtaining first instruction configuration information from the cloud of the electronic device, writing the first instruction configuration information into the electronic device, the first instruction configuration information being used to configure a first instruction to the electronic device, the first instruction configuration information including a first name and a first address, the first address being used to jump to a first function page; before displaying the first instruction display information and the first instruction type information in the second area, the method further includes: in response to the first operation, determining a first search term based on the first instruction configuration information, and generating a first index based on the first search term, the first search term including a first keyword and / or a first synonym, the first search term being associated with the first function page, the first index being used to indicate the first instruction.

[0040] The above solution writes the instruction configuration information received from the cloud into the electronic device and creates an index for the instruction, so that the instruction can be directly searched in the search application interface, thereby improving the efficiency of the user in using the instruction.

[0041] In one possible embodiment, the second region further includes a second control, and the method further includes: in response to a third operation on the second control, deleting first instruction display information and first instruction type information in the first region, and deleting first index and first instruction configuration information.

[0042] In the above solution, after a user deletes a command on the interface, the corresponding index and configuration information will also be deleted.

[0043] In one possible embodiment, after displaying the first functional page, the method further includes: sending an instruction to a user database to use data, wherein the target instruction includes the first instruction.

[0044] The above solution sends instruction usage data to the user database after the user uses the instruction, so that the user database can filter popular or high-scoring instructions and recommend them to users using Honor devices. Moreover, this recommendation is dynamic and is not limited by the instructions configured in the electronic device at the factory, nor by the applications currently installed on the electronic device.

[0045] In one possible embodiment, if the first instruction is a user-defined instruction, the method further includes: obtaining first instruction configuration information from a first area to be created and a second area to be created; writing the first instruction configuration information into an electronic device; the first instruction configuration information is used to configure the first instruction to the electronic device; the first instruction configuration information includes a first name and a first address; the first address is used to jump to a first function page; determining a second search term based on the first instruction configuration information; and generating a second index based on the second search term; the second search term includes a second keyword and / or a second synonym; the second search term is associated with the first function page; and the second index is used to indicate the first instruction.

[0046] The above solution obtains the command configuration information of the custom command based on the information created by the user, and creates an index for the custom command so that it can be directly searched in the search application interface, thereby improving the efficiency of the user in using commands.

[0047] In one possible embodiment, if the first instruction is a user-defined instruction, the method further includes: during the creation of the first instruction, determining first instruction configuration information based on user input, and generating a second index based on the first instruction configuration information, wherein the first instruction configuration information is used to configure the first instruction to the electronic device, and the second index is used to indicate the first instruction; detecting a fifth operation of editing information in a first editable area, and / or detecting a seventh operation of editing information in a second editable area; in response to a sixth operation on a fifth control, obtaining second instruction configuration information from the first editable area and the second editable area, wherein the second instruction configuration information is different from the first instruction configuration information, updating the first instruction configuration information to the second instruction configuration information; and updating the second index to a third index based on the second instruction configuration information, wherein the third index is used to indicate the second instruction.

[0048] The above solution allows users to continue editing their existing custom commands, improving the efficiency of using command functions.

[0049] In one possible embodiment, if the first instruction display information and the first instruction type information are deleted from the first interface, the method further includes: in response to a second operation, deleting the second index and the first instruction configuration information.

[0050] In the above solution, after a user deletes a command on the interface, the corresponding index and configuration information will also be deleted.

[0051] In one possible embodiment, after generating a first index based on a first search term, the method further includes: displaying a fifth interface, the fifth interface including a first search box; detecting an operation of entering a first search term in the first search box; querying the associated index based on the first search term to obtain the first index; obtaining first instruction configuration information based on the first index; and displaying first instruction display information on the fifth interface based on the first instruction configuration information.

[0052] The above scheme, based on setting an index for the command, determines the command configuration information by matching search terms with the index, and then displays the first command to the user, so as to realize the display of commands according to the search terms entered by the user.

[0053] In one possible embodiment, the method includes: obtaining fourth instruction configuration information from a third-party application, the fourth instruction configuration information being used to configure a fourth instruction to an electronic device, the fourth instruction configuration information including a fourth name and a fourth address, the fourth address being used to jump to a fourth function page included in the third-party application; determining a third search term based on the fourth instruction configuration information, and generating a fourth index based on the third search term, the third search term including a third keyword and / or a third synonym, the fourth index being used to indicate the fourth instruction.

[0054] The above scheme, based on setting an index for the command, determines the command configuration information by matching search terms with the index, and then displays the first command to the user, so as to realize the display of commands according to the search terms entered by the user.

[0055] In one possible embodiment, obtaining third instruction configuration information from a third-party application includes: locating an Extensible Markup Language (XML) file with a preset identifier in the operating system of the electronic device; the XML file is associated with a fourth function page; the XML file is stored in the operating system during the installation of the third-party application; the preset identifier indicates that a fourth instruction can be created; the fourth instruction is the entry point for opening the fourth function page; parsing the XML file to obtain the third instruction configuration information; the third instruction configuration information is used to configure the fourth instruction on the electronic device.

[0056] In other words, based on the preset identifiers in the XML files within the third-party application installation package, it is determined that the XML files contain functional pages capable of setting commands, and the command configuration information is obtained by parsing the XML files. This allows the command configuration information to be configured on electronic devices via the third-party application.

[0057] In one possible embodiment, obtaining third instruction configuration information from a third-party application includes: the electronic device using the third-party application to obtain the third instruction configuration information from the cloud of the third-party application.

[0058] Correspondingly, the cloud platform of third-party applications can dynamically transmit new command configuration information to third-party applications, or instruct third-party applications to update or delete third-party command configuration information. In other words, compared to directly obtaining command configuration information from XML files, obtaining command configuration information from the cloud platform of third-party applications allows the third-party application provider to manage the commands, making command configuration more flexible.

[0059] In one possible embodiment, generating a fourth index based on a third search term and third instruction configuration information includes: generating a fourth index based on a third search term when preset conditions are met, wherein the preset conditions include: the electronic device is in a charging state, or the electronic device is in a screen-off state, or the time elapsed after the third instruction configuration information is written to the electronic device is greater than a preset time.

[0060] Understandably, since the battery is fully charged, building an index at this time can prevent the battery from draining too quickly and affecting the battery life of electronic devices.

[0061] This is understandable, as users generally require less RAM when the screen is off compared to when the screen is on. Even if the indexing process might consume CPU or RAM, the likelihood of it causing electronic devices to lag is very small. Furthermore, users rarely use their phones when the screen is off; therefore, indexing at this time will have virtually no impact on the smoothness of the user's phone usage.

[0062] In one possible embodiment, the method includes: receiving instruction status change information from the cloud of a third-party application using a third-party application; managing a fourth instruction based on the instruction status change information; wherein, if the instruction status change information indicates the deletion of the fourth instruction, managing the fourth instruction based on the instruction status change information includes: deleting a fourth index and third instruction configuration information; or, if the instruction status change information indicates the update of the fourth instruction, the instruction status change information further includes fifth instruction configuration information, which is associated with the fifth instruction, and managing the fourth instruction based on the instruction status change information includes: deleting the fourth index and third instruction configuration information, configuring the fifth instruction to an electronic device based on the fifth instruction configuration information, and generating a fifth index for indicating the fifth instruction configuration information.

[0063] Compared to static configuration via XML files, dynamically configuring directives grants users or third-party application providers greater authority, flexibility, and ease of operation. Furthermore, it allows for the separate updating or deletion of applications and the addition, updating, and deletion of directives, rather than requiring an application installation package update or deletion. This provides greater flexibility. For example, a directive might open a specific function page within a third-party application. If a user needs the application but no longer wants the directive, they can delete the directive without deleting the application. Conversely, if a third-party application provider wants to delete, update, or add a directive without updating the application, they can do so directly through the application itself.

[0064] In a second aspect, this application provides an electronic device including one or more processors and one or more memories; wherein the one or more memories are coupled to one or more processors, and the one or more memories are used to store computer program code, the computer program code including computer instructions, which, when executed by one or more processors, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof.

[0065] Thirdly, embodiments of this application provide a chip system applied to an electronic device. The chip system includes one or more processors, which are used to invoke computer instructions to cause the electronic device to perform the methods described in the first aspect and any possible implementation thereof.

[0066] Fourthly, this application provides a computer-readable storage medium including instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof.

[0067] Fifthly, this application provides a computer program product containing instructions that, when the computer program product is run on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof.

[0068] Understandably, the electronic device provided in the second aspect, the chip system provided in the third aspect, the computer storage medium provided in the fourth aspect, and the computer program product provided in the fifth aspect are all used to execute the method provided in this application. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here. Attached Figure Description

[0069] Figure 1A scenario diagram illustrating one method of opening an instruction mart as provided in an embodiment of this application;

[0070] Figure 2 A scene diagram illustrating one display method of the instruction mart provided in an embodiment of this application;

[0071] Figure 3 Scenario diagrams illustrating other methods of opening the command mart provided in embodiments of this application;

[0072] Figure 4 A schematic diagram illustrating an example of the display method of the instruction mart provided in the embodiments of this application;

[0073] Figure 5 A schematic diagram illustrating yet another example of the display method of the instruction mart provided in the embodiments of this application;

[0074] Figure 6 A schematic diagram illustrating an example of entering a function page from an instruction, provided in an embodiment of this application;

[0075] Figure 7 A schematic diagram illustrating an example of searching for instructions in an instruction marketplace, provided in an embodiment of this application;

[0076] Figure 8 A schematic diagram illustrating an example of creating a custom instruction provided in an embodiment of this application;

[0077] Figure 9 A schematic diagram illustrating yet another example of creating custom instructions provided in an embodiment of this application;

[0078] Figure 10 A schematic diagram illustrating an example of the first control provided in an embodiment of this application;

[0079] Figure 11 A schematic diagram illustrating an example of an editable custom command provided in an embodiment of this application;

[0080] Figure 12 A schematic diagram illustrating an example of a deletion custom instruction provided in an embodiment of this application;

[0081] Figure 13 A schematic diagram illustrating an example of a hidden custom instruction provided in an embodiment of this application;

[0082] Figure 14 A schematic diagram illustrating an example of a batch deletion custom command provided in an embodiment of this application;

[0083] Figure 15 A schematic diagram illustrating an example of a search command provided in an embodiment of this application and an example of opening a corresponding function page using the command;

[0084] Figure 16A schematic diagram illustrating the categorized display of instructions related to search terms in the Honor Search application interface provided in this embodiment of the application;

[0085] Figure 17 A scenario architecture diagram illustrating the interaction between the electronic device provided in this application embodiment and various instruction sources;

[0086] Figure 18 A scenario architecture diagram for third-party instructions #2 and #3 provided in the embodiments of this application;

[0087] Figure 19 Interaction timing diagram of user search and use of third-party instruction #2 provided in the embodiments of this application;

[0088] Figure 20 A flowchart for constructing an index for third-party instruction #2 provided in this application embodiment;

[0089] Figure 21 Interaction timing diagram of user search and use of third-party instruction #3 provided in the embodiments of this application;

[0090] Figure 22 A flowchart for constructing an index for third-party instruction #3 provided in this application embodiment;

[0091] Figure 23 A scenario architecture diagram for third-party instruction #1 provided in an embodiment of this application;

[0092] Figure 24 The timing diagram of the interaction between the user and the third-party instructions #1 for searching, using and managing them is provided in the embodiments of this application;

[0093] Figure 25 A scenario architecture diagram for official instructions provided in the embodiments of this application;

[0094] Figure 26 Interaction timing diagrams for users searching for, using, and managing official commands provided in embodiments of this application;

[0095] Figure 27 A scenario architecture diagram for custom instructions provided in the embodiments of this application;

[0096] Figure 28 Interaction timing diagrams for user searching, using, creating, and managing custom instructions provided in embodiments of this application;

[0097] Figure 29 A scenario architecture diagram for instructions from a user database provided in an embodiment of this application;

[0098] Figure 30 An interaction timing diagram for users searching, using, and managing popular / high-scoring commands provided in an embodiment of this application;

[0099] Figure 31 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;

[0100] Figure 32 This is a block diagram of a software system for an electronic device provided in an embodiment of this application. Detailed Implementation

[0101] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0102] As described in the background section, the sheer number of applications and the overlapping functions they offer make it extremely cumbersome for users to find and access specific applications and their relevant functionalities. Furthermore, this can prevent users from utilizing features that could significantly enhance the user experience. Therefore, the abundance of applications and the overlapping functions they provide greatly reduce the efficiency with which electronic devices deliver functionality, negatively impacting the user experience.

[0103] To address the aforementioned issues, providing users with search command services and services that allow direct access to function pages via commands is a better solution. In this application, commands can be understood as entry points for directly accessing an application or a function page within an application. When a user clicks a command on the interface (e.g., displayed as a command display information), the electronic device directly jumps to the function page corresponding to that command. For example, this command corresponds to function page #A, which provides ride-hailing services, within a payment application. The user can directly click this command, and the electronic device will directly display function page #A, without needing to find the payment application on the desktop, open it, and then locate function page #A within the payment application.

[0104] However, in some related technologies, the instructions that electronic devices can provide to users are all pre-set at the factory. Users cannot dynamically add desired instructions or delete unwanted instructions. They can only be forced to use or not use the instructions provided by the electronic devices, which seriously affects the user experience.

[0105] In view of this, this application provides a method for displaying instructions, offering users the service of dynamically adding or deleting instructions, allowing users to freely choose to use desired instructions and delete unwanted ones; offering users the service of customizing instructions, facilitating users to freely create their own desired instructions, as well as edit or delete already created instructions; offering users the service of recommending instructions, especially those with high popularity and high user satisfaction, helping users discover interesting and useful instructions; and offering users the service of applying dynamically added or custom instructions to a search application, thereby enabling them to quickly find the desired instructions and open the corresponding function page in the search application.

[0106] The above solution can improve the efficiency of users using commands, while allowing users to add or delete commands according to their preferences and customize commands according to their needs, helping users discover interesting and useful commands, thereby greatly improving the user experience of using electronic devices.

[0107] In some embodiments, in a search application, in addition to providing instructions that have been applied to electronic devices based on the user's search terms, instructions that have not been applied to electronic devices are also recommended based on the user's search terms, which the user can freely add.

[0108] The above solution can improve the efficiency of user commands while recommending relevant commands that are currently applied to the electronic device based on the user's needs, which helps users find satisfactory commands and improves the user experience.

[0109] Before introducing the implementation methods of this application, some technical terms used in this application will be explained.

[0110] 1. Commands, command display information, and command type information.

[0111] In this application, a command can be understood as an entry point used to directly access an application or a function page of an application. When a user clicks a command on the interface (e.g., displayed as a command display message), the electronic device directly jumps to the function page corresponding to that command. For example, this command corresponds to function page #A in a payment application that provides ride-hailing services. When the user clicks the command directly, the electronic device directly displays function page #A.

[0112] The instructions displayed on the interface can be called instruction display information. For example, it may include one or more of the instruction name, instruction icon, and instruction description, and may also include other information, without limitation.

[0113] Instruction type information is used to indicate the source of the instruction, or in other words, to indicate the source of the instruction configuration information.

[0114] Source 1: Provider of terminal equipment.

[0115] For example, the command type information could be official commands. For instance, the terminal device provider sends the official application's command configuration information to the cloud of the electronic device, and the electronic device's cloud sends the official application's command configuration information back to the electronic device.

[0116] Source 2: Providers of third-party applications.

[0117] For example, instruction type information can be third-party instructions. Depending on the path the electronic device obtains instruction configuration information from the third-party application provider, instructions from the third-party application provider can be further divided into three categories.

[0118] Category 1: The third-party application provider sends the instruction configuration information of the third-party application to the cloud of the electronic device, and the cloud of the electronic device sends the instruction configuration information of the third-party application to the electronic device.

[0119] Category 2: When developing a third-party application, the provider stores the instruction configuration information in the application's installation package. Therefore, during the installation of the third-party application onto the electronic device, the electronic device obtains the instruction configuration information.

[0120] Category 3: After a third-party application is installed on an electronic device, the provider of the third-party application (such as the cloud of the third-party application) transmits the instruction configuration information to the third-party application, which then writes it into the electronic device.

[0121] Source 3, users.

[0122] For example, the instruction type information can be a custom instruction. For instance, the terminal device determines the instruction configuration information based on the information entered by the user when creating a custom instruction.

[0123] Source 4, user database.

[0124] Understandably, for instructions from sources 1 to 3, electronic devices will upload the instruction usage data of these instructions to the user database for processing.

[0125] For example, if the instruction usage data includes the instruction name and the time of use, the user database can determine the instruction's popularity based on the number of users who used the instruction within the same time period. As another example, if the instruction usage data includes the instruction name and its rating, the user database can determine user satisfaction with the instruction based on the rating. Therefore, the user database can also be used to filter target instructions based on popularity and / or user satisfaction.

[0126] For example, the instruction type information could be a high-scoring instruction or a trending instruction. For instance, the user database sends the filtered target instructions to the cloud on the terminal device, and the cloud then transmits the corresponding instruction configuration information back to the terminal device based on the target instructions.

[0127] 2. Configure or apply commands to electronic devices, update commands, and delete commands.

[0128] In this application, the prerequisite for being able to access the corresponding function page by means of an instruction is that the instruction is configured or applied on the electronic device. That is, the instruction configuration information of the instruction is written into the electronic device, such as into the search service application of the electronic device.

[0129] The instruction configuration information varies depending on the instruction category. Different instruction categories require configuration information that includes at least content related to the instruction display and the jump address to the corresponding function page. Specific examples of instruction configuration information will be provided in detail below.

[0130] In this application, the update instruction can be understood as updating the instruction configuration information configured on the electronic device, thereby updating the instruction display information and / or the jump address of the function page accordingly.

[0131] In this application, the deletion instruction can be understood as deleting the instruction configuration information configured on the electronic device, thereby updating the instruction display information and the jump address of the function page accordingly.

[0132] 3. Search commands.

[0133] In this application, after configuring a command to an electronic device, the search term associated with the command can be determined from the command configuration information. An index is then created for the command based on this search term, and this index is used to indicate the command. When a user enters a search term on the Honor search interface, the matching index is retrieved based on the search term, and the command corresponding to that index is displayed as a search result on the Honor search interface. Subsequently, the user can directly click on the command on the Honor search interface to open the corresponding function page.

[0134] In this application, multiple commands are displayed to the user in the form of a command mart. Users can freely add, delete, create, and edit commands in the command mart.

[0135] The instruction marketplace can be a standalone application, or it can be a module or a functional page of an application.

[0136] For example, the Command Marketplace is displayed as a module within the Honor Search app. In other words, the Command Marketplace can be accessed through the Honor Search app.

[0137] Figure 1 This is a scenario diagram illustrating one method of opening an instruction mart provided in an embodiment of this application.

[0138] like Figure 1 As shown in (a), a user's swipe gesture on the desktop is detected (for example only), and the following is displayed. Figure 1 The interface shown in (b) is shown in the image.

[0139] like Figure 1As shown in (b), the interface of the Honor Search application is displayed. This interface includes a command marketplace module (which can be considered one possible example of a first interface). The command marketplace module includes a recommendation sub-module. Within the recommendation sub-module, there are four first commands #1. These four first commands #1 are commands recommended by the electronic device.

[0140] In response to screen swiping, the following is displayed: Figure 1 The interface shown in (c) is shown in the image.

[0141] like Figure 1 As shown in (c), the instruction mart module also includes a submodule called "My". The "My" submodule includes one first instruction #2, which is a user-defined instruction and is located in the user-defined area; and one first instruction #1, which is a first instruction #1 that has been configured or applied to the electronic device and is located in the applied instruction area.

[0142] Will be combined below Figures 4 to 7 A detailed introduction to the instructions recommended by electronic devices.

[0143] Will be combined below Figures 8 to 14 A detailed introduction is provided for user-defined commands on this machine.

[0144] For example, the command marketplace is displayed as an application. That is, the command marketplace can be opened by opening this application.

[0145] Figure 2 A scene diagram illustrating one display method of the instruction mart provided in an embodiment of this application.

[0146] like Figure 2 As shown in (a), this interface (as an example of a first interface) includes a recommendation control and a "My" control. The recommendation control is displayed as selected, and the current interface displays the recommendation page. The recommendation page includes eight first instructions #1. These eight first instructions #1 belong to instructions recommended by the electronic device.

[0147] In response to the user clicking on my control, display as follows Figure 2 The interface shown in (b) is shown in the image.

[0148] like Figure 2 As shown in (b), this interface (as an example of a first interface) includes recommended controls and my controls. My controls are displayed as selected, and the current interface displays my page. My page includes one first instruction #2, which is a user-defined instruction and is located in the custom area; it also includes two first instructions #1, which are first instructions #1 that have been configured or applied to the electronic device and are located in the applied instructions area.

[0149] Will be combined below Figures 4 to 7 A detailed introduction to the instructions recommended by electronic devices.

[0150] Will be combined below Figures 8 to 14 A detailed introduction is provided for user-defined commands on this machine.

[0151] It should be noted that the names and display methods of the recommended controls and my controls are for illustrative purposes only and are not intended to be limiting.

[0152] Figure 3 This is a scenario diagram illustrating other methods of opening an instruction mart as provided in embodiments of this application. Figure 3 How to open the command mart when it is displayed as an application.

[0153] For example, such as Figure 3 As shown in (a), a user's swipe gesture on the desktop is detected (for example only), and the following is displayed. Figure 3 The interface shown in (b) is as follows. Figure 3 As shown in (b), the interface of the Honor Search application is displayed. This interface includes an application suggestion module, which contains an icon for the Command Market application. When a user clicks on this icon, the following is displayed: Figure 2 The interface shown in (a) is shown in the image.

[0154] For example, such as Figure 3 As shown in (c), clicking the application icon of the command marketplace on the desktop is detected, which opens the command marketplace and displays the following: Figure 2 The interface shown in (a) is shown in the image.

[0155] For example, such as Figure 3 As shown in (d), the Command Marketplace can also be accessed through the YOYO Smart Assistant. For example, after detecting the user's voice message "Hello YOYO, open the Command Marketplace," the following will be displayed: Figure 2 The interface shown in (a) is shown in the image.

[0156] Alternatively, the command marketplace can be accessed through other means, which are not limited in this application.

[0157] The following is combined with Figures 4 to 7 This section details how the command marketplace is displayed. First, it combines... Figures 4 to 7 The instructions recommended by electronic devices are described in detail. This is combined with... Figures 8 to 14 A detailed introduction is provided for user-defined commands on this machine.

[0158] Figure 4 This is a schematic diagram illustrating an example of the display method of the instruction mart provided in an embodiment of this application.

[0159] like Figure 4In the interface shown in (a), the recommendation page includes eight first instructions #1. Each first instruction #1 is associated with a first function page #1. The first instruction #1 includes first instruction display information #1 and first instruction type information #1, and also includes an instruction editing control #1.

[0160] The first instruction display information #1 includes a first name #1, a first icon #1, and a first description #1. The first name #1 is used to identify the first instruction #1, the first icon #1 can display content related to the first function page #1, the first name #1, or the first description #1, and the first description #1 is used to describe the first instruction #1.

[0161] For example, the third instruction in the current interface (referred to as instruction 3) displays the instruction name 3, icon 3, and description 3. For instance, instruction 3 might be associated with the image-based shopping function page of a shopping app; the instruction name 3 could be "image-based shopping," the icon 3 could be the shopping app's icon or content related to the image-based shopping function page, and the description 3 could be "scan product images to search for products."

[0162] The first instruction type information #1 indicates the type of the first instruction #1. The type of the first instruction #1 is an instruction recommended by the electronic device. For example, instructions recommended by the electronic device are displayed in the recommendation submodule.

[0163] For example, for instructions recommended by electronic devices, the first instruction type information #1 specifically indicates the source of the first instruction #1, that is, who provided the configuration information of the first instruction #1. For example, if the first instruction type information #1 is an official instruction, it means that the source of the first instruction is the provider of the terminal device or electronic device (corresponding to source 1 above). In other words, official instructions are generally used to open function pages in Honor's pre-installed applications (such as system applications). As another example, if the first instruction type information #1 is a third-party instruction, it means that the source of the first instruction is the provider of a third-party application (corresponding to class 1 in source 2 above). In other words, third-party instructions are generally used to open function pages in third-party applications. As yet another example, if the first instruction type information #1 is a high-scoring instruction, a trending instruction, a popular instruction, a fun instruction, or a high-value instruction, it means that the source of the first instruction is a user database (corresponding to source 4 above), where the user database is used to filter the instruction set based on the frequency of user use of instructions and / or user evaluation of instructions. Optionally, high-scoring instructions, high-value instructions, or fun instructions are obtained based on user evaluation of instructions. Optionally, trending search terms or popular terms are filtered based on the frequency with which users use the terms.

[0164] For example, instruction 3 also displays "Hot Search Instruction," indicating that instruction 3 is an instruction from the user database and is an instruction frequently used by users. The user database may consist of users from multiple providers of electronic devices.

[0165] It should be noted that the specific content of the first instruction type information #1 is for illustrative purposes only and is not intended to be limiting.

[0166] In other words, electronic devices can provide users with a wide variety of commands, especially those with high usage popularity and high user satisfaction. This helps users discover interesting and useful commands, increases the usage rate of functional pages on electronic devices, and provides users with as many functions as possible to improve the user experience.

[0167] Taking the second instruction (referred to as instruction 2) in the recommendation submodule as an example. Instruction 2's first instruction type information #1 is a third-party instruction, indicating that the source of this instruction is a third-party application provider. In other words, the first functional page #1 associated with instruction 2 belongs to a third-party application, such as the xxx coffee application. For example, the first functional page #1 associated with instruction 2 provides users with the function of grabbing half-price coffee coupons. Instruction 2's first instruction display information #1 includes instruction name 2, description 2, and icon 2. For example, instruction name 2 is "xxx coffee shop coupon," description 2 is "grab half-price coffee coupons every Wednesday," and icon 2 can be the icon of the xxx coffee application, a related image of the first functional page #1 associated with instruction 2, or an image of coffee; this application is not limited to these. Other instructions are similar and will not be elaborated further.

[0168] The instruction editing control #1 is used to edit the configuration state of the first instruction #1 on the electronic device. For example, the instruction editing control #1 can be displayed as an installation control, an application control, or an open control. The specific functions of the instruction editing control #1 will be described in detail below with reference to the accompanying drawings.

[0169] For example, the instruction editing control #1 is displayed as an installation control, indicating that the configuration status is that the first instruction #1 has not yet been configured or applied to the electronic device, and the application containing the first functional page #1 has not yet been installed on the electronic device. The installation control also instructs the user that if the user clicks the installation control, the application containing the first functional page #1 can be installed on the electronic device.

[0170] For example, instruction 3 also displays the installation control. This indicates that the shopping app corresponding to instruction 3 has not yet been installed on the electronic device.

[0171] For example, if a user clicks on the install control, the application on the first function page #1 will be installed, and the install control will be updated to the application control.

[0172] In response to the user clicking the install control in command 3, the following is displayed: Figure 4 The interface shown in (b) is shown in the image.

[0173] For example, the instruction editing control #1 is displayed as an application control (as a possible example of a third control), indicating that the configuration state is that the first instruction #1 has not yet been configured or applied to the electronic device, and the application containing the first functional page #1 has been installed on the electronic device. The application control also indicates to the user that if the user clicks the application control, the first instruction #1 can be applied or configured to the electronic device.

[0174] In other words, electronic devices provide users with a service to dynamically add commands, allowing users to freely choose and configure the commands they want to the electronic devices, making the command functions more in line with the user's needs.

[0175] like Figure 4 As shown in (b), the installation control for instruction 3 has been updated to an application control. This indicates that the image-based shopping function page corresponding to instruction 3 has not yet been configured on the electronic device.

[0176] In response to the user clicking on my control, display as follows Figure 4 The interface shown in (c) is shown in the image.

[0177] like Figure 4 As shown in (c) above, my page includes custom areas and areas with applied directives. The custom areas will be discussed in more detail below. Figures 8 to 14 The following is an introduction, starting with a look at the recommended page to illustrate the areas where commands have been applied.

[0178] It is understandable that the command marketplace includes a first area and a second area. For example, the first area is a recommendation page, and the second area is the applied commands area. The content displayed in the applied commands area is associated with commands that have been configured on the electronic device; for example, the applied commands area displays commands that have already been applied to the electronic device.

[0179] It should be noted that the first and second areas are on the same page. Optionally, the first and second areas can be displayed simultaneously, which is not limited in this application.

[0180] Figure 4 Instruction 3 is not displayed in the applied instruction area in (c) of the document.

[0181] In response to the user clicking the recommendation control, display as follows Figure 4 The interface shown in (d) is the one that returns you to. Figure 4 The interface shown in (b) is shown in the image.

[0182] For example, if a user clicks on an application control is detected, the first instruction #1 is applied or configured to the electronic device, and the application control is updated to open the control (as a possible example of a fourth control).

[0183] For example, the instruction editing control #1 is displayed as an open control, indicating that the configuration status is that the first instruction #1 has been configured or applied to the electronic device, and the application containing the first functional page #1 has been installed on the electronic device. The open control also indicates to the user that if the user clicks the application control, the first instruction #1 can be opened.

[0184] In response to the user's click command 3, the application control displays as follows: Figure 4 The interface shown in (e) is shown in the image.

[0185] like Figure 4 As shown in (e), the application control for instruction 3 has been updated to an open control. This indicates that the image-based shopping function page corresponding to instruction 3 has been configured on the electronic device.

[0186] In response to the user clicking on my control, display as follows Figure 4 The interface shown in (f) is shown in the figure.

[0187] like Figure 4 As shown in (f) of the diagram, the "Applied Instructions" area on my page displays Instruction 3, indicating that Instruction 3 is configured on the electronic device. For example, the first operation includes the user clicking the application control. Optionally, the first operation also includes the user clicking the install control.

[0188] The Applied Instructions area also displays other instructions that have been configured to the electronic device. For example, each instruction includes a delete control (as a possible example of a second control).

[0189] For example, if a user clicks on the delete control (as a possible example of a third operation), the first instruction display information and the first instruction type information are deleted from the first area.

[0190] In other words, providing users with a dynamic deletion command service allows them to freely choose to delete unwanted commands, improving interface display efficiency and the efficiency with which users can find the commands they want. This significantly improves the user experience compared to situations where unwanted commands are constantly displayed on the interface for users to choose from, even if they cannot be deleted.

[0191] In response to the user clicking the delete control in command 1, the following is displayed: Figure 4 The interface shown in (g) is shown in the image.

[0192] like Figure 4As shown in (g), the applied instruction area does not display instruction 1, indicating that instruction 1 is not configured on the electronic device, or in other words, the instruction configuration information of instruction 1 has been deleted.

[0193] In response to the user clicking the recommendation control, display as follows Figure 4 The interface shown in (h) is shown in the image.

[0194] like Figure 4 As shown in (h) in the recommended page, the instruction editing control #1 (as shown in the image) is... Figure 4 (as shown in (a), (b), (d), or (e)) is updated from an open control to an applied control.

[0195] Alternatively, in addition to deleting individual instructions, users can delete applied instructions in batches to improve the efficiency of instruction management.

[0196] Figure 5 This is a schematic diagram illustrating yet another example of the display method of the instruction marketplace provided in the embodiments of this application.

[0197] like Figure 5 As shown in (a) in the image, the Applied Commands area on my page includes Command 1, Command 6 and Command 3; the Applied Commands area also displays a one-click delete control.

[0198] In response to the user clicking the one-click delete control, the following is displayed: Figure 5 The interface shown in (b) is shown in the image.

[0199] like Figure 5 As shown in (b) in the figure, all instructions displayed in the applied instruction area have been deleted.

[0200] In response to the user clicking the recommendation control, display as follows Figure 5 The interface shown in (c) is shown in the image.

[0201] like Figure 5 As shown in (c), on the recommendation page, the open controls corresponding to commands 1, 6, and 3 are all updated to application controls. In other words, in response to the user's deletion of commands 1, 6, and 3, the configuration status of commands 1, 6, and 3 is updated to "not configured on the electronic device."

[0202] For example, if a user clicks on an application control is detected, the first function page #1 will be displayed.

[0203] Figure 6 This is a schematic diagram illustrating an example of entering a function page from an instruction, as provided in an embodiment of this application.

[0204] Figure 6 The interface shown in (a) is similar to Figure 4The interface shown in (a) is the same and will not be described again.

[0205] In response to the user clicking to open the control, display as follows Figure 6 (b) or as in Figure 6 The page shown in (c) is shown in the image.

[0206] like Figure 6 As shown in (b), the first function page #1 is displayed in full screen.

[0207] like Figure 6 As shown in (c), the first function page #1 is displayed as a floating window.

[0208] Alternatively, the first functional page #1 may be displayed in other forms, which is not limited in this application.

[0209] In other words, users can directly open commands in the command marketplace interface to access function pages, making the operation very quick.

[0210] Optionally, the command marketplace interface may also include a search box #1 for searching for the command the user wants from the commands recommended by the electronic device.

[0211] Figure 7 This is a schematic diagram illustrating an example of searching for instructions in an instruction marketplace, provided in an embodiment of this application.

[0212] like Figure 7 As shown in (a), the recommended page of the command marketplace interface is displayed, and the recommended page includes a search box #1.

[0213] In response to the user clicking the search box #1, the following is displayed: Figure 7 The interface shown in (b) is shown in the image.

[0214] like Figure 7 As shown in (b), a keyboard pops up, allowing the user to enter search terms.

[0215] like Figure 7 As shown in (c), in response to the user entering the search term Y and performing a search, the following is displayed: Figure 7 The interface shown in (d) is shown in the image.

[0216] like Figure 7 As shown in (d), the current recommendation page displays two instructions related to the search term Y: instruction Y1 and instruction Y2.

[0217] In other words, the command marketplace interface provides users with a command search function, which helps users quickly find the commands they want and apply or open them.

[0218] Figure 8This is a schematic diagram illustrating an example of creating a custom instruction provided in an embodiment of this application.

[0219] like Figure 8 As shown in (a) above, my page includes a custom area and a newly created control. The custom area does not display any instructions, indicating that the user has not yet created a custom instruction. For ease of explanation, the custom instruction to be created will be referred to as Instruction #2 below.

[0220] In response to the user clicking to create a new control, display as follows Figure 8 The interface shown in (b) is a possible example of a third interface.

[0221] like Figure 8 As shown in (b) above my page, the display command creates the page. For example, it can be displayed as a floating window, or it can be displayed in other forms, which are not limited in this application.

[0222] The instruction creation page includes a first area to be created (including first area to be created #1 and first area to be created #2), a second area to be created, a cancel control, and a save control (as a possible example of a fifth control).

[0223] The first area to be created is associated with the first instruction display information #2. For example, the first area to be created includes a first input box and first input indication information, and / or a second input box and second input indication information. The first input indication information indicates that the name of the first instruction #2 is entered in the first input box, and the second input indication information indicates that the icon associated with the first instruction #2 is entered in the second input box.

[0224] For example, such as Figure 8 As shown in (b), the "Instruction Name" in the first area to be created #1 indicates the name of the first instruction #2 to be entered; the "Icon" in the first area to be created #2 indicates the icon to be uploaded for the instruction to be created. For example, the first area to be created #2 includes an upload input box for uploading an image. The icon preview area is used to preview the uploaded image.

[0225] In one possible implementation, the instruction name is mandatory, while the icon is optional. The first area to be created, #2, also includes a switch 101, allowing the user to choose whether to upload an image as the icon. For example, if switch 101 is detected as "on," it means the user has chosen to upload an image as the icon. If switch 101 is detected as "off," the user does not need to upload an icon, and the created instruction will not display an icon.

[0226] The second area to be created is associated with the first functional page #2. The second area to be created includes a third input box and third input indication information, which indicates that the address used to jump to the functional page should be entered in the third input box.

[0227] For example, such as Figure 8 As shown in (b), the “Jump Address” in the second area to be created indicates the address to be entered to jump to the function page.

[0228] The cancel control is used to cancel the creation of this instruction, or in other words, to delete the information entered by the user on the instruction creation page.

[0229] The save control is used to confirm the creation of this instruction, or in other words, to confirm the information entered by the user on the instruction creation page, to save the information entered by the user on the instruction creation page, and to trigger the creation of the instruction based on that information.

[0230] For example, an operation of entering information in the first area to be created is detected. For instance, an operation of entering first text in the first input box and / or an operation of entering a first image in the second input box is detected, wherein the first text is associated with a first name #2 and the first image is associated with a first icon #2. An operation of entering information in the second area to be created is also detected. For instance, an operation of entering a first address in the third input box is detected, the first address being used to navigate to the first function page #2.

[0231] like Figure 8 As shown in (c), the user's input of "command name 5" in the first creation area #1 was detected, and the user's upload of an icon in the first creation area #2 was detected. The user's input of Http: / / abcd / efgh (for example only) in the second creation area was also detected.

[0232] It should be noted that, Figure 8 The information entered in (c) on the instruction creation page is just an example and is not limited.

[0233] In response to clicking the save control (as a possible example of a fourth action), display as follows: Figure 8 The interface shown in (d) is shown in the image.

[0234] like Figure 8 As shown in (d) in the image, the custom area on my page displays the created first instruction #2. First instruction #2 is associated with the first function page #2. First instruction #2 includes first instruction display information #2 and first instruction type information #2.

[0235] The first instruction display information #2 includes a first name #2 and a first icon #2. The first name #2 identifies the first instruction #2, and the first icon #2 can display content related to the first function page #2 or the first name #2. Optionally, the first instruction display information #2 also includes a first description #2. Accordingly, the instruction creation page provides the user with an input box to enter the instruction description.

[0236] The first instruction type information #2 indicates the type of the first instruction #2. The type of the first instruction #2 is a user-defined instruction (corresponding to source 3 above). For example, user-defined instructions are displayed in my submodule.

[0237] For example, the custom area displays instruction 5. Instruction 5 includes an icon 5 and an instruction name 5. Instruction 5 also includes "Custom Instruction," indicating that instruction 5 is a user-defined instruction.

[0238] For example, instruction name 5 could be the personal signature settings in the yyy social application, and icon 5 could be a screenshot of the personal signature settings page in the yyy social application.

[0239] In other words, providing users with custom commands allows them to freely create the commands they want. Compared to commands recommended to users, custom commands are better able to meet user needs.

[0240] like Figure 8 As shown in (e), the user's click on instruction 5 was detected, and the following was displayed: Figure 8 The interface shown in (f) is shown in the figure.

[0241] like Figure 8 As shown in (f), the first function page #2 is displayed. Similarly, the display method of the first function page #2 is the same as the display method of the first function page #1 above, and will not be repeated.

[0242] In other words, in the command marketplace, clicking on a command will directly jump to the corresponding function page, making the operation convenient and quick.

[0243] Optionally, the second area to be created also includes a first selection bar control and selection indicator information. Upon detecting a user's click on the first selection bar control, the first selection bar is displayed. The content to be selected in the first selection bar is associated with the third input box. For example, the selection indicator information indicates that a page type should be entered in the first selection bar. This page type refers to the display type of the functional page to be navigated to, including H5-based display or application-based display. It is understood that an H5 page is a web design format based on HTML5 technology, featuring high interactivity and visualization, and enabling seamless integration of various media elements, including images, audio, video, and animation. It is suitable for mobile devices and personal computers and is currently widely used in internet marketing, digital media, brand promotion, and other fields.

[0244] Figure 9 This is a schematic diagram illustrating yet another example of creating custom instructions provided in an embodiment of this application.

[0245] Figure 9 The interface shown in (a) is Figure 8 The interface shown in (c) is shown in the image.

[0246] like Figure 9 As shown in (a), “Page Type” is used to indicate the display type of the function page to be navigated to when selected in the first selection bar.

[0247] For example, the first selection bar control displays "Optional, default to H5," indicating that if the user does not click the first selection bar control, the function page to be redirected to will be displayed as an H5 page by default. Figure 8 In the interface shown in (c), no user click on the first selection bar control was detected, and the default function page to be redirected to is displayed as an H5 page. Accordingly, the user needs to enter the redirect address for the first function page #2, which is displayed as an H5 page, in the third input box. The address should be in the format of a web address.

[0248] In response to the user clicking the first selection bar control, the following is displayed: Figure 9 The interface shown in (b) is shown in the image.

[0249] like Figure 9As shown in (b), a first selection bar is displayed. This first selection bar includes an H5 control and an application control. The H5 control indicates that the first functional page #2 should be displayed as an H5 page. Correspondingly, the jump address can be entered in URL format. Assuming the application containing the first functional page #2 is called application #A, the application control indicates that the first functional page #2 should be displayed within application #A. Accordingly, the user needs to enter the jump address for the first functional page #2 displayed within the application in the third input box. This address can be in the format of a deep link. A deep link is a special type of uniform resource locator (URL) that can directly link to a specific page or location within an application without requiring manual navigation or searching by the user. Unlike traditional URLs, deep links can bypass the application's homepage or splash screen, directly taking users to content or features they are interested in. Regular users can find deep links to specific functional pages within the application on the application's official website. For example, the instruction creation page may also include a prompt message (optionally displayed when the user clicks on an application control) to prompt the user to go to the APP's official website to find the Deeplink on the first function page #2.

[0250] In response to the user clicking on an application control, display as follows Figure 9 The interface shown in (c) is shown in the image.

[0251] like Figure 9 As shown in (c), the first selection bar corresponding to "Page Type" displays "Application".

[0252] In response to the user clicking the third input box and entering "Xxxxxxx", the following will be displayed: Figure 9 The interface shown in (d) is shown in the image.

[0253] like Figure 9 As shown in (d) in the figure, “Xxxxxxx” represents a Deeplink format address.

[0254] In response to clicking the save control, the following is displayed: Figure 9 The interface shown in (e) is shown in the image.

[0255] like Figure 9 As shown in (e) in the image, in my page, the custom area display instruction 5 is shown. See [link / reference] for details. Figure 8 The description related to (d) in the text.

[0256] In response to a click command, display as follows Figure 9 The interface shown in (f) is shown in the figure.

[0257] like Figure 9 As shown in (f), the first functional page #2 is displayed in application #A.

[0258] In other words, the above text provides two possible implementation methods for the display format of the first functional page #2 and the format of the jump address entered on the instruction creation page for creating the first instruction #2. For example, the first functional page #2 can also be displayed in other forms such as a mini-program, which is not limited in this application.

[0259] For example, the custom area may also display a first control for the first instruction #2. This first control is used to manage the first instruction #2, such as editing, deleting, or hiding the first instruction #2.

[0260] Figure 10 A schematic diagram illustrating an example of a first control provided in an embodiment of this application.

[0261] like Figure 10 As shown in (a) of the image, in my page, a custom area displays operation controls (as a possible example of a first control).

[0262] In response to clicking the control, display as follows Figure 10 The interface shown in (b) is shown in the image.

[0263] like Figure 10 As shown in (b) of the diagram, a second selection bar is displayed below the operation controls on my page. The second selection bar includes an edit control, a delete control, and a privacy control. The edit control is used to edit the command display information or command configuration information of the first command #2; the delete control is used to delete the first command #2; and the privacy control is used to hide the first command #2.

[0264] Optionally, a one-click reset control is also displayed in the custom area of ​​my page.

[0265] It should be noted that the display format of the second selection bar is only an example. The second selection bar can also cover the display of the operation controls, or it can be displayed in other forms. This application does not limit it.

[0266] The following will combine Figures 11 to 14 This section provides a detailed introduction to the functions of the custom area display control.

[0267] Figure 11 A schematic diagram illustrating an example of an editable custom instruction provided in an embodiment of this application.

[0268] For example, in response to a second operation on the first control, a second interface is displayed, the second interface being used to edit the first instruction #2.

[0269] like Figure 11 As shown in (a) in the figure, the reference pair Figure 10 The description of the interface shown in (b) is as follows.

[0270] In response to the user clicking the edit control, display as follows Figure 11 The interface shown in (b) is a possible example of a second interface. For example, the second operation #1 includes: clicking an operation control and clicking an edit control.

[0271] like Figure 11 As shown in (b) above my page, the instruction editing page is displayed on a layer above the layer where my page is located. For example, it can be displayed as a floating window, or it can be displayed in other forms, which are not limited in this application.

[0272] The instruction editing page includes a first area to be edited (including first area to be edited #1 and first area to be edited #2), a second area to be edited, a cancel control, and a save control (as a possible example of a fifth control).

[0273] The first area to be edited is associated with the first instruction display information #2. For example, the first area to be edited includes a first input box and first input indication information, and / or a second input box and second input indication information. The first input indication information indicates that the name of the first instruction #2 is entered in the first input box, and the second input indication information indicates that the icon associated with the first instruction #2 is entered in the second input box.

[0274] The second editable area is associated with the first function page #2. The second editable area includes a third input box and third input instructions, which indicate that the address used to navigate to the function page should be entered in the third input box.

[0275] Optionally, the second editable area also includes a first selection bar control and selection indicator information. Upon detecting a user's click on the first selection bar control, the first selection bar is displayed. The content to be selected in the first selection bar is associated with the third input box.

[0276] It's understandable that the input boxes, input instructions, first selection bar, and selection instructions in the instruction creation page and instruction editing page can be considered identical. For details on the instruction editing page, please refer to the description of the instruction creation page above. The difference lies in the fact that the instruction creation page, which opens in response to the user clicking the create control, does not contain any input or selection information. For example, ... Figure 8As shown in (b); and in the instruction editing page opened in response to the user clicking the editing control, the information that has been entered or selected is displayed, which is the information of the instruction that has actually been edited.

[0277] For example, such as Figure 11 As shown in (b), in the instruction editing page, the first editable area #1 displays the first name #2 of instruction 5 (i.e., instruction name 5), and the first editable area #2 displays the first icon #2 (i.e., icon 5). The second editable area displays the first address (i.e., Http: / / abcd / efgh) and the page type of the first function page #2 (i.e., default redirection to H5).

[0278] The cancel control is used to cancel the current instruction editing, or in other words, to delete the information entered by the user on the current instruction editing page, without making any changes to the first instruction #2.

[0279] The save control is used to confirm the current instruction editing, or in other words, to confirm the information entered by the user on the current instruction editing page, to save the information entered by the user on the current instruction editing page, and to trigger an update of the instruction based on that information.

[0280] For example, a fifth operation of editing information in the first editable area is detected. In response to a sixth operation on the save control, a fourth interface is displayed. The fourth interface includes second instruction display information and first instruction type information, the second instruction display information being different from the first instruction display information #2. That is, compared to the information saved on the instruction creation page, if at least one piece of information in the first editable area is modified, and then the save control is clicked, the first instruction display information #2 is updated to the second instruction display information.

[0281] The fifth operation includes several possible implementation methods.

[0282] Implementation Method 1: When the first input box on the instruction editing page displays the first text or no information, the second text is entered into the first input box.

[0283] In implementation method 2, if the first image is displayed in the second input box of the instruction editing page, the user inputs the second image in the second input box. Alternatively, if the switch 101 corresponding to the second input box of the instruction editing page is in the off state, the user turns on the switch 101 and inputs the second image. Alternatively, if the switch 101 is in the on state and no image is displayed in the second input box of the instruction editing page, the user inputs the second image in the second input box.

[0284] For example, implementation method 1 and implementation method 2 can be implemented in combination.

[0285] Implementation method 3: Delete the first text when the first text is displayed in the first input box.

[0286] Implementation method 4: If the first image is displayed in the second input box, delete the first image or turn off switch 101.

[0287] For example, if a seventh operation of editing information in the second editable area is detected, and the user confirms the seventh operation, the first configuration information #2 will be updated. The specific implementation of updating the first configuration information #2 will be discussed below. Figure 28 A detailed introduction will be provided.

[0288] For example, the seventh operation includes: entering a second address in the third input box, the second address being used to jump to the second function page, wherein the second instruction display information is associated with the second instruction, and the second instruction is the entry point to open the second function page.

[0289] For example, the seventh operation includes: changing the page type in the first selection bar. For instance, if the page type corresponding to the first address is H5, change H5 to Application in the first selection bar. Or, if the page type corresponding to the first address is Application, change Application to H5 in the first selection bar. Correspondingly, enter the second address in the third input box.

[0290] like Figure 11 As shown in (c), the user's input of "command name 5#" in the first editing area #1 was detected, and the user's upload of icon 5# in the first editing area #2 was detected. The user's input of Http: / / 34587 / bmo (for example only) in the second editing area was also detected.

[0291] It should be noted that, Figure 11 The information entered in (c) of this document is for illustrative purposes only and is not intended to be limited.

[0292] In response to clicking the save control (as a possible example of a fourth action), display as follows: Figure 11 The interface shown in (d) is shown in the image.

[0293] like Figure 11 As shown in (d) of the diagram, the edited first instruction #2 is displayed in the custom area of ​​my page. The edited first instruction #2 is associated with the second function page. The edited first instruction #2 includes the second instruction display information and the first instruction type information #2.

[0294] The second instruction display information includes a first name #2 and a first icon #2. The first name #2 identifies the first instruction #2, and the first icon #2 can display content related to the first function page #2 or the first name #2. Optionally, the second instruction display information also includes a second description. Accordingly, the instruction editing page provides the user with an input box to edit the instruction description.

[0295] For example, the custom area display instruction 5#. Instruction 5 includes the icon 5# and the instruction name 5#. Instruction 5# also includes "Custom Instruction," indicating that instruction 5# is a user-defined instruction.

[0296] In other words, after a user creates a custom command, the system provides a service to edit the custom command, making it convenient for users to manage their custom commands flexibly and improving the efficiency of using commands.

[0297] Figure 12 This is a schematic diagram illustrating an example of a deletion custom instruction provided in an embodiment of this application.

[0298] For example, in response to a second operation on the first control, the first instruction display information #2 and the first instruction type information #2 are deleted from my page.

[0299] like Figure 12 As shown in (a) in the figure, the reference pair Figure 10 The description of the interface shown in (b) is as follows.

[0300] In response to the user clicking the delete control, the following is displayed: Figure 12 The interface shown in (b) is shown in the image.

[0301] For example, the second operation #2 includes: clicking the operation control and clicking the delete control.

[0302] like Figure 12 As shown in (b) in the image, instruction 5 is not displayed in the custom area.

[0303] In other words, after a user creates a custom command, the system provides a service to delete custom commands, allowing users to manage custom commands flexibly and improving the efficiency of command usage.

[0304] Figure 13 This is a schematic diagram illustrating an example of a hidden custom instruction provided in an embodiment of this application.

[0305] For example, in response to a second operation on the first control, the first instruction display information #2 is hidden on my page; optionally, the first instruction type information #2 is also hidden.

[0306] like Figure 13 As shown in (a) in the figure, the reference pair Figure 10The description of the interface shown in (b) is as follows.

[0307] In response to the user clicking the privacy control, the following is displayed: Figure 13 The interface shown in (b) is shown in the image.

[0308] For example, the second operation #3 includes: clicking the operation control and clicking the privacy control.

[0309] like Figure 13 As shown in (b) above, my page displays a hidden area.

[0310] For example, in this hidden area, the icon and name of instruction 5 that were originally displayed are both hidden. Alternatively, instruction 5 can be hidden in other ways, which are not limited in this application.

[0311] In response to a user clicking on a hidden area (or a hidden command), the electronic device verifies the user.

[0312] For example, display a password verification interface or a fingerprint recognition verification interface, or perform facial recognition verification on the current interface. If the verification is successful, display something like... Figure 13 The interface shown in (c) is as follows. Accordingly, successful verification may include: detecting successful password verification, successful fingerprint recognition, or successful facial recognition.

[0313] like Figure 13 As shown in (c) in my page, instruction 5 is redisplayed.

[0314] In other words, it provides users with the ability to hide custom commands, which can only be seen after verification, in order to enhance the security and privacy of custom commands.

[0315] Understandably, in this application, data from all types of commands used by the local user can be uploaded to the user database for processing. One possible implementation is to exclude large amounts of data from the usage of private custom commands. This further enhances the security and privacy of custom commands.

[0316] Figure 14 This is a schematic diagram illustrating an example of a batch deletion custom command provided in an embodiment of this application.

[0317] like Figure 14 As shown in (a) above, in my page, the custom area displays instructions 5 and 10. In response to the user clicking the one-click reset control, the following is displayed: Figure 14 The interface shown in (b) is shown in the image.

[0318] like Figure 14As shown in (b) above, no instructions are displayed in the custom area of ​​my page.

[0319] In other words, in addition to deleting individual custom commands, users can delete custom commands in batches to improve their command management efficiency.

[0320] The above primarily uses the command marketplace as a standalone application as an example, and illustrates the possible display methods of the command marketplace with accompanying diagrams. This display method also applies to the case where the command marketplace is a module of other applications.

[0321] As can be seen from the above, the instruction marketplace includes two main categories of instructions: instructions defined by the local user (i.e., the first instruction #1), or instructions recommended by the electronic device (i.e., the first instruction #2).

[0322] The following solutions provide users with the ability to search for various commands within the Honor Search application interface, and to access the corresponding function pages by opening the commands.

[0323] Example 1: If the first instruction #1 is configured or applied to an electronic device, and the first instruction #1 can be found in the Honor Search application interface.

[0324] Specifically, the implementation method of configuring or applying the first instruction #1 to an electronic device, and the implementation method of creating an index using the first instruction #1 to enable searching for the first instruction #1 in the Honor Search application interface, will be discussed below. Figure 24 or Figure 26 or Figure 30 A detailed introduction will be provided.

[0325] Example 2: After the first instruction #2 is created, it can be found in the Honor search application interface.

[0326] Specifically, the implementation method of configuring or applying the first instruction #2 to an electronic device, and the implementation method of creating an index through the first instruction #22 to enable searching for the first instruction #2 in the Honor Search application interface, will be discussed below. Figure 28 A detailed introduction will be provided.

[0327] Optionally, in addition to the commands set in Examples 1 and 2, other commands can also be searched in the Honor Search application interface.

[0328] Example 3: In the Honor Search application interface, you can also search for the first command #1 that has not been configured or applied to electronic devices.

[0329] Example 4: In the Honor Search application interface, you can also search for the commands corresponding to class 2 or class 3 mentioned in source 2 above.

[0330] Figure 15 This is a schematic diagram illustrating an example of a search command provided in an embodiment of this application, which opens a corresponding function page via the command.

[0331] like Figure 15 As shown in (a) above, the Honor Search application interface is displayed (as an example of a fifth or sixth interface). This interface can be referenced... Figure 2 The description related to (b) in the text. The Honor Search application interface includes search box #2 (as an example of a first or second search box).

[0332] In response to the user clicking the search box #2 on this screen, the following is displayed: Figure 15 The interface shown in (a) is shown in the image.

[0333] like Figure 15 As shown in (b), the user entered "search term X" in search box #2 (as an example of the first search term). In response to clicking the search control, the following is displayed: Figure 15 The interface shown in (c) is an example. The search control is used to start a search for "search term X".

[0334] like Figure 15 As shown in (c), commands related to "search term X" are displayed in the Honor Search application interface.

[0335] Example 1#, corresponding to Example 1, includes instruction 6 and instruction X2. Both instruction 6 and instruction X2 include an open control, indicating that both instruction 6 and instruction X2 have been configured on the electronic device. To use instruction 6 or instruction X2, the user needs to click the open control included in instruction 6 or instruction X2 to trigger the opening of the corresponding function page. Instruction 6 originates from class 1 in source 2, and instruction X2 originates from source 1. Alternatively, the instructions in Example 1# could also originate from source 4; this application does not limit the source.

[0336] Example 2# corresponds to Example 2, and these multiple commands include command 5. The fact that command 5 can be searched indicates that the user has created command 5. To use command 5, the user needs to click on the command display information to trigger the opening of the corresponding function page. The source of command 5 belongs to source 3. Furthermore, the Honor Search application interface does not provide a service for managing command 5; users can manage command 5 in the command marketplace interface as described above.

[0337] Example 3#, corresponding to Example 3, includes a third instruction, such as instruction 7 and instruction 4. The instructions corresponding to Example 3 include third instruction display information, second instruction type information, and a sixth control. The third instruction display information and second instruction type information can be found in the instruction marketplace section above. The sixth control is, for example, an application control or an installation control. Instruction 7 includes an application control, and instruction 4 includes an installation control, indicating that neither instruction 7 nor instruction 4 has been configured on the electronic device. If the user wants to use instruction 7, they need to click the application control for instruction 7, which will then configure instruction 7 on the electronic device and update the application control to an open control. The user then clicks the open control for instruction 7 to trigger the opening of the corresponding function page. If the user wants to use instruction 4, they first... Figure 4 Regarding the installation-then-application operation of instruction 3, the electronic device configures instruction 4 onto the electronic device and updates the application control to an open control. The user then clicks the open control of instruction 4 to trigger the opening of the corresponding function page. In this application, instruction 7 originates from source 1, and instruction 4 originates from source 4. Alternatively, the source of the instruction in example 3# could also belong to class 1 in source 2; this application does not impose any limitations on this.

[0338] The above solution allows users to search for commands using search terms, finding commands that haven't yet been configured on electronic devices. These commands can then be configured on the device via a sixth control within the current interface. In other words, even commands not yet configured on the device will be provided based on the search terms; and users can configure commands as they search, rather than having to navigate to the command marketplace. This improves the efficiency of command usage and enhances the user experience.

[0339] Example 4#, corresponding to Example 4, includes a fourth instruction, such as instruction X1. The information displayed by the fourth instruction includes at least one of the following: a fourth name, a fourth icon, or a fourth description. The specific information displayed by the fourth instruction can be found in the description of the first instruction's display information #1 above, and will not be repeated here. The difference is that the Honor Search application interface (or more specifically, the area where the fourth instruction is located) does not include content indicating the configuration, editing, or deletion of the fourth instruction. Taking instruction X1 as an example, instruction X1 does not display the install control, application control, or delete control. Furthermore, this type of instruction is not involved in the instruction marketplace interface, thus not providing users with the service to configure, edit, or delete instruction X1. The source of the fourth instruction belongs to category 2 or category 3 in source 2.

[0340] like Figure 15 As shown in (c), when displaying commands related to "search term X" in the Honor Search application interface, the commands related to "search term X" are not categorized, and multiple commands are displayed together.

[0341] Optionally, the Honor Search application interface displays instructions related to the search terms in categories.

[0342] Figure 16 This is a schematic diagram illustrating the categorized display of instructions related to search terms in the Honor Search application interface provided in this embodiment of the application.

[0343] One possible implementation is to categorize based on the relevance of the instruction to the search term.

[0344] like Figure 16 As shown in (a), the Honor Search application interface includes a matching service area and a recommended service area.

[0345] The matching service area displays instructions that are exactly matched with "search term X", such as a level 1 match; the recommendation service area displays instructions that are not highly matched with "search term X" but are likely related, such as a level 2 match. A level 1 match is higher than a level 2 match.

[0346] For example, if the search term "X" is "MT da" (assuming MT is the name of an application that provides ride-hailing and printing functions), the matching service area can display instructions to open the ride-hailing page of the MT application, or instructions to open the printing page of the MT application; the recommended service area can also display other instructions, such as other instructions to open the ride-hailing page, or other instructions to open the printing page.

[0347] In other words, commands are sorted in descending order based on their matching degree with search terms, so that users see commands with a high degree of matching first, thus improving the efficiency of users using commands.

[0348] Another possible implementation involves classifying instructions based on whether they are configured on the electronic device.

[0349] like Figure 16 As shown in (b), the Honor Search application interface includes a local service area and a recommended service area.

[0350] The local service area displays instructions that have been configured on electronic devices, while the recommended service area displays instructions that have not yet been configured on electronic devices.

[0351] Understandably, users need to install or apply the recommended service region's commands before using them. Compared to using commands from the local service region, users obviously have to wait longer.

[0352] In other words, categorizing instructions based on whether they are configured on electronic devices allows users to see instructions that can be used directly first, thus improving the efficiency of using instructions.

[0353] The above images illustrate scenarios for searching commands from four different sources within the Honor Search application interface.

[0354] The following section explains how to create indexes for commands from these four different sources so that they can be searched within the Honor Search application interface. It also explains how to manage the indexes after creation, based on instructions from the command source or user actions. To better illustrate index creation and management, we will first introduce the interaction between the electronic device and each command source, as well as the functions and interactions of the main modules of the electronic device.

[0355] Figure 17 This is a scenario architecture diagram illustrating the interaction between the electronic device provided in this application embodiment and various instruction sources.

[0356] like Figure 17 As shown, it includes terminal devices, search cloud, development platform, database, and four instruction sources.

[0357] The terminal device includes multiple modules, such as search applications (e.g., the Honor search application mentioned above) and search service applications.

[0358] For example, the search application is used to receive data from the search cloud and upload data to the user database; it is also used to interact with users in terms of user experience (UX), such as displaying the command marketplace interface or the Honor search application interface to users, detecting the user's actions on commands and obtaining the information entered by the user; it is also used to interact with the search service application to create or manage commands.

[0359] For example, search service applications are used to interact with search applications to create or manage indexes; they are also used to interact with third-party applications to obtain instruction configuration information from third-party applications.

[0360] Optionally, when a third-party application provider transmits instruction configuration information to the terminal device based on the third-party application, the terminal device may also include the third-party application.

[0361] Specifically, the search application and search service application will be described in detail below with reference to the accompanying diagrams.

[0362] Among them, the search cloud is the cloud-based terminal device, used to receive instruction configuration information and third-party application whitelists from four instruction sources, store the received data in the database, and also retrieve the data from the database and transmit it to the terminal device.

[0363] The database is used to store data received by the search cloud, such as instruction configuration information and whitelists of third-party applications. When the search cloud needs this data, it sends the data to the search cloud, reducing the storage pressure on the search cloud.

[0364] For example, the third-party application whitelist is set by the terminal device provider to prevent external attacks and excessive data writing to the terminal device. In other words, third-party applications on the whitelist can configure instructions on the terminal device, but not those not on the whitelist. The third-party application whitelist stored in the database is obtained by the search cloud from the terminal device provider and then transmitted to the database. It can be understood that the terminal device provider can dynamically update the third-party whitelist and send it to the terminal devices through the search cloud.

[0365] The development platform serves as a medium for information exchange between third-party application providers and the search cloud.

[0366] The four sources of instructions are: terminal equipment providers (corresponding to source 1 above), third-party application providers (corresponding to source 2 above), users (corresponding to source 3 above), and user databases (corresponding to source 4 above).

[0367] Table 1 shows examples of four ways in which terminal devices transmit instruction configuration information from the instruction source direction.

[0368] Table 1

[0369]

[0370] As shown in Table 1, terminal device providers and user databases can transmit official command configuration information to terminal devices via cloud search.

[0371] For example, the terminal device provider may include Honor's developers or operators.

[0372] As shown in Table 1, third-party application providers can transmit the instruction configuration information of third-party instruction #1 to terminal devices through the open platform and search cloud, and can also transmit the instruction configuration information of third-party instructions to terminal devices through third-party applications installed on the terminal devices.

[0373] The method of transmitting instruction configuration information to the terminal device through a third-party application installed on the terminal device can also include two implementation methods.

[0374] In Implementation Method 1, the third-party application provider stores the instruction configuration information in the application's installation package during development. Therefore, during the installation of the third-party application onto the electronic device, the electronic device obtains the instruction configuration information of third-party instruction #2.

[0375] In implementation method 2, after the third-party application is installed on the electronic device, the provider of the third-party application will transmit the instruction configuration information of third-party instruction #3 to the third-party application, which will then write it into the electronic device.

[0376] For example, a third-party application provider may also be referred to as a third-party partner (CP), which may include the cloud of the third-party application or the third-party application developer.

[0377] As shown in Table 1, users can transmit custom command configuration information to the terminal device through UX interaction.

[0378] As shown in Table 1, the user database can transmit command configuration information, such as high-scoring commands or trending search commands, to terminal devices via the search cloud. The user database can also obtain command usage data from terminal devices and filter high-scoring commands or trending search commands based on this data.

[0379] For example, a user database includes a user data processing module and a user data storage module. The following will combine... Figure 22 This section provides a detailed introduction to the user database.

[0380] For example, a user database can be a cloud-based data processor or a local data processor.

[0381] Understandably, in this application, the acquisition of instruction configuration information for a certain instruction by a terminal device is referred to as configuring the instruction to the terminal device. This configuration process can be divided into static configuration and dynamic configuration. The difference between dynamic and static configuration lies in whether, after the instruction is configured to the terminal device, the user or the medium through which the instruction configuration information is transmitted can edit, delete, or update the instruction or configure other instructions.

[0382] Taking the static configuration in Table 1 as an example, the instruction configuration information is stored in the installation package of the third-party application during the development process. No other instructions can be configured through this installation package subsequently, nor can the instruction be deleted or updated through this installation package.

[0383] Alternatively, configuring other instructions or deleting or updating the instruction can be achieved by statically configuring the updated installation package (rather than using an installation package that transmits the instruction's configuration information). For example, upgrading the third-party application updates the installation package, thereby configuring other instructions or updating the instruction. Another example is uninstalling the third-party application, thereby deleting the instruction.

[0384] Taking the dynamic configuration in Table 1 as an example, using a third-party application installed on an electronic device as the transmission medium, after dynamically configuring the instruction configuration information of the third-party application, the third-party application provider can configure other instructions, update or delete the instruction. The user cannot manage the instruction.

[0385] Users can configure and delete the commands in Table 1 that are dynamically configured based on other transmission media. In particular, users can also create and edit custom commands.

[0386] It's also understandable that, compared to static configuration, dynamic configuration of command information grants users or third-party application providers greater authority, more freedom, and more convenient operation when handling commands. Furthermore, it allows for the separate updating or deletion of applications, as well as the addition, updating, and deletion of commands, without necessarily requiring an application installation package update or deletion. This provides greater flexibility. For example, a command might be used to open a specific function page within a third-party application. If a user needs the application but doesn't want to use the command, they can delete the command without deleting the application. Similarly, if a third-party application provider wants to delete, update, or add commands to an application without updating the application itself, they can do so directly through the application.

[0387] It can also be understood that after indexing the commands for dynamic or static configuration in Table 1, users can search for the command in the Honor Search application interface and use the command (that is, enter the corresponding function page through it).

[0388] To explain more clearly Figure 17 The data interaction process in the middle, according to the following Figures 18 to 30 To introduce them separately Figure 17 The document details the sub-scenario architecture, and explains how to create indexes for instructions and manage indexes within each sub-scenario architecture.

[0389] Figure 18 The scenario architecture diagram for third-party instructions #2 and #3 provided in the embodiments of this application is shown. Figure 18 The third-party instructions described herein can be either third-party instruction #2 or third-party instruction #3.

[0390] like Figure 18 As shown, the search service application has multiple functions: index building, command search, command storage, application management, and data processing. These functions can be executed by a single module or by multiple modules respectively. When multiple modules execute multiple functions separately, each module can be independent of the others, or two or more modules can be combined into one module; this application does not impose any limitations on this.

[0391] like Figure 18As shown, the search application has multiple functions: UX display, command search, navigation to function pages, command execution, and data reporting. These functions can be executed by a single module or by multiple modules. When multiple modules execute multiple functions, each module can operate independently, or two or more modules can be combined into one module; this application does not impose any limitations on this. For example, the multiple modules included in the search application can be divided into two categories: command modules and other modules.

[0392] Specifically, the search service application and the functions of the search application will be described below.

[0393] like Figure 18 As shown, the process is as follows: First, the terminal device uses a search application to obtain a whitelist of third-party applications (including A1 to A4) from the search cloud. Second, the terminal device uses a search service application to obtain the instruction configuration information (including A5 to A6) of third-party commands from the third-party applications. Third, if the third-party application is determined to be on the whitelist, the search service application interacts with the search application ① to create an index for the third-party commands. Fourth, the user can search for and use third-party commands through interaction with the search application ②.

[0394] Regarding Part 1 and Part 2, this application does not limit the execution order. For example, Part 1 and Part 2 can be executed sequentially or simultaneously; alternatively, A1 and A2 of Part 1 can be executed first, followed by Part 2, then A3 and A4 of Part 1, and finally Part 3. Part 1 to Part 4 are described below for one possible execution order.

[0395] A1, Terminal equipment providers submit a whitelist of third-party applications to Search Cloud.

[0396] A2, Search Cloud transmits the whitelist of third-party applications to the database. The database stores the whitelist of third-party applications.

[0397] A3, the database transmits a whitelist of third-party applications to the search cloud.

[0398] A4, Search Cloud transmits the whitelist of third-party applications to the search application.

[0399] During the execution of A1 to A4, A5 and A6 are executed.

[0400] A5 is the instruction configuration information transmitted by the third-party application provider to the third-party application. These third-party instructions include either third-party instruction #2 or third-party instruction #3.

[0401] A6 utilizes third-party applications to statically or dynamically configure the instruction configuration information of third-party commands.

[0402] A6 includes: statically configuring the instruction configuration information of third-party instruction #2 using a third-party application; or dynamically configuring the instruction configuration information of third-party instruction #3 using a third-party application. Accordingly, the search service application obtains the instruction configuration information.

[0403] Interaction ① includes: After the search service application obtains the command configuration information, it uses the application management module to retrieve the whitelist of third-party applications from the search application and determines whether the third-party application is in the whitelist. If the result is yes, the command configuration information can be stored using the command storage module. Otherwise, the command configuration information is discarded. The search service application uses the index building module to build an index for the third-party commands based on the command configuration information.

[0404] Interaction ② includes: detecting the user's action of opening the search application; the search application displaying its interface to the user using the UX presentation module; and the search application detecting the user's action of entering search terms using the command search module.

[0405] Interaction ① also includes: the search application using the command search module to transmit search terms to the search service application; the search service application using the command search module to query the target index in the index stored in the command storage module and determine the command corresponding to the target index; the search service application using the command search module to transmit the command display information of the command to the search application; and the search application using the UX display module to display the command display information.

[0406] Interaction ② also includes: the search application detecting the user's action on the information displayed in response to the instruction. The search application uses the instruction execution module to instruct the navigation module to navigate to the function page.

[0407] Interaction ① also includes: the jump module obtains the address for jumping to the function page from the instruction storage module of the search service application.

[0408] Interaction ② also includes: the jump module redirects to this address. The UX presentation module displays the function page.

[0409] Optionally, A7, the data reporting module for the search application, transmits data on user commands using third parties to the user database.

[0410] The following section describes the process of static configuration, index creation, and user search and usage of the third-party command #2.

[0411] Figure 19 The timing diagram of user search and use of third-party instruction #2 provided in the embodiments of this application.

[0412] F1 triggers the search service application to query the search management service for XML files with preset identifiers in the operating system.

[0413] The XML file is associated with the fourth function page. The XML file is stored in the operating system during the installation of third-party applications. The preset identifier indicates that a third-party instruction #2 (as an example of a fourth instruction) can be created, or an index can be created for the fourth function page. The fourth instruction is the entry point to open the fourth function page.

[0414] For example, the preset identifier could be an action with a specified name in an XML file, such as an action with the field "android.intent.action.SEARCH".

[0415] F2, the search management service retrieves an XML file with a preset identifier.

[0416] For example, the XML file may include:

[0417] <activity

[0418] <!-- This can be an existing Activity in the project, or you can simply define an empty Activity in the declaration file (without creating an Activity class, security checks will show an empty configuration warning)-->

[0419] android:name = "XXXActivity"

[0420] android:exported="true">

[0421] <!--This is a required configuration-->

[0422] <intent-filter>

[0423] <action android:name="android.intent.action.SEARCH" / >

[0424]

[0425] <meta-data

[0426] android:name="android.app.searchable"

[0427] <!-- Configuration information XML path-->

[0428] android:resource="@xml / searchable" / >

[0429]

[0430] As shown above, the action name in this XML file is android.intent.action.SEARCH, indicating that it can create third-party directive #2 for the fourth function page.

[0431] F3, the search management service transmits the path of an XML file with a preset identifier to the search application.

[0432] F4 searches the application to parse the XML file and obtain command configuration information (as an example of third-party command configuration information).

[0433] F5, the search application builds an index for third-party instruction #2.

[0434] Optionally, if preset conditions are met, execute F5.

[0435] Understandably, the process of building an index generally consumes a lot of electricity.

[0436] For example, preset conditions include: the electronic device is charging, and / or the electronic device is in a screen-off state.

[0437] Understandably, since the battery is fully charged, building an index at this time can prevent the battery from draining too quickly and affecting the battery life of electronic devices.

[0438] This is understandable, as users generally require less RAM when the screen is off compared to when the screen is on. Even if the indexing process might consume CPU or RAM, the likelihood of it causing electronic devices to lag is very small. Furthermore, users rarely use their phones when the screen is off; therefore, indexing at this time will have virtually no impact on the smoothness of the user's phone usage.

[0439] For example, preset conditions include: after F4 is executed, the elapsed time is greater than a preset time. For example, the preset time is 7 days.

[0440] It's understandable that, compared to executing F4 and then immediately F5, this reduces the frequency of index building, minimizes the negative impact on battery life and smoothness of electronic devices, and improves the user experience.

[0441] The following will combine Figure 20 A detailed introduction to F4 and F5.

[0442] F6 indicates that the search application detected the user's input of search term #1 and the action of clicking the search control.

[0443] For example, search term #1 is BD ride-hailing.

[0444] F7, Search Application Instructs the search service application to search for instructions related to search term #1.

[0445] F8, the search service application queries related instructions based on search term #1.

[0446] For example, a search service application might look up relevant indexes in the instruction storage module based on "BD ride-hailing". For instance, an index representing words like "BD, BD ride, BD call, car, ride-hailing or call a car" is considered a relevant index. The instruction indicated by this index is the relevant instruction.

[0447] Optionally, press F9 to return.

[0448] Assuming the relevant instructions include third-party instruction #2, then F8 can query third-party instruction #2 and return the instruction configuration information for third-party instruction #2.

[0449] Accordingly, pressing F10 will prompt the search application to display third-party command #2.

[0450] For example, the search application displays third-party instruction #2 based on the instruction configuration information of third-party instruction #2.

[0451] Press F11. The search application detects that the user has opened the third-party command #2 and displays the function page corresponding to the third-party command #2.

[0452] For example, the search application detects that the user has opened the third-party instruction #2, obtains the jump address from the instruction configuration information of the third-party instruction #2, and jumps to the function page corresponding to the third-party instruction #2 according to the jump address.

[0453] Figure 20 This is a flowchart illustrating the construction of an index for third-party instruction #2, provided as an embodiment of this application. Exemplarily, G1 to G11 are executed by the search service application.

[0454] G1 parses XML files.

[0455] The XML file shown above will be used as an example for illustration.

[0456] G2 determines whether the application corresponding to the XML file is in the third-party application whitelist.

[0457] For example, you can determine the application name based on the searchable file.

[0458] If the result is yes, execute G3; if the result is no, discard the XML file.

[0459] G3 checks if the exported tag is true.

[0460] If the judgment result is yes, execute G4; if the judgment result is no, discard the XML file. It's understandable that if the `exported` tag is not true, even if the third-party instruction #2 can be found after indexing, the corresponding function page cannot be opened; in other words, the third-party instruction #2 cannot be executed.

[0461] For example, based on the exported="true" field in the XML file above, the result is yes.

[0462] G4 parses the intent-filter node data and the meta-data node data.

[0463] For example, first parse the intent-filter to obtain the meta-data node data, and then parse the meta-data node data.

[0464] G5 retrieves the searchable file from the meta-data node data. It can be understood that the searchable file can serve as an example of the instruction configuration information in this application.

[0465] For example, in the above XML file, the specific information of the searchable file in the meta-data node data is as follows:

[0466] <searchable xmlns:android="http: / / schemas.android.com / apk / res / android"

[0467] android:label = "@string / search_label" <It is recommended to enter the application name: for example, BD,>

[0468] android:includeInGlobalSearch="true"><!--Required-->

[0469] <searchservice

[0470] searchServiceDes = "@string / search_service_des" <!-- Optional, command description -->

[0471] searchServiceTitle = "@string / search_service_title" <!-- Required parameter, command name, otherwise no index will be built-->

[0472] searchServiceIcon = "@drawable / search_icon" <!-- Image is placed into drawable-->

[0473] searchServiceKeywords = "@string / keywords" <!-- Configure keywords or synonyms: e.g., "BD, dache, jiaoche">

[0474] searchServiceActivity = "com.search.SearchActivity" <! Required redirect path; clicking the item after a search will redirect to the activity -->

[0475] searchServiceAction = "android.intent.action.MAIN" <!-- determines the action based on the configuration of the Activity to be opened -->

[0476] searchServiceIntentData = "fromSearch" <!-- Passing data, intent.getStringExtra("targetname") retrieves it using the targetname key-->

[0477] serviceType="1" / >><! --service type 0: Feature service, displayed in the recommended section and local service display; service type 1: Quick operation, only displayed in local service-->

[0478] Supports configuring multiple pages, one configuration per page. <searchservice-->

[0479] <searchservice

[0480] searchServiceDes="@string / search_service_des"

[0481] searchServiceTitle="@string / search_service_title"

[0482] searchServiceIcon="@drawable / my_icon"

[0483] searchServiceKeywords = "@string / keywords" <!-- Configure synonyms: e.g., "XXXXXXXX">

[0484] searchServiceActivity="com.search.SearchActivity"

[0485] searchServiceAction="android.intent.action.MAIN"

[0486] serviceType="1" / >><! --service type 0: Feature service, displayed in the recommended section and local service display; service type 1: Quick operation, only displayed in local service-->

[0487] searchServiceIntentData="Harassment" / >

[0488]

[0489] G6 checks if the includeInGlobalSearch tag is true.

[0490] It is understandable that if the includeInGlobalSearch tag is true, it means that the third-party instruction #2 can be found subsequently; otherwise, it cannot be found.

[0491] If the result is yes, execute G7; if the result is no, discard the XML file.

[0492] For example, based on the android:includeInGlobalSearch="true" field in the searchable file above, the result is yes.

[0493] G7, analyze the data of the searchservice node in the searchable file.

[0494] It can be understood that the xml file can include multiple pieces of searchservice node data, and each piece of searchservice node data corresponds to a function page. For example, the above searchable file includes 2 pieces of searchservice node data. The present application does not limit the number of searchservice node data in the xml file.

[0495] It can be understood that if the xml file includes multiple pieces of searchservice node data, then for each piece of searchservice node data, G7 and subsequent steps need to be executed.

[0496] G8, determine whether the required information is complete.

[0497] It can be understood that if the required data is incomplete, an index cannot be constructed.

[0498] If the judgment result is yes, execute G9; if the judgment result is no, discard the xml file.

[0499] G9, perform risk control processing on keywords and synonyms.

[0500] For example, filter out sensitive words in keywords and synonyms through a security risk control software development kit (SDK), such as the names of national leaders, words related to porn and drugs.

[0501] It can be understood that keywords and synonyms do not belong to the required data in the searchservice node data. If the searchservice node data includes keywords and synonyms, directly execute G9; if the searchservice node data does not include keywords and synonyms, keywords and synonyms can be determined according to information such as the application name, instruction name, or instruction description in the searchservice node data.

[0502] G10, construct an index based on the keywords and synonyms after risk control processing.

[0503] Exemplarily, the third keyword #1 and the third synonym #1 after risk control processing can be used as an example of the third search term #1. Alternatively, perform word segmentation on the keywords and synonyms after risk control processing to obtain the third search term #1. For example, if the keyword or synonym is BD, taxi, or call a taxi, after word segmentation, words such as BD, BD taxi, BD call, taxi, taxi or call a taxi can be obtained as the third search term #1.

[0504] A fourth index #1 is generated based on the third search term #1. This fourth index #1 is used to indicate the third-party instruction #2.

[0505] G11 stores the index locally.

[0506] For example, the index is stored in the instruction storage module.

[0507] The following diagrams and flowcharts illustrate the dynamic configuration, index creation, and user search and usage of the third-party instruction #3.

[0508] Figure 21 The timing diagram of user search and use of third-party instruction #3 provided in the embodiments of this application.

[0509] H1, the cloud of a third-party application transmits instruction configuration information to the third-party application.

[0510] For example, the cloud-based architecture of a third-party application may include a command configuration module, and the third-party application may include a dynamic configuration module. The command configuration module can proactively send command configuration information to the dynamic configuration module. Alternatively, the dynamic configuration module can request command configuration information from the command configuration module, and then the command configuration module sends the command configuration information to the dynamic configuration module.

[0511] H2, third-party applications write instruction configuration information to the search service application.

[0512] For example, third-party applications can write instruction configuration information into the search service application through the contentProvider interface.

[0513] For example, during the write operation, the application management module of the search service application will check whether the third-party application is in the third-party application whitelist. If the result is yes, the write can proceed; otherwise, the write will fail. The third-party whitelist can be found in the relevant description above.

[0514] H3, the search service application builds an index for third-party instruction #3.

[0515] Among them, the third-party instruction #3 can be considered as a possible example of a fourth instruction.

[0516] Optionally, H3 can be executed if preset conditions are met.

[0517] For a description of the preset conditions, please refer to the relevant description in F5. The difference is that F4 and F5 are replaced with H2 and H3 respectively.

[0518] The following will combine Figure 22 A detailed introduction to H3.

[0519] H4 provides users with search command services.

[0520] For details, please refer to [link / reference]. Figure 19 The difference between F6 to F10 is that third-party instruction #2 is replaced with third-party instruction #3, and search term #1 is replaced with search term #2.

[0521] H5 provides users with the service of using third-party command #3.

[0522] For details, please refer to [link / reference]. Figure 19 The difference in the description of F11 is that the third-party instruction #2 is replaced with the third-party instruction #3.

[0523] Optionally, the cloud-based third-party application can also dynamically delete commands (option 1) or dynamically update commands (option 2).

[0524] For example, a third-party application receives instruction status change information from the cloud; and manages third-party instructions #3 based on the instruction status change information.

[0525] Option 1 includes: if the instruction status change information indicates that the third-party instruction #3 should be deleted, delete the index and instruction configuration information of the third-party instruction #3.

[0526] H6, Cloud-based instruction from third-party applications to delete third-party applications #2.

[0527] H7, Third-party application instructs search service application to delete third-party command #2.

[0528] H8, the search service application deletes the instruction configuration information and related indexes of third-party instruction #3.

[0529] For example, a third-party application can use the contentProvider interface to delete the instruction configuration information and related indexes of third-party instruction #3 in the search service application.

[0530] Option 2 includes: when the instruction status change information indicates an update to the fourth instruction, the instruction status change information also includes updated instruction configuration information (as an example of fifth instruction configuration information), which is associated with the new third-party instruction #3. The index and instruction configuration information of the third-party instruction #3 are deleted, and the new third-party instruction #3 is configured to the electronic device according to the updated instruction configuration information, and an index is generated to indicate the new third-party instruction #3.

[0531] H9 allows third-party applications to transmit updated command configuration information from their cloud-based systems.

[0532] H10: Third-party applications transmit updated instruction configuration information to the search service application.

[0533] H11 contains the search service application update command configuration information and related indexes.

[0534] For example, third-party applications can update the instruction configuration information and related indexes of third-party instruction #3 in the search service application through the contentProvider interface.

[0535] Figure 22 This is a flowchart illustrating the construction of an index for third-party instruction #3, provided as an embodiment of this application. Exemplarily, I1 to I7 are executed by the search service application.

[0536] I1, retrieve instruction configuration information.

[0537] The configuration information for this instruction may contain the same instruction-related content as the configuration information for third-party instruction #2, but the format may differ.

[0538] I2 determines whether a third-party application is in the third-party application whitelist.

[0539] If the result is yes, execute I3; if the result is no, discard the XML file.

[0540] I3, the index building module reads instruction configuration information.

[0541] I4 checks if the required information is complete.

[0542] The configuration information for this instruction can be the same as the required information included in the configuration information for third-party instruction #2. Refer to the relevant description in G8.

[0543] I5, keywords and synonyms for risk control processing instructions.

[0544] Referring to the relevant description of G9, the difference is that the third-party instruction #2 is replaced with the third-party instruction #3, and the third search term #1 is replaced with the third search term #2.

[0545] I6 builds an index based on keywords and synonyms after risk control processing.

[0546] Referring to the relevant description of G10, the difference is that the third-party instruction #2 is replaced with the third-party instruction #3, the third search term #1 is replaced with the third search term #2, the fourth index #1 is replaced with the fourth index #2, and the third keyword #1 and the third synonym #1 are replaced with the third keyword #2 and the third synonym #2.

[0547] I7 stores the index locally.

[0548] Referring to the relevant description of G11, the difference is that the third-party instruction #2 is replaced with the third-party instruction #3, and the third search term #1 is replaced with the third search term #2.

[0549] Figure 23 This is a scenario architecture diagram for third-party instruction #1 provided in an embodiment of this application.

[0550] For search service applications, please refer to Figure 18 Descriptions related to search service applications. The difference lies in the fact that, compared to... Figure 18 , Figure 23 The search service application may also include a download module for downloading installation packages of uninstalled applications; it may also include a command marketplace module for displaying the UX interface of the command marketplace, and UX display modules in other modules for displaying UX interfaces other than the command marketplace; it may also include a command management module for applying or deleting commands. The various modules of the search application can be independent of each other, or two or more modules can be combined into one module; this application does not limit this.

[0551] For search applications, please refer to Figure 18 Descriptions related to Chinese search applications.

[0552] like Figure 23 As shown, in the first part, the terminal device uses the search application to obtain the whitelist of third-party applications (including B1 to B4) from the search cloud. In the second part, the third-party application provider transmits the instruction configuration data (including B5 to B9) of third-party instruction #1 to the search application of the terminal device through the open platform and the search cloud. In the third part, if it is determined that the third-party application belongs to the third-party application whitelist, the search service application interacts with the search application to create an index for third-party instruction #1. In the fourth part, the user can search for, use, and manage third-party instructions (such as clicking to install, apply, or delete controls as mentioned above) through interaction with the search application.

[0553] This application does not limit the execution order of Part 1 and Part 2. For example, Part 1 and Part 2 can be executed sequentially or simultaneously; alternatively, B1 and B2 of Part 1 can be executed first, followed by Part 2, then B3 and B4 of Part 1, and finally Part 3. Part 1 to Part 4 are described below with reference to one possible execution order.

[0554] For B1 to B4, please refer to A1 to A4.

[0555] During the execution of B1 to B4, execute B5 to B9.

[0556] B5, the third-party application provider transmits the instruction configuration information of third-party instruction #1 to the open platform.

[0557] B6, the open platform transmits the instruction configuration information of third-party instruction #1 to the search cloud.

[0558] B7, Search Cloud transmits the instruction configuration information of third-party instruction #1 to the database.

[0559] B8, the database transmits the instruction configuration information of third-party instruction #1 to the search cloud.

[0560] B9, Search Cloud transmits the instruction configuration information of third-party instruction #1 to the search application.

[0561] Interactions ③ and ④ can be referred to respectively. Figure 18 The descriptions of interactions ① and ② are provided. The difference is that, compared to interactions ① and ②, interactions ③ and ④ respectively include additional steps, as well as replacing the third-party instruction with third-party instruction #1.

[0562] Interaction ④ also includes: In response to the user opening the command marketplace, the command marketplace module displays the command marketplace interface. In response to the user clicking the installation control for third-party command #1, the command management module instructs the download module to download the third-party application associated with that third-party command #1.

[0563] Interaction ③ also includes: In response to the operation of the application control used to click third-party instruction #1, the instruction management module instructs the application control module to confirm whether the third-party application belongs to the third-party application whitelist. If the judgment result is yes, the index building module builds an index according to the instruction configuration information.

[0564] Interaction ④ also includes: in response to the user's deletion of third-party instruction #1, the instruction management module instructs the data processing module to delete the index and instruction configuration information in the instruction storage module.

[0565] Optionally, B10, the data reporting module of the search application, transmits data from the user's use of third-party instruction #1 to the user database.

[0566] Figure 24 The timing diagram of the interaction between the user searching, using and managing third-party instructions #1 provided in the embodiments of this application.

[0567] L1: Third-party application providers enter instruction configuration information into the open platform.

[0568] L2, the open platform synchronizes command configuration information with the search cloud.

[0569] L3: The search application detected that the user opened the command marketplace interface.

[0570] L4: The search application requests instruction configuration information from the search cloud.

[0571] The instruction configuration information here is the same as the first instruction configuration information #1 mentioned above.

[0572] L5, search the cloud to obtain command configuration information.

[0573] L6, the search cloud returns instruction configuration information to the search application.

[0574] L7, the search application displays the command marketplace interface.

[0575] L8, the search application detected a user clicking on an application control.

[0576] L9, the search application writes instruction configuration information to the search application service through dynamic configuration.

[0577] L10, the search application service builds the index of third-party instruction #1.

[0578] For details, please refer to [link / reference]. Figure 22 The index building process differs in that third-party instruction #3 is replaced with third-party instruction #1, third search term #2 is replaced with first search term #1, fourth index #2 is replaced with first index #1, and third keyword #2 and third synonym #2 are replaced with first keyword #1 and first synonym #1.

[0579] L11 provides users with search command services.

[0580] For details, please refer to [link / reference]. Figure 19 The difference between F6 to F10 is that third-party instruction #2 is replaced with third-party instruction #1, and search term #1 is replaced with search term #3.

[0581] L12 provides users with the service of using third-party command #1.

[0582] For details, please refer to [link / reference]. Figure 19 The difference in the description of F11 is that third-party instruction #2 is replaced with third-party instruction #1, and the user can open the control by clicking to use third-party instruction #1.

[0583] Optionally, users can delete commands in the command marketplace interface.

[0584] L13, the search application detected the user's deletion of third-party command #1. For example, clicking the delete control.

[0585] L14, The search application instructs the search application service to delete third-party instruction #1.

[0586] L15, Search Application Service deletes the instruction configuration information and related indexes of third-party instruction #1.

[0587] Figure 25 This is a scenario architecture diagram for official instructions provided in the embodiments of this application.

[0588] Search services and search application services can be found by referring to Figure 23 The relevant description in the text.

[0589] C1 is the instruction configuration information transmitted by the terminal equipment provider to the search cloud as official instructions.

[0590] C2 is the command configuration information that the search cloud transmits to the database. The database stores the command configuration information of the official commands.

[0591] C3 is the instruction configuration information that the database transmits to the search cloud.

[0592] C4 is the instruction configuration information that the search cloud transmits official instructions to the search application.

[0593] Interactions ⑤ and ⑥ can be referred to respectively. Figure 23 The descriptions of interactions ③ and ④ are provided. The difference is that the third-party command #1 is replaced with the official command.

[0594] Optionally, C5, the data reporting module for the search application, transmits data on user usage of official commands to the user database.

[0595] Figure 26 This is an interaction timing diagram for users searching, using, and managing official commands, provided in an embodiment of this application.

[0596] M1, pre-configured instruction information from the terminal equipment provider.

[0597] M2, the search application, displays a command marketplace interface to users and retrieves command configuration information from the search cloud.

[0598] The instruction configuration information here is the same as the first instruction configuration information #1 mentioned above.

[0599] For details, please refer to the descriptions of L3 to L7. The difference is that the instruction configuration information in L3 to L7 is the third-party instruction #1, while the instruction configuration information in M2 is the official instruction.

[0600] M3 provides users with application command services and, upon detecting user actions using official commands, builds an index of official commands.

[0601] For details, please refer to the descriptions in L8 to L10. The difference is that the third-party instruction #1 is replaced with the official instruction, the first search term #1 is replaced with the first search term #2, the first index #1 is replaced with the first index #2, and the first keyword #1 and the first synonym #1 are replaced with the first keyword #2 and the first synonym #2.

[0602] M4 provides users with search command services.

[0603] For details, please refer to [link / reference]. Figure 19 The difference between F6 to F10 is that third-party instruction #2 is replaced with official instruction, and search term #1 is replaced with search term #4.

[0604] M5 provides users with the service of using official commands.

[0605] For details, please refer to [link / reference]. Figure 19 The difference in the description of F11 is that the third-party command #2 is replaced with the official command, and users can open the control by clicking to use the official command.

[0606] M6, the search service application, deletes the command configuration information and related indexes of official commands based on user actions.

[0607] For details, please refer to the descriptions in L13 to L15. The difference is that the third-party instruction #1 is replaced with the official instruction.

[0608] Figure 27 This is a scenario architecture diagram for custom instructions provided in the embodiments of this application.

[0609] For search service applications, please refer to Figure 23 Descriptions related to search service applications. The difference lies in the fact that, compared to... Figure 23 , Figure 27 The search service application can also include a new command module, which provides users with the ability to create custom commands. Figure 27 The command management module in the search service application also has the function of editing custom commands. The various modules of the search application can be independent of each other, or two or more of them can be combined into one module; this application does not limit this.

[0610] For search applications, please refer to Figure 18 Descriptions related to Chinese search applications.

[0611] If the function page associated with the custom command belongs to the official application, then D1 to D4 will not be executed; if the function page associated with the custom command belongs to the third-party application, then D1 to D4 will be executed.

[0612] D1 to D4 can be referenced from A1 to A4.

[0613] Interactions ⑦ and ⑧ can be referred to respectively. Figure 23 The descriptions of interactions ③ and ④ are provided. The difference is that the third-party instruction #1 is replaced with a custom instruction. Furthermore, interactions ⑦ and ⑧ each include additional steps.

[0614] Interaction ⑧ also includes: in response to the user clicking the "Create New Control" button, the command marketplace displays the command creation page. The "Create New Command" module retrieves the information entered by the user on the command creation page.

[0615] Interaction ⑦ also includes: the new instruction module transmits the information entered by the user on the instruction creation page to the data processing module, which determines the instruction configuration information of the custom instruction based on this information. The index building module builds an index of the custom instruction based on the instruction configuration information and stores the index and instruction configuration information in the instruction storage module.

[0616] Interaction ⑧ also includes: in response to the user clicking the edit control, the command marketplace displays the command editing page. Command management retrieves the information entered by the user on the command editing page.

[0617] Interaction ⑦ also includes: the instruction management module transmits the information entered by the user on the instruction editing page to the data processing module, which determines the updated instruction configuration information based on this information. The index building module builds an updated index for the custom instruction based on the updated instruction configuration information and stores the updated index and updated instruction configuration information in the instruction storage module.

[0618] Optionally, D5, the data reporting module for the search application, transmits data from user-defined commands to the user database.

[0619] Figure 28 This is an interactive timing diagram illustrating the user's search, use, creation, and management of custom commands, as provided in an embodiment of this application.

[0620] N1, the search application displays the command marketplace interface for users.

[0621] For details, please refer to the procedures for L3 to L7 and / or M2.

[0622] N2, the search application detected the user's newly created command.

[0623] N3 searches for and obtains the user's input command configuration information, and writes it into the command configuration information through dynamic configuration.

[0624] The instruction configuration information here is the same as the first instruction configuration information #2 mentioned above.

[0625] N4, search service applications build indexes for custom commands.

[0626] For details, please refer to the descriptions in L8 to L10. The difference is that the third-party instruction #1 is replaced with a custom instruction, the first search term #1 is replaced with the second search term, the first index #1 is replaced with the second index, and the first keyword #1 and the first synonym #1 are replaced with the second keyword and the second synonym.

[0627] N5 provides users with search command services.

[0628] For details, please refer to [link / reference]. Figure 19 The difference between F6 to F10 is that third-party instruction #2 is replaced with a custom instruction, and search term #1 is replaced with search term #5.

[0629] N6 provides users with the service of using custom commands.

[0630] For details, please refer to [link / reference]. Figure 19 The difference in the description of F11 is that the third-party instruction #2 is replaced with a custom instruction, and users can open the control by clicking to use the custom instruction.

[0631] N7, the search application detected the user's editing command.

[0632] N8 searches for and retrieves the user-edited command configuration information, then dynamically writes it into the edited command configuration information.

[0633] The command configuration information edited by the user is the second command configuration information mentioned above.

[0634] N9 searches for application update command configuration information and related indexes.

[0635] The specific process is similar to N4, the difference lies in the instruction configuration information. The updated index is the third index mentioned above, and the updated instruction is the second instruction mentioned above. The third index is used to indicate the second instruction.

[0636] N10, the search service application deletes the command configuration information and related indexes of custom commands based on the user's actions.

[0637] For details, please refer to the descriptions in L13 to L15. The difference is that the third-party instruction #1 is replaced with a custom instruction.

[0638] The above text combined Figures 18 to 28 In the proposed solution, third-party commands #2, third-party commands #3, and custom commands can only be effective on a single terminal device; the number of official commands and third-party commands #1 is limited, and they are not necessarily popular or interesting commands. Therefore, when a user uses a command, the command usage data needs to be reported to the user database, which then processes it and distributes it to the command marketplace.

[0639] In one related technology, the terminal device directly reports the usage data of the instructions to the search cloud. This poses a significant challenge to the search cloud's servers, and the search cloud also cannot know which instructions are popular or interesting.

[0640] In light of this, usage data for commands is reported to a user database (e.g., big data, which resides on a cloud server). For example, the user database includes command names, usage times, and descriptions. Big data algorithms rank commands based on usage popularity and ratings to generate recommended commands, which are then pushed to the search cloud. Subsequently, when users access the command marketplace interface, their electronic devices can retrieve and display the recommended commands from the search cloud, enabling dynamic expansion and construction of the command marketplace.

[0641] Figure 29 This is a scenario architecture diagram for instructions from a user database provided in an embodiment of this application.

[0642] For example, the user database includes a user data processing module and a user data storage module. The user data storage module stores command usage data obtained from multiple Honor electronic devices. The user data processing module, when the command usage data includes the command name and command usage time, determines the command's popularity based on the number of users using the command within the same time period; and, when the command usage data includes the command name and command rating, the user database determines the command's user satisfaction based on the command rating. Therefore, the user data processing module is also used to filter target commands based on usage popularity and / or user satisfaction. Optionally, in the command marketplace interface, user ratings are obtained for commands that the user has already used. For example, the command display information includes a rating area where the user can enter a score.

[0643] Search services and search application services can be found by referring to Figure 23 The relevant description in the text.

[0644] like Figure 29 As shown, if the function page associated with the instruction from the user database belongs to the official application, then E1 to E4 will not be executed; if the function page associated with the instruction from the user database belongs to the third-party application, then E1 to E4 will be executed.

[0645] The process begins with four parts: First, the terminal device uses a search application to obtain a whitelist of third-party applications (including E1 to E4) from the search cloud. Second, the user database transmits configuration data (including E5 to E7) of popular / high-scoring commands to the terminal device's search application via an open platform. Third, if the function page associated with a popular / high-scoring command belongs to a third-party application, the system checks if the third-party application is on the whitelist. If the function page associated with a popular / high-scoring command belongs to an official application, no further checks are needed. The search service application interacts with the search application⑨ to index popular / high-scoring commands. Fourth, users can interact with the search application⑩ to search for, use, and manage popular / high-scoring commands (e.g., clicking to install, apply, or delete controls as mentioned above).

[0646] Regarding the first and second parts, this application does not limit the execution order. For example, the first and second parts can be executed sequentially or simultaneously; alternatively, E1 and E2 of the first part can be executed first, followed by the second part, then E3 and E4 of the first part, and finally the third part. The first to fourth parts are described below with reference to one possible execution order.

[0647] For E1 to E4, please refer to A1 to A4.

[0648] During the execution of E1 to E4, E5 to E9 are executed.

[0649] E5, the user database transmits the instruction configuration information of popular / high-scoring instructions to the search cloud.

[0650] E6, Search Cloud transmits command configuration information for popular / high-scoring commands to the database.

[0651] The instruction configuration information here is the same as the first instruction configuration information #1 mentioned above.

[0652] E7, Search Cloud transmits command configuration information for popular / high-scoring commands to the search application.

[0653] Interactions ⑨ and ⑩ can be referred to respectively. Figure 23 The descriptions of interactions ③ and ④ are provided. The difference is that third-party instruction #1 is replaced with popular / high-scoring instructions.

[0654] E8 is the data reporting module for the search application, which transmits data on users' use of popular / high-scoring commands to the user database.

[0655] Figure 30 This is an interactive timing diagram of user search, use, and management of popular / high-scoring commands provided in an embodiment of this application.

[0656] O1, the search application transmits data containing user usage instructions to the user database.

[0657] See A7, B10, C5, D5, etc. for details.

[0658] O2 refers to the instruction configuration information transmitted from the user database to high-scoring or popular instructions.

[0659] O3, the search application displays a command marketplace interface for users and retrieves command configuration information from the search cloud.

[0660] For details, please refer to the descriptions of L3 to L7. The difference is that the instruction configuration information in L3 to L7 is third-party instruction #1, while the instruction configuration information in O3 is high-scoring instruction or popular instruction.

[0661] O4 provides users with application command services and builds an index of high-scoring or popular commands when it detects that a user has applied high-scoring or popular commands.

[0662] For details, please refer to the descriptions in L8 to L10. The difference is that the third-party instruction #1 is replaced with the high-scoring instruction or popular instruction, the first search term #1 is replaced with the first search term #3, the first index #1 is replaced with the first index #3, and the first keyword #1 and the first synonym #1 are replaced with the first keyword #3 and the first synonym #3.

[0663] O5 provides users with search command services.

[0664] For details, please refer to [link / reference]. Figure 19 The difference between F6 to F10 is that third-party instruction #2 is replaced with high-scoring instruction or popular instruction, and search term #1 is replaced with search term #6.

[0665] O6 provides users with the service of using high-scoring commands or popular commands.

[0666] For details, please refer to [link / reference]. Figure 19 The description of F11 differs in that the third-party instruction #2 is replaced with a high-score instruction or a popular instruction, and users can open the control by clicking to use the high-score instruction or popular instruction.

[0667] O7, the search service application, deletes the instruction configuration information and related indexes of high-scoring or popular instructions based on user actions.

[0668] For details, please refer to the descriptions in L13 to L15. The difference is that the third-party instruction #1 is replaced with a high-scoring instruction or a popular instruction.

[0669] Please refer to Figure 31 , Figure 31 A schematic diagram of the hardware structure of an electronic device 1000 according to an embodiment of this application is shown. See also Figure 31 The electronic device 1000 may include a processor 1010, an external memory interface 1020, an internal memory 1021, a universal serial bus (USB) interface 1030, a charging management module 1040, a power management module 1041, a battery 1042, an antenna 1, an antenna 2, a mobile communication module 1050, a wireless communication module 1060, an audio module 1070, a speaker 1070A, a receiver 1070B, a microphone 1070C, a headphone jack 1070D, a sensor module 1080, buttons 1090, a motor 1091, an indicator 1092, a camera 1093, a display screen 1094, and a subscriber identification module (SIM) card interface 1095, etc. The sensor module 1080 may include a pressure sensor 1080A, a gyroscope sensor 1080B, a barometric pressure sensor 1080C, a magnetic sensor 1080D, an accelerometer sensor 1080E, a distance sensor 1080F, a proximity sensor 1080G, a fingerprint sensor 1080H, a temperature sensor 1080J, a touch sensor 1080K, an ambient light sensor 1080L, a bone conduction sensor 1080M, etc.

[0670] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 1000. In other embodiments of this application, the electronic device 1000 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0671] The processor 1010 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU).

[0672] The controller can be the nerve center and command center of the electronic device 1000. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0673] The processor 1010 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 1010 is a cache memory. This memory can store instructions or data that the processor 1010 has just used or that are used repeatedly. If the processor 1010 needs to use the instruction or data again, it can retrieve it directly from this memory. This avoids repeated accesses, reduces the waiting time of the processor 1010, and thus improves the efficiency of the system.

[0674] In some embodiments, the processor 1010 may include one or more interfaces, such as an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0675] In this application, the processor 1010 is applicable to scenarios where electronic devices provide command services to users. Command services refer to services that directly open a specific function page via commands. This method provides users with the ability to dynamically add or delete commands, allowing them to freely choose and use desired commands and delete unwanted ones; it also provides users with the ability to customize commands, enabling them to create their own commands and edit or delete existing ones; it provides users with recommended commands, especially those with high popularity and user satisfaction, helping users discover interesting and useful commands; and it provides users with the ability to apply dynamically added or customized commands to search applications, allowing them to quickly find the desired commands and open the corresponding function page in the search application.

[0676] The MIPI interface can be used to connect the processor 1010 to peripheral devices such as the display screen 1094 and the camera 1093. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 1010 and the camera 1093 communicate via the CSI interface to enable the electronic device 1000 to perform its shooting function. The processor 1010 and the display screen 1094 communicate via the DSI interface to enable the electronic device 1000 to perform its display function.

[0677] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 1000. In other embodiments of this application, the electronic device 1000 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0678] The charging management module 1040 receives charging input from a charger, which can be either a wireless or wired charger. The power management module 1041 connects to the battery 1042, the charging management module 1040, and the processor 1010. The power management module 1041 receives input from the battery 1042 and / or the charging management module 1040 to power the processor 1010, internal memory 1021, external memory, display 1094, camera 1093, and wireless communication module 1060, etc.

[0679] Electronic device 1000 implements display functions through a GPU, a display screen 1094, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 1094 and the application processor. The GPU performs mathematical and geometric calculations and is used for graphics rendering. Processor 1010 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0680] The display screen 1094 is used to display images, videos, etc. The display screen 1094 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 1000 may include one or N display screens 1094, where N is an integer greater than 1.

[0681] Electronic device 1000 can perform shooting functions through ISP, camera 1093, video codec, GPU, display 1094 and application processor.

[0682] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 1000 is selecting a frequency, the DSP is used to perform Fourier transforms on the frequency energy.

[0683] Video codecs are used to compress or decompress digital video. Electronic device 1000 can support one or more video codecs. Thus, electronic device 1000 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0684] NPU stands for Neural Network (NN) Computing Processor. By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs can enable intelligent cognitive applications in electronic devices, such as semantic recognition, intent recognition, or the recognition of unprocessed features of objects.

[0685] The external storage interface 1020 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 1000. The external memory card communicates with the processor 1010 through the external storage interface 1020 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0686] Internal memory 1021 can be used to store computer-executable program code, which includes instructions. Processor 1010 executes various functional applications and data processing of electronic device 1000 by running the instructions stored in internal memory 1021. Internal memory 1021 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created by electronic device 1000 during use (such as audio data, phonebook, etc.). Furthermore, internal memory 1021 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0687] Electronic device 1000 can implement audio functions, such as music playback and recording, through audio module 1070, speaker 1070A, receiver 1070B, microphone 1070C, headphone jack 1070D, and application processor. Buttons 1090 include a power button and volume buttons. Buttons 1090 can be mechanical or touch-sensitive. Electronic device 1000 can receive button input and generate key signal inputs related to user settings and function control. Motor 1091 can generate vibration prompts. Indicator 1092 can be an indicator light, used to indicate charging status, battery level changes, messages, missed calls, notifications, etc. SIM card interface 1095 is used to connect a SIM card.

[0688] The sensor module 1080 may include 10 or more sensors, which may be of the same or different types. Understandably, Figure 31 The sensor module 1080 shown is only an exemplary division method, and there may be other division methods, which are not limited in this application.

[0689] The touch sensor 1080K, also known as a "touch panel," can be located on the display screen 1094. The touch sensor 1080K and the display screen 1094 together form a touchscreen, also known as a "touch screen." The touch sensor 1080K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 1094. In other embodiments, the touch sensor 1080K may also be located on the surface of the electronic device, in a different position than the display screen 1094.

[0690] Figure 32 A block diagram of a software system for an electronic device 1000 according to an embodiment of this application is shown. See also Figure 32 A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the kernel layer, and the hardware layer.

[0691] The application layer can include a series of application packages, such as search service applications, search applications, and optionally, third-party applications.

[0692] The interaction between these three applications can be found in the description above.

[0693] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions. In this embodiment, the framework layer includes a search management service, a search instruction service interface, a management instruction service interface, and a new instruction service interface. The search management service can locate XML files with preset identifiers for search service applications. The search instruction service interface, management instruction service interface, and new instruction service interface provide APIs and programming frameworks for search applications that obtain search instruction services, management instruction services, and new instruction services, respectively.

[0694] The driver layer is the layer between hardware and software. It includes drivers for various hardware components. The driver layer can include sensor drivers.

[0695] The hardware layer includes touch sensors.

[0696] The method in the embodiments of this application will be described in detail below with reference to the above hardware structure and system structure:

[0697] When the 1080K touch sensor receives a touch operation, a corresponding hardware interrupt is sent to the driver layer. The driver layer processes the touch operation into a raw input event (including touch coordinates, touch operation timestamp, etc.). The raw input event is stored in the driver layer. The application framework layer retrieves the raw input event from the driver layer and identifies the control corresponding to the input event. Taking a touch click operation as an example, and the control corresponding to the click operation as a new control, the application searches and calls the new command service interface of the application framework layer, starts the new command process, and displays the command creation page.

[0698] This application provides a chip system including one or more processors for calling and executing instructions stored in memory, thereby performing the methods described in this application. The chip system may be composed of chips or may include chips and other discrete devices.

[0699] The chip system may include input circuits or interfaces for transmitting information or data, and output circuits or interfaces for receiving information or data.

[0700] This application also provides a computer program product that, when executed by a processor, implements the methods described in any of the method embodiments of this application.

[0701] The computer program product can be stored in memory and, after processes such as preprocessing, compilation, assembly, and linking, is finally converted into an executable object file that can be executed by a processor.

[0702] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a computer, implements the methods described in any of the method embodiments of this application. The computer program may be a high-level language program or an executable object program.

[0703] The computer-readable storage medium can be volatile memory or non-volatile memory, or it can include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0704] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process and technical effects of the above-described apparatus and equipment can be referred to the corresponding processes and technical effects in the foregoing method embodiments, and will not be repeated here.

[0705] In the several embodiments provided in this application, the systems, apparatuses, and methods disclosed can be implemented in other ways. For example, some features of the method embodiments described above can be ignored or not performed. The apparatus embodiments described above are merely illustrative; the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Multiple units or components can be combined or integrated into another system. Furthermore, the coupling between units or components can be direct coupling or indirect coupling, including electrical, mechanical, or other forms of connection.

[0706] It should be understood that in the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0707] It should be understood that "multiple" as used in this application refers to two or more. The term "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Furthermore, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0708] The terms (or numbers) "first," "second," etc., appearing in the embodiments of this application are for descriptive purposes only, that is, only to distinguish different objects, such as different "coordinates," etc., and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first," "second," etc., may explicitly or implicitly include one or more features. In the description of the embodiments of this application, "at least one (item)" refers to one or more. "Multiple" means two or more. "At least one (item) below" or similar expressions refer to any combination of these items, including any combination of a single (item) or a plurality of (items).

[0709] In summary, the above description is merely a preferred embodiment of the technical solution of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A method for displaying instructions, applied to an electronic device, characterized in that, The method includes: The first interface is displayed, which includes first instruction display information and first instruction type information. The first instruction display information is associated with the first instruction, which is the entry point to open the first function page. The first instruction display information includes at least one of the following: a first name, a first icon, or a first description. The first name is used to identify the first instruction, the first icon is associated with the first instruction, the first description is used to describe the first instruction, and the first instruction type information indicates the type of the first instruction. The type of the first instruction includes: an instruction defined by the local user, or an instruction recommended by the electronic device. When the first instruction is a recommended instruction by the electronic device, the first interface includes a first area, the first area includes the first instruction display information and the first instruction type information. The first interface also includes a first area and a second area, the content displayed in the second area is associated with the instructions configured to the electronic device. The first area and the second area are different. In response to a first operation on the first instruction display information, the second area displays the first instruction display information and the first instruction type information. Alternatively, if the first instruction is a user-defined instruction, the first interface may further include a first control. In response to a second operation on the first control, the first instruction display information and the first instruction type information may be deleted from the first interface, or the first instruction display information may be hidden from the first interface, or a second interface may be displayed for editing the first instruction.

2. The method as described in claim 1, characterized in that, If the first instruction is an instruction recommended by the electronic device, the second area further includes a second control, and the method further includes: In response to a third operation on the second control, the first instruction display information and the first instruction type information are deleted from the first area.

3. The method as described in claim 1 or 2, characterized in that, If the first instruction is a recommended instruction by the electronic device, the first area further includes a third control, the third control indicating that the first instruction is configured to the electronic device, the first operation including clicking the third control, and the method further including: In response to the first operation, the third control is updated to a fourth control, which is used to execute the first instruction.

4. The method as described in claim 1, characterized in that, If the first instruction is a user-defined instruction, the method further includes the following steps before displaying the first interface: The third interface is displayed, which includes a first area to be created, a second area to be created, and a fifth control. The first area to be created is associated with the first instruction display information, and the second area to be created is associated with the first function page. An operation to input information in the first area to be created was detected; An operation to input information in the second area to be created was detected; The display of the first interface includes: in response to a fourth operation of clicking the fifth control, displaying the first interface, wherein the fifth control is used to confirm the information entered on the third interface.

5. The method as described in claim 4, characterized in that, The first area to be created includes: a first input box and first input indication information, and / or, a second input box and second input indication information, wherein the first input indication information indicates that the name of the first instruction is entered in the first input box, and the second input indication information indicates that an icon associated with the first instruction is entered in the second input box. The operation of detecting input information in the first area to be created includes: detecting the operation of inputting first text in the first input box and / or the operation of inputting a first image in the second input box, wherein the first text is associated with the first name and the first image is associated with the first icon.

6. The method as described in claim 4 or 5, characterized in that, The second area to be created includes a third input box and third input indication information, wherein the third input indication information indicates that an address for jumping to a function page should be entered in the third input box. The detection of inputting information in the second area to be created includes: detecting the input of a first address in the third input box, wherein the first address is used to jump to the first function page.

7. The method as described in claim 1, 4, or 5, characterized in that, When the first instruction is a user-defined instruction, the second interface includes a first editable area and a fifth control. The first editable area includes a first input box and a second input box. The first editable area is associated with the first instruction display information. The method further includes: A fifth operation was detected that edited information in the first area to be edited. In response to a sixth operation on the fifth control, a fourth interface is displayed. The fourth interface includes second instruction display information and first instruction type information. The second instruction display information is different from the first instruction display information. The second instruction display information includes at least one of the following: a second name and a second icon, wherein the second name is used to identify the edited first instruction, and the second icon is associated with the edited first instruction. The fifth operation includes: inputting second text in the first input box, and / or inputting a second image in the second input box; or, the fifth operation includes: deleting the first text when the first input box displays the first text, or deleting the first image when the second input box displays the first image.

8. The method as described in claim 7, characterized in that, The second interface includes a second editable area, which includes a third input box. The second editable area is associated with the first function page. The method further includes: A seventh operation is detected in the second area to be edited. The seventh operation includes: entering a second address in the third input box. The second address is used to jump to the second function page. The second instruction display information is associated with the second instruction, which is the entry point to open the second function page.

9. The method according to any one of claims 1, 4, 5 and 8, characterized in that, After hiding the first instruction display information and the first instruction type information on the first interface, the method further includes: The first interface displays a hidden area, and in response to an operation on the hidden area, a verification interface is displayed; If the verification interface indicates that the verification was successful, the first interface is displayed, and the first interface displays the first instruction display information.

10. The method as described in claim 1, characterized in that, If the first instruction is a recommended instruction by the electronic device and after the first operation is detected, or if the first instruction is a user-defined instruction and before the second operation is detected, the method further includes: The fifth interface is displayed, and the fifth interface includes a first search box; An operation of entering a first search term in the first search box is detected, and the first search term is associated with the first instruction; The first instruction display information and the first instruction type information are displayed on the fifth interface; In response to the operation of displaying information for the first instruction, the first function page is displayed.

11. The method as described in claim 10, characterized in that, The method further includes: The sixth interface is displayed, which includes a second search box; An action of entering a second search term in the second search box was detected, and the second search term was associated with a third instruction; The sixth interface displays third instruction display information, second instruction type information, and a sixth control. The third instruction display information is associated with the third instruction, which serves as the entry point to open the third function page. The third instruction display information includes at least one of the following: a third name, a third icon, or a third description. The third name identifies the third instruction, the third icon is associated with the third instruction, the third description describes the third instruction, the second instruction type information indicates that the third instruction is a recommended instruction by the electronic device, and the sixth control indicates that the third instruction is configured to the electronic device.

12. The method as described in claim 10 or 11, characterized in that, The fifth interface also displays fourth instruction display information, wherein the fourth instruction display information is associated with the fourth instruction, the fourth instruction is associated with the first search term, the fourth instruction is the entry point to open the fourth function page, and the fourth instruction display information includes at least one of the following: a fourth name, a fourth icon, or a fourth description. The method further includes: In response to an operation on the information displayed by the fourth instruction, the fourth function page is displayed, wherein the fifth interface does not include content indicating the configuration, editing, or deletion of the fourth instruction.

13. The method as described in claim 1 or 2, characterized in that, In the case where the first instruction is a recommended instruction by the electronic device, the first instruction type information is specifically used to indicate the source of the first instruction. The source of the first instruction includes: the provider of the electronic device, or the provider of a third-party application, or a user database, wherein the user database is used to filter the instruction set based on the frequency of user use of the instruction and / or user evaluation of the instruction.

14. The method as described in claim 10, characterized in that, Before displaying the first interface, the method further includes: in response to the operation of opening the first interface, obtaining first instruction configuration information from the cloud of the electronic device, writing the first instruction configuration information into the electronic device, wherein the first instruction configuration information is used to configure the first instruction to the electronic device, and the first instruction configuration information includes the first name and the first address, wherein the first address is used to jump to the first function page; Before displaying the first instruction display information and the first instruction type information on the fifth interface, the method further includes: in response to the first operation, determining a first search term based on the first instruction configuration information, and generating a first index based on the first search term, wherein the first search term includes a first keyword and / or a first synonym, the first search term is associated with the first function page, and the first index is used to indicate the first instruction.

15. The method as described in claim 14, characterized in that, The first area also includes a second control, and the method further includes: In response to a third operation on the second control, the first instruction display information and the first instruction type information are deleted in the first area, and the first index and the first instruction configuration information are deleted.

16. The method as described in claim 10, characterized in that, After displaying the first functional page, the method further includes: Send instruction usage data of the first instruction to the user database, wherein the instruction usage data of the first instruction includes the first name, and further includes at least one of the following: the rating of the first instruction, or the usage time of the first instruction.

17. The method as described in claim 4 or 5, characterized in that, If the first instruction is a user-defined instruction, the method further includes: First instruction configuration information is obtained from the first area to be created and the second area to be created. The first instruction configuration information is written into the electronic device. The first instruction configuration information is used to configure the first instruction to the electronic device. The first instruction configuration information includes the first name and the first address. The first address is used to jump to the first function page. The second search term is determined based on the first instruction configuration information, and a second index is generated based on the second search term. The second search term includes a second keyword and / or a second synonym. The second search term is associated with the first function page, and the second index is used to indicate the first instruction.

18. The method as described in claim 8, characterized in that, If the first instruction is a user-defined instruction, the method further includes: During the creation of the first instruction, first instruction configuration information is determined based on user input, and a second index is generated based on the first instruction configuration information. The first instruction configuration information is used to configure the first instruction to the electronic device, and the second index is used to indicate the first instruction. A fifth operation is detected that edits information in the first area to be edited, and / or a seventh operation is detected that edits information in the second area to be edited; In response to a sixth operation on the fifth control, second instruction configuration information is obtained from the first editable area and the second editable area, wherein the second instruction configuration information is different from the first instruction configuration information, and the first instruction configuration information is updated to the second instruction configuration information; According to the second instruction configuration information, the second index is updated to a third index, which is used to indicate the second instruction.

19. The method as described in claim 17, characterized in that, When the first instruction display information and the first instruction type information are deleted from the first interface, the method further includes: In response to the second operation, the second index and the first instruction configuration information are deleted.

20. The method as described in claim 14, characterized in that, After generating the first index based on the first search term, the method further includes: The fifth interface is displayed, and the fifth interface includes a first search box; An action of entering the first search term in the first search box was detected; The first index is obtained by querying the associated index based on the first search term; The first instruction configuration information is obtained based on the first index; Based on the first instruction configuration information, the first instruction display information is displayed on the fifth interface.

21. The method as described in claim 12, characterized in that, The method includes: The fourth instruction configuration information is obtained from the third-party application. The fourth instruction configuration information is used to configure the fourth instruction to the electronic device. The fourth instruction configuration information includes the fourth name and the fourth address. The fourth address is used to jump to the fourth function page included in the third-party application. The third search term is determined based on the fourth instruction configuration information, and a fourth index is generated based on the third search term. The third search term includes a third keyword and / or a third synonym. The fourth index is used to indicate the fourth instruction.

22. The method as described in claim 21, characterized in that, The process of obtaining third-party instruction configuration information from third-party applications includes: An XML file with a preset identifier is found in the operating system of the electronic device. The XML file is associated with the fourth function page. The XML file is stored in the operating system during the installation of the third-party application. The preset identifier indicates that a fourth instruction can be created. The fourth instruction is the entry point to open the fourth function page. The XML file is parsed to obtain the third instruction configuration information, which is used to configure the fourth instruction to the electronic device.

23. The method as described in claim 22, characterized in that, The process of obtaining third-party instruction configuration information from third-party applications includes: The electronic device uses the third-party application to obtain the third instruction configuration information from the cloud of the third-party application.

24. The method as described in claim 22 or 23, characterized in that, The step of generating the fourth index based on the third search term and the third instruction configuration information includes: Under the condition that the preset conditions are met, the fourth index is generated based on the third search term. The preset conditions include: the electronic device is in a charging state, or the electronic device is in a screen-off state, or the time elapsed after the third instruction configuration information is written to the electronic device is greater than a preset time.

25. The method as described in claim 23, characterized in that, The method includes: The third-party application is used to receive instruction status change information from the cloud of the third-party application. The fourth instruction is managed according to the instruction status change information; Wherein, when the instruction status change information indicates that the fourth instruction should be deleted, managing the fourth instruction according to the instruction status change information includes: deleting the fourth index and the third instruction configuration information; Alternatively, if the instruction status change information indicates that the fourth instruction should be updated, the instruction status change information may also include fifth instruction configuration information, which is associated with the fifth instruction. Managing the fourth instruction according to the instruction status change information includes: deleting the fourth index and the third instruction configuration information, configuring the fifth instruction to the electronic device according to the fifth instruction configuration information, and generating a fifth index to indicate the fifth instruction configuration information.

26. An electronic device, characterized in that, The electronic device includes: one or more processors, and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 25.

27. A chip system, characterized in that, The chip system is applied to an electronic device, the chip system including one or more processors, the one or more processors being used to invoke computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 25.

28. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 25.

Citation Information

Patent Citations

  • Application interface quick start control processing method and device and mobile terminal

    CN109814952A

  • Application display method and device, mobile terminal and storage medium

    CN110275690A