Icon Switching Method, Device, Equipment and Medium

The method of switching icons through voice input solves the problem of low efficiency in graphic code usage, and realizes efficient operation of users using the required graphic code icons through simple voice commands.

CN114115636BActive Publication Date: 2025-06-27VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111396812.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2025-06-27
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

In the prior art, graphic code usage is inefficient because the user needs to use a series of click operations to use graphic code icons that are not in one component.

Method used

By switching icons through voice input, the user can switch and display the application program icon and graphic code icon in the first component as a second graphic code icon corresponding to the voice input through voice commands.

Benefits of technology

The required graphic code icons are used without the need for multiple clicks by the user. The operation is simple and improves the efficiency of graphic code usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114115636B_ABST
    Figure CN114115636B_ABST
Patent Text Reader

Abstract

The present application discloses an icon switching method, device, equipment and medium, belonging to the technical field of electronic equipment. The icon switching method includes: displaying a first component, wherein the first component includes a first icon, and the first icon includes at least one of a program icon of an application and a graphic code icon; receiving voice input; in response to the voice input, switching the display of the first icon to a second graphic code icon, wherein the second graphic code icon corresponds to the voice input.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of electronic devices, and particularly relates to an icon switching method, apparatus, device, and medium. Background Art

[0002] With the development of electronic devices and software technologies, there are more and more application programs installed in electronic devices. Some application programs provide graphic codes to implement certain functions of the application programs. For example, a business card code is used to add friends, a scan code is used to provide scanning of codes displayed on other electronic devices, a payment code is used for payment, and so on. However, the startup entrances of some graphic codes (usually graphic code icons) are relatively deep. For example, business card codes, payment codes, etc. Users need to perform a series of click operations to use these graphic codes.

[0003] In order to enable users to quickly use these graphic codes, in related technologies, some graphic code icons are integrated into a component so that users can use the graphic codes in this component.

[0004] However, in related technologies, the graphic code icons integrated into a component are several fixed graphic code icons and do not include all graphic code icons. For the graphic code icons not included in this component, when users use the graphic codes corresponding to these graphic code icons, they still need to perform a series of click operations to use these graphic codes, and the operation is relatively cumbersome, and the usage efficiency of the graphic codes is relatively low. Summary of the Invention

[0005] The purpose of the embodiments of this application is to provide an icon switching method, apparatus, device, and medium, which can solve the problem of low usage efficiency of graphic codes.

[0006] In a first aspect, the embodiments of this application provide an icon switching method, including:

[0007] Display a first component, where the first component includes a first icon, and the first icon includes at least one of a program icon of an application program and a graphic code icon;

[0008] Receive voice input;

[0009] In response to the voice input, switch the display of the first icon to a second graphic code icon, where the second graphic code icon corresponds to the voice input.

[0010] In a second aspect, the embodiments of this application provide an icon switching apparatus, including:

[0011] A first display module, configured to display a first component, where the first component includes a first icon, and the first icon includes at least one of a program icon of an application program and a graphic code icon;

[0012] A first receiving module, configured to receive voice input;

[0013] A second display module, configured to, in response to the voice input, switch the display of a first icon to a second graphic code icon, where the second graphic code icon corresponds to the voice input.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a chip, including a processor and a communication interface. The communication interface is coupled to the processor, and the processor is configured to run a program or instruction to implement the steps of the method described in the first aspect.

[0017] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0018] In the embodiment of the present application, through one voice input, a user can switch the display of the program icon and the graphic code icon included in the first component to a second graphic code icon corresponding to the voice input. Then, when the user clicks on the second graphic code icon, the user can use the graphic code corresponding to the second graphic code icon. In this way, there is no need for the user to use the graphic code corresponding to the second graphic code icon through a series of click operations, the operation is simple, and the usage efficiency of the graphic code can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a schematic flowchart of an icon switching method provided by an embodiment of the present application;

[0020] Figure 2 is a first schematic diagram of icon switching provided by an embodiment of the present application;

[0021] Figure 3 is a second schematic diagram of icon switching provided by an embodiment of the present application;

[0022] Figure 4 is a third schematic diagram of icon switching provided by an embodiment of the present application;

[0023] Figure 5 is a fourth schematic diagram of icon switching provided by an embodiment of the present application;

