A voice response method, system, device and storage medium for electronic equipment

By obtaining and more electronic equipment receiving the time to receive voice wake -up instructions, determine the priority and start the corresponding equipment's voice services, solve the problem of multiple equipment at the same time, and achieve the effect of awakening and reduce interference for sexual voice.

CN111916079BActive Publication Date: 2025-01-28SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010767743.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-03
Publication Date
2025-01-28
Estimated Expiration
2040-08-03

AI Technical Summary

Technical Problem

When multiple electronic devices with the same wake-up command are working in the same environment, all devices will receive the wake-up command and respond, resulting in the inability to wake up targetedly. When other devices are accidentally awakened, they will wake up voice to the current usage scenario. interference.

Method used

By obtaining the time of receiving the voice awakening instructions by obtaining the second electronic device, the priority of the second electronic equipment is determined according to this time, and the voice service of the second electronic equipment with the highest priority is started to achieve a targeted voice awakening.

Benefits of technology

A targeted voice awakening of electronic equipment with the same wake -up instructions at the same time work at the same time, avoiding voice wake -up interference, and ensuring the normal use of the actual use of voice services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111916079B_ABST
    Figure CN111916079B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a voice response method, system, device and storage medium of an electronic device. The method includes: obtaining the network addresses of at least two first electronic devices, the first electronic device is an electronic device that receives a voice wake-up instruction issued by a user; judging whether the number of second electronic devices is less than 2, the second electronic device is the first electronic device with the same network address; if the number of the second electronic devices is not less than 2, obtaining the time when the second electronic device receives the voice wake-up instruction; determining the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction; starting the voice service of a third electronic device, the third electronic device is the second electronic device with the highest priority. The embodiment of the present invention realizes targeted voice wake-up when multiple electronic devices with the same wake-up instruction work at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to electronic equipment technology, and in particular to a voice response method, system, device and storage medium of an electronic device. Background Art

[0002] With the continuous development of science and technology and intelligent services, voice function has gradually become an important function of today's electronic devices.

[0003] However, under the existing voice technology, when multiple electronic devices with the same wake-up command are working in the same environment, all electronic devices will receive the wake-up command and respond, and targeted wake-up cannot be performed. Other electronic devices that are accidentally awakened will cause voice wake-up interference to the current usage scenario, causing unnecessary trouble when actually using voice services. Summary of the invention

[0004] Embodiments of the present invention provide a voice response method, system, device and storage medium for an electronic device, so as to realize targeted voice wake-up when multiple electronic devices with the same wake-up instruction work simultaneously.

[0005] To achieve this purpose, an embodiment of the present invention provides a voice response method of an electronic device, the method comprising:

[0006] Acquire network addresses of at least two first electronic devices, where the first electronic devices are electronic devices that receive a voice wake-up instruction issued by a user;

[0007] Determining whether the number of second electronic devices is less than 2, the second electronic devices being the first electronic devices with the same network address;

[0008] If the number of the second electronic devices is not less than 2, obtaining the time when the second electronic device receives the voice wake-up instruction;

[0009] determining the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction;

[0010] A voice service of a third electronic device is started, and the third electronic device is the second electronic device with the highest priority.

[0011] Further, the determining whether the number of the second electronic devices is less than 2 includes:

[0012] If the number of the second electronic devices is less than 2, the voice service of the second electronic devices is started.

[0013] Further, determining the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction includes:

[0014] Determining whether the time at which the second electronic device receives the voice wake-up instruction is the same;

[0015] If the times at which the second electronic devices receive the voice wake-up instruction are different, the priority of the second electronic device is determined according to the time at which the second electronic device receives the voice wake-up instruction.

[0016] Further, the determining whether the time at which the second electronic device receives the voice wake-up instruction is the same includes:

[0017] If the second electronic device receives the voice wake-up instruction at the same time, obtaining the distance of the user from the second electronic device;

[0018] The priority of the second electronic device is determined according to the distance.

[0019] Further, determining the priority of the second electronic device according to the distance includes:

[0020] determining whether the distances of the users based on the second electronic device are the same;

[0021] If the distances between the user and the second electronic device are different, the priority of the second electronic device is determined according to the distances.

