Switching method and electronic equipment
Through voiceprint recognition technology, automatic switching of application accounts or modes is achieved in electronic devices, which solves the problem of unintelligent switching between multiple people using devices, and improves user experience and personalized services.
Patent Information
- Application Number
- CN202510352364.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2025-08-08
AI Technical Summary
In the electronic devices used by multiple people, it is difficult to achieve convenient and accurate switching of application accounts or usage modes, especially in multi-person scenarios, the limitations of the camera's face acquisition method lead to insensible and accurate switching.
Through voiceprint recognition technology, voiceprint information in voice commands is detected, and based on the association relationship between voiceprint information and application account or mode, automatic switching or new application account is realized, reducing user manual operations.
It improves the intelligence and accuracy of application accounts or mode switching, improves user experience, and realizes personalized services and management for different users.
Smart Images

Figure CN120447857A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of terminal equipment, and in particular to a switching method and electronic equipment. Background Art
[0002] With the development and progress of technology, the functions of devices are gradually improved and enriched. In addition to continuously improving the basic functions of devices, the various types of functions that can be developed for devices are gradually increasing, and users have increasingly sophisticated requirements for the device experience.
[0003] For example, for electronic products used by multiple people at home, such as large screens and tablets, how to improve the experience of multiple people using the device is of great research significance. Summary of the Invention
[0004] The embodiments of the present application provide a switching method and an electronic device for realizing portable switching between multiple different application accounts on an electronic device, thereby realizing personalized services for different users.
[0005] In a first aspect, a switching method is provided. This method can be applied to an electronic device. In this method, a first voice command is detected on a first interface, where the first interface is used to instruct a first application to log in to a first account. In response to the first voice command, a second interface is displayed, where the second interface is used to instruct the first application to log in to a second account, and the first voiceprint information of the first voice command is associated with the second account.
[0006] In the embodiments of the present application, switching application accounts through voiceprint recognition can improve the accuracy of application accounts. This allows applications to conveniently manage different application accounts for different users, thereby enabling personalized management of different users. For example, the playback records corresponding to different users can be kept independent of each other, and switching application accounts does not require users to perform complex manual operations, which can improve the user experience.
[0007] In one possible design, the method further includes: displaying a third interface in response to a second voice command, wherein the third interface is used to instruct the first application to log in to a third account, where the third account is a newly created account; and establishing an association between the second voiceprint information of the second voice command and the third account.
[0008] This design, based on voiceprint recognition, not only enables switching to existing app accounts, but also automatically creates new accounts for voiceprint information when it's not associated with an app account. This eliminates the need for complex manual operations by the user, allowing the electronic device to automatically create new app accounts. It also allows maintaining different app accounts for different users, enabling personalized services and management for each user.
[0009] In one possible design, displaying the second interface in response to the first voice command includes: extracting the first voiceprint information from the first voice command; determining a first identifier based on the first voiceprint information; and searching for the second account from M accounts based on the first identifier. Exemplarily, the voiceprint information may include voiceprint features and a UUID. For example, the first identifier is a UUID.
[0010] In this design, UUID can be used to facilitate identification by electronic devices, so that based on the association between voiceprint information and application account, the application account corresponding to the voiceprint information can be quickly retrieved.
[0011] In one possible design, before the first voice command is detected, the method also includes: saving the first voiceprint information in response to a first operation instruction, the first operation instruction being used to record the voiceprint characteristics of the first voiceprint information; generating a first identifier for the first voiceprint information; and establishing an association relationship between the first identifier and the second account in response to a second operation instruction, the second operation instruction being used to instruct the establishment of an association relationship between the first identifier and the second account.
[0012] In this design, by associating the voiceprint information stored in the operating system with multiple application accounts included in the application, it is possible to conveniently switch the application account associated with the voiceprint information corresponding to the voice command based on voice commands, thereby realizing personalized services for different users.
[0013] In one possible design, the second account is a preset account, and the first voiceprint information is for an unsaved user. For example, the preset account is a primary family account or a guest account.
[0014] This design allows for more precise management of app accounts by defining specific scenarios. For example, when a guest uses an app on an electronic device, there's no need to maintain a dedicated app account for the guest. Instead, the primary family account or guest account can be reused, reducing the number of app accounts and simplifying account management.
[0015] In a second aspect, the present application provides an electronic device comprising multiple functional modules; the multiple functional modules interact with each other to implement the method performed by the electronic device in any of the above aspects and their possible designs. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on the specific implementation.
[0016] In a third aspect, the present application provides an electronic device comprising at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the electronic device is running, the at least one processor executes the method executed by the electronic device in any of the above aspects and its possible designs.
[0017] In a fourth aspect, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a computer, the computer executes the method executed by the electronic device in any of the above aspects and its possible designs.
[0018] In a fifth aspect, the present application provides a computer program product, which includes: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute any of the above aspects and possible methods of designing an electronic device.
[0019] In a sixth aspect, an embodiment of the present application also provides a graphical user interface on an electronic device, which has a display screen, one or more memories, and one or more processors, wherein the one or more processors are used to execute one or more computer programs stored in the one or more memories, and the graphical user interface includes a graphical user interface displayed when the electronic device executes any of the above aspects and its possible designs.
[0020] In a seventh aspect, the present application also provides a chip, which is used to read a computer program stored in a memory and execute a method executed by an electronic device in any of the above aspects and its possible designs.
[0021] In an eighth aspect, the present application further provides a chip system, comprising a processor for supporting a computer device in implementing any of the above aspects and possible methods for designing electronic devices for execution. In one possible design, the chip system further comprises a memory for storing programs and data necessary for the computer device. The chip system may be composed of a chip or may include a chip and other discrete devices.
[0022] For the beneficial effects of any of the second to eighth aspects and their possible designs, please refer to the beneficial effects of the various possible designs in the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 Shown is a schematic diagram of a possible scenario;
[0024] Figure 2 A schematic diagram of the hardware structure of a possible electronic device provided in an embodiment of the present application;
[0025] Figure 3 A software architecture block diagram of an electronic device provided in an embodiment of the present application;
[0026] Figure 4 This is one of the interface diagrams of a switching method provided in an embodiment of the present application;
[0027] Figure 5 This is a second interface diagram of a switching method provided in an embodiment of the present application;
[0028] Figure 6 This is a third interface diagram of a switching method provided in an embodiment of the present application;
[0029] Figure 7 One of the flow charts of a switching method provided in an embodiment of the present application;
[0030] Figure 8 A second flow chart of a switching method provided in an embodiment of the present application;
[0031] Figure 9 The third flowchart of a switching method provided in an embodiment of the present application;
[0032] Figure 10 A fourth flowchart of a switching method provided in an embodiment of the present application;
[0033] Figure 11 A fifth flow chart of a switching method provided in an embodiment of the present application;
[0034] Figure 12 This is a sixth flow chart of a switching method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0036] The embodiments of the present application can be applied to the field of terminal device technology, and can be specifically applied to scenarios where multiple accounts need to be managed in device applications. For example, Figure 1The following is a schematic diagram of a possible scenario. In a large-screen application, multiple different modes can be provided, such as child mode, standard mode, and elderly mode; or multiple application accounts can be provided, such as different users using different application accounts.
[0037] In one possible implementation, the device switches between different application accounts by detecting user operations. However, this method requires manual operation and is less intelligent.
[0038] Another possible implementation involves the gradual upgrading of hardware resources and the enhancement of computing power with the advancement of electronic product technology. This allows for the use of artificial intelligence (AI) recognition algorithms to switch between different modes or application accounts based on the user's face, thereby improving the intelligent switching capabilities in multi-account scenarios. However, due to the limitations of the camera's facial recognition methods, processing in multi-person scenarios is more complex, making it difficult to accurately identify the target face and then accurately switch to the application account or mode corresponding to that target face.
[0039] In view of this, embodiments of the present application provide a switching method. This method is used to improve the intelligence of switching application accounts or application usage modes, reduce user operations, and thus improve the user experience. In this method, based on voiceprint recognition, the target application account or target mode to be switched is determined.
[0040] The embodiments of the present application can be applied to electronic devices such as mobile phones, PCs, tablet computers, wearable devices (e.g., watches, bracelets, etc.), in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), smart home devices (e.g., smart TVs, smart speakers, etc.). It will be understood that the embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
[0041] The electronic devices to which the embodiments of the present application can be applied include but are not limited to electronic devices equipped with Or electronic devices with other operating systems. The portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (eg, a touch panel).
[0042] Figure 2FIG2 shows a schematic diagram of the hardware structure of a possible electronic device. The electronic device 200 includes: a radio frequency (RF) circuit 210, a power supply 220, a processor 230, a memory 240, an input unit 250, a display unit 260, an audio circuit 270, a communication interface 280, and a wireless fidelity (Wi-Fi) module 290. Those skilled in the art will understand that Figure 2 The hardware structure of the electronic device 200 shown in the figure does not constitute a limitation on the electronic device 200. The electronic device 200 provided in the embodiment of the present application may include more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. Figure 2 The various components shown in the drawings may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
[0043] The following combination Figure 2 The components of the electronic device 200 are described in detail.
[0044] The RF circuit 210 can be used to receive and transmit data during communications or calls. Specifically, after receiving downlink data from the base station, the RF circuit 210 sends it to the processor 230 for processing. Furthermore, it sends uplink data to the base station. Typically, the RF circuit 210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, and the like.
[0045] In addition, the RF circuit 210 can also communicate with other devices via a wireless communication network. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0046] The electronic device 200 can also realize communication services and interact with other electronic devices, so the electronic device 200 needs to have a data transmission function, that is, the electronic device 200 needs to include a communication module. Figure 2 Communication modules such as the RF circuit 210, the Wi-Fi module 290, and the communication interface 280 are shown, but it is understandable that at least one of the above components or other communication modules (such as a Bluetooth module) for implementing communication exist in the electronic device 200 to perform data transmission.
[0047] For example, when the electronic device 200 is a mobile phone, the electronic device 200 may include the RF circuit 210, and may also include the Wi-Fi module 290, or may include a Bluetooth module ( Figure 2 When the electronic device 200 is a computer, the electronic device 200 may include the communication interface 280, and may also include the Wi-Fi module 290, or may include a Bluetooth module ( Figure 2 When the electronic device 200 is a tablet computer, the electronic device 200 may include the Wi-Fi module, or may include a Bluetooth module ( Figure 2 not shown).
[0048] Wi-Fi technology is a short-range wireless transmission technology. The electronic device 200 can connect to an access point (AP) via the Wi-Fi module 290 to access a data network. The Wi-Fi module 290 can be used to receive and send data during the communication process.
[0049] The electronic device 200 can be physically connected to other devices via the communication interface 280. Optionally, the communication interface 280 is connected to the communication interface of the other device via a cable to achieve data transmission between the electronic device 200 and the other device.
[0050] The memory 240 can be used to store software programs and modules. The processor 230 executes various functional applications and data processing of the electronic device 200 by running the software programs and modules stored in the memory 240. Optionally, the memory 240 may mainly include a program storage area and a data storage area. Among them, the program storage area can store an operating system (mainly including the kernel layer, system layer, application framework layer, and application layer, etc., each of which corresponds to a software program or module).
[0051] In addition, the memory 240 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. In the embodiment of the present application, the memory 240 may cache voiceprint information recorded in the operating system and may also cache the association between different voiceprint information and different application accounts.
[0052] The input unit 250 can be used to receive editing operations of various different types of data objects such as digital or character information input by the user, and to generate key signal input related to the user settings and function control of the electronic device 200. Optionally, the input unit 250 may include a touch panel 251 and other input devices 252. The touch panel 251, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by the user using a finger, stylus, or any other suitable object or accessory on or near the touch panel 251) and drive the corresponding connection device according to a pre-set program.
[0053] Optionally, the other input device 252 may include, but is not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a power button, etc.), a mouse, a joystick, etc. For example, when the electronic device 200 is a laptop computer, the other input device 252 may be a mouse and / or a keyboard.
[0054] The display unit 260 can be used to display information input by the user or information provided to the user and various menus of the electronic device 200. The display unit 260 is the display system of the electronic device 200, which is used to present an interface and realize human-computer interaction. The display unit 260 may include a display panel 261. Optionally, the display panel 261 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. In an embodiment of the present application, the display unit 260 can be used to display a user interface for the user, such as an application interface after switching a logged-in application account.
[0055] The processor 230 is the center of control of the electronic device 200. It connects various components using various interfaces and lines, executes or runs software programs and / or modules stored in the memory 240, and calls data stored in the memory 240 to perform various functions of the electronic device 200 and process data, thereby implementing various services based on the electronic device 200. In the embodiment of the present application, the processor 230 can be used to implement the switching method provided in the embodiment of the present application.
[0056] The electronic device 200 also includes a power supply 220 (such as a battery) for powering various components. Optionally, the power supply 220 can be logically connected to the processor 230 through a power management system, thereby managing charging, discharging, and power consumption through the power management system.
[0057] like Figure 2 As shown, the electronic device 200 also includes an audio circuit 270, a microphone 271 and a speaker 272, which can provide an audio interface between the user and the electronic device 200. The audio circuit 270 can be used to convert audio data into a signal that can be recognized by the speaker 272, and transmit the signal to the speaker 272, which is converted into a sound signal for output by the speaker 272. The microphone 271 is used to collect external sound signals (such as the sound of a person speaking, or other sounds, etc.), and convert the collected external sound signals into signals that can be recognized by the audio circuit 270, and send them to the audio circuit 270. The audio circuit 270 can also be used to convert the signal sent by the microphone 271 into audio data, and then output the audio data to the RF circuit 210 to send it to, for example, another electronic device, or output the audio data to the memory 240 for subsequent further processing. In an embodiment of the present application, the microphone 271 can be used to collect the user's voice commands and send the voice commands to the processor 230 to extract voiceprint features.
[0058] although Figure 2 Not shown, the electronic device 200 may further include a camera, at least one sensor, etc., which will not be described in detail here. The at least one sensor may include but is not limited to a pressure sensor, an air pressure sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a touch sensor, a temperature sensor, etc.
[0059] The operating system (OS) involved in the embodiments of the present application is the most basic system software running on the electronic device 200. The software system of the electronic device 200 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application use an operating system with a layered architecture as an example to illustrate the software system architecture of the electronic device 200.
[0060] Figure 3 This is a software system architecture block diagram of an electronic device provided in an embodiment of the present application. Figure 3 As shown, the software system architecture of the electronic device can be a layered architecture. For example, the software can be divided into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into five layers: from top to bottom, the application layer, the application framework layer (framework, FWK), the runtime and system library layer, the kernel layer, and the hardware layer.
[0061] The application layer can include a series of application packages. Figure 3 As shown, the application layer may include camera, settings, skin module, user interface (UI), third-party applications, etc. Among them, third-party applications may include wireless local area network (WLAN), music, call, Bluetooth, video, memo, notes, etc.
[0062] In the embodiments of the present application, the application layer can be used to implement the presentation of a display interface. The above display interface can present the corresponding interface after switching to the target application account or target mode based on the switching method described in the following embodiments. For example, after switching to the application account corresponding to a child, the interface corresponding to the child's video viewing history in the application can be displayed.
[0063] In one possible implementation, applications can be developed using Java by calling the application programming interface (API) provided by the application framework layer. Developers can use the application framework layer to interact with the underlying operating system layers (e.g., the hardware layer, kernel layer, etc.) to develop their own applications. The application framework layer primarily provides a series of services and management systems for the operating system.
[0064] The application framework layer provides application programming interfaces and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions. Figure 3 As shown, the application framework layer may include an activity manager, a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0065] The activity manager is used to manage the life cycle of each application and provide common navigation back functions, providing an interactive interface for all program windows.
[0066] The window manager manages windowed applications. It can determine the display size, determine whether a status bar is present, lock the screen, and take screenshots. Content providers store and retrieve data and make it accessible to applications. This data can include video, images, audio, incoming and outgoing calls, browsing history and bookmarks, and phone books.
[0067] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0068] The phone manager is used to provide communication functions for electronic devices, such as call status management (including answering, hanging up, etc.).
[0069] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0070] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.
[0071] The runtime includes the core library and the virtual machine. The runtime is responsible for the scheduling and management of the operating system.
[0072] The core library consists of two parts: one containing the Java language's callable functions and the other containing the operating system's core libraries. The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0073] The system library can include multiple functional modules, such as a surface manager, a media framework, a 3D graphics processing library (such as OpenGL ES), and a 2D graphics engine (such as SGL).
[0074] The surface manager is used to manage the display subsystem and provide the fusion of two-dimensional and 3D layers for multiple applications.
[0075] The media framework supports playback and recording of a variety of common audio and video formats, as well as static image files. The media framework can support a variety of audio and video codecs, such as MPEG4, H.264, MP3, AAC, and AMR; it can also support a variety of image codecs, such as JPG and PNG.
[0076] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0077] A 2D graphics engine is a drawing engine for 2D drawings.
[0078] In some embodiments, a 3D graphics processing library may be used to render 3D motion images, and a 2D graphics engine may be used to render 2D motion images.
[0079] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, and sensor driver.
[0080] The hardware layer can include various sensors, such as accelerometers, gravity sensors, touch sensors, etc.
[0081] Typically, the electronic device 200 can run multiple applications simultaneously. In simpler cases, one application corresponds to one process, while in more complex cases, one application corresponds to multiple processes. Each process has a process ID.
[0082] It should be understood that in the embodiments of the present application, "at least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple. "Multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.
[0083] In addition, it should be understood that, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0084] It should be understood that the hardware structure of the electronic device can be as follows Figure 2 As shown, the software system architecture can be Figure 3 As shown, the software programs and / or modules corresponding to the software system architecture in the electronic device can be stored in the memory 240, and the processor 230 can run the software programs and applications stored in the memory 240 to execute the process of a switching method provided in an embodiment of the present application.
[0085] In order to facilitate understanding of the switching method provided by this application, the following Figures 4 to 11 The content shown introduces the implementation process of the method provided by this application.
[0086] The embodiments of the present application are applicable to electronic devices such as large screens, tablet computers, or mobile phones. Specifically, they are applicable to applications on electronic devices that may be used by multiple people, such as video applications on a large screen that the whole family watches together, video applications on tablet computers that the whole family uses together, etc. Another example is video applications on mobile phones that adults and children use together.
[0087] In one possible scenario, when multiple people use an application on an electronic device, they can switch to different modes accordingly. For example, when a child uses it, it can be switched to child mode; when an elderly person uses it, it can be switched to elderly mode; when an adult uses it, it can be switched to standard mode. In addition, different modes can also be understood as different application accounts. An application account can be used by one person or multiple people. For example, if there are multiple children in a family, multiple children can share the application account corresponding to the child mode.
[0088] In another possible scenario, when multiple people use the electronic device, they can switch to different application accounts. It is understandable that in this scenario, one application account is usually used by one person.
[0089] Based on the introduction of the aforementioned scenario, the following embodiments take switching application accounts as an example; wherein, one application account can be associated with one or more persons.
[0090] Optionally, multiple app accounts can be divided into a primary family account and sub-family accounts; there is generally only one primary family account, and all other app accounts besides the primary family account are sub-family accounts. Alternatively, the primary family account can be considered a public account, and the sub-family accounts can be considered dedicated accounts for each family member.
[0091] Alternatively, multiple application accounts may also be independent accounts, which is not limited in this application.
[0092] The following first introduces the interface processing effects that may be designed in the embodiments of the present application to facilitate understanding of the methods provided by the embodiments of the present application. In the following embodiments, the electronic device is taken as an example of a large screen, and the embodiments of the present application do not limit the specific type of the large screen.
[0093] For example, Figure 4 This is a schematic diagram of an interface involved in a switching method provided in an embodiment of the present application. Figure 4As shown in interface 400A, it can be a voiceprint recording interface. Interface 400A may include a control 401 for starting voiceprint recording; it may also include a control 402 for adding voiceprints for other people. Among them, interface 400A is an interface provided by the operating system, for example, it can be called and obtained from the settings application. Based on the voiceprint recording of interface 400A, interface 400B can be displayed. It can be seen from interface 400B that the voiceprint information of multiple people can be saved in the system, and the voiceprint information of each person may include voiceprint characteristics (not shown in interface 400B) and nickname identification; among them, the nickname identification may include, for example: Dad, Mom, Child 1, Child 2, Elderly, etc.
[0094] For example, Figure 5 This is another interface diagram related to a switching method provided in an embodiment of the present application. Figure 5 As shown in interface 500A in FIG, the user can open the display interface of application A through voice command. For example, the user can call up the voice assistant and input the voice command, as shown in 501 in interface 500A. Among them, the large screen can extract the voiceprint feature from the voice command.
[0095] Then, the big screen pulls up application A, which obtains the voiceprint information stored in the system by calling the operating system interface, such as Figure 4 The voiceprint information shown.
[0096] Optionally, when application A matches the stored voiceprint information based on the extracted voiceprint features, it can automatically switch the target application account, as shown in interface 500B, where the target application account is Dad's application account. At this point, application A can automatically switch to the application account logged in as Dad.
[0097] Alternatively, when application A fails to match the stored voiceprint information based on the extracted voiceprint features, the stored voiceprint information can be displayed to the user for manual association. For example, as shown in interface 500C, multiple voiceprint information stored in the system can be displayed. For example, when the large screen detects a click on the control indicating the father's voiceprint information in interface 500C, it can determine to associate the extracted voiceprint features with the father's voiceprint information to switch to the father's application account.
[0098] For example, within the application, you can create multiple accounts, and each account can be associated with a corresponding voiceprint feature. Based on this, you can achieve the following Figure 5 As shown, switching between accounts within the application is performed based on voiceprint recognition. Optionally, the creation of the application account can be pre-created, or it can be triggered in response to the scenario where account switching is required based on voiceprint recognition. Figure 6As shown, it is another interface diagram of a switching method provided by an embodiment of the present application. Figure 6 As shown in interface 600, the accounts in the application can be divided into a family main account and a family sub-account. For example, the family main account can be a public account. When the voiceprint feature is not recognized or the voiceprint feature is that of a non-family member, the family main account can be used, and other application accounts can be family sub-accounts, such as the mother's application account, the father's application account, the child's application account, and the elderly's application account. When the voiceprint feature is recognized as a family member, you can switch to the application account that matches the family member.
[0099] Based on the previous Figures 4 to 6 The interface processing effect is introduced in the following, and the process is used to illustrate how to implement the method provided in the embodiment of the present application.
[0100] For example, Figure 7 This is a flow chart of a switching method provided in an embodiment of the present application. The flow chart can be applied to an electronic device and may include the following steps:
[0101] Step 701: In response to a first operation, save voiceprint information in an operating system.
[0102] For example, the first operation may be an operation of recording a voiceprint in a setting application of an electronic device, such as Figure 4 shown.
[0103] Another example is that multiple electronic devices can log in to the same operating system account, such as a Huawei account. Therefore, the voiceprint information can also be recorded through other electronic devices, downloaded from the server and saved on the current electronic device. For example, the other electronic device can be a mobile phone, and the current electronic device can be a large screen.
[0104] Optionally, voiceprint information may include, but is not limited to: voiceprint features; universally unique identifiers (UUIDs); and voiceprint nicknames. Voiceprint features may be information that allows electronic devices to distinguish voiceprints from different users; UUIDs are used to facilitate processing by electronic devices; and voiceprint nicknames are used to help users identify users corresponding to different voiceprint information, such as father, mother, child, and elderly.
[0105] Step 702: In response to the second operation of creating the first account in the application, obtain voiceprint information stored in the operating system.
[0106] Exemplarily, creating the first account may be understood as creating a new account, which may be triggered manually by the user or based on step 705 described later.
[0107] Combine Figure 4For example, the voiceprint information stored in the operating system may include five persons, namely, father, mother, child 1, child 2, and the elderly.
[0108] Step 703: Display one or more user identifiers, wherein the user identifiers are obtained based on the stored voiceprint information. Optionally, different user identifiers can be used to indicate different users.
[0109] For example, the user identification can be obtained based on the voiceprint nickname. Figure 5 For example, five controls for indicating different users can be displayed in the interface.
[0110] Step 704: Select a target user ID from the one or more user IDs, and associate the target user ID with the first account.
[0111] Combine Figure 5 As shown in interface 500C, the target user identifier may be, for example, "Dad". Exemplarily, when the electronic device detects the selection operation of the target user identifier, the target user identifier may be associated with the first account, that is, the first account created may be determined to be Dad's application account.
[0112] based on Figure 7 The steps shown can establish the association between the application account and the voiceprint information, based on Figure 7 The established association relationship can realize the rapid switching of application accounts based on voiceprint recognition. For example, Figure 8 This is a flow chart of a switching method provided in an embodiment of the present application. The flow chart can be applied to an electronic device and may include the following steps:
[0113] Step 705: Detect a first voice command.
[0114] For example, the first voice command is "Help me open the fitness app."
[0115] Step 706: In response to the first voice instruction, perform voiceprint recognition to determine matching first voiceprint information; and start the first application.
[0116] Exemplarily, the operating system of the electronic device can extract voiceprint features from the first voice command and determine, from multiple voiceprint information stored in the operating system, first voiceprint information that matches the voiceprint features, such as the father's voiceprint information. Optionally, the voiceprint information stored in the operating system includes voiceprint features and a UUID, and the first voiceprint information can be matched based on the voiceprint features.
[0117] In another exemplary embodiment, the operating system of the electronic device may extract voiceprint features from the first voice command. If no voiceprint information matching the voiceprint features is found among the multiple voiceprint information stored in the operating system, a voiceprint entry interface may be displayed to guide the user to enter the voiceprint. Furthermore, the voiceprint entry interface may further include a selection entry for selecting a voiceprint from the multiple stored voiceprint information to avoid repeated voiceprint entry due to voiceprint feature matching failures.
[0118] In combination with the first voice command, the first application may be a fitness application.
[0119] Step 707: Obtain a first application account associated with the first voiceprint information.
[0120] Exemplarily, the operating system of the electronic device calls an interface provided by the application, which is used to query all accounts and / or the current account of the application; then, the operating system receives the application account and its associated voiceprint information returned through the interface. Based on this, the operating system matches the application account based on the first voiceprint information. Optionally, the matching can be based on the UUID included in the first voiceprint information and the UUID in the voiceprint information associated with the application account. The matching results may include several possible scenarios:
[0121] Scenario A: If the first voiceprint information matches the voiceprint information associated with the first application account, it can be determined that the first application account is to be logged in, that is, the following step 708 can be continued.
[0122] Scenario B: If the first voiceprint information does not match the voiceprint information, it can be determined that no application account associated with the voiceprint information has been created in the application. Optionally, a login / registration interface can be provided to associate / create an application account for the first voiceprint information. In addition, before providing the login / registration interface, verification, such as password verification, can be performed to ensure the security of account maintenance. If the verification is successful, the user can enter the login / registration interface; if the verification fails, the user can automatically switch to logging in to a designated account, which can be, for example, a primary family account or a guest account.
[0123] Step 708: Log in to the first application account.
[0124] It can be understood that if the application was previously logged in with the second application account, then through the processing of steps 705 to 708 above, it is possible to automatically switch to logging in with the first application account, thereby achieving flexible switching of accounts and convenient personalized maintenance of different accounts.
[0125] above Figure 7 and Figure 8This section introduces the implementation process of automatic switching based on pre-created application accounts. Application accounts can also be newly created based on voiceprint recognition. Figure 9 Introduce the specific implementation process.
[0126] For example, Figure 9 This is another flowchart of a switching method provided in an embodiment of the present application. This process can be applied to electronic devices and may include the following steps:
[0127] Step 901: A second voice command is detected.
[0128] For example, the second voice instruction may also be “help me open the video A application”.
[0129] Step 902: In response to the second voice instruction, perform voiceprint recognition to determine matching second voiceprint information; and start the second application.
[0130] Exemplarily, the operating system of the electronic device can extract the voiceprint feature from the second voice command and determine, from multiple voiceprint information stored in the operating system, second voiceprint information that matches the voiceprint feature, such as the voiceprint information of Child 2. Optionally, the voiceprint information stored in the operating system includes the voiceprint feature and the UUID, and the second voiceprint information can be matched based on the voiceprint feature.
[0131] In another exemplary embodiment, the operating system of the electronic device may extract the voiceprint feature from the second voice command. If no voiceprint information matching the voiceprint feature is found among the multiple voiceprint information stored in the operating system, a voiceprint entry interface may be displayed to guide the user to enter the voiceprint. Furthermore, the voiceprint entry interface may further include a selection entry for selecting a voiceprint from the multiple stored voiceprint information to avoid repeated voiceprint entry due to voiceprint feature matching failures.
[0132] In combination with the second voice command, the second application may be a video A application.
[0133] Step 903: If the application account associated with the second voiceprint information is not obtained, create a second application account, and associate the second voiceprint information with the second application account.
[0134] For example, the electronic device can determine whether an application account is associated with the UUID based on the UUID included in the second voiceprint information. If no application account associated with the UUID is obtained, it can be determined that the application account corresponding to the user is not registered in the application, and an application account can be automatically created for the user.
[0135] It is understood that by creating a second application account, the electronic device can associate the second voiceprint information with the second application account. In this way, when the user subsequently uses the application, the second application account can be automatically switched based on the voiceprint characteristics.
[0136] Optionally, the second application account can be a sub-account of the family. For example, during the creation of the second application account, the electronic device can obtain the identifier of the second application's primary family account, such as a mobile phone number or UUID. Therefore, the authentication process for registering the sub-account can be performed based on the identifier of the primary account.
[0137] Step 904: If a third application account associated with the second voiceprint information is obtained, switch to logging into the third application account.
[0138] Optionally, if the application was not previously logged into the third application account, the application can be automatically switched to the third application account. In this way, based on the user's voice command, automatic switching of application accounts can be conveniently achieved, thereby facilitating the maintenance of records of different application accounts, such as video viewing records, favorite records, etc.
[0139] pass Figure 9 The process shown can automatically create an application account based on voice commands when no application account exists, and establish an association between the created application account and the voiceprint features extracted based on the voice commands, thereby facilitating the maintenance of the user's application account, improving the convenience of maintaining different accounts for different users within the application, and further realizing personalized management of different users.
[0140] It should be noted that in the embodiments of the present application, the application account may also be associated with at least one of the following information, but not limited to: gender information and age information. This allows for personalized recommendations within the application, using gender and / or age information. For example, if the current application account is determined to be for children based on age information, cartoons may be recommended first.
[0141] For example, the target account to be logged in can be determined based on whether the user is a family member. Figure 9 The following is an implementation process for a scenario in which family members are present. Family members can be understood as whether voiceprint features are recorded in the operating system, such as Figure 4 As shown, family members include: father, mother, child 1, child 2 and the elderly.
[0142] For example, Figure 10 This is another flowchart of a switching method provided in an embodiment of the present application. This process can be applied to electronic devices and may include the following steps:
[0143] Step 1001: A third voice command is detected.
[0144] For example, the third voice instruction may also be “help me open the video B application”.
[0145] Step 1002: In response to the third voice instruction, voiceprint recognition is performed to determine that the user is a non-family member; and a third application is started.
[0146] Exemplarily, the electronic device's operating system can extract a voiceprint feature from the third voice command and, from among the multiple voiceprint information stored in the operating system, determine that no voiceprint information matches the voiceprint feature. Therefore, the operating system can determine that the user is not a family member, such as a guest. Optionally, the voiceprint information stored in the operating system includes the voiceprint feature and the UUID, and a match can be performed based on the voiceprint feature.
[0147] In combination with the third voice command, the third application may be a video B application.
[0148] Step 1003: Switch to logging into a designated account, such as a primary family account or a guest account.
[0149] It is understood that when a user is not a family member, there is no need to create an application account for the user, thereby avoiding the need to maintain redundant application accounts. For example, the user may be a temporary guest. In this scenario, the user can be defaulted to use the family primary account to use the application.
[0150] It should be noted that when it is detected that the user is not a family member, a prompt entry for recording voiceprint features can also be displayed to the user, so that when the user wants to record voiceprint features and become a family member, the operation can be carried out conveniently.
[0151] Based on the above processes, different accounts can be created for different users in the same application. For example, an application can include a family master account and multiple family sub-accounts. In order to facilitate the management of multiple accounts, an account aging process can also be provided in the embodiment of the present application. For example, Figure 11 This is another flow chart of a switching method provided in an embodiment of the present application. This flow chart can be applied to an electronic device and may include the following steps:
[0152] Step 1101: A first event is detected, where the first event is used to indicate that a fourth application account has not been used within a preset time.
[0153] For example, the preset time may be 1 year.
[0154] Step 1102: In response to the first event, the fourth application account is deleted. For example, the association between the fourth application account and the voiceprint information is deleted.
[0155] pass Figure 11 The account aging process introduced above can facilitate the management of application accounts and timely age out invalid application accounts, thereby improving the efficiency of application account management. In addition, it is understandable that when subsequent users reuse the application, they can Figures 7 to 10 Use any of the processes in to recreate an application account for the user.
[0156] In the embodiments of the present application, based on the various embodiments of account switching through voiceprint recognition described above, facial recognition can also be combined to achieve more accurate switching. For example, when a child is identified through voiceprint recognition, the image data collected by the camera can be combined with whether the child's facial features are included to achieve more accurate switching of application accounts. For example, if the child's facial features are not collected, a pop-up window and / or voice reminder can be displayed to the user to determine whether to switch to the application account corresponding to the child.
[0157] Based on the inventive concept similar to that described in the above embodiment, Figure 12 This is another flowchart of a switching method provided in an embodiment of the present application. The process may include the following steps:
[0158] Step 1201: A first voice command is detected in a first interface, where the first interface is used to instruct a first application to log in to a first account. For example, the first account can be understood as the original login account of the first application.
[0159] Step 1202: In response to the first voice command, a second interface is displayed, wherein the second interface is used to instruct the first application to log in to a second account, and the first voiceprint information of the first voice command is associated with the second account. For example, the second account can be understood as the account after switching login in the first application.
[0160] The specific implementation process of step 1201 and step 1202 can be found in the aforementioned embodiment, and will not be repeated in this application.
[0161] Based on the above embodiments, the present application also provides an electronic device, which includes multiple functional modules; the multiple functional modules interact with each other to implement the functions performed by the electronic device in each method described in the embodiments of the present application. The multiple functional modules can be implemented based on software, hardware, or a combination of software and hardware, and the multiple functional modules can be arbitrarily combined or divided based on the specific implementation. Figure 7 In the embodiment shown, the electronic device performs steps 701 to 704, or Figure 8 Alternatively, execute steps 705 to 708. Figure 9In the embodiment shown, the electronic device performs steps 901 to 904. Alternatively, Figure 10 In the embodiment shown, the electronic device performs steps 1001 to 1003. Alternatively, Figure 11 In the embodiment shown, the electronic device performs steps 1101 to 1102. Alternatively, Figure 12 In the illustrated embodiment, the electronic device executes steps 1201 to 1202 .
[0162] Based on the above embodiments, the present application also provides an electronic device, which includes at least one processor and at least one memory, wherein the at least one memory stores computer program instructions. When the electronic device is running, the at least one processor executes the functions performed by the electronic device in each method described in the embodiments of the present application.
[0163] If executed Figure 7 In the embodiment shown, the electronic device performs steps 701 to 704, or Figure 8 Alternatively, execute steps 705 to 708. Figure 9 In the embodiment shown, the electronic device performs steps 901 to 904. Alternatively, Figure 10 In the embodiment shown, the electronic device performs steps 1001 to 1003. Alternatively, Figure 11 In the embodiment shown, the electronic device performs steps 1101 to 1102. Alternatively, Figure 12 In the illustrated embodiment, the electronic device executes steps 1201 to 1202 .
[0164] Based on the above embodiments, the present application also provides a computer program product, which includes: a computer program (also called code, or instructions), which, when executed, enables a computer to execute the methods described in the embodiments of the present application.
[0165] Based on the above embodiments, the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the methods described in the embodiments of the present application.
[0166] Based on the above embodiments, the present application further provides a chip, which is used to read a computer program stored in a memory to implement the various methods described in the embodiments of the present application.
[0167] Based on the above embodiments, the present application provides a chip system, which includes a processor for supporting a computer device to implement the various methods described in the embodiments of the present application. In one possible design, the chip system also includes a memory, which is used to store the necessary programs and data for the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices. It should be understood by those skilled in the art that the embodiments of the present application can be provided as a method, system, or computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0168] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0169] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0170] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0171] Obviously, those skilled in the art may make various modifications and variations to this application without departing from the scope of protection of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.
Claims
1. A switching method, characterized in that: Applied to electronic equipment, the method includes: In a first interface, a first voice command is detected, where the first interface is used to indicate that a first application has logged into a first account; In response to the first voice command, a second interface is displayed, where the second interface is used to instruct the first application to log in to a second account, and the first voiceprint information of the first voice command is associated with the second account.
2. The method according to claim 1, characterized in that The method further comprises: In response to the second voice command, displaying a third interface, wherein the third interface is used to instruct the first application to log in to a third account, where the third account is a newly created account; Establish an association between the second voiceprint information of the second voice command and the third account.
3. The method according to claim 1 or 2, characterized in that The displaying of the second interface in response to the first voice command includes: extracting the first voiceprint information from the first voice command; determining a first identifier according to the first voiceprint information; The second account is found from the M accounts according to the first identifier.
4. The method according to claim 3, characterized in that The first identifier is a universally unique identifier (UUID).
5. The method according to any one of claims 1 to 4, characterized in that Before detecting the first voice instruction, the method further includes: In response to a first operation instruction, saving the first voiceprint information, wherein the first operation instruction is used to record the voiceprint characteristics of the first voiceprint information; generating a first identifier for the first voiceprint information; In response to a second operation instruction, an association relationship between the first identifier and the second account is established, where the second operation instruction is used to instruct the establishment of an association relationship between the first identifier and the second account.
6. The method according to any one of claims 1 to 5, characterized in that The second account is a preset account, and the first voiceprint information is for an unsaved user.
7. The method according to claim 5, characterized in that The preset account is a family main account or a guest account.
8. An electronic device, characterized in that: The system comprises at least one processor coupled to at least one memory, and the at least one processor is configured to read a computer program stored in the at least one memory to execute the method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to perform the method according to any one of claims 7 to 7.
10. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is caused to perform the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Information processing method and apparatus, multimedia device, and storage medium
CN110100447A
Voiceprint retrieval method and device and electronic equipment
CN112447178A
Display device and configuration switching method
CN114630171A
Intelligent equipment control method and device
CN115600174A
Page display method and device based on speech recognition, equipment and storage medium
CN115842651A