[0024] Figure 6 It is the fifth schematic diagram of icon switching provided by the embodiments of the present application;

[0025] Figure 7 It is the sixth schematic diagram of icon switching provided by the embodiments of the present application;

[0026] Figure 8 It is the seventh schematic diagram of icon switching provided by the embodiments of the present application;

[0027] Figure 9 It is the eighth schematic diagram of icon switching provided by the embodiments of the present application;

[0028] Figure 10 It is the ninth schematic diagram of icon switching provided by the embodiments of the present application;

[0029] Figure 11 It is the tenth schematic diagram of icon switching provided by the embodiments of the present application;

[0030] Figure 12 It is the eleventh schematic diagram of icon switching provided by the embodiments of the present application;

[0031] Figure 13 It is the structural schematic diagram of the icon switching device provided by the embodiments of the present application;

[0032] Figure 14 It is the structural schematic diagram of the electronic device provided by the embodiments of the present application;

[0033] Figure 15 It is the hardware structural schematic diagram of the electronic device implementing the embodiments of the present application. Detailed implementation manners

[0034] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, rather than all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope protected by the present application.

[0035] The terms "first", "second", etc. in the description and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such used data may be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same category, and the number of objects is not limited. For example, the first object may be one or multiple. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.

[0036] The following will, with reference to the accompanying drawings, describe in detail the icon switching method, apparatus, device, and medium provided by the embodiments of the present application through specific embodiments and their application scenarios.

[0037] Figure 1 is a schematic flowchart of the icon switching method provided by the embodiments of the present application. As Figure 1 shown, the icon switching method may include:

[0038] S101: Display a first component, where the first component includes a first icon, and the first icon includes at least one of a program icon of an application and a graphical code icon;

[0039] S102: Receive voice input;

[0040] S103: In response to the voice input, switch the display of the first icon to a second graphical code icon, where the second graphical code icon corresponds to the voice input.

[0041] The specific implementation manners of the above steps will be described in detail below.

[0042] In the embodiments of the present application, through a single voice input, the user can switch the display of the program icon of the application and the graphical code icon included in the first component to a second graphical code icon corresponding to the voice input. Then, when the user clicks on the second graphical code icon, the user can use the graphical code corresponding to the second graphical code icon. In this way, there is no need for the user to perform a series of click operations to use the graphical code corresponding to the second graphical code icon, and the operation is simple, which can improve the usage efficiency of the graphical code.

[0043] Exemplarily, as Figure 2 shown. Figure 2 is the first schematic diagram of icon switching provided by the embodiments of the present application. In Figure 2 it, first, a first component 100 including only the program icons of applications "program icon 20 of application A, program icon 30 of application B, program icon 40 of application C, and program icon 50 of application D" is displayed. When the voice input by the user is, for example, "display the payment code of A", the payment code icon 21 of application A is displayed.

[0044] Again exemplarily, as Figure 3 shown. Figure 3 is the second schematic diagram of icon switching provided by the embodiments of the present application. In Figure 3In [the situation], first, a first component 100 including a program icon of an application and graphical code icons "the program icon 20 of application A, the payment code icon 31 of application B, the scan code icon 43 of application C, and the business card code icon 54 of application D" is displayed. When the voice input by the user is, for example, "display the payment code of A", the payment code icon 21 of application A is displayed.

[0045] Exemplarily again, as Figure 4 shown. Figure 4 Figure 3 is the third schematic diagram of icon switching provided by an embodiment of the present application. In Figure 4 [the situation], first, a first component 100 including only graphical code icons "the payment code icon 22 of application A, the payment code icon 31 of application B, the scan code icon 43 of application C, and the business card code icon 54 of application D" is displayed. When the voice input by the user is, for example, "I want to use the scan code of A", the scan code icon 23 of application A is displayed.

[0046] In some possible implementations of the embodiment of the present application, S103 may include: when the voiceprint information corresponding to the voice input meets a preset condition, switching the display of the first icon to a second graphical code icon.

[0047] Among them, the preset condition may include that the voiceprint information corresponding to the voice input matches the voiceprint information of the owner of the electronic device receiving the voice input.