[0022] Further, the determining whether the distance between the user and the second electronic device is the same includes:

[0023] If the distances of the users based on the second electronic device are the same, acquiring the angle of the users based on the second electronic device;

[0024] The priority of the second electronic device is determined according to the angle.

[0025] Furthermore, the electronic device is a television.

[0026] On the one hand, an embodiment of the present invention further provides a voice response system for an electronic device, the system comprising:

[0027] An address acquisition module, used to acquire network addresses of at least two first electronic devices, where the first electronic devices are electronic devices that receive a voice wake-up instruction issued by a user;

[0028] A quantity determination module, used to determine whether the number of second electronic devices is less than 2, where the second electronic devices are the first electronic devices with the same network address;

[0029] A time acquisition module, configured to acquire the time when the second electronic device receives the voice wake-up instruction if the number of the second electronic devices is not less than 2;

[0030] a device selection module, configured to determine the priority of the second electronic device according to the time at which the second electronic device receives the voice wake-up instruction;

[0031] The service starting module is used to start the voice service of a third electronic device, where the third electronic device is the second electronic device with the highest priority.

[0032] On the other hand, an embodiment of the present invention further provides an electronic device, which includes: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement a method provided in any embodiment of the present invention.

[0033] On the other hand, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method provided in any embodiment of the present invention.

[0034] The embodiment of the present invention obtains the time when the second electronic device receives the voice wake-up instruction; determines the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction; and starts the voice service of a third electronic device, where the third electronic device is the second electronic device with the highest priority. This solves the problem that when there are multiple electronic devices with the same wake-up instruction working in the same environment, all electronic devices will receive the wake-up instruction and respond, and targeted wake-up cannot be performed, and other electronic devices that are accidentally awakened will cause voice wake-up interference to the current usage scenario, thereby achieving the effect of targeted voice wake-up when multiple electronic devices with the same wake-up instruction work at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a flow chart of a voice response method of an electronic device provided in Embodiment 1 of the present invention;

[0036] Figure 2 is a flow chart of a voice response method of an electronic device provided in Embodiment 2 of the present invention;

[0037] Figure 3 is a schematic diagram of the structure of a voice response system of an electronic device provided in Embodiment 3 of the present invention;

[0038] Figure 4 A schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0039] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0040] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0041] In addition, the terms "first", "second", etc. can be used in this article to describe various directions, actions, steps or elements, but these directions, actions, steps or elements are not limited by these terms. These terms are only used to distinguish a first direction, action, step or element from another direction, action, step or element. For example, without departing from the scope of the present application, the first module can be referred to as the second module, and similarly, the second module can be referred to as the first module. Both the first module and the second module are modules, but they are not the same module. The terms "first", "second", etc. cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" can expressly or implicitly include one or more of the features. In the description of the embodiment of the present invention, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0042] Embodiment 1

[0043] like Figure 1 As shown, Embodiment 1 of the present invention provides a voice response method of an electronic device, the method comprising:

[0044] S110: Obtain network addresses of at least two first electronic devices, where the first electronic device is an electronic device that receives a voice wake-up instruction issued by a user.

[0045] In this embodiment, the server will be connected to multiple electronic devices that support voice functions. When an electronic device receives a voice wake-up command issued by a user, these electronic devices will be regarded as first electronic devices, and the server will obtain the network addresses of these first electronic devices, where there are at least two first electronic devices, and each first electronic device has a unique ID.

[0046] S120: Determine whether the number of second electronic devices is less than 2, and the second electronic devices are the first electronic devices with the same network address.

[0047] S130: If the number of the second electronic devices is not less than 2, obtain the time when the second electronic device receives the voice wake-up instruction.

[0048] In this embodiment, after the server obtains the network addresses of at least two first electronic devices, it is necessary to determine whether the number of second electronic devices is less than 2, where the second electronic device is a first electronic device with the same network address, that is, the second electronic device is connected to the same local area network and is located in a similar location. It is possible that the server receives a voice wake-up command from the same user. Therefore, it is determined whether the number of second electronic devices is less than 2. If the number of second electronic devices is not less than 2, it means that at least two second electronic devices have received a voice wake-up command from the same user. Although the locations of the second electronic devices are similar, there are still differences in the distance from the user, resulting in differences in the time when the second electronic device receives the voice wake-up command. Therefore, it is necessary to obtain the time when the second electronic device receives the voice wake-up command.

