Collaborative wakeup method and device, electronic equipment and readable storage medium
By obtaining the anonymous user ID UUID and using it to start the collaborative wake-up service, the problem of multiple voice wake-up devices simultaneous wake-up devices is solved, and the collaborative wake-up function is easily used without logging into the account, improving the user experience.
Patent Information
- Application Number
- CN202310612640.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-11-26
AI Technical Summary
When multiple devices that support voice wake-up exist, it is easy to have a response problem, and the prior art requires that the device must log in to the user account to use the collaborative wake-up function, resulting in inconvenience in application.
By not obtaining the user ID of the terminal device, based on the application ID and device ID, the anonymous user ID UUID is obtained from the server, and using the UUID to access the server to start the collaborative wake-up service, so that the terminal devices that have not logged in to the user account can also collaborative wake-up. Networking operation.
It effectively avoids multiple terminal devices that support voice wake-up to be awakened at the same time, making it easier to operate without the need for users to log in to their account, and optimizes the user experience.
Smart Images

Figure CN119030728A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a collaborative wake-up method, device, electronic device and readable storage medium. Background Art
[0002] With the continuous development of wireless communication technology and Internet of Things technology, many devices in our daily life have realized intelligence and support voice wake-up functions, etc. When multiple devices that support voice wake-up are placed together, there will be a problem of one call and hundreds of responses. The collaborative wake-up function can solve this problem.
[0003] In the related art, the device must log in to the user account to use the collaborative wake-up function. Summary of the invention
[0004] The present application aims to solve one of the technical problems in the related art at least to some extent.
[0005] To this end, the following technical solutions are proposed:
[0006] The first aspect of the present application provides a collaborative wake-up method, which is applied to a terminal device and includes:
[0007] In response to failure to obtain the user identifier UID of the terminal device, obtaining an anonymous user identifier UUID of the terminal device from a server based on the application identifier of the terminal device and the device identifier of the terminal device;
[0008] The UUID is used to access the server to start the collaborative wake-up service of the terminal device.
[0009] Optionally, starting the coordinated wake-up service of the terminal device includes:
[0010] Sending a broadcast data packet in the local area network where the terminal device is located;
[0011] In response to the existence of other terminal devices in the local area network supporting the collaborative wake-up service, a connection is established with at least one other terminal device supporting the collaborative wake-up service through the broadcast data packet, wherein the multiple terminal devices establishing the connection constitute a collaborative wake-up network.
[0012] Optionally, the method further comprises:
[0013] In response to the terminal device receiving the wake-up signal, a target terminal device that responds to the wake-up signal is determined from a plurality of terminal devices in the cooperative wake-up network.
[0014] Optionally, the method further comprises:
[0015] In response to acquiring the user identification UID of the terminal device, the UID is used to access the server to start the collaborative wake-up service of the terminal device.
[0016] Optionally, the method further comprises:
[0017] In response to the terminal device being powered on, a user identification UID of the terminal device is detected to start the collaborative wake-up service.
[0018] The second aspect of the present application provides a collaborative awakening device, including:
[0019] an acquisition module, configured to, in response to failure to acquire the user identifier UID of the terminal device, acquire the anonymous user identifier UUID of the terminal device from a server based on the application identifier of the terminal device and the device identifier of the terminal device;
[0020] An access module is used to access the server using the UUID to start the collaborative wake-up service of the terminal device.
[0021] Optionally, the access module is specifically used to:
[0022] Sending a broadcast data packet in the local area network where the terminal device is located;
[0023] In response to the existence of other terminal devices in the local area network supporting the collaborative wake-up service, a connection is established with at least one other terminal device supporting the collaborative wake-up service through the broadcast data packet, wherein the multiple terminal devices establishing the connection constitute a collaborative wake-up network.
[0024] Optionally, the device further comprises:
[0025] The response module is used to determine a target terminal device that responds to the wake-up signal from multiple terminal devices in the collaborative wake-up network in response to the terminal device receiving the wake-up signal.
[0026] Optionally, the access module is further used to:
[0027] In response to acquiring the user identification UID of the terminal device, the UID is used to access the server to start the collaborative wake-up service of the terminal device.
[0028] Optionally, the device further comprises:
[0029] The detection module is used to detect the user identification UID of the terminal device in response to the terminal device being turned on to start the collaborative wake-up service.
[0030] The third aspect embodiment of the present application proposes an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to call and execute the executable instructions stored in the memory to implement the collaborative wake-up method proposed in the first aspect embodiment of the present application.
[0031] The fourth aspect embodiment of the present application proposes a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the collaborative wake-up method proposed in the first aspect embodiment of the present application.
[0032] The fifth aspect embodiment of the present application proposes a computer program product. When the computer program is executed by a processor of an electronic device, the electronic device can execute the collaborative wake-up method proposed in the first aspect embodiment of the present application.
[0033] The technical solution of the present application, in response to the user identification UID of the terminal device not being obtained, obtains the anonymous user identification UUID of the terminal device from the server based on the application identification of the terminal device and the device identification of the terminal device, and uses the UUID to access the server to start the collaborative wake-up service of the terminal device, so that the terminal device that has not logged in to the user account can also perform the networking operation of the collaborative wake-up network, so that the user can start the collaborative wake-up service of the terminal device without logging in to the account, effectively avoiding multiple terminal devices that support voice wake-up from being awakened at the same time, and the operation without the user logging in to the account is more convenient, thereby optimizing the user experience.
[0034] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0036] Figure 1 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;
[0037] Figure 2 A flowchart of a collaborative wake-up method provided in an embodiment of the present application;
[0038] Figure 3 A flowchart of another collaborative wake-up method provided in an embodiment of the present application;
[0039] Figure 4 A flowchart of a collaborative wake-up method provided in an embodiment of the present application;
[0040] Figure 5 A schematic diagram of the structure of a collaborative wake-up device provided in an embodiment of the present application;
[0041] Figure 6 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0043] In order to better understand a collaborative wake-up method disclosed in an embodiment of the present application, the following digital display describes a communication system to which the embodiment of the present application is applicable.
[0044] See also Figure 1 , Figure 1 The schematic diagram of the architecture of a communication system provided in an embodiment of the present application. The communication system may include but is not limited to two terminal devices, Figure 1 The number and form of the devices shown are for illustrative purposes only and do not constitute a limitation on the embodiments of the present application. In actual applications, more than two terminal devices may be included. Figure 1 The communication system shown includes terminal device 101 and terminal device 102 as an example.
[0045] The terminal devices 101 and 102 in the embodiments of the present application are both entities on the user side that can receive or transmit signals and can process signals, such as mobile phones. The terminal device can also be referred to as a terminal device (terminal), a user equipment (UE), a mobile station (MS), a mobile terminal device (MT), etc. The terminal device can be a car with communication function, a smart car, a mobile phone (Mobile Phone), a wearable device, a tablet computer (Pad), a TV, a computer with wireless transceiver function, a virtual reality (Virtual Reality, VR) terminal device, an augmented reality (Augmented Reality, AR) terminal device, a wireless terminal device in industrial control (Industrial Control), a wireless terminal device in self-driving (Self-Driving), a wireless terminal device in remote surgery (Remote Medical Surgery), a wireless terminal device in smart grid (Smart Grid), a wireless terminal device in transportation safety (Transportation Safety), a wireless terminal device in smart city (Smart City), a wireless terminal device in smart home (Smart Home), etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device. It should be noted that in the embodiment of the present application, both the terminal devices 101 and 102 support voice wake-up, and the user can obtain a response from the terminal devices 101 and 102 by shouting the wake-up word.
[0046] In an example application scenario, when the terminal device 101 and the terminal device 102 supporting voice wake-up are placed together, there will be a problem of one call and hundreds of responses, that is, when the user shouts out the wake-up word, both terminal devices can respond to the wake-up word and be awakened. The collaborative wake-up function can solve the problem of one call and hundreds of responses.
[0047] In the related art, the terminal device must log in to the user account to use the collaborative wake-up function, which makes the application of collaborative wake-up inconvenient.
[0048] The collaborative wake-up method, electronic device, and computer-readable storage medium according to the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0049] Figure 2 A flowchart of a collaborative wake-up method provided in an embodiment of the present application is provided. It should be noted that the method is applied to a terminal device.
[0050] like Figure 2 As shown, the collaborative awakening method may include the following steps:
[0051] Step 201 , in response to failure to obtain the user identifier UID of the terminal device, obtaining the anonymous user identifier UUID of the terminal device from a server based on the application identifier of the terminal device and the device identifier of the terminal device.
[0052] In an embodiment of the present application, the terminal device can detect whether the user identification UID of the terminal device can be obtained to start the collaborative wake-up service of the terminal device.
[0053] The user identifier UID is the real identity identifier of the user that can be obtained by the terminal device after the user logs in to the user account on the terminal device.
[0054] In an embodiment of the present application, if the user identification UID of the terminal device is not detected, that is, the user has not logged in to the user account on the terminal device, and the terminal device cannot obtain the user identification UID, then the terminal device can obtain the user's anonymous user identification UUID from the server based on the application identification (appID) of the terminal device and the device identification (deviceID) of the terminal device.
[0055] It should be noted that the anonymous user identifier UUID is an encrypted virtual ID generated based on the user's real ID (UID) and a preset encryption algorithm. The server can be accessed and logged in based on the virtual ID recognized by the server.
[0056] In an embodiment of the present application, the terminal device can carry the application identifier appID and the device identifier deviceID of the terminal device in a wireless transmission protocol message sent to the server, and receive the UUID returned from the server.
[0057] The application identifier appID is a unique identification identifier assigned to the application program corresponding to the terminal device. The server can determine the UUID according to the application identifier appID and the device identifier deviceID and return it to the terminal device.
[0058] In some implementations, if the terminal device fails to successfully obtain the anonymous user identifier UUID from the server, the terminal device can notify that starting the coordinated wake-up service has failed.
[0059] In some implementations, in response to the terminal device acquiring the user identification UID of the terminal device, that is, the user has logged into an account on the terminal device, the terminal device can use the UID to access the server to start the collaborative wake-up service of the terminal device.
[0060] In some implementations, in response to the terminal device being powered on, the terminal device can detect a user identifier UID of the terminal device to start a collaborative wake-up service.
[0061] That is, in some implementations, the collaborative wake-up service may be configured to start automatically upon power-on.
[0062] Step 202: Use the UUID to access the server to start the collaborative wake-up service of the terminal device.
[0063] In an embodiment of the present application, the terminal device can use UUID to access the server to start the collaborative wake-up service of the terminal device and perform networking operations of the collaborative wake-up network.
[0064] In an embodiment of the present application, a terminal device is capable of sending a broadcast data packet in a local area network where the terminal device is located;
[0065] In response to the existence of other terminal devices in the local area network supporting the collaborative wake-up service, the terminal device can establish a connection with at least one other terminal device supporting the collaborative wake-up service through the broadcast data packet, wherein the multiple terminal devices that establish the connection constitute a collaborative wake-up network.
[0066] In some implementations, in response to the terminal device receiving the wake-up signal, a target terminal device that responds to the wake-up signal is determined from a plurality of terminal devices in the collaborative wake-up network.
[0067] After forming a collaborative wake-up network, multiple terminal devices in the collaborative wake-up network can make group decisions to determine the target terminal device that responds to the wake-up signal, solving the problem of one call and hundreds of responses.
[0068] Optionally, the wake-up signal may be a user shouting a wake-up word or the like.
[0069] In response to failure to obtain the user identifier UID of the terminal device, the embodiment of the present application obtains the anonymous user identifier UUID of the terminal device from the server based on the application identifier of the terminal device and the device identifier of the terminal device, and uses the UUID to access the server to start the collaborative wake-up service of the terminal device, so that terminal devices that have not logged in to the user account can also perform networking operations of the collaborative wake-up network, so that the user can start the collaborative wake-up service of the terminal device without logging in to the account, effectively avoiding multiple terminal devices that support voice wake-up from being awakened at the same time, and the operation without the user logging in to the account is more convenient, thereby optimizing the user experience.
[0070] Figure 3 A flowchart of another collaborative wake-up method provided in an embodiment of the present application. It should be noted that the method is applied to a terminal device.
[0071] like Figure 3 As shown, the collaborative awakening method may include the following steps:
[0072] Step 301: In response to the terminal device being powered on, detecting the user identification UID of the terminal device to start a collaborative wake-up service.
[0073] In an embodiment of the present application, after the terminal device is turned on, it can automatically detect whether the user identification UID of the terminal device can be obtained to start the collaborative wake-up service.
[0074] That is, in the embodiment of the present application, the collaborative wake-up service can be configured to start automatically when the computer is powered on.
[0075] Step 302: in response to failure to obtain the user identifier UID of the terminal device, obtaining an anonymous user identifier UUID of the terminal device from a server based on the application identifier of the terminal device and the device identifier of the terminal device.
[0076] In an embodiment of the present application, the terminal device can detect whether the user identification UID of the terminal device can be obtained to start the collaborative wake-up service of the terminal device.
[0077] The user identifier UID is the real identity identifier of the user that can be obtained by the terminal device after the user logs in to the user account on the terminal device.
[0078] In an embodiment of the present application, if the user identification UID of the terminal device is not detected, that is, the user has not logged in to the user account on the terminal device, and the terminal device cannot obtain the user identification UID, then the terminal device can obtain the user's anonymous user identification UUID from the server based on the application identification (appID) of the terminal device and the device identification (deviceID) of the terminal device.
[0079] It should be noted that the anonymous user identifier UUID is an encrypted virtual ID generated based on the user's real ID (UID) and a preset encryption algorithm. The server can be accessed and logged in based on the virtual ID recognized by the server.
[0080] In an embodiment of the present application, the terminal device can carry the application identifier appID and the device identifier deviceID of the terminal device in a wireless transmission protocol message sent to the server, and receive the UUID returned from the server.
[0081] The application identifier appID is a unique identification identifier assigned to the application program corresponding to the terminal device. The server can determine the UUID according to the application identifier appID and the device identifier deviceID and return it to the terminal device.
[0082] In some implementations, if the terminal device fails to successfully obtain the anonymous user identifier UUID from the server, the terminal device can notify that starting the coordinated wake-up service has failed.
[0083] In some implementations, in response to the terminal device acquiring the user identification UID of the terminal device, that is, the user has logged into an account on the terminal device, the terminal device can use the UID to access the server to start the collaborative wake-up service of the terminal device.
[0084] Step 303: Use the UUID to access the server.
[0085] In an embodiment of the present application, the terminal device can use UUID to log in and access the server to start the collaborative wake-up service of the terminal device and perform networking operations of the collaborative wake-up network.
[0086] After successfully logging into the server using the UUID, the terminal device can receive some configuration parameters sent by the server and perform networking operations based on the configuration parameters.
[0087] Step 304: Send a broadcast data packet in the local area network where the terminal device is located.
[0088] In an embodiment of the present application, the terminal device can send a broadcast data packet in the local area network where the terminal device is located. The broadcast data packet is used to establish a connection between the terminal device and other terminal devices supporting collaborative wake-up in the same local area network to form a collaborative wake-up network.
[0089] Step 305, in response to the existence of other terminal devices in the local area network supporting the collaborative wake-up service, the terminal device can establish a connection with at least one other terminal device supporting the collaborative wake-up service through the broadcast data packet, wherein the multiple terminal devices that establish the connection constitute a collaborative wake-up network.
[0090] In the embodiment of the present application, terminal devices in the same local area network as the terminal device can receive the broadcast data packet. Other terminal devices connected to the local area network that also support collaborative wake-up can receive the broadcast data packet and then establish a communication connection with the terminal device to form a collaborative wake-up network.
[0091] Step 306: In response to the terminal device receiving the wake-up signal, a target terminal device that responds to the wake-up signal is determined from a plurality of terminal devices in the collaborative wake-up network.
[0092] In an embodiment of the present application, after a collaborative wake-up network is formed, multiple terminal devices in the collaborative wake-up network can make group decisions to determine the target terminal device that responds to the wake-up signal, thereby solving the problem of one call and hundreds of responses.
[0093] Optionally, the wake-up signal may be a user shouting a wake-up word or the like.
[0094] In an embodiment of the present application, the terminal device can set the collaborative wake-up switch state to the server.
[0095] The collaborative wake-up method of the embodiment of the present application detects the user identification UID of the terminal device to start the collaborative wake-up service in response to the terminal device being turned on. In response to not obtaining the user identification UID of the terminal device, based on the application identification of the terminal device and the device identification of the terminal device, the anonymous user identification UUID of the terminal device is obtained from the server, the server is accessed using the UUID, and a broadcast data packet is sent in the local area network where the terminal device is located. In response to the existence of other terminal devices in the local area network supporting the collaborative wake-up service, the terminal device can establish a connection with at least one other terminal device supporting the collaborative wake-up service through the broadcast data packet, wherein the multiple terminal devices that establish the connection form a collaborative wake-up network, and in response to the terminal device receiving a wake-up signal, a target terminal device that responds to the wake-up signal is determined from the multiple terminal devices in the collaborative wake-up network, so that terminal devices that have not logged into the user account can also perform networking operations of the collaborative wake-up network, so that the user can start the collaborative wake-up service of the terminal device without logging into the account, effectively avoiding multiple terminal devices that support voice wake-up from being woken up at the same time, and the operation without the user logging into the account is more convenient, thereby optimizing the user experience.
[0096] Figure 4 A flowchart of a collaborative wake-up method provided in an embodiment of the present application.
[0097] like Figure 4 As shown, the collaborative awakening method may include the following steps:
[0098] Among them, as an example, the leftmost block diagram is a terminal device (such as a mobile phone) with Xiao Ai APP (application) installed, the middle block diagram is a terminal device (such as a TV) with Xiao Ai wake-up APP installed, and the rightmost block diagram is the server side.
[0099] When the TV is turned on, the wake-up APP can be started, and the wake-up APP starts the collaborative wake-up module therein to detect whether the user identifier UID can be obtained.
[0100] If the UID is obtained, the UID is used to log in to the access server to start the collaborative wake-up service; if the UID is not obtained, the anonymous user ID UUID is obtained from the server through a wireless communication protocol message carrying the application ID appID and the device ID deviceID. The UUID returned by the server can be received.
[0101] If the UUID acquisition fails, the coordinated wake-up service can be notified that the startup fails.
[0102] If the UUID is obtained successfully, the server is logged in through the UUID connection and the success message and configuration parameters sent by the server are received.
[0103] After the TV is successfully connected to the server, the switch status of collaborative wake-up can be set.
[0104] After the TV is successfully connected to the server, it can also be displayed through the UI switch of the Xiaoai APP on the mobile phone.
[0105] In order to implement the above embodiment, the present application also proposes a collaborative wake-up device. Figure 5 A schematic diagram of the structure of a collaborative wake-up device provided in an embodiment of the present application.
[0106] like Figure 5 As shown, the device includes: an acquisition module 510 and an access module 520.
[0107] The acquisition module 510 is used to acquire the anonymous user identifier UUID of the terminal device from the server based on the application identifier of the terminal device and the device identifier of the terminal device in response to failure to acquire the user identifier UUID of the terminal device;
[0108] The access module 520 is used to access the server using the UUID to start the collaborative wake-up service of the terminal device.
[0109] Optionally, the access module 520 is specifically used for:
[0110] Sending a broadcast data packet in the local area network where the terminal device is located;
[0111] In response to the existence of other terminal devices in the local area network supporting the collaborative wake-up service, a connection is established with at least one other terminal device supporting the collaborative wake-up service through the broadcast data packet, wherein the multiple terminal devices that establish the connection constitute a collaborative wake-up network.
[0112] Optionally, the device further comprises:
[0113] The response module (not shown in the figure) is used to determine a target terminal device that responds to the wake-up signal from multiple terminal devices in the collaborative wake-up network in response to the terminal device receiving the wake-up signal.
[0114] Optionally, the access module 520 is further configured to:
[0115] In response to obtaining the user identification UID of the terminal device, the UID is used to access the server to start the collaborative wake-up service of the terminal device.
[0116] Optionally, the device further comprises:
[0117] The detection module (not shown in the figure) is used to detect the user identification UID of the terminal device in response to the terminal device being turned on to start the collaborative wake-up service.
[0118] The terminal device of the embodiment of the present application, in response to the failure to obtain the user identifier UID of the terminal device, obtains the anonymous user identifier UUID of the terminal device from the server based on the application identifier of the terminal device and the device identifier of the terminal device, and uses the UUID to access the server to start the collaborative wake-up service of the terminal device, so that the terminal device that has not logged in to the user account can also perform the networking operation of the collaborative wake-up network, so that the user can start the collaborative wake-up service of the terminal device without logging in to the account, effectively avoiding multiple terminal devices that support voice wake-up from being awakened at the same time, and the operation without the user logging in to the account is more convenient, thereby optimizing the user experience.
[0119] It should be noted that the aforementioned explanation of the embodiment of the collaborative wake-up method applied to the terminal device is also applicable to the terminal device of this embodiment and will not be repeated here.
[0120] In order to implement the above embodiment, the present application also proposes an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to call and execute the executable instructions stored in the memory to implement the above Figure 2-Figure 3 The collaborative awakening method proposed in the embodiment.
[0121] In order to implement the above embodiment, the present application also proposes an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to call and execute the executable instructions stored in the memory to implement the above Figure 4-Figure 5 The collaborative awakening method proposed in the embodiment.
[0122] In order to implement the above embodiment, the present application also proposes a non-transitory computer-readable storage medium, and when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the above Figure 2-Figure 3 The collaborative awakening method proposed in the embodiment.
[0123] In order to implement the above-mentioned embodiment, the embodiment of the present application further provides a computer program product, which, when executed by a processor of an electronic device, enables the electronic device to perform the above-mentioned Figure 2-Figure 3 The collaborative awakening method proposed in the embodiment.
[0124] Figure 66 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0125] Reference Figure 6 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 606 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0126] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 606 and the processing component 602.
[0127] The memory 604 is configured to store various types of data to support operations on the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0128] The power component 606 provides power to the various components of the electronic device 600. The power component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0129] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0130] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0131] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0132] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of the components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0133] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0134] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0135] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0136] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0137] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0138] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0139] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0140] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0141] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0142] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0143] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for networking multiple voice wake-up devices, characterized in that: Applied to a first voice wake-up device, wherein a voice wake-up program is running in the first voice wake-up device, the method includes: After receiving the power-on instruction, the first voice wake-up device starts the voice wake-up program. After starting, the voice wake-up program performs the following steps: Sending a virtual user identification acquisition instruction to the server, wherein the virtual user identification acquisition instruction includes the program identification of the voice wake-up program and the device identification of the first voice wake-up device; Receiving the virtual user identifier returned by the server according to the virtual user identifier acquisition instruction; Sending a login request to the server, wherein the login request includes the virtual user identifier; Receiving a success message sent by the server, wherein the success message includes network configuration parameters of the local area network to be joined; Join the local area network according to the network configuration parameters, and form a collaborative wake-up network group with other voice wake-up devices in the local area network.
2. The method according to claim 1, characterized in that The step of joining the local area network according to the network configuration parameters and forming a collaborative wake-up network group with other voice wake-up devices in the local area network includes: The first voice wake-up device sends a broadcast data packet in the local area network; In response to the presence of other voice wake-up devices in the local area network running the voice wake-up program, a connection is established with at least one other voice wake-up device running the voice wake-up program through the broadcast data packet, wherein the multiple voice wake-up devices that establish the connection constitute the collaborative wake-up network.
3. The method according to claim 2, characterized in that The method further comprises: In response to the first voice wake-up device receiving a voice wake-up sound signal sent by a user, a target voice wake-up device that responds to the wake-up signal is determined from multiple voice wake-up devices in the collaborative wake-up network.
4. The method according to any one of claims 1 to 3, characterized in that: Before sending the virtual user identification acquisition instruction to the server, the method further includes: Detect whether the user identifier of the first voice terminal device is obtained.
5. The method according to claim 4, characterized in that The method further comprises: In response to acquiring the user identifier of the first voice wake-up device, a login request is sent to the server, where the login request includes the user identifier.
6. A method for networking multiple voice wake-up devices, characterized in that: Applied to a server, the method comprises: Receive a virtual user identification acquisition instruction sent by a first voice wake-up device, wherein a voice wake-up program is running in the first voice wake-up device, and the voice wake-up program is started, and the virtual user identification acquisition instruction includes a program identifier of the voice wake-up program and a device identifier of the first voice wake-up device; Determine the virtual user identifier of the first voice wake-up device according to the virtual user identifier acquisition instruction, and return the virtual user identifier to the first voice wake-up device; receiving a login request sent by the first voice wake-up device, wherein the login request includes the virtual user identifier; A success message is sent to the first voice wake-up device, and the success message includes network configuration parameters of the local area network to be joined by the first voice wake-up device. The network configuration parameters are used for the first voice wake-up device to join the local area network and form a collaborative wake-up network group with other voice wake-up devices in the local area network.
7. A collaborative awakening device, characterized in that: The collaborative wake-up device is applied to a first voice wake-up device, wherein a voice wake-up program is running in the first voice wake-up device, and the device includes: A processing module is used for the first voice wake-up device to start the voice wake-up program after receiving the power-on instruction, and the voice wake-up program includes the following modules: An acquisition module, configured to send a virtual user identification acquisition instruction to a server, wherein the virtual user identification acquisition instruction includes a program identification of the voice wake-up program and a device identification of the first voice wake-up device; A receiving module, used for receiving the virtual user identifier returned by the server according to the virtual user identifier acquisition instruction; A sending module, used for sending a login request to the server, wherein the login request includes the virtual user identifier; The receiving module is further used to receive a success message sent by the server, wherein the success message includes network configuration parameters of the local area network to be joined; The networking module is used to join the local area network according to the network configuration parameters and form a collaborative wake-up network group with other voice wake-up devices in the local area network.
8. The device according to claim 7, characterized in that The networking module is specifically used for: The first voice wake-up device sends a broadcast data packet in the local area network; In response to the presence of other voice wake-up devices in the local area network running the voice wake-up program, a connection is established with at least one other voice wake-up device running the voice wake-up program through the broadcast data packet, wherein the multiple voice wake-up devices that establish the connection constitute the collaborative wake-up network.
9. The device according to claim 8, characterized in that The device also includes: The answering module is used to determine a target voice wake-up device that answers the wake-up signal from multiple voice wake-up devices in the collaborative wake-up network in response to the first voice wake-up device receiving the voice wake-up sound signal sent by the user.
10. The device according to any one of claims 7 to 9, characterized in that: The device also includes: The detection module is used to detect whether the user identification of the first voice terminal device is obtained.
11. The device according to claim 10, characterized in that The sending module is also used for: In response to acquiring the user identifier of the first voice wake-up device, a login request is sent to the server, where the login request includes the user identifier.
12. An electronic device, characterized in that: include: processor; a memory for storing executable instructions for the processor; The processor is configured to call and execute the executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.
13. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as claimed in any one of claims 1 to 5.