[0048] In some possible implementations of the embodiment of the present application, the voiceprint information of the user who is the owner of the electronic device may be pre-stored in the electronic device. After the electronic device receives a voice input, it matches the voiceprint information corresponding to the received voice input with the voiceprint information stored in the electronic device. When the voiceprint information corresponding to the voice input matches the voiceprint information stored in the electronic device, it switches the display of the first icon to a second graphical code icon; otherwise, it does not perform icon switching.

[0049] In the embodiment of the present application, only when the voiceprint information corresponding to the voice input matches the voiceprint information of the owner of the electronic device receiving the voice input, the display of the first icon is switched to a second graphical code icon. On the one hand, it can avoid the frequent switching of icons from affecting the user's use of the electronic device, and on the other hand, it can ensure the user's property safety.

[0050] In some possible implementations of the embodiment of the present application, S103 may include: performing semantic analysis on the text information corresponding to the voice input to obtain a semantic result corresponding to the text information; switching the display of the first icon to the graphical code icon corresponding to the semantic result.

[0051] In the embodiments of the present application, semantic analysis refers to using machine learning methods to learn and understand the semantic content represented by a piece of text. By performing semantic analysis on the text information corresponding to the voice input, the specific meaning represented by the text information (i.e., the semantic result corresponding to the text information) can be obtained. Based on the specific meaning represented by the text information, the target graphic code icon can be determined, and then the first icon can be switched to display the target graphic code icon corresponding to the semantic result.

[0052] It can be understood that before performing semantic analysis on the text information corresponding to the voice input, it is necessary to perform speech recognition on the voice information of the voice input to obtain the text information corresponding to the voice information of the voice input.

[0053] Among them, semantic analysis and speech recognition in the embodiments of the present application both belong to the application category of Natural Language Processing (NLP). The embodiments of the present application do not limit the methods adopted for semantic analysis and speech recognition, and any available method can be applied to the embodiments of the present application.

[0054] In the embodiments of the present application, by performing semantic analysis on the text information corresponding to the voice input, the specific meaning of the user's voice can be accurately obtained, and thus the accuracy of graphic code switching can be improved.

[0055] In some possible implementations of the embodiments of the present application, when it is only possible to recognize through voice input that the user wants to switch the first icon to the icon of an application program, then the program icon and graphic code icon of the application program are displayed. Exemplarily, as Figure 5 shown, Figure 5 is the fourth schematic diagram of icon switching provided by the embodiments of the present application. In Figure 5 the program icon 20 of application program A, the collection code icon 21 of application program A, the payment code icon 22 of application program A, the scan code icon 23 of application program A, and the business card code icon 24 of application program A are switched and displayed.

[0056] In some possible implementations of the embodiments of the present application, when it is possible to recognize through voice input that the user wants to switch the first icon to a certain graphic code icon of an application program, then the graphic code icon is displayed. Exemplarily, as shown above Figure 2 , Figure 3 and Figure 4 shown.

[0057] In some possible implementations of the embodiments of the present application, when it is only possible to recognize through voice input that the user wants to switch the first icon to a certain type of graphic code icon, and the application program is not recognized, then the graphic code icons belonging to this type included in multiple application programs are displayed. Exemplarily, as Figure 6 shown, Figure 6This is the fifth schematic diagram of icon switching provided by the embodiments of the present application. In Figure 6 Among them, the type of the graphic code that the user wants to use is the scan code. The displayed graphic code icons include: the scan code icon 23 of application A, the scan code icon 33 of application B, and the scan code icon 43 of application C. It can be understood that the applications including the scan code are: application A, application B, and application C.

[0058] In some possible implementations of the embodiments of the present application, when the specific graphic code cannot be recognized by voice input, nor the type and application of the graphic code, the graphic code icons corresponding to the graphic codes of each application that the user used most recently can be displayed. Exemplarily, as Figure 7 shown, Figure 7 This is the sixth schematic diagram of icon switching provided by the embodiments of the present application. In Figure 7 Among them, the graphic code of application A that the user used most recently is the payment code, the graphic code of application B that the user used most recently is the collection code, the graphic code of application C that the user used most recently is the scan code, and the graphic code of application D that the user used most recently is the business card code. Figure 7 The graphic code icons displayed in it include: the payment code icon 22 of application A, the collection code icon 31 of application B, the scan code icon 43 of application C, and the business card code icon 54 of application D.