[0049] S140: Determine the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction.

[0050] S150: Start a voice service of a third electronic device, where the third electronic device is the second electronic device with the highest priority.

[0051] In this embodiment, after obtaining the time when the second electronic device receives the voice wake-up instruction, the priority of the second electronic device can be determined according to the time when the second electronic device receives the voice wake-up instruction, and then the voice service of the third electronic device is started, where the third electronic device is the second electronic device with the highest priority. Because the closer the user is, the more likely it is that the user wants to wake up the second electronic device, and the shorter the time when the second electronic device receives the voice wake-up instruction, the shorter the time when the second electronic device receives the voice wake-up instruction, the higher the priority of the second electronic device, and then the second electronic device with the highest priority is determined to be the third electronic device, and finally the voice service of the third electronic device is started, so that the third electronic device responds to the user's voice wake-up instruction, while other second electronic devices ignore it.

[0052] The embodiment of the present invention obtains the time when the second electronic device receives the voice wake-up instruction; determines the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction; and starts the voice service of a third electronic device, where the third electronic device is the second electronic device with the highest priority. This solves the problem that when there are multiple electronic devices with the same wake-up instruction working in the same environment, all electronic devices will receive the wake-up instruction and respond, and targeted wake-up cannot be performed, and other electronic devices that are accidentally awakened will cause voice wake-up interference to the current usage scenario, thereby achieving the effect of targeted voice wake-up when multiple electronic devices with the same wake-up instruction work at the same time.

[0053] Embodiment 2

[0054] like Figure 2 As shown, the second embodiment of the present invention provides a voice response method of an electronic device. The second embodiment of the present invention is a further explanation based on the first embodiment of the present invention. The method includes:

[0055] S210: Obtain network addresses of at least two first electronic devices, where the first electronic device is an electronic device that receives a voice wake-up instruction issued by a user.

[0056] S220: Determine whether the number of second electronic devices is less than 2, and the second electronic devices are first electronic devices with the same network address.

[0057] S230: If the number of the second electronic devices is not less than 2, obtain the time when the second electronic device receives the voice wake-up instruction.

[0058] In this embodiment, if the number of the second electronic devices is less than 2, it means that there is only one second electronic device in the current environment, and the voice service of the second electronic device is directly started.

[0059] S240: Determine whether the time at which the second electronic device receives the voice wake-up instruction is the same.

[0060] In this embodiment, since the time when the second electronic device receives the voice wake-up instruction may be the same, it is also necessary to determine whether the time when the second electronic device receives the voice wake-up instruction is the same. If the time when the second electronic device receives the voice wake-up instruction is different, the priority of the second electronic device is determined according to the time when the second electronic device receives the voice wake-up instruction, and the method in the first embodiment of the present invention is executed.

[0061] S250: If the second electronic device receives the voice wake-up instruction at the same time, obtain the distance of the user from the second electronic device.

[0062] S260: Determine whether the distances between the users and the second electronic device are the same.

[0063] S270: If the distance between the user and the second electronic device is the same, obtain the angle of the user relative to the second electronic device.

[0064] S280: Determine the priority of the second electronic device according to the angle.

[0065] S290: Start the voice service of the third electronic device, where the third electronic device is the second electronic device with the highest priority.

[0066] In this embodiment, if the time when the second electronic device receives the voice wake-up command is the same, the priority is further determined based on the user's distance from the second electronic device, and the user's distance from the second electronic device is obtained. If the user's distance from the second electronic device is different, the priority of the second electronic device can be directly determined based on the distance, and the third electronic device is determined based on the priority, and the method in the first embodiment of the present invention is executed. However, the user's distance from the second electronic device may still be the same. If it is the same, the user's angle based on the second electronic device is further obtained, and then the priority of the second electronic device is determined based on the angle. If the user's angle based on the second electronic device is different, the priority of the second electronic device is determined based on the angle. The user's angle based on the second electronic device may still be the same, so the priority of the second electronic device is determined based on the positive and negative values ​​of the angle.

