Wakeup method and device of devices in network, electronic device and readable storage medium
By negotiating a unified wake-up method among electronic devices within the network, the inconsistent response problem caused by the combination of proximity wake-up and priority wake-up methods is solved, achieving unified device responses and improving user experience.
Patent Information
- Application Number
- CN202210262345.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-16
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2042-03-16
AI Technical Summary
During the wake-up process of multiple voice electronic devices in a network, the combination of the proximity wake-up and priority wake-up methods in the prior art leads to inconsistent device responses, resulting in multiple devices responding or no device responding.
By obtaining the voice wake-up methods supported by multiple electronic devices in the network, negotiation is carried out to make them adopt a unified wake-up method. The data packet carries the wake-up method information for negotiation to ensure that all devices use the same wake-up method.
This avoids the problem of inconsistent device responses due to different wake-up methods, ensures that only one device responds or no device responds, and improves the user experience.
Smart Images

Figure CN114627879B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of intelligent voice devices, and particularly relates to a wake-up method and device for devices in a network, an electronic device, and a readable storage medium. BACKGROUND
[0002] When multiple voice electronic devices are voice-awakened, the electronic devices need to decide which electronic device to respond. In the prior art, the nearest wake-up method is always used, that is, the nearest electronic device is selected to respond when being awakened. In order to provide better user experience, the wake-up method of a part of the electronic devices is upgraded to a priority wake-up method, that is, the electronic device with the highest priority is selected to respond when being awakened. However, this results in that a part of the devices use the nearest wake-up method and another part of the devices use the priority wake-up method, and the following situations occur when being awakened: the use of the nearest wake-up method results in that the electronic device A responds, the use of the priority wake-up method results in that the electronic device B responds, multiple electronic devices respond, or no electronic device responds. SUMMARY
[0003] To overcome the problems in the related art, the present disclosure provides a wake-up method and device for devices in a network, an electronic device, and a readable storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a wake-up method for devices in a network is provided, including obtaining voice wake-up methods supported by multiple electronic devices in a network; the voice wake-up methods include a first wake-up method and a second wake-up method; an electronic device supporting the second wake-up method is compatible with the first wake-up method; in a case where the voice wake-up methods supported by the multiple electronic devices are different, a uniform voice wake-up method is adopted for the multiple electronic devices through a negotiation manner of sending a data packet to other electronic devices; the data packet includes wake-up method information supported by the electronic device, and the wake-up method information is used to indicate the voice wake-up method supported by the electronic device sending the data packet.
[0005] Optionally, in a case where the electronic device and the other electronic device are connected to a same router, the voice wake-up method supported by the other electronic device is obtained through a wireless communication manner or a server communication manner; in a case where the electronic device and the other electronic device log in a same account, the voice wake-up method supported by the other electronic device is obtained through the server communication manner; in a case where the electronic device and the other electronic device are connected to the same router and log in the same account, the voice wake-up method supported by the other electronic device is obtained through the wireless communication manner or the server communication manner.
[0006] Optionally, in a case where the electronic device only supports the first wake-up manner, the other electronic devices in the network are caused to all adopt the first wake-up manner by sending a data packet to the other electronic devices for negotiation; in a case where at least one of the other electronic devices only supports the first wake-up manner, a data packet sent by the at least one electronic device is received and the first wake-up manner is adopted.
[0007] Optionally, the data packet is sent to the other electronic devices, so that the other electronic devices all adopt the first wake-up manner.
[0008] Optionally, in a case where the electronic device and the other electronic devices are connected to a same router, the data packet is sent to the other electronic devices by a wireless communication manner or a server communication manner; in a case where the electronic device and the other electronic devices log in a same account, the data packet is sent to the other electronic devices by the server communication manner; in a case where the electronic device and the other electronic devices are connected to a same router and log in a same account, the data packet is sent to the other electronic devices by the wireless communication manner or the server communication manner.
[0009] Optionally, a plurality of electronic devices connected to a same router are regarded as electronic devices in a same network; or electronic devices logging in a same account are regarded as electronic devices in a same network.
[0010] Optionally, in a case where the wake-up manners supported by the plurality of electronic devices all include the first wake-up manner and the second wake-up manner, the plurality of electronic devices adopt the second wake-up manner by default.
[0011] Optionally, the first wake-up manner is a nearby wake-up manner, and the second wake-up manner is a priority wake-up manner.
[0012] According to a second aspect of the embodiments of the present disclosure, an apparatus for waking up electronic devices in a network is provided, including: an obtaining module configured to obtain voice wake-up manners supported by a plurality of electronic devices in a network; the voice wake-up manners include a first wake-up manner and a second wake-up manner; an electronic device supporting the second wake-up manner is compatible with the first wake-up manner; and a processing module configured to, in a case where the voice wake-up manners supported by the plurality of electronic devices are different, cause the plurality of electronic devices to adopt a unified voice wake-up manner by sending a data packet to other electronic devices for negotiation.
[0013] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the executable instructions to implement the steps of the wake-up method of the device in the network group as described above.
[0014] According to a fourth aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, having stored thereon computer program instructions which, when executed by a processor, implement the steps of the wake-up method of the device in the network group provided by the first aspect of the present disclosure.
[0015] The technical solutions provided by the embodiments of the present disclosure can have the following beneficial effects: obtaining the voice wake-up manners supported by multiple electronic devices in a network group, the voice wake-up manners including a first wake-up manner and a second wake-up manner, and the electronic devices supporting the second wake-up manner being compatible with the first wake-up manner; in the case that the voice wake-up manners supported by the multiple electronic devices are different, the multiple electronic devices are caused to adopt a unified voice wake-up manner through the manner of sending a data packet to other electronic devices for negotiation, the data packet including wake-up manner information supported by the electronic devices, and the wake-up manner information being used to indicate the voice wake-up manner supported by the electronic device sending the data packet. The situation that different electronic devices respond is avoided due to the multiple electronic devices adopting different wake-up manners, and the situation that multiple electronic devices respond or no electronic device responds is avoided.
[0016] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and are not limiting of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and serve to explain the principles of the present disclosure.
[0018] Figure 1 is a structural schematic diagram of a computer system shown by an exemplary embodiment of the present disclosure.
[0019] Figure 2 is a flowchart of a wake-up method of a device in a network group shown by an exemplary embodiment of the present disclosure.
[0020] Figure 3 is a communication schematic diagram of an electronic device shown by an exemplary embodiment of the present disclosure.
[0021] Figure 4 is a block diagram of a wake-up device of a device in a network group shown by an exemplary embodiment of the present disclosure.
[0022] Figure 5 is a block diagram of a wake-up device of a device in a network group shown by an exemplary embodiment of the present disclosure.
[0023] Figure 6 is a block diagram of a wake-up apparatus for a device in a network, according to an example embodiment of the present disclosure.
[0024] Legend of reference numerals
[0025] 120 - electronic device; 140 - server; 20 - wake-up apparatus for a device in a network; 201 - acquisition module; 203 - processing module; 800 - apparatus; 802 - processing component; 804 - memory; 806 - power component; 808 - multimedia component; 810 - audio component; 812 - input / output (I / O) interface; 814 - sensor component; 816 - communication component; 1900 - apparatus; 1922 - processing component; 1926 - power supply component; 1932 - memory; 1950 - network interface; 1958 - input / output (I / O) interface. DETAILED DESCRIPTION
[0026] The example embodiments will be described in detail herein with reference to the accompanying drawings. In the following description, the same drawings refer to the same or similar elements. The embodiments described in the following example embodiments do not represent all the embodiments consistent with the present disclosure. Rather, they are merely examples of devices and methods consistent with some aspects of the present disclosure, as detailed in the appended claims.
[0027] Figure 1 A structural schematic diagram of a computer system including an electronic device 120 and a server 140 is shown, according to an example embodiment of the present disclosure.
[0028] The electronic device 120 and the server 140 are connected to each other through a wired or wireless network.
[0029] The electronic device 120 can include at least one of a smartphone, a notebook computer, a desktop computer, a tablet computer, a smart speaker, and a smart robot, and support a smart voice function.
[0030] The electronic device 120 includes a display; the display is configured to display a named entity recognition result.
[0031] The electronic device 120 includes a first memory and a first processor. The first memory stores a first program, and the first program is invoked by the first processor to implement the XX method or the XX method provided by the present disclosure. The first memory can include, but is not limited to, the following: random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), and electrically erasable programmable read-only memory (EEPROM).
[0032] The first processor can be composed of one or more integrated circuit chips. Alternatively, the first processor can be a general-purpose processor, such as a central processing unit (CPU) or a network processor (NP). Alternatively, the first processor can be used to implement the wake-up method of the device in the network provided by the present disclosure.
[0033] The server 140 includes a second memory and a second processor. The second memory stores a second program, and the second program is invoked by the second processor to implement the wake-up method of the device in the network provided by the present disclosure. Alternatively, the second memory can include, but is not limited to, the following: RAM, ROM, PROM, EPROM, and EEPROM. Alternatively, the second processor can be a general-purpose processor, such as a CPU or an NP.
[0034] The server can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms. The electronic device can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The electronic device and the server can be connected directly or indirectly through wired or wireless communication, and the present disclosure does not limit this.
[0035] When a user has multiple devices such as Figure 1When the user performs voice wake-up, the electronic devices all support the intelligent voice function, and the electronic devices will select one electronic device to respond according to the wake-up mode adopted by the electronic device. When a part of the electronic devices adopts the nearby wake-up mode, the closest electronic device is selected to respond; when another part of the electronic devices adopts the priority wake-up mode, the electronic device with the highest priority is selected to respond. The priority can be artificially predefined, or can be determined based on the use of the electronic device, for example, the priority of the sound box is higher than that of the television, but if the user is using the television, the priority of the television is higher than that of the sound box. However, when some devices adopt the nearby wake-up mode and some devices adopt the priority wake-up mode, the following situations may occur when waking up: the electronic device A responds when the nearby wake-up mode is used; the electronic device B responds when the priority wake-up mode is used; multiple electronic devices respond or no electronic device responds.
[0036] To avoid the above problems, an electronic device wake-up method in a network is shown in an embodiment of the present disclosure, which comprises: acquiring voice wake-up modes supported by multiple electronic devices in a network, the voice wake-up modes comprising a first wake-up mode and a second wake-up mode, the electronic device supporting the second wake-up mode being compatible with the first wake-up mode, the first wake-up mode being the aforementioned nearby wake-up mode, and the second wake-up mode being the aforementioned priority wake-up mode; in the case that the voice wake-up modes supported by the multiple electronic devices are different, the multiple electronic devices are made to adopt a unified voice wake-up mode through the way of sending data packets to other electronic devices for negotiation, that is, the multiple electronic devices finally adopt the nearby wake-up mode or the priority wake-up mode, so that the wake-up modes of the multiple electronic devices are unified, avoiding the situation that different electronic devices respond due to different wake-up modes of the multiple electronic devices, and avoiding the situation that multiple electronic devices respond or no electronic device responds.
[0037] Figure 2 A flowchart of an electronic device wake-up method in a network is shown according to an exemplary embodiment, which is executed by a computer device, for example, by an electronic device in a computer system as shown in Figure 1 The electronic device wake-up method in a network as shown in Figure 2 The electronic device wake-up method in a network as shown in comprises the following steps:
[0038] In step S101, the voice wake-up modes supported by multiple electronic devices in a network are acquired.
[0039] It should be noted that the voice wake-up modes comprise a first wake-up mode and a second wake-up mode, the electronic device supporting the second wake-up mode being compatible with the first wake-up mode; the first wake-up mode is the aforementioned nearby wake-up mode, and the second wake-up mode is the aforementioned priority wake-up mode.
[0040] Exemplarily, in the present disclosure, multiple electronic devices connected to the same router are taken as the same group of in-network electronic devices, or electronic devices logged into the same account are taken as the same group of in-network electronic devices. There can be more than one group of in-network electronic devices in a user's home, such as Figure 3 Figure 3 is a communication schematic diagram of an electronic device according to an exemplary embodiment of the present disclosure. Figure 3 In the present disclosure, electronic devices A, B, C, D and E (referred to as devices for short in the figure) are included, wherein electronic device A and electronic device B are connected to the same router and are connected to wireless local area network WiFi-X, and belong to the same group of in-network electronic devices; electronic device C and electronic device D are connected to the same router and are connected to wireless local area network WiFi-Y, and belong to the same group of in-network electronic devices; electronic device A, electronic device B and electronic device D are logged into the same account, and belong to the same group of in-network electronic devices; electronic device D and electronic device E are logged into the same account, and belong to the same group of in-network electronic devices, wherein electronic device E is connected to wireless local area network WiFi-Z. Multiple electronic devices connected to the same router can communicate wirelessly or through a server. In general, the wireless communication mode is preferred, such as broadcast communication, Bluetooth communication, etc. Multiple electronic devices logged into the same account can communicate through a server, i.e., one electronic device sends a data packet to the server, and the server forwards the data packet to other electronic devices in the group.
[0041] Based on the above-mentioned group networking of electronic devices in the home, the supported voice wake-up modes of multiple electronic devices in the group are mainly as follows:
[0042] In the case where an electronic device and other electronic devices are connected to the same router, the supported voice wake-up modes of the other electronic devices are obtained through wireless communication or server communication. In general, the wireless communication mode is preferred.
[0043] In the case where an electronic device and other electronic devices are logged into the same account, the supported voice wake-up modes of the other electronic devices are obtained through server communication.
[0044] In the case where an electronic device and other electronic devices are connected to the same router and logged into the same account, the supported voice wake-up modes of the other electronic devices are obtained through wireless communication or server communication. In general, the wireless communication mode is preferred.
[0045] In step S102, in the case where the supported voice wake-up modes of multiple electronic devices are different, the multiple electronic devices are made to adopt a unified voice wake-up mode through the way of sending a data packet to other electronic devices for negotiation.
[0046] The data packet includes the wake-up mode information supported by the electronic device, and the wake-up mode information is used to indicate the voice wake-up mode supported by the electronic device sending the data packet.
[0047] For example, a part of the plurality of electronic devices only support the nearby wake-up mode, and another part of the plurality of electronic devices support the priority wake-up mode compatible with the nearby wake-up mode. At this time, the electronic device only supporting the nearby wake-up mode needs to send a data packet to other electronic devices for negotiation, so that the plurality of electronic devices adopt a unified voice wake-up mode, for example, the other electronic devices also adopt the nearby wake-up mode. The data packet includes the wake-up mode information supported by the electronic device, and the wake-up mode information is used to indicate that the electronic device sending the data packet only supports the first wake-up mode.
[0048] The electronic device sends the data packet to other electronic devices in the following ways: in the case that the electronic device and other electronic devices are connected to the same router, the data packet is sent to other electronic devices through wireless communication or server communication, and the wireless communication is usually preferred; in the case that the electronic device and other electronic devices log in the same account, the data packet is sent to other electronic devices through server communication; in the case that the electronic device and other electronic devices are connected to the same router and log in the same account, the data packet is sent to other electronic devices through wireless communication or server communication, and the wireless communication is usually preferred.
[0049] For example, referring to Figure 3 For example, the electronic device E only supports the nearby wake-up mode, and the electronic device E and the electronic device D log in the same account, so the electronic device E can send a data packet to the server, the data packet including the information that the electronic device E only supports the nearby wake-up mode, and then the server sends the data packet to the electronic device D; the electronic device D and the electronic device C are connected to the same router, so the electronic device D can send the data packet to the electronic device C through broadcast communication; the electronic device C, the electronic device A and the electronic device B log in the same account, so the electronic device C can send the data packet to the electronic device A and the electronic device B through the server, or the electronic device C sends the data packet to the electronic device B through the server, and then the electronic device B sends the data packet to the electronic device A through broadcast communication. At this time, all electronic devices have received the data packet, and then adjust their wake-up modes to the nearby wake-up mode according to the wake-up mode information included in the data packet.
[0050] It should be noted that in the case that the wake-up modes supported by the plurality of electronic devices include the nearby wake-up mode and the priority wake-up mode, the plurality of electronic devices adopt the priority wake-up mode by default.
[0051] It should be noted that all the actions of obtaining signals, information or data in the present application are carried out in accordance with the corresponding data protection regulations and policies of the country where the device is located, and with the authorization given by the corresponding device owner.
[0052] In summary, the wake-up method of devices in a network provided by the present disclosure includes obtaining voice wake-up modes supported by multiple electronic devices in the network, the voice wake-up modes including a first wake-up mode and a second wake-up mode, and electronic devices supporting the second wake-up mode being compatible with the first wake-up mode. In the case that the voice wake-up modes supported by the multiple electronic devices are different, a uniform voice wake-up mode is adopted for the multiple electronic devices through a negotiation manner of sending data packets to other electronic devices, the data packets including wake-up mode information supported by the electronic devices, and the wake-up mode information being used to indicate the voice wake-up mode supported by the electronic device sending the data packets. The different electronic devices responding due to the different wake-up modes adopted by the multiple electronic devices is avoided, and the situation of multiple electronic devices responding or no electronic device responding is also avoided.
[0053] Figure 4 is a device wake-up device block diagram in a network according to an exemplary embodiment. Referring to Figure 4 The device 20 includes an obtaining module 201 and a processing module 203.
[0054] The obtaining module 201 is configured to obtain voice wake-up modes supported by multiple electronic devices in the network; the voice wake-up modes including a first wake-up mode and a second wake-up mode; and electronic devices supporting the second wake-up mode being compatible with the first wake-up mode.
[0055] The processing module 203 is configured to, in the case that the voice wake-up modes supported by the multiple electronic devices are different, adopt a uniform voice wake-up mode for the multiple electronic devices through a negotiation manner of sending data packets to other electronic devices; the data packets including wake-up mode information supported by the electronic devices, and the wake-up mode information being used to indicate the voice wake-up mode supported by the electronic device sending the data packets.
[0056] Optionally, the obtaining module 201 is further configured to, in the case that the electronic device and the other electronic device are connected to the same router, obtain the voice wake-up mode supported by the other electronic device through a wireless communication manner or a server communication manner;
[0057] In the case that the electronic device and the other electronic device log in the same account, the voice wake-up mode supported by the other electronic device is obtained through the server communication manner;
[0058] In a case where the electronic device and the other electronic devices are connected to the same router and log in the same account, the supported voice wake-up manners of the other electronic devices are acquired through wireless communication or server communication.
[0059] Optionally, the processing module 203 is further configured to, in a case where the electronic device only supports the first wake-up manner, cause the other electronic devices in the same network to all adopt the first wake-up manner through the manner of sending a data packet to the other electronic devices for negotiation;
[0060] In a case where at least one of the other electronic devices only supports the first wake-up manner, the data packet sent by the at least one electronic device is received and the first wake-up manner is adopted.
[0061] Optionally, the processing module 203 is further configured to send the data packet to the other electronic devices, so that the other electronic devices all adopt the first wake-up manner.
[0062] Optionally, the processing module 203 is further configured to, in a case where the electronic device and the other electronic devices are connected to the same router, send the data packet to the other electronic devices through wireless communication or server communication;
[0063] In a case where the electronic device and the other electronic devices log in the same account, the data packet is sent to the other electronic devices through the server communication;
[0064] In a case where the electronic device and the other electronic devices are connected to the same router and log in the same account, the data packet is sent to the other electronic devices through the wireless communication or the server communication.
[0065] Optionally, the processing module 203 is further configured to regard a plurality of electronic devices connected to the same router as electronic devices in the same network;
[0066] or regard electronic devices logging in the same account as electronic devices in the same network.
[0067] Optionally, in a case where the wake-up manners supported by the plurality of electronic devices all include the first wake-up manner and the second wake-up manner, the plurality of electronic devices adopt the second wake-up manner by default.
[0068] Optionally, the first wake-up manner is a nearby wake-up manner, and the second wake-up manner is a priority wake-up manner.
[0069] With reference to the apparatus in the above embodiments, specific manners in which the various modules perform operations have been described in detail in embodiments relating to the method, and thus will not be described in detail here.
[0070] The present disclosure also provides a computer readable storage medium, having stored thereon computer program instructions, which when executed by a processor implement the steps of the wake-up method for a device in a network provided by the present disclosure.
[0071] Figure 5 is a block diagram of a wake-up apparatus 800 for a device in a network according to an example embodiment. The apparatus 800 can 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, and the like, for example.
[0072] Referring to Figure 5 The apparatus 800 can include one or more of the following components: a processing component 802, a memory component 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0073] The processing component 802 usually controls overall operations of the apparatus 800, such as operations associated with displaying, making phone calls, data communications, camera operations, and recording operations. The processing component 802 can include one or more processors 820 to execute instructions to complete all or part of the steps of the wake-up method for a device in a network described above. Further, the processing component 802 can include one or more modules so as to facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0074] The memory component 804 is configured to store various types of data to support operations of the apparatus 800. Examples of these data include instructions for any application or methods operating on the apparatus 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory component 804 can be implemented by any type of volatile or non-volatile storage devices 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 storage, flash memory, magnetic disk or optical disk.
[0075] The power supply component 806 supplies electrical power for various components of the apparatus 800. The power supply component 806 can include a power supply management system, one or more power sources, and other components associated with generating, managing and distributing power for the apparatus 800.
[0076] The multimedia component 808 includes a screen providing an output interface between the device 800 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swiping, and gestures on the touch panel. The touch sensors can not only sense a boundary of a touching or swiping action, but also detect duration and pressure related to the touching or swiping action. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front and rear camera can be a fixed optical lens system or have a focal length and optical zooming capability.
[0077] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) to receive an external audio signal when the device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
[0078] The I / O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0079] The sensor component 814 includes one or more sensors to provide various state assessments for the device 800. For example, the sensor component 814 can detect an open / closed state of the device 800, relative positioning of components, such as a display and a keypad of the device 800, a change in position of the device 800 or a component of the device 800, presence or absence of user contact with the device 800, a change in orientation of the device 800 or acceleration / deceleration of the device 800, and a temperature change of the device 800. The sensor component 814 can include a proximity sensor configured to detect presence of a nearby object without any physical touch. The sensor component 814 can further include a light sensor, such as a CMOS or CCD image sensor, for use in an imaging application. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0080] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 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 816 further includes a Near Field Communication (NFC) module to facilitate close proximity 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 technology.
[0081] In an exemplary embodiment, the device 800 can be implemented with 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, micro-controllers, microprocessors or other electronic components, for performing the above-described method for waking up a device in a network.
[0082] In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 804 including instructions, is also provided, which can be executed by the processor 820 of the device 800 to complete the above-described method for waking up a device in a network. 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 disc, and an optical data storage device, etc.
[0083] In another exemplary embodiment, a computer program product is also provided, which contains a computer program capable of being executed by a programmable device, and the computer program has code portions for executing the above-described method for waking up a device in a network when executed by the programmable device.
[0084] Figure 6 FIG. 19 is a block diagram of a device 1900 for waking up a device in a network according to an exemplary embodiment. For example, the device 1900 can be provided as a server. Referring to Figure 6 The device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application program, executable by the processing component 1922. The application program stored in the memory 1932 can include one or more than one module each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute the instructions to perform the above-described method for waking up a device in a network.
[0085] The apparatus 1900 can also include a power supply component 1926 configured to perform power management for the apparatus 1900, a wired or wireless network interface 1950 configured to connect the apparatus 1900 to a network, and an input output (I / O) interface 1958. The apparatus 1900 can operate under the control of an operating system stored in the memory 1932, such as Windows Server TM , MacOS X TM , Unix TM , Linux TM , FreeBSD TM , or the like.
[0086] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. Variations and modifications of the embodiments disclosed herein can be made based on the description set forth herein, without departing from the scope and spirit of the disclosure. The application is intended to cover any variations, uses or adaptations of the disclosure including such departures from the
[0087] It is to be understood that the disclosure is not limited to the precise construction described above and shown in the attached drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the disclosure is limited only by the claims that follow.
Claims
1. A method for waking up a device in a network, applied to an electronic device, characterized in that: include: Acquire voice wake-up modes supported by multiple electronic devices in the network; the voice wake-up modes include a first wake-up mode and a second wake-up mode; The electronic device supporting the second wake-up mode is compatible with the first wake-up mode; the first wake-up mode is a proximity wake-up mode, and the second wake-up mode is a priority wake-up mode; In the case that the voice wake-up methods supported by the multiple electronic devices are different, the multiple electronic devices are enabled to adopt a unified voice wake-up method by sending a data packet to other electronic devices for negotiation; the data packet includes wake-up method information supported by the electronic device, and the wake-up method information is used to indicate the voice wake-up method supported by the electronic device sending the data packet.
2. The method according to claim 1, characterized in that The step of obtaining voice wake-up modes supported by multiple electronic devices in the network includes: When the electronic device and the other electronic device are connected to the same router, obtaining the voice wake-up mode supported by the other electronic device through wireless communication or server communication; When the electronic device and the other electronic device are logged into the same account, obtaining the voice wake-up method supported by the other electronic device through the server communication method; When the electronic device and the other electronic device are connected to the same router and logged into the same account, the voice wake-up method supported by the other electronic device is obtained through wireless communication or server communication.
3. The method according to claim 1, characterized in that When the voice wake-up modes supported by the multiple electronic devices are different, the step of sending a data packet to other electronic devices for negotiation so that the multiple electronic devices adopt a unified voice wake-up mode includes: In a case where the electronic device only supports the first wake-up method, sending a data packet to the other electronic devices for negotiation so that the other electronic devices in the network all adopt the first wake-up method; In a case where at least one of the other electronic devices only supports the first wake-up method, a data packet sent by the at least one electronic device is received and the first wake-up method is adopted.
4. The method according to claim 3, characterized in that The step of sending a data packet to the other electronic devices for negotiation so that the other electronic devices in the network all adopt the first wake-up method includes: The data packet is sent to the other electronic devices, so that the other electronic devices all adopt the first wake-up method.
5. The method according to claim 4, characterized in that The step of sending the data packet to the other electronic device comprises: When the electronic device and the other electronic device are connected to the same router, sending the data packet to the other electronic device via wireless communication or server communication; When the electronic device and the other electronic device are logged into the same account, sending the data packet to the other electronic device via the server communication method; When the electronic device and the other electronic device are connected to the same router and logged into the same account, the data packet is sent to the other electronic device via the wireless communication method or the server communication method.
6. The method according to claim 1, characterized in that include: Treat multiple electronic devices connected to the same router as electronic devices in the same network; Or electronic devices logged into the same account can be considered as electronic devices in the same network.
7. The method according to claim 1, characterized in that Also includes: In a case where the wake-up methods supported by the multiple electronic devices all include the first wake-up method and the second wake-up method, the multiple electronic devices adopt the second wake-up method by default.
8. The method according to any one of claims 1 to 7, characterized in that The proximity wake-up method is a method of waking up based on the distance of the electronic device; The priority wake-up method is a method of waking up the electronic device based on its priority.
9. A device for waking up a device in a network, characterized in that: include: An acquisition module is configured to acquire voice wake-up modes supported by multiple electronic devices in the network; the voice wake-up modes include a first wake-up mode and a second wake-up mode; electronic devices supporting the second wake-up mode are compatible with the first wake-up mode; the first wake-up mode is a proximity wake-up mode, and the second wake-up mode is a priority wake-up mode; The processing module is configured to enable the multiple electronic devices to adopt a unified voice wake-up method by sending a data packet to other electronic devices for negotiation when the multiple electronic devices support different voice wake-up methods.
10. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Voice wake-up method, device and system
CN111091828A
Voice distributed recognition method combined with PLC (Programmable Logic Controller)
CN114110912A