[0059] In some possible implementations of the embodiments of the present application, when the specific graphic code cannot be recognized by voice input, nor the type and application of the graphic code, the default icon can be displayed.

[0060] In some possible implementations of the embodiments of the present application, the default icon can be one or more. When there are multiple default icons, the multiple icons can correspond to multiple applications one by one, that is, a default icon is set for each application.

[0061] In some possible implementations of the embodiments of the present application, the default icon can be set according to actual needs and / or the user's usage of the graphic code. For example, if the user often uses the payment code of application A, the payment code icon of application A is set as the default graphic code icon.

[0062] In some possible implementations of the embodiments of the present application, the first icon or the second graphic code icon includes at least two icons, and the at least two icons respectively correspond to at least two application programs one by one. The icon switching method provided by the embodiments of the present application further includes: receiving a first input for a first target icon, where the first target icon is any one of the at least two icons; in response to the first input, when the first target icon belongs to a first type and the second target icon belongs to a second type, switching the first target icon to a third target icon and switching the second target icon to a fourth target icon, where the first type and the second type are different, the second target icon is an icon associated with the first input among the at least two icons other than the first target icon, the third target icon belongs to the second type, and the fourth target icon belongs to the first type; when the first target icon and the second target icon both belong to a third type, switching the first target icon to a fifth target icon and switching the second target icon to a sixth target icon, where the fifth target icon and the sixth target icon belong to a fourth type, and the fourth type and the third type are different.

[0063] In some possible implementations of the embodiments of the present application, the first input may be a click input for clicking the first target icon, may also be a drag input for dragging the first target icon, or may also be an input for dragging the first target icon to touch the second target icon.

[0064] In some possible implementations of the embodiments of the present application, when the first input is a click input for clicking the first target icon, the second target icon may be an icon adjacent to the first target icon.

[0065] In some possible implementations of the embodiments of the present application, when the first input is a drag input for dragging the first target icon, the second target icon may be an icon within the range enclosed by the movement track of the first target icon; it may also be an icon "touched" by the first target icon, that is, after dragging the first target icon to a certain area, the part of the other icon existing in this area is the second target icon.

[0066] Exemplarily, as Figure 8 shown, Figure 8 is the seventh schematic diagram of icon switching provided by the embodiments of the present application. In Figure 8 , when the user drags the collection code icon 21 of application A to touch the payment code icon 32 of application B, the collection code icon 21 of application A is switched to the payment code icon 22 of application A, and the payment code icon 32 of application B is switched to the collection code icon 31 of application B. In Figure 8Among them, the collection code icon 21 of application A and the collection code icon 31 of application B belong to the collection code type, the payment code icon 22 of application A and the payment code icon 32 of application B belong to the payment code type, and the collection code type and the payment code type are different types.

[0067] Exemplarily, as Figure 9 shown, Figure 9 is the eighth schematic diagram of icon switching provided by the embodiment of the present application. In Figure 9 when the user drags the collection code icon 21 of application A to touch the collection code icon 31 of application B, the collection code icon 21 of application A is switched to the business card code icon 24 of application A, and the collection code icon 31 of application B is switched to the business card code icon 34 of application B. In Figure 9 the collection code icon 21 of application A and the collection code icon 31 of application B belong to the collection code type, the business card code icon 24 of application A and the business card code icon 34 of application B belong to the business card code type, and the collection code type and the business card code type are different types.

[0068] Exemplarily, as Figure 10 shown, Figure 10 is the ninth schematic diagram of icon switching provided by the embodiment of the present application. In Figure 10 when the user drags the program icon 20 of application A to touch the scan code icon 33 of application B, the program icon 20 of application A is switched to the scan code icon 23 of application A, and the scan code icon 33 of application B is switched to the program icon 30 of application B. In Figure 10 the program icon 20 of application A and the program icon 30 of application B belong to the program icon type, the scan code icon 23 of application A and the scan code icon 33 of application B belong to the scan code type, and the program icon type and the scan code type are different types.