[0067] In this embodiment, the electronic device is a television. There may be N televisions or other electronic devices that support voice functions in a shopping mall, exhibition hall or user's home, and their wake-up instructions are the same. Since the voice function needs to be connected to the server, it can only be normally awakened and recognized after the television is connected to the network. After these televisions are connected to the network, they respond and process on the server through the local area network according to their different IDs. The television that supports the voice function has a built-in microphone receiving circuit in hardware. It receives external sound signals through the microphone's sound receiving hole, and samples and analyzes the sound signals to determine whether the sound signals contain specific wake-up instructions. Once the wake-up instruction issued by the user is received, the voice service will be started, the user's instructions will be collected, and then uploaded to the server for semantic recognition, and the corresponding operation response will be made according to the recognized results. The analysis and judgment process of the wake-up instruction is integrated in the local software system of the television, and does not need to be processed by the network. Therefore, the delay time from the user issuing the voice wake-up instruction to the television receiving the voice wake-up instruction is the time for the sound signal to propagate in the air. This time is determined by the physical distance between the user and the television.

[0068] For example, there are TV sets A, B and C in the same location of a shopping mall. TV sets A, B and C are all connected to the server and are in the same local area network. If the user speaks a voice wake-up command, TV sets A, B and C will all receive the wake-up command, that is, TV sets A, B and C are all second electronic devices. There are usually differences in the distance between the user and each TV, resulting in differences in the time when TV sets A, B and C receive the voice wake-up command. The TV set A, which is closest, will recognize the voice wake-up command the fastest and have the highest priority, that is, respond to the voice wake-up command and start the voice service. However, TV sets B and C ignore the voice wake-up command. It should be noted that TV sets B and C do not start the voice service, but have been receiving external sound signals. In this way, when the user changes position and speaks the voice wake-up command again when he is closest to TV set B, TV set B will recognize the voice wake-up command the fastest. At this time, TV set B has the highest priority, responds to the voice wake-up command and starts the voice service, and TV sets A and TV sets C will ignore the wake-up. In this way, the appropriate TV is switched to provide voice service according to the user's location.

[0069] Furthermore, when the user is at the same distance from TV A and TV B, the time when TV A and TV B receive the voice wake-up command is likely to be the same. Due to different environments, when the time of receiving the voice wake-up command is the same, the user's distance from TV A, TV B, and TV C may also be different. At this time, if AR cameras are set on TV A, TV B, and TV C, the AR camera is further used to obtain the user's distance from TV A, TV B, and TV C. This distance is more accurate than the distance based on the time of receiving the command, and the priority is determined based on the distance. If there is no AR camera, or the distance is the same, the user's angle is added for distinction.

[0070] Specifically, first determine whether the time when TV A, TV B and TV C receive the voice wake-up command is the same. If the time when TV A, TV B and TV C receive the voice wake-up command is the same, then obtain the distance of the user based on TV A, TV B and TV C, where the distance based on the user can be obtained through the AR camera on TV A, TV B and TV C. If the distance of the user based on the second electronic device is the same, then obtain the angle of the user based on TV A, TV B and TV C. It should be noted that if there is no AR camera set on TV A, TV B and TV C, skip step S260 and directly obtain the angle of the user based on TV A, TV B and TV C. Because the microphone receiving circuit of the TV is a microphone array, the number of microphones is generally 2 to 4, and the microphones are spaced a certain distance apart. The angle and distance model from the microphone array to the user can be established through the microphone. The microphone spacing on the microphone array is known as H. The four times of receiving the user command on the same array are t1, t2, t3 and t4 respectively. According to the speed of sound propagation in the air, the distance and angle of the user are finally obtained. The vertical line on the front of the TV is 0°, and the angles from left to right are -90° to +90°, respectively. The smaller the angle, the higher the priority of the corresponding TV. At the same numerical angle, positive values ​​take precedence over negative values, that is, the priority of TV A, TV B, and TV C is determined according to the positive and negative values ​​of the angle. If there are AR cameras on TV A, TV B, and TV C, the user's angle based on TV A, TV B, and TV C can be directly determined through the AR camera.

