Information processing method, device and storage medium
By receiving and processing the status information of the electronic device and controlling the audio output of the second electronic device in the same space, the problem of smart speakers being interfered by external sounds during human-computer interaction is solved, and the accuracy and clarity of voice interaction are improved.
Patent Information
- Application Number
- CN201911134771.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-19
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2039-11-19
AI Technical Summary
When human-computer interaction is carried out through smart speakers, it is easy to be interfered by sound generated by the external environment, resulting in a decrease in the accuracy and clarity of voice interaction.
By receiving the status information sent by the first electronic device, its wake-up state is determined, and when the second electronic device in the same space has audio output, a control instruction is sent to stop or reduce the audio output, thereby reducing misjudgment and interference.
The accuracy of voice interaction is improved, the interference of the sound of the second electronic device on the voice interaction is reduced, and the clarity of the collected sound is improved.
Smart Images

Figure CN110928589B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information technology, and in particular to an information processing method, device and storage medium. Background Art
[0002] At present, human-computer interaction through voice has received widespread attention. The entire Internet industry is actively exploring possible application methods and scenarios of voice interaction, and a large number of products based on voice interaction have been launched, such as smart speakers, voice assistants, etc. However, when human-computer interaction is carried out through smart speakers, it is easy to be disturbed by the sound generated by the external environment. Summary of the invention
[0003] The present disclosure provides an information processing method, device and storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an information processing method, including:
[0005] Receiving status information sent by the first electronic device;
[0006] Based on the state information, determining whether the first electronic device is in an awake state;
[0007] If the first electronic device is in an awake state, and a second electronic device in the same space as the first electronic device has audio output in the current state, a first control instruction is sent to the second electronic device, wherein the first control instruction is used to control the second electronic device to stop audio output or reduce the volume of the audio output.
[0008] Optionally, the method further includes:
[0009] When the first electronic device is in an awake state, acquiring location information of the first electronic device;
[0010] Based on the location information, determining a space where the first electronic device is located;
[0011] determining whether there is a second electronic device with audio output capability in the same space;
[0012] When the second electronic device is in the space, it is determined whether the second electronic device has audio output in the current state.
[0013] Optionally, when the second electronic device is in the space, determining whether the second electronic device has audio output in the current state includes:
[0014] When the second electronic device is in the space, determining whether the current state is an on state;
[0015] If the current state is the on state and the volume is not 0, it is determined that the second electronic device has audio output in the on state.
[0016] Optionally, when the first electronic device is in the awake state and a second electronic device in the same space as the first electronic device has audio output in the current state, sending a first control instruction to the second electronic device includes:
[0017] When the first electronic device is in a wake-up state, and the second electronic device in the same space as the first electronic device has an audio output in the current state, determining a volume of the audio output of the second electronic device;
[0018] If the volume is greater than a set volume threshold, the first control instruction is sent to the second electronic device.
[0019] Optionally, the method further includes:
[0020] If the audio recovery signal sent by the first electronic device is received, a second control instruction is sent to the second electronic device, wherein the second control instruction is used to control the second electronic device to perform audio output or increase the volume of the audio output.
[0021] According to a second aspect of an embodiment of the present disclosure, there is provided an information processing device, including:
[0022] A first receiving module, configured to receive status information sent by a first electronic device;
[0023] A first determination module, configured to determine whether the first electronic device is in a wake-up state based on the state information;
[0024] The first sending module is configured to send a first control instruction to a second electronic device if the first electronic device is in an awake state and a second electronic device in the same space as the first electronic device has audio output in a current state, wherein the first control instruction is used to control the second electronic device to stop audio output or reduce the volume of the audio output.
[0025] Optionally, the device further comprises:
[0026] an acquisition module, configured to acquire location information of the first electronic device when the first electronic device is in an awake state;
[0027] A second determining module is configured to determine a space where the first electronic device is located based on the location information;
[0028] A third determination module is configured to determine whether there is a second electronic device with audio output capability in the same space;
[0029] The fourth determination module is configured to determine whether the second electronic device has audio output in the current state when the second electronic device is in the space.
[0030] Optionally, the fourth determining module includes:
[0031] A first determination submodule, configured to determine whether the current state is an on state when the second electronic device is in the space;
[0032] The second determining submodule is configured to determine that the second electronic device has audio output in the turned-on state if the current state is the turned-on state and the volume is not 0.
[0033] Optionally, the first sending module includes:
[0034] A third determination submodule is configured to, when the first electronic device is in a wake-up state and the second electronic device in the same space as the first electronic device has an audio output in the current state, determine the volume of the audio output of the second electronic device;
[0035] The sending submodule is configured to send the first control instruction to the second electronic device if the volume is greater than a set volume threshold.
[0036] Optionally, the device further comprises:
[0037] The second sending module is configured to send a second control instruction to the second electronic device if the audio recovery signal sent by the first electronic device is received, wherein the second control instruction is used to control the second electronic device to perform audio output or increase the volume of the audio output.
[0038] According to a third aspect of an embodiment of the present disclosure, there is provided an information processing device, including:
[0039] processor;
[0040] a memory configured to store processor-executable instructions;
[0041] Wherein, the processor is configured to implement the steps of any one of the information processing methods in the first aspect when executed.
[0042] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a server, the server is enabled to execute any one of the information processing methods in the first aspect.
[0043] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0044] In an embodiment of the present disclosure, when a first electronic device is in an awake state and a second electronic device in the same space as the first electronic device has audio output in the current state, a first control instruction can be sent to the second electronic device to control the second electronic device to stop audio output or reduce the volume of the audio output. When the first electronic device is a voice interaction device, such as a smart speaker, the technical solution of the present disclosure can, on the one hand, reduce the probability that the first electronic device mistakenly regards the sound emitted by the second electronic device as the sound to be collected, thereby improving the accuracy of voice interaction; on the other hand, it can reduce the interference of the sound emitted by the second electronic device on the voice interaction, and improve the clarity of the collected sound.
[0045] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0047] Figure 1 The following is a flow chart of an information processing method according to an exemplary embodiment. Figure 1 .
[0048] Figure 2 The following is a flow chart of an information processing method according to an exemplary embodiment. Figure 2 .
[0049] Figure 3A FIG. 3 is a flowchart of an information processing method according to an exemplary embodiment.
[0050] Figure 3B The following is a flow chart of an information processing method according to an exemplary embodiment. Figure 4 .
[0051] Figure 4 The invention is a block diagram of an information processing device according to an exemplary embodiment.
[0052] Figure 5 is a block diagram of another information processing device according to an exemplary embodiment.
[0053] Figure 6 The figure is a hardware structure block diagram of an information processing device according to an exemplary embodiment.
[0054] Figure 7is a block diagram of another hardware structure for an information processing device according to an exemplary embodiment. DETAILED DESCRIPTION
[0055] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0056] Figure 1 The following is a flow chart of an information processing method according to an exemplary embodiment. Figure 1 ,like Figure 1 As shown, the method is applied to an electronic device, wherein the electronic device includes a server, a router or a terminal device, the terminal device includes a mobile terminal and a fixed terminal, the mobile terminal includes a mobile phone, a tablet computer or a laptop computer, and the fixed terminal includes a personal computer. The method includes the following steps:
[0057] In step 101, status information sent by a first electronic device is received;
[0058] In step 102, based on the state information, it is determined whether the first electronic device is in an awake state;
[0059] In step 103, if the first electronic device is in an awake state, and a second electronic device in the same space as the first electronic device has audio output in the current state, a first control instruction is sent to the second electronic device, wherein the first control instruction is used to control the second electronic device to stop audio output or reduce the volume of the audio output.
[0060] Here, the first electronic device includes at least any electronic device with voice collection and recognition function, such as a smart speaker.
[0061] The second electronic device includes at least one of the following: a television, a computer, and a mobile phone. In the embodiment of the present disclosure, the first electronic device can be awakened by voice wake-up. For example, when a voice signal is received based on the audio acquisition component contained in the first electronic device, the voice signal can be digitized to obtain voice data, and it can be detected whether the voice data contains a pre-set wake-up word. If the voice data contains a wake-up word, the voice processing module of the first electronic device will wake up the first electronic device. Among them, the wake-up word can be set by the user according to needs. For example, the wake-up word can be set to "Xiao Ai classmate".
[0062] Taking the application of this method to a server as an example, after waking up the first electronic device, the first electronic device can send the status information of the first electronic device to the server to report the status information to the server. In this way, the server can determine whether the first electronic device is in an awake state based on the status information representing the awake state of the first electronic device. When the server determines that the first electronic device is in an awake state, it determines whether the second electronic device in the same space as the first electronic device has audio output in the current state. When the second electronic device has audio output, a first control instruction is sent to the second electronic device.
[0063] Here, the same space may mean that the distance between the first electronic device and the second electronic device is less than a set distance threshold, or that the first electronic device and the second electronic device are in the same room. For example, when the first electronic device and the second electronic device are in the same room, it is determined that the first electronic device and the second electronic device are in the same space.
[0064] In some embodiments, the space may be: a space divided by a physical partition, for example, a space divided by partitions such as walls or screens.
[0065] In some other embodiments, the space may also be: a space with a preset distance as a radius and no physical isolation body in at least one direction, with the first electronic device as the center point. The preset distance includes a threshold value such as 3 meters or 4 meters.
[0066] At this time, if the second electronic device has audio output, a first control instruction may be sent to the second electronic device to make the second electronic device stop audio output or reduce the volume of the audio output.
[0067] Here, the second electronic device is an electronic device with an audio output function, and the method further includes: determining whether the second electronic device has an audio output based on the on state and the off state of the second electronic device; or determining whether the second electronic device has an audio output based on the multimedia information played on the second electronic device. In the disclosed embodiment, the second electronic device that can output audio when in the on state can be called a first type of second electronic device, and the second electronic device that needs to trigger audio output based on the received multimedia playback operation after being in the on state can be called a second type of second electronic device. Taking the second electronic device as a television as an example, the second electronic device can be divided into a first type of television and a second type of television.
[0068] In the case where it is determined that the second electronic device is a first type of television, since the first type of television will output audio when it is turned on, in the process of determining whether the first type of television has audio output, it is only necessary to determine whether the first type of television is turned on. When it is determined that the first type of television is turned on, it can be determined that the first type of television has audio output. In the case where it is determined that the second electronic device is a second type of television, it is first necessary to determine whether the second type of television is turned on. After determining that the second type of television is turned on, it is also necessary to determine whether the second type of television is currently playing multimedia information. If the second type of television is playing multimedia information, the type of multimedia information being played is determined. If the multimedia information being played is audio information, it is determined that the second type of television has audio output.
[0069] The first type of television here may include: a television that broadcasts based on a television station broadcast signal. The second type of television may be a network television connected to the Internet.
[0070] In other optional embodiments, the second electronic device may also be a computer including a display screen.
[0071] In the embodiment of the present disclosure, when the first electronic device is a voice interaction device, such as a smart speaker, the technical solution of the present disclosure can, on the one hand, reduce the probability that the first electronic device mistakenly regards the sound emitted by the second electronic device as the sound it wants to collect, thereby improving the accuracy of the voice interaction; on the other hand, it can reduce the interference of the sound emitted by the second electronic device on the voice interaction, thereby improving the clarity of the collected sound.
[0072] In other optional embodiments, the method further includes:
[0073] When the first electronic device is in an awake state, acquiring location information of the first electronic device;
[0074] Based on the location information, determine the space where the first electronic device is located;
[0075] Determining whether there is a second electronic device with audio output capability in the same space as the first electronic device;
[0076] When there is a second electronic device in the space where the first electronic device is located, it is determined whether the second electronic device has audio output in the current state.
[0077] Here, when the first electronic device is in an awake state, the space where the first electronic device is located can be determined based on the location information, for example, the room where the first electronic device is located. Taking the space where the first electronic device is located as the room where the first electronic device is located as an example, the room number where the first electronic device is located can be set based on the operation input by the user via the mobile terminal. For example, an application (Application, App) for controlling the first electronic device can be installed on the mobile terminal, and then a communication connection can be established between the mobile terminal and the first electronic device, so that the mobile terminal can mark the room number where the first electronic device is located through the installed App.
[0078] In other optional embodiments, determining the space where the first electronic device is located includes: determining the room number of the room where the first electronic device is located; the method further includes: determining the room number of the second electronic device; and determining whether there is a second electronic device in the space includes: determining whether the room number of the first electronic device is the same as the room number of the second electronic device. In this case, if the room number of the first electronic device is the same as the room number of the second electronic device, it is determined that the first electronic device and the second electronic device are in the same space.
[0079] In other optional embodiments, when the first electronic device is in the awake state, the state information of the first electronic device may also be sent to the mobile terminal. After receiving the state information, the mobile terminal will detect whether there is a space where the first electronic device is located. If not, a prompt message is output to prompt the user to set the space where the first electronic device is located. In the disclosed embodiment, by obtaining the location information of the first electronic device, and determining the space where the first electronic device is located based on the location information of the first electronic device, and determining whether there is a second electronic device in the space, and if there is a second electronic device, determining whether the second electronic device has audio output in the current state, the search range for the second electronic device can be narrowed to a certain extent, so that the workload of the server can be reduced, thereby saving system resources.
[0080] In other optional embodiments, when there is a second electronic device in the space, determining whether the second electronic device has audio output in a current state includes:
[0081] When there is a second electronic device in the space where the first electronic device is located, determining whether the current state is an on state;
[0082] If the current state is the on state and the volume is not 0, it is determined that the second electronic device has audio output in the on state.
[0083] Here, when detecting that there is a second electronic device in the space where the first electronic device is located, it is not immediately determined whether the second electronic device has audio output, but first determines whether the current state of the second electronic device is turned on. When the current state of the second electronic device is turned on, it is determined whether the second electronic device has audio output in the turned-on state. If the current state is turned on and the volume is not 0, it is determined that the second electronic device has audio output in the turned-on state. Since the second electronic device may also have audio output when a failure occurs, and in the case that the second electronic device has audio output in the case of a failure, it is impossible to stop the audio output of the second electronic device or reduce the volume of the audio output only through the server. In the present disclosure, by first determining whether the second electronic device is in the turned-on state, and then determining whether the second electronic device has audio output when the second electronic device is in the turned-on state, the probability of misjudgment can be reduced.
[0084] In other optional embodiments, when the first electronic device is in the awake state, and the second electronic device in the same space as the first electronic device has audio output in the current state, sending the first control instruction to the second electronic device includes:
[0085] When the first electronic device is in an awake state, and a second electronic device in the same space as the first electronic device has an audio output in a current state, determining a volume of the audio output of the second electronic device;
[0086] If the volume is greater than the set volume threshold, a first control instruction is sent to the second electronic device.
[0087] Here, when the volume of the audio output of the second electronic device is less than or equal to the set volume threshold, it may not be enough to affect the interaction between the first electronic device and the user. In this case, there is no need to control the second electronic device to stop the audio output or reduce the volume of the audio output. When the volume of the audio output of the first electronic device is greater than the set volume threshold, the second electronic device is controlled to stop the audio output or reduce the volume of the audio output, which can reduce the unnecessary situation of stopping the audio output of the second electronic device or reducing the volume of the audio output, thereby affecting the use of the second electronic device.
[0088] In other optional embodiments, the method further includes:
[0089] If the audio recovery signal sent by the first electronic device is received, a second control instruction is sent to the second electronic device, wherein the second control instruction is used to control the second electronic device to perform audio output or increase the volume of the audio output.
[0090] Here, after the voice interaction between the first electronic device and the user ends, the first electronic device can send an audio recovery signal to the server. After the server receives the audio recovery signal, it can be determined that the voice interaction between the first electronic device and the user ends, and then a second control instruction is sent to the second electronic device to control the second electronic device to perform audio output or increase the volume of the audio output. Here, after the voice interaction between the first electronic device and the user ends, the second electronic device is promptly controlled to perform audio output or increase the volume of the audio output, which can reduce the impact of the voice interaction of the first electronic device on the second electronic device to a certain extent, without the user manually triggering the volume recovery of the second electronic device, thereby improving the intelligence of the second electronic device.
[0091] Figure 2 The following is a flow chart of an information processing method according to an exemplary embodiment. Figure 2 ,like Figure 2 As shown, the method is applied to a second electronic device, comprising:
[0092] In step 201, a first control instruction sent by a server is received, wherein the first control instruction is sent by the server when it is determined that a first electronic device is in an awake state and a second electronic device in the same space as the first electronic device has an audio output in the current state;
[0093] In step 202, based on the first control instruction, the audio output is stopped or the volume of the audio output is reduced.
[0094] Here, the first electronic device includes at least a smart speaker; the second electronic device includes at least one of the following: a television, a computer, and a mobile phone. In the embodiment of the present disclosure, the first electronic device can be awakened by voice wake-up. For example, when a voice signal is received based on the audio acquisition component contained in the first electronic device, the voice signal can be digitized to obtain voice data. And detect whether the voice data contains a pre-set wake-up word. If the voice data contains a wake-up word, the first electronic device can be awakened. Among them, the wake-up word can be set by the user according to needs. For example, the wake-up word can be set to "Xiao Ai classmate".
[0095] When the server determines that the first electronic device is in the awake state, it determines whether the second electronic device in the same space as the first electronic device has audio output in the current state, and when the first electronic device has audio output, it sends the first control instruction to the second electronic device. At this time, if the second electronic device has audio output, it stops the audio output or reduces the volume of the audio output.
[0096] In the embodiment of the present disclosure, when the first electronic device is a voice interaction device, such as a smart speaker, the technical solution of the present disclosure can, on the one hand, reduce the probability that the first electronic device mistakenly regards the sound emitted by the second electronic device as the sound it wants to collect, thereby improving the accuracy of the voice interaction; on the other hand, it can reduce the interference of the sound emitted by the second electronic device on the voice interaction, thereby improving the clarity of the collected sound.
[0097] In other optional embodiments, the first control instruction may also be sent by the server when it is determined that the first electronic device is in an awake state and the volume of the audio output of the second electronic device is greater than a set volume threshold. In this way, after the second electronic device receives the first control instruction, the volume of the audio output can be reduced to the set volume threshold, or reduced to a volume less than the set volume threshold. By reducing the volume of the audio output of the second electronic device without stopping the audio output of the second electronic device, the normal use of the second electronic device can be guaranteed, and the user's experience can be improved.
[0098] In other optional embodiments, the method further includes:
[0099] Receiving a second control instruction sent by the server, wherein the second control instruction is sent by the server when receiving an audio recovery signal sent by the first electronic device;
[0100] Based on the second control instruction, audio output is performed or the volume of the audio output is increased.
[0101] Here, after the voice interaction between the first electronic device and the user ends, the first electronic device can send an audio recovery signal to the server. After the server receives the audio recovery signal, it can be determined that the voice interaction between the first electronic device and the user ends, and then a second control instruction is sent to the second electronic device to control the second electronic device to perform audio output or increase the volume of the audio output. Here, after the voice interaction between the first electronic device and the user ends, timely controlling the second electronic device to perform audio output or increase the volume of the audio output can reduce the impact of the voice interaction of the first electronic device on the second electronic device to a certain extent.
[0102] Figure 3A is a flowchart of an information processing method according to an exemplary embodiment. Figure 3A As shown, the method comprises the following steps:
[0103] In step 31, the server receives status information sent by the first electronic device;
[0104] In step 32, the server determines whether the first electronic device is in a wake-up state based on the state information;
[0105] In step 33, if the first electronic device is in the awake state, and the second electronic device in the same space as the first electronic device has audio output in the current state, the server sends a first control instruction to the second electronic device;
[0106] In step 34, the second electronic device stops the audio output or reduces the volume of the audio output based on the first control instruction.
[0107] In other optional embodiments, take the example that the first electronic device is a speaker and the second electronic device is a television. Figure 3B The following is a flow chart of an information processing method according to an exemplary embodiment. Figure 4 ,like Figure 3B As shown, the method comprises the following steps:
[0108] In step 301, when the speaker detects that the user inputs a wake-up word, the speaker wakes up.
[0109] Here, the wake-up word can be "Xiao Ai Tongxue".
[0110] In step 302, after the speaker is started, the status information is reported to the server to inform the server that the speaker has been awakened.
[0111] Here, if the current speaker has not reported its geographic location to the server, the location information of the speaker needs to be reported to the server. The location information includes which room the speaker is located in the room, which can be set by the user based on the App on the mobile phone. In other optional embodiments, the status information can also be sent to the mobile phone. Since the location information of the speaker has been set in the App on the mobile phone, there is no need to report the location information repeatedly. When the mobile phone receives the status information, if the location information of the speaker is not set in the App, a prompt message can be output based on the mobile phone to remind the user to set the location information of the speaker.
[0112] In step 303, after receiving the status information sent by the speaker, the server detects whether there is a TV turned on in the same room.
[0113] Here, the server may send an inquiry command to the smart terminal device or mobile phone to determine whether a sound-emitting device (eg, a television) in the same room is in use.
[0114] In step 304, if a television is turned on and the turned-on television is outputting audio, a first control instruction is sent to the television to control the television to stop audio output or reduce the volume of the audio output.
[0115] In step 305, when it is determined that the conversation between the speaker and the user is finished, the server sends a second control instruction to the television to control the television to perform audio output or increase the volume of the audio output.
[0116] Here, if the speaker does not detect a voice signal within a predetermined period of time, it can be determined that there is no need for a conversation at present, and the conversation between the speaker and the user is determined to be over.
[0117] Figure 4 FIG. 1 is a block diagram of an information processing device according to an exemplary embodiment. Figure 4 As shown, the information processing device 400 mainly includes:
[0118] The first receiving module 401 is configured to receive status information sent by the first electronic device;
[0119] A first determination module 402 is configured to determine whether the first electronic device is in a wake-up state based on the state information;
[0120] The first sending module 403 is configured to send a first control instruction to the second electronic device if the first electronic device is in an awake state and a second electronic device in the same space as the first electronic device has audio output in the current state, wherein the first control instruction is used to control the second electronic device to stop audio output or reduce the volume of the audio output.
[0121] In other optional embodiments, the apparatus 400 further includes:
[0122] an acquisition module, configured to acquire location information of the first electronic device when the first electronic device is in an awake state;
[0123] A second determination module is configured to determine the space where the first electronic device is located based on the location information;
[0124] A third determination module is configured to determine whether there is a second electronic device with audio output capability in the same space as the first electronic device;
[0125] The fourth determination module is configured to determine whether the second electronic device has audio output in a current state when there is a second electronic device in the space where the first electronic device is located.
[0126] In other optional embodiments, the fourth determining module includes:
[0127] A first determination submodule, configured to determine whether the current state is an on state when there is a second electronic device in the space where the first electronic device is located;
[0128] The second determining submodule is configured to determine that the second electronic device has audio output in the turned-on state if the current state is the turned-on state and the volume is not 0.
[0129] In other optional embodiments, the first sending module 403 includes:
[0130] A third determination submodule is configured to determine the volume of the audio output of the second electronic device when the first electronic device is in the awake state and the second electronic device in the same space as the first electronic device has audio output in the current state;
[0131] The sending submodule is configured to send a first control instruction to the second electronic device if the volume is greater than a set volume threshold.
[0132] In other optional embodiments, the apparatus 400 further includes:
[0133] The second sending module is configured to send a second control instruction to the second electronic device if the audio recovery signal sent by the first electronic device is received, wherein the second control instruction is used to control the second electronic device to perform audio output or increase the volume of the audio output.
[0134] Figure 5 FIG. 1 is a block diagram of another information processing device according to an exemplary embodiment. Figure 5 As shown, the information processing device 500 is applied to a second electronic device and mainly includes:
[0135] The second receiving module 501 is configured to receive a first control instruction sent by the server, wherein the first control instruction is sent by the server when it is determined that the first electronic device is in an awake state and the second electronic device in the same space as the first electronic device has an audio output in the current state;
[0136] The first control module 502 is configured to stop the audio output or reduce the volume of the audio output based on the first control instruction.
[0137] In other optional embodiments, the apparatus 500 further includes:
[0138] A third receiving module is configured to receive a second control instruction sent by the server, wherein the second control instruction is sent by the server when receiving the audio recovery signal sent by the first electronic device;
[0139] The second control module is configured to execute audio output or increase the volume of the audio output based on the second control instruction.
[0140] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0141] Figure 66 is a hardware structure block diagram of an information processing device 600 according to an exemplary embodiment. For example, the device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0142] Reference Figure 6 , the device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0143] The processing component 602 generally controls the overall operation of the device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0144] The memory 604 is configured to store various types of data to support operations on the device 600. Examples of such data include instructions for any application or method operating on the device 600, contact data, phone book data, messages, pictures, videos, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0145] The power component 606 provides power to the various components of the device 600. The power component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 600.
[0146] The multimedia component 608 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0147] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the device 600 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0148] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0149] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the device 600. For example, the sensor assembly 614 can detect the open / closed state of the device 600, the relative positioning of components, such as the display and keypad of the device 600, and the sensor assembly 614 can also detect the position change of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, the orientation or acceleration / deceleration of the device 600, and the temperature change of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0150] The communication component 616 is configured to facilitate wired or wireless communication between the device 600 and other devices. The device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 6G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0151] In an exemplary embodiment, the apparatus 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0152] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of the device 600 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0153] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a second electronic device, enables the second electronic device to perform an information processing method, the method comprising:
[0154] Receiving a first control instruction sent by a server, wherein the first control instruction is sent by the server when it is determined that the first electronic device is in an awake state and a second electronic device in the same space as the first electronic device has an audio output in a current state;
[0155] Based on the first control instruction, the audio output is stopped or the volume of the audio output is reduced.
[0156] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform an information processing method, the method comprising:
[0157] Receiving status information sent by the first electronic device;
[0158] Based on the state information, determining whether the first electronic device is in an awake state;
[0159] If the first electronic device is in an awake state, and a second electronic device in the same space as the first electronic device has audio output in the current state, a first control instruction is sent to the second electronic device, wherein the first control instruction is used to control the second electronic device to stop audio output or reduce the volume of the audio output.
[0160] Figure 7 is another hardware structure block diagram for an information processing device 700 according to an exemplary embodiment. For example, the device 700 may be provided as a server. Figure 7 , the apparatus 700 includes a processing component 722, which further includes one or more processors, and a memory resource represented by a memory 732 for storing instructions executable by the processing component 722, such as an application. The application stored in the memory 732 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 722 is configured to execute instructions, and when the instructions in the storage medium are executed by the processor of the server, the server is able to perform an information processing method, the method comprising:
[0161] Receiving status information sent by the first electronic device;
[0162] Based on the state information, determining whether the first electronic device is in an awake state;
[0163] If the first electronic device is in an awake state, and a second electronic device in the same space as the first electronic device has audio output in the current state, a first control instruction is sent to the second electronic device, wherein the first control instruction is used to control the second electronic device to stop audio output or reduce the volume of the audio output.
[0164] The device 700 may also include a power supply component 726 configured to perform power management of the device 700, a wired or wireless network interface 750 configured to connect the device 700 to a network, and an input / output (I / O) interface 758. The device 700 may operate based on an operating system stored in the memory 732, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.
[0165] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0166] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An information processing method, characterized in that: include: Receiving state information reported by a first electronic device after it is awakened by detecting a user inputting a wake-up word, wherein the first electronic device includes a smart speaker; Based on the state information, determining whether the first electronic device is in an awake state; When the first electronic device is in an awake state, acquiring location information of the first electronic device; Based on the location information, determining a space where the first electronic device is located; If a second electronic device in the same space as the first electronic device has audio output in the current state, sending a first control instruction to the second electronic device, wherein the first control instruction is used to control the second electronic device to stop audio output or reduce the volume of the audio output; Among them, the first electronic device and the second electronic device being in the same space includes: the distance between the first electronic device and the second electronic device is less than a set distance threshold, or the first electronic device and the second electronic device are in the same room, and the same space includes a space divided by a physical partition, or a space with the first electronic device as the center point and a preset distance as the radius, which is formed without a physical partition in at least one direction.
2. The method according to claim 1, characterized in that The method further comprises: determining whether there is a second electronic device with audio output capability in the same space; When the second electronic device is in the space, it is determined whether the second electronic device has audio output in the current state.
3. The method according to claim 2, characterized in that When the second electronic device is in the space, determining whether the second electronic device has audio output in the current state includes: When the second electronic device is in the space, determining whether the current state is an on state; If the current state is the on state and the volume is not 0, it is determined that the second electronic device has audio output in the on state.
4. The method according to claim 1, characterized in that: If the second electronic device in the same space as the first electronic device has audio output in the current state, sending a first control instruction to the second electronic device includes: When the second electronic device in the same space as the first electronic device has an audio output in the current state, determining a volume of the audio output of the second electronic device; If the volume is greater than a set volume threshold, the first control instruction is sent to the second electronic device.
5. The method according to claim 1, characterized in that The method further comprises: If the audio recovery signal sent by the first electronic device is received, a second control instruction is sent to the second electronic device, wherein the second control instruction is used to control the second electronic device to perform audio output or increase the volume of the audio output.
6. An information processing device, characterized in that: include: A first receiving module is configured to receive status information reported by a first electronic device after it is awakened by detecting a user inputting a wake-up word, wherein the first electronic device includes a smart speaker; A first determination module, configured to determine whether the first electronic device is in a wake-up state based on the state information; an acquisition module, configured to acquire location information of the first electronic device when the first electronic device is in an awake state; A second determining module is configured to determine a space where the first electronic device is located based on the location information; The first sending module is configured to send a first control instruction to a second electronic device in the same space as the first electronic device if the second electronic device has audio output in a current state, wherein the first control instruction is used to control the second electronic device to stop audio output or reduce the volume of the audio output; wherein the first electronic device and the second electronic device are in the same space including: the distance between the first electronic device and the second electronic device is less than a set distance threshold, or the first electronic device and the second electronic device are in the same room, and the same space includes a space divided by a physical isolator, or a space without a physical isolator in at least one direction formed with the first electronic device as the center point and a preset distance as the radius.
7. The device according to claim 6, characterized in that The device also includes: A third determination module is configured to determine whether there is a second electronic device with audio output capability in the same space; The fourth determination module is configured to determine whether the second electronic device has audio output in the current state when the second electronic device is in the space.
8. The device according to claim 7, characterized in that The fourth determining module includes: A first determination submodule, configured to determine whether the current state is an on state when the second electronic device is in the space; The second determining submodule is configured to determine that the second electronic device has audio output in the turned-on state if the current state is the turned-on state and the volume is not 0.
9. The device according to claim 6, characterized in that The first sending module includes: a third determination submodule, configured to determine the volume of the audio output of the second electronic device when the second electronic device in the same space as the first electronic device has an audio output in the current state; The sending submodule is configured to send the first control instruction to the second electronic device if the volume is greater than a set volume threshold.
10. The device according to claim 6, characterized in that The device also includes: The second sending module is configured to send a second control instruction to the second electronic device if the audio recovery signal sent by the first electronic device is received, wherein the second control instruction is used to control the second electronic device to perform audio output or increase the volume of the audio output.
11. An information processing device, characterized in that: include: processor; a memory configured to store processor-executable instructions; The processor is configured to implement the steps of any one of the information processing methods in claims 1 to 5 when executed.
12. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by the processor of the server, the server is enabled to execute any one of the information processing methods in claims 1 to 5.