[0069] In some possible implementations of the embodiment of the present application, when the first target icon and the second target icon are of the same type, the type of the switched graphic code icon can be set according to actual needs. For example, as long as the first target icon and the second target icon are of the same type, the type of the switched graphic code icon belongs to the business card code type. For another example, when the first target icon and the second target icon belong to the payment type or the collection type, the type of the switched graphic code icon is the business card code type; when the first target icon and the second target icon are of the business card code type, the type of the switched graphic code is the scan code type; when the first target icon and the second target icon are of the scan code type, the type of the switched graphic code is the business card code type or the collection code type.

[0070] In the embodiments of the present application, a user can switch icons through one input, which can improve the icon switching efficiency, and further improve the usage efficiency of the graphic code and the user experience.

[0071] In some possible implementations of the embodiments of the present application, the icon switching method provided by the embodiments of the present application further includes: displaying a third target icon or a fifth target icon in a first display manner, where the first display manner is different from the display manners of other icons.

[0072] The embodiments of the present application do not limit the first display manner, and any available manner can be applied to the embodiments of the present application. For example, displaying the graphic code icon in a certain set color, or adding a border to the icon, or magnifying the display of the icon, etc. As Figure 11 shown, Figure 11 is the tenth schematic diagram of icon switching provided by the embodiments of the present application. In Figure 11 , the first display manner is to magnify the display of the icon.

[0073] In some possible implementations of the embodiments of the present application, the graphic code display method provided by the embodiments of the present application further includes: receiving a second input; in response to the second input, displaying a third target icon or a fifth target icon in a second display manner, where the second display manner is the same as the display manners of other icons.

[0074] The embodiments of the present application do not limit the second input, and any available input can be applied to the embodiments of the present application. For example, a click input for clicking on an area outside the first component. As Figure 12 shown, Figure 12 is the eleventh schematic diagram of icon switching provided by the embodiments of the present application.

[0075] In some possible implementations of the embodiments of the present application, after receiving the user's lock screen input, all icons are switched to the icons corresponding to the graphic codes of the applications that the user used most recently or the default icons of each application, and then the screen is locked.

[0076] In some possible implementations of the embodiments of the present application, when the user clicks on the first icon or the second graphic code icon included in the first component, the corresponding graphic code page or application page can be entered.

[0077] Exemplarily, when the icon clicked by the user is a program icon, if the application corresponding to the program icon is running in the background, the page where the application is running in the background is brought to the foreground for display. When the application is not running, the application is started and the home page of the application is displayed.

[0078] Exemplarily, when the icon clicked by the user is the business card code icon of a certain application, the business card code page of the application is displayed.

[0079] Exemplarily, when the icon clicked by the user is the scan icon of a certain application, the scan page of the application is displayed, and the image acquisition device is started to perform image acquisition.

[0080] It should be noted that for the icon switching method provided in the embodiments of the present application, the execution subject may be an icon switching device. In the embodiments of the present application, taking the icon switching device as an example to execute the icon switching method, the icon switching device provided in the embodiments of the present application is described.

[0081] Figure 13 is a schematic structural diagram of the icon switching device provided in the embodiments of the present application. As Figure 13 shown, the icon switching device 1200 may include:

[0082] A first display module 1201, configured to display a first component, where the first component includes a first icon, and the first icon includes at least one of a program icon of an application and a graphic code icon;

[0083] A first receiving module 1202, configured to receive voice input;

[0084] A second display module 1203, configured to, in response to the voice input, switch the display of the first icon to a second graphic code icon, where the second graphic code icon corresponds to the voice input.

[0085] In the embodiments of the present application, through one voice input, the user can switch the display of the program icon of the application and the graphic code icon included in the first component to the second graphic code icon corresponding to the voice input. Furthermore, when the user clicks the second graphic code icon, the graphic code corresponding to the second graphic code icon can be used. In this way, there is no need for the user to use the graphic code corresponding to the second graphic code icon through a series of click operations, the operation is simple, and the usage efficiency of the graphic code can be improved.

[0086] In some possible implementations of the embodiments of the present application, the second display module 1203 includes:

[0087] An analysis sub-module, configured to perform semantic analysis on the text information corresponding to the voice input to obtain a semantic result corresponding to the text information;

[0088] A display sub-module, configured to switch the display of the first icon to the graphic code icon corresponding to the semantic result.

[0089] In the embodiments of the present application, by performing semantic analysis on the text information corresponding to the voice input, the specific meaning of the user's voice can be accurately obtained, and further the accuracy of graphic code switching can be improved.