[0071] Furthermore, if the user walks around, the set angle changes no more than 30°, and the distance changes no more than 0.5m, the TV that responds to the service remains unchanged. If it exceeds this limit and receives a voice wake-up command, it will be re-judged. At the same time, the server will memorize the current angle, distance, and corresponding wake-up TV. The next time the user is detected in the same position, the voice service of the TV can be quickly started. In addition, a separate wake-up switch can be set on the menu, which is turned on by default, and the user can turn it off as needed. In addition, if the TV is equipped with an AR camera, the AR camera can also be used to determine the direction of the user's face, and the priority can be determined based on the direction of the user's face.

[0072] It should be noted that the various determination steps in the embodiment of the present invention may be executed in other orders or a certain determination step may be skipped.

[0073] In an alternative embodiment, the electronic device can also be other smart devices that support voice functions, such as smart speakers, smart air conditioners, sweepers, etc. These electronic devices can be connected to the same local area network in the same environment to execute the method provided in the embodiment of the present invention.

[0074] Embodiment 3

[0075] like Figure 3 As shown, the third embodiment of the present invention provides a voice response system 100 for an electronic device. The voice response system 100 for an electronic device provided by the third embodiment of the present invention can execute the voice response method for an electronic device provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The voice response system 100 for an electronic device includes an address acquisition module 200, a quantity determination module 300, a time acquisition module 400, a device selection module 500 and a service startup module 600.

[0076] Specifically, the address acquisition module 200 is used to obtain the network addresses of at least two first electronic devices, where the first electronic device is an electronic device that receives a voice wake-up command issued by a user; the quantity judgment module 300 is used to judge whether the number of second electronic devices is less than 2, where the second electronic devices are first electronic devices with the same network address; the time acquisition module 400 is used to obtain the time when the second electronic device receives the voice wake-up command if the number of second electronic devices is not less than 2; the device selection module 500 is used to determine the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up command; the service start module 600 is used to start the voice service of the third electronic device, where the third electronic device is the second electronic device with the highest priority.

[0077] In this embodiment, the service start module 600 is also used to start the voice service of the second electronic device if the number of the second electronic devices is less than 2. The device selection module 500 is specifically used to determine whether the time when the second electronic devices receive the voice wake-up instruction is the same; if the time when the second electronic devices receive the voice wake-up instruction is different, the priority of the second electronic device is determined according to the time when the second electronic device receives the voice wake-up instruction. The device selection module 500 is also specifically used to obtain the distance of the user based on the second electronic device if the time when the second electronic device receives the voice wake-up instruction is the same; determine the priority of the second electronic device according to the distance. The device selection module 500 is also specifically used to determine whether the distance of the user based on the second electronic device is the same; if the distance of the user based on the second electronic device is different, determine the priority of the second electronic device according to the distance. The device selection module 500 is also specifically used to obtain the angle of the user based on the second electronic device if the distance of the user based on the second electronic device is the same; determine the priority of the second electronic device according to the angle.

[0078] Preferably, the electronic device is a television.

[0079] Embodiment 4

[0080] Figure 4 This is a structural diagram of an electronic device 12 provided in Embodiment 4 of the present invention. Figure 4A block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 4 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0081] like Figure 4 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0082] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0083] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.

[0084] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 not shown, usually called a "hard drive"). Although Figure 4 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0085] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0086] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 12, and / or may communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0087] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, for example, implementing the method provided in the embodiment of the present invention:

[0088] Acquire network addresses of at least two first electronic devices, where the first electronic device is an electronic device that receives a voice wake-up instruction issued by a user;

[0089] Determining whether the number of second electronic devices is less than 2, the second electronic devices being the first electronic devices with the same network address;

[0090] If the number of the second electronic devices is not less than 2, obtaining the time when the second electronic device receives the voice wake-up instruction;

[0091] determining the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction;

[0092] The voice service of the third electronic device is started, and the third electronic device is the second electronic device with the highest priority.

[0093] Embodiment 5

[0094] Embodiment 5 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method provided in all the embodiments of the present invention is implemented:

[0095] Acquire network addresses of at least two first electronic devices, where the first electronic device is an electronic device that receives a voice wake-up instruction issued by a user;

[0096] Determining whether the number of second electronic devices is less than 2, the second electronic devices being the first electronic devices with the same network address;