[0090] In some possible implementations of the embodiments of the present application, the second display module 1203 is specifically configured to:

[0091] When the voiceprint information corresponding to the voice input meets a preset condition, switch the display of the first icon to a second graphic code icon.

[0092] In the embodiments of the present application, the first icon is switched to the second graphic code icon only when the voiceprint information corresponding to the voice input matches the voiceprint information of the owner of the electronic device that receives the voice input. On the one hand, it can avoid frequent icon switching from affecting the user's use of the electronic device. On the other hand, it can ensure the user's property safety.

[0093] In some possible implementations of the embodiments of the present application, the first icon or the second graphic code icon includes at least two icons, and the at least two icons respectively correspond to at least two application programs one by one; the icon switching device 1200 provided in the embodiments of the present application further includes:

[0094] A second receiving module, configured to receive a first input to a first target icon, where the first target icon is any one of the at least two icons;

[0095] A first switching module, configured to, in response to the first input, when the first target icon belongs to a first type and the second target icon belongs to a second type, switch the first target icon to a third target icon and switch the second target icon to a fourth target icon, where the first type and the second type are different, the second target icon is an icon associated with the first input among the at least two icons other than the first target icon, the third target icon belongs to the second type, and the fourth target icon belongs to the first type;

[0096] A second switching module, configured to, when the first target icon and the second target icon both belong to a third type, switch the first target icon to a fifth target icon and switch the second target icon to a sixth target icon, where the fifth target icon and the sixth target icon belong to a fourth type, and the fourth type and the third type are different.

[0097] In the embodiments of the present application, the user can switch the icon with one input, which can improve the icon switching efficiency, and further improve the usage efficiency of the graphic code and the user experience effect.

[0098] In some possible implementations of the embodiments of the present application, the first input includes:

[0099] An input of dragging the first target icon to touch the second target icon.

[0100] In some possible implementations of the embodiments of the present application, the icon switching device 1200 provided by the embodiments of the present application further includes: a third display module, configured to display a third target icon or a fifth target icon in a first display manner, where the first display manner is different from the display manners of other icons.

[0101] In some possible implementations of the embodiments of the present application, the icon switching device 1200 provided by the embodiments of the present application further includes:

[0102] a third receiving module, configured to receive a second input;

[0103] a fourth display module, configured to, in response to the second input, display a third target icon or a fifth target icon in a second display manner, where the second display manner is the same as the display manners of other icons.

[0104] The icon switching device in the embodiments of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.

[0105] The icon switching device in the embodiments of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.

[0106] The icon switching device provided by the embodiments of the present application can implement Figures 1 to 12 each process in the icon switching method embodiments. To avoid repetition, details are not described here again.

[0107] Optionally, as Figure 14As shown in the figure, an embodiment of the present application further provides an electronic device 1300, including a processor 1301 and a memory 1302. The memory 1302 stores programs or instructions that can run on the processor 1301. When the programs or instructions are executed by the processor 1301, each process of the above-mentioned icon switching method embodiment is implemented, and the same technical effects can be achieved. To avoid repetition, details are not described here again.

[0108] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0109] In some possible implementations of the embodiments of the present application, the processor 1301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured as one or more integrated circuits for implementing the embodiments of the present application.

[0110] In some possible implementations of the embodiments of the present application, the memory 1302 may include a read-only memory (ROM), a random access memory (RAM), a disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory 1302 includes one or more tangible (non-transitory) computer-readable storage media (such as memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the icon switching method according to the embodiments of the present application.

[0111] Figure 15 It is a schematic diagram of the hardware structure of the electronic device for implementing the embodiments of the present application.

[0112] The electronic device 1400 includes, but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409, and a processor 1410, etc.

[0113] Those skilled in the art can understand that the electronic device 1400 may further include a power source (such as a battery) for supplying power to each component. The power source may be logically connected to the processor 1410 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 15The structure of the electronic device shown does not limit the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0114] Among them, the display unit 1406 is used to: display a first component, where the first component includes a first icon, and the first icon includes at least one of a program icon of an application and a graphical code icon.

[0115] The input unit 1404 is used to: receive voice input.

[0116] The display unit 1406 is further used to: in response to the voice input, switch the display of the first icon to a second graphical code icon, where the second graphical code icon corresponds to the voice input.

[0117] In the embodiment of the present application, through one voice input, the user can switch the display of the program icon of the application and the graphical code icon included in the first component to the second graphical code icon corresponding to the voice input. Then, when the user clicks on the second graphical code icon, the user can use the graphical code corresponding to the second graphical code icon. In this way, there is no need for the user to use the graphical code corresponding to the second graphical code icon through a series of click operations, the operation is simple, and the usage efficiency of the graphical code can be improved.

[0118] In some possible implementations of the embodiment of the present application, the processor 1410 is used to: perform semantic analysis on the text information corresponding to the voice input to obtain a semantic result corresponding to the text information.

[0119] The display unit 1406 is specifically used to: switch the display of the first icon to the graphical code icon corresponding to the semantic result.

[0120] In the embodiment of the present application, by performing semantic analysis on the text information corresponding to the voice input, the specific meaning of the user's voice can be accurately obtained, and further, the accuracy of graphical code switching can be improved.

[0121] In some possible implementations of the embodiment of the present application, the display unit 1406 is specifically used to:

[0122] When the voiceprint information corresponding to the voice input meets a preset condition, switch the display of the first icon to the second graphical code icon.

[0123] In the embodiment of the present application, only when the voiceprint information corresponding to the voice input matches the voiceprint information of the owner of the electronic device that receives the voice input, the display of the first icon is switched to the second graphical code icon. On the one hand, it can avoid frequent icon switching from affecting the user's use of the electronic device, and on the other hand, it can ensure the user's property safety.

[0124] In some possible implementations of the embodiments of the present application, the first icon or the second graphic code icon includes at least two icons, and the at least two icons respectively correspond to at least two application programs one by one;

[0125] The user input unit 1407 is configured to: receive a first input to the first target icon, where the first target icon is any one of the at least two icons;

[0126] The processor 1410 is further configured to: in response to the first input, when the first target icon belongs to a first type and the second target icon belongs to a second type, switch the first target icon to a third target icon and switch the second target icon to a fourth target icon, where the first type and the second type are different, the second target icon is the icon associated with the first input among the at least two icons other than the first target icon, the third target icon belongs to the second type, and the fourth target icon belongs to the first type; when the first target icon and the second target icon both belong to a third type, switch the first target icon to a fifth target icon and switch the second target icon to a sixth target icon, where the fifth target icon and the sixth target icon belong to a fourth type, and the fourth type and the third type are different.

[0127] In the embodiments of the present application, the user can achieve the switching of the icons through one input, which can improve the icon switching efficiency, and further improve the usage efficiency of the graphic code and the user experience effect.

[0128] In some possible implementations of the embodiments of the present application, the first input includes:

[0129] An input of dragging the first target icon to touch the second target icon.

[0130] In some possible implementations of the embodiments of the present application, the display unit 1406 is further configured to: display the third target icon or the fifth target icon in a first display manner, where the first display manner is different from the display manners of other icons.

[0131] In some possible implementations of the embodiments of the present application, the user input unit 1407 is further configured to: receive a second input; correspondingly, the display unit 1406 is further configured to: in response to the second input, display the third target icon or the fifth target icon in a second display manner, where the second display manner is the same as the display manners of other icons.

[0132] It should be understood that in the embodiments of the present application, the input unit 1404 may include a Graphics Processing Unit (GPU) 14041 and a microphone 14042. The graphics processor 14041 processes the image data of static pictures or videos obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1407 includes at least one of a touch panel 14071 and other input devices 14072. The touch panel 14071 is also referred to as a touch screen. The touch panel 14071 may include two parts: a touch detection device and a touch controller. The other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated herein.

[0133] The memory 1409 can be used to store software programs and various data. The memory 1409 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1409 may include a volatile memory or a non-volatile memory, or the memory 1409 may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synch link dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM). The memory 1409 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memories.

[0134] The processor 1410 may include one or more processing units; optionally, the processor 1410 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 1410 either.