[0097] If the number of the second electronic devices is not less than 2, obtaining the time when the second electronic device receives the voice wake-up instruction;

[0098] determining the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction;

[0099] The voice service of the third electronic device is started, and the third electronic device is the second electronic device with the highest priority.

[0100] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0101] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0102] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0103] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0104] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A voice response method for an electronic device, characterized in that: include: Acquire network addresses of at least two first electronic devices, where the first electronic devices are electronic devices that receive a voice wake-up instruction issued by a user; Determining whether the number of second electronic devices is less than 2, the second electronic devices being the first electronic devices with the same network address; If the number of the second electronic devices is not less than 2, obtaining the time when the second electronic device receives the voice wake-up instruction; determining the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction; Starting a voice service of a third electronic device, the third electronic device being the second electronic device with the highest priority; The determining the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction includes: Determining whether the time at which the second electronic device receives the voice wake-up instruction is the same; If the time when the second electronic device receives the voice wake-up instruction is different, determining the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction; If the second electronic device receives the voice wake-up instruction at the same time, obtaining the distance of the user from the second electronic device; and determining the priority of the second electronic device according to the distance; The determining the priority of the second electronic device according to the distance includes: determining whether the distances of the users based on the second electronic device are the same; If the distances between the user and the second electronic device are different, determining the priority of the second electronic device according to the distances; If the distances of the users from the second electronic device are the same, obtaining the angle of the users from the second electronic device; and determining the priority of the second electronic device according to the angle; The determining the priority of the second electronic device according to the angle includes: taking the vertical line of the front of the second electronic device as 0°, from left to right, respectively -90° to +90°, the smaller the angle of the second electronic device based on the user, the higher the priority of the corresponding second electronic device; The electronic device is a television; the television is provided with an AR camera; Correspondingly, determining the priority of the second electronic device according to the distance further includes: determining the orientation of the user's face through the AR camera; and determining the priority of the second electronic device according to the orientation of the user's face.

2. The method according to claim 1, characterized in that The determining whether the number of the second electronic devices is less than 2 includes: If the number of the second electronic devices is less than 2, the voice service of the second electronic devices is started.

3. A voice response system for an electronic device, characterized in that: include: An address acquisition module, used to acquire network addresses of at least two first electronic devices, where the first electronic devices are electronic devices that receive a voice wake-up instruction issued by a user; A quantity determination module, used to determine whether the number of second electronic devices is less than 2, where the second electronic devices are the first electronic devices with the same network address; A time acquisition module, configured to acquire the time when the second electronic device receives the voice wake-up instruction if the number of the second electronic devices is not less than 2; a device selection module, configured to determine the priority of the second electronic device according to the time at which the second electronic device receives the voice wake-up instruction; A service starting module, used to start the voice service of a third electronic device, the third electronic device being the second electronic device with the highest priority; The device selection module is specifically used to determine whether the time when the second electronic device receives the voice wake-up instruction is the same; If the time when the second electronic device receives the voice wake-up instruction is different, determining the priority of the second electronic device according to the time when the second electronic device receives the voice wake-up instruction; If the second electronic device receives the voice wake-up instruction at the same time, obtaining the distance of the user from the second electronic device; determining a priority of the second electronic device according to the distance; The determining the priority of the second electronic device according to the distance includes: determining whether the distances of the users based on the second electronic device are the same; If the distances between the user and the second electronic device are different, determining the priority of the second electronic device according to the distances; If the distances of the users from the second electronic device are the same, obtaining the angle of the users from the second electronic device; and determining the priority of the second electronic device according to the angle; The determining the priority of the second electronic device according to the angle includes: taking the vertical line of the front of the second electronic device as 0°, from left to right, respectively -90° to +90°, the smaller the angle of the second electronic device based on the user, the higher the priority of the corresponding second electronic device; The electronic device is a television; the television is provided with an AR camera; Correspondingly, determining the priority of the second electronic device according to the distance further includes: determining the orientation of the user's face through the AR camera; and determining the priority of the second electronic device according to the orientation of the user's face.

4. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-2.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.

Citation Information

Patent Citations

  • Voice awakening method and electronic equipment

    CN111369988A