[0135] The embodiments of the present application also provide a readable storage medium. A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, it implements each process of the above embodiment of the icon switching method and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0136] Among them, the processor is the processor in the electronic device in the above-mentioned embodiment. The readable storage medium includes a computer-readable storage medium. Examples of the computer-readable storage medium include non-transitory computer-readable storage media, such as ROM, RAM, magnetic disks, or optical discs, etc.

[0137] Another embodiment of the present application provides a chip, including a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above-mentioned embodiment of the icon switching method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0138] It should be understood that the chip mentioned in the embodiment of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.

[0139] The embodiment of the present application provides a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above-mentioned embodiment of the icon switching method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0140] It should be noted that in this article, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article, or device including that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed. It may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.

[0141] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described example methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the related technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0142] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.

Claims

1. An icon switching method, characterized in that, The method includes: Displaying a first component, where the first component includes a first icon, and the first icon includes at least one of a program icon of an application and a graphical code icon; Receiving a voice input; In response to the voice input, switching the display of the first icon to a second graphical code icon, where the second graphical code icon corresponds to the voice input; The first icon or the second graphical code icon includes at least two icons, and the at least two icons respectively correspond to at least two applications one by one; the method further includes: Receiving a first input to a first target icon, where the first target icon is any one of the at least two icons; In response to the first input, when the first target icon belongs to a first type and a second target icon belongs to a second type, switching the first target icon to a third target icon and switching the second target icon to a fourth target icon, where the first type and the second type are different, the second target icon is an icon among the at least two icons other than the first target icon and associated with the first input, the third target icon belongs to the second type, and the fourth target icon belongs to the first type; When the first target icon and the second target icon both belong to a third type, switching the first target icon to a fifth target icon and switching the second target icon to a sixth target icon, where the fifth target icon and the sixth target icon belong to a fourth type, and the fourth type and the third type are different.

2. The method according to claim 1, wherein The switching the display of the first icon to a second graphical code icon includes: Performing semantic analysis on the text information corresponding to the voice input to obtain a semantic result corresponding to the text information; Switching the display of the first icon to the graphical code icon corresponding to the semantic result.

3. The method according to claim 1, wherein The switching the display of the first icon to a second graphical code icon includes: When the voiceprint information corresponding to the voice input meets a preset condition, switching the display of the first icon to a second graphical code icon.

4. The method according to claim 1, characterized in that The first input includes: An input of dragging the first target icon to touch the second target icon.

5. The method according to claim 1, characterized in that The method further includes: Displaying the third target icon or the fifth target icon in a first display manner, where the first display manner is different from the display manner of other icons.

6. The method according to claim 5, wherein The method further includes: Receiving a second input; In response to the second input, displaying the third target icon or the fifth target icon in a second display manner, where the second display manner is the same as the display manner of the other icons.

7. An icon switching device, characterized in that, The device includes: A first display module for displaying a first component, where the first component includes a first icon, and the first icon includes at least one of a program icon of an application and a graphical code icon; A first receiving module for receiving a voice input; A second display module for, in response to the voice input, switching the display of the first icon to a second graphical code icon, where the second graphical code icon corresponds to the voice input; The first icon or the second graphical code icon includes at least two icons, and the at least two icons respectively correspond to at least two application programs one by one; the apparatus further includes: A second receiving module, configured to receive a first input to a first target icon, where the first target icon is any one of the at least two icons; A first switching module, configured to, in response to the first input, when the first target icon belongs to a first type and a second target icon belongs to a second type, switch the first target icon to a third target icon and switch the second target icon to a fourth target icon, where the first type and the second type are different, the second target icon is an icon among the at least two icons that is associated with the first input and other than the first target icon, the third target icon belongs to the second type, and the fourth target icon belongs to the first type; A second switching module, configured to, when the first target icon and the second target icon both belong to a third type, switch the first target icon to a fifth target icon and switch the second target icon to a sixth target icon, where the fifth target icon and the sixth target icon belong to a fourth type, and the fourth type and the third type are different.

8. An electronic device, characterized in that, The electronic device includes: a processor and a memory, where the memory stores a program or instruction that can run on the processor, and when the program or instruction is executed by the processor, the steps of the icon switching method according to any one of claims 1 to 6 are implemented.

9. A readable storage medium, characterized in that, A program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the icon switching method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Payment page switching method and mobile terminal

    CN106408289A

  • Widget processing method and related device

    CN111240789A