CN110928589A - Information processing method, device and storage medium - Google Patents
Information processing method, device and storage medium Download PDFInfo
- Publication number
- CN110928589A CN110928589A CN201911134771.9A CN201911134771A CN110928589A CN 110928589 A CN110928589 A CN 110928589A CN 201911134771 A CN201911134771 A CN 201911134771A CN 110928589 A CN110928589 A CN 110928589A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- audio output
- state
- electronic equipment
- volume
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 35
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000000034 method Methods 0.000 claims abstract description 30
- 238000011084 recovery Methods 0.000 claims description 11
- 230000003993 interaction Effects 0.000 abstract description 27
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000002618 waking effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The present disclosure relates to an information processing method, apparatus, and storage medium, the method comprising: receiving state information sent by first electronic equipment; determining whether the first electronic device is in a wake-up state based on the state information; if the first electronic device is in the awakening state and the second electronic device in the same space with 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 for controlling the second electronic device to stop audio output or reduce the volume of the audio output. According to the voice interaction method and device, when the first electronic equipment is the voice interaction equipment, such as an intelligent sound box, the probability that the first electronic equipment mistakenly takes the sound emitted by the second electronic equipment as the sound to be collected by the first electronic equipment can be reduced, and the accuracy of voice interaction is improved; and the interference of the sound emitted by the second electronic equipment to the voice interaction can be reduced, and the definition of the collected sound is improved.
Description
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to an information processing method and apparatus, and a storage medium.
Background
At present, the interaction mode of human-computer interaction through voice is widely concerned, the whole internet industry actively explores possible application modes and application scenes of voice interaction, and a large number of products based on voice interaction are already available, such as intelligent sound boxes, voice assistants and the like. However, when human-computer interaction is performed through the smart speaker, it is easily interfered by sound generated by the external environment.
Disclosure of Invention
The present disclosure provides an information processing method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an information processing method including:
receiving state information sent by first electronic equipment;
determining whether the first electronic device is in a wake-up state based on the state information;
if the first electronic device is in an awakening state and a second electronic device in the same space with 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 for controlling the second electronic device to stop audio output or reduce the volume of the audio output.
Optionally, the method further includes:
when the first electronic equipment is in an awakening state, acquiring the position information of the first electronic equipment;
determining a space in which the first electronic device is located based on the position information;
determining whether the second electronic equipment with audio output capability exists in the same space;
when the second electronic equipment is in the space, determining whether the second electronic equipment has audio output in the current state.
Optionally, when the second electronic device is in the space, determining whether the second electronic device has an audio output in the current state includes:
when the second electronic equipment is in the space, determining whether the current state is an open state;
and if the current state is the opening state and the volume is not 0, determining that the second electronic equipment has audio output in the opening state.
Optionally, 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, sending a first control instruction to the second electronic device, where the sending includes:
when the first electronic equipment is in an awakening state and the second electronic equipment in the same space with the first electronic equipment has audio output in the current state, determining the volume of the audio output of the second electronic equipment;
and if the volume is greater than a set volume threshold, sending the first control instruction to the second electronic equipment.
Optionally, the method further includes:
and if the audio recovery signal sent by the first electronic equipment is received, sending a second control instruction to the second electronic equipment, wherein the second control instruction is used for controlling the second electronic equipment to execute audio output or increasing the volume of the audio output.
According to a second aspect of the embodiments of the present disclosure, there is provided an information processing apparatus including:
the first receiving module is configured to receive the state information sent by the first electronic equipment;
a first determination module configured to determine whether the first electronic device is in a wake-up state based on the state information;
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 the 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 for controlling the second electronic device to stop audio output or reduce the volume of audio output.
Optionally, the apparatus further comprises:
the acquisition module is configured to acquire the position information of the first electronic device when the first electronic device is in an awakening state;
a second determination module configured to determine a space in which the first electronic device is located based on the location information;
a third determining module configured to determine whether there is the second electronic device with audio output capability in the same space;
a fourth determining module configured to determine whether the second electronic device has audio output in the current state when the second electronic device is in the space.
Optionally, the fourth determining module includes:
a first determining submodule configured to determine whether the current state is an on state when the second electronic device is in the space;
and the second determining submodule is configured to determine that the second electronic device has audio output in the on state if the current state is the on state and the volume is not 0.
Optionally, the first sending module includes:
a third determining submodule configured to determine a volume of audio output of the second electronic device when the first electronic device is in an awake state and the second electronic device in the same space as the first electronic device has 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 larger than a set volume threshold.
Optionally, the apparatus further comprises:
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, where the second control instruction is used to control the second electronic device to execute audio output or increase the volume of the audio output.
According to a third aspect of the embodiments of the present disclosure, there is provided an information processing apparatus including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to implement the steps of any one of the information processing methods of the first aspect when executed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a server, enable the server to perform any one of the information processing methods of the first aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the 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 a 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 audio output. When the first electronic device is a voice interaction device, such as a smart sound box, by the technical scheme of the disclosure, on one hand, the probability that the first electronic device mistakenly takes the sound emitted by the second electronic device as the sound to be collected by the first electronic device can be reduced, and the accuracy of voice interaction is further improved; on the other hand, the interference of the sound emitted by the second electronic equipment to the voice interaction can be reduced, and the definition of the collected sound is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
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 disclosure.
Fig. 1 is a first flowchart illustrating an information processing method according to an example embodiment.
FIG. 2 is a flow chart diagram two illustrating an information processing method according to an exemplary embodiment.
Fig. 3A is a flow chart diagram three illustrating an information processing method according to an example embodiment.
FIG. 3B is a flow chart diagram four illustrating an information processing method according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating an information processing apparatus according to an example embodiment.
Fig. 5 is a block diagram illustrating another information processing apparatus according to an example embodiment.
Fig. 6 is a block diagram showing a hardware configuration of an information processing apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram showing another hardware configuration for an information processing apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating an information processing method according to an exemplary embodiment, where the method is applied to an electronic device, where 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 notebook computer, and the fixed terminal includes a personal computer, and the method includes the following steps:
in step 101, receiving status information sent by a first electronic device;
in step 102, determining whether the first electronic device is in a wake-up state based on the state information;
in step 103, if 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, a first control instruction is sent to the second electronic device, where the first control instruction is used to control the second electronic device to stop audio output or reduce the volume of audio output.
Here, the first electronic device includes at least any electronic device having a voice capturing and recognizing function, such as a smart speaker.
The second electronic device includes at least one of: television, computer, cell phone. In the embodiment of the disclosure, the first electronic device may be awakened in a voice awakening manner. For example, when a voice signal is received based on an audio acquisition component included in the first electronic device, the voice signal may be digitized to obtain voice data, and whether a preset wake-up word is included in the voice data is detected. If the voice data contains the awakening word, the voice processing module of the first electronic equipment awakens the first electronic equipment. The awakening word may be set by the user according to a requirement, for example, the awakening word may be set to "love classmates".
Taking the application of the method to the server as an example, after waking up the first electronic device, the first electronic device may send the state information of the first electronic device to the server, so as to report the state information to the server. In this way, the server may determine whether the first electronic device is in the awake state based on the state information characterizing the awake state of the first electronic device. When the server determines that the first electronic equipment is in the awakening state, determining whether audio is output by second electronic equipment which is in the same space with the first electronic equipment under the current state. And when the second electronic equipment has audio output, sending a first control instruction to the second electronic equipment.
Here, the same space may mean that a distance between the first electronic device and the second electronic device is smaller 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.
In some embodiments, the space may be: the space divided by the physical partition, for example, a space formed by dividing by a partition such as a wall or a screen.
In other embodiments, the space may also be: and taking the first electronic equipment as a central point, taking the preset distance as a radius, and forming a space without a physical separator in at least one direction. The preset distance comprises a threshold value of 3 meters or 4 meters and the like.
At this time, if the second electronic device has audio output, a first control instruction may be sent to the second electronic device to cause the second electronic device to stop the audio output or to decrease the volume of the audio output.
Here, the second electronic device is an electronic device having an audio output function, and the method further includes: determining whether the second electronic device has audio output based on the on state and the off state of the second electronic device; or, whether the second electronic device has audio output is determined based on the multimedia information played on the second electronic device. In the embodiment of the present disclosure, the second electronic device capable of outputting audio when being in the on state may be referred to as a first type of second electronic device, and the second electronic device that needs to trigger audio output based on the received multimedia playing operation after being in the on state may be referred to as a second type of second electronic device. Taking the second electronic device as an example, the second electronic device may be classified into a first type of television and a second type of television.
In the case that it is determined that the second electronic device is the first type of television, since the audio output is performed when the first type of television is in the on state, in the process of determining whether the first type of television has the audio output, it is only necessary to determine whether the first type of television is in the on state, and when it is determined that the first type of television is in the on state, it may be determined that the first type of television has the audio output. In the case that it is determined that the second electronic device is a second type of television, it is first determined whether the second type of television is in an on state, after it is determined that the second type of television is in the on state, it is also determined whether the second type of television is currently playing multimedia information, if the second type of television is playing multimedia information, it is determined that the type of multimedia information being played, and if the multimedia information being played belongs to audio information, it is determined that the second type of television has audio output.
The first type of television herein may include: and television for broadcasting based on the broadcast signal of the television station. The second type of television may be a web television connected to the internet.
In other alternative embodiments, the second electronic device may also be a computer with a display screen.
In the embodiment of the disclosure, when the first electronic device is a voice interaction device, such as a smart sound box, according to the technical scheme of the disclosure, on one hand, the probability that the first electronic device mistakenly takes the sound emitted by the second electronic device as the sound to be collected by the first electronic device can be reduced, and further the accuracy of voice interaction is improved; on the other hand, the interference of the sound emitted by the second electronic equipment to the voice interaction can be reduced, and the definition of the collected sound is improved.
In other optional embodiments, the method further comprises:
when first electronic equipment is in an awakening state, acquiring position information of the first electronic equipment;
determining a space where the first electronic device is located based on the position information;
determining whether a second electronic device with audio output capability exists in the same space where the first electronic device is located;
when the first electronic equipment is located in the space, the second electronic equipment is located in the space, and whether audio output exists in the second electronic equipment in the current state or not is determined.
Here, when the first electronic device is in the awake state, a space in which the first electronic device is located, for example, a room in which the first electronic device is located, may be determined based on the location information. Taking the space in which the first electronic device is located as the room in which the first electronic device is located as an example, the room number in which the first electronic device is located may be set based on an operation input by the user via the mobile terminal. For example, an Application program (App) for controlling the first electronic device may be installed on the mobile terminal, and then a communication connection between the mobile terminal and the first electronic device is established, so that the mobile terminal can mark the room number where the first electronic device is located through the installed App.
In other optional embodiments, determining the space in which the first electronic device is located includes: determining a room number of a room in which the first electronic device is located; the method further comprises the following steps: determining a room number of the second electronic device; determining whether a second electronic device is present in the space, comprising: it is determined whether the room number of the first electronic device is the same as the room number of the second electronic device. At this time, 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.
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, and after receiving the state information, the mobile terminal may detect whether there is a space where the first electronic device is located, and if not, output a prompt message to prompt the user to set the space where the first electronic device is located. In the embodiment of the disclosure, by acquiring the position information of the first electronic device, determining the space where the first electronic device is located based on the position information of the first electronic device, and determining whether a second electronic device is located in the space, and when the second electronic device is located, determining whether the second electronic device has audio output in the current state, the search range for searching the second electronic device can be reduced to a certain extent, so that the workload of a server can be reduced, and system resources can be saved.
In other optional embodiments, when there is a second electronic device in the space, determining whether the second electronic device has audio output in the current state includes:
when second electronic equipment exists in the space where the first electronic equipment is located, determining whether the current state is an open state;
and if the current state is the opening state and the volume is not 0, determining that the second electronic equipment has audio output in the opening state.
When detecting that the first electronic device is located in the space, the second electronic device is not immediately judged whether to output audio, but whether the current state of the second electronic device is in an open state is firstly determined, when the current state of the second electronic device is in the open state, whether the second electronic device outputs audio in the open state is determined, and if the current state is in the open state and the volume is not 0, the second electronic device is determined to output audio in the open state. Since the second electronic device may also have audio output when the second electronic device fails, in the case where the second electronic device has audio output in the event of a failure, stopping the second electronic device from stopping audio output or reducing the volume of audio output cannot be achieved only by the server. According to the method and the device, the probability of misjudgment can be reduced by determining whether the second electronic equipment is in the open state or not and then determining whether the second electronic equipment has audio output or not when the second electronic equipment is in the open state.
In other optional embodiments, 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 an audio output in the current state, sending a first control instruction to the second electronic device includes:
when the first electronic equipment is in an awakening state and second electronic equipment which is in the same space with the first electronic equipment has audio output in the current state, determining the volume of the audio output of the second electronic equipment;
and if the volume is greater than the set volume threshold, sending a first control instruction to the second electronic equipment.
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, and in this case, it is not necessary to control the second electronic device to stop the audio output or to decrease the volume of the audio output. When the volume of the audio output of the first electronic equipment is larger than the set volume threshold, the second electronic equipment is controlled to stop the audio output or reduce the volume of the audio output, so that the influence on the use of the second electronic equipment caused by stopping the audio output or reducing the volume of the audio output of the second electronic equipment under the unnecessary condition can be reduced.
In other optional embodiments, the method further comprises:
and if the audio recovery signal sent by the first electronic equipment is received, sending a second control instruction to the second electronic equipment, wherein the second control instruction is used for controlling the second electronic equipment to execute audio output or increasing the volume of the audio output.
Here, after the voice interaction between the first electronic device and the user is ended, the first electronic device may transmit an audio resume signal to the server, and after the server receives the audio resume signal, it may be determined that the voice interaction between the first electronic device and the user is ended, and then transmit a second control instruction 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 is finished, the second electronic device is controlled to execute audio output or the volume of the audio output is increased in time, the influence of the voice interaction of the first electronic device on the second electronic device can be reduced to a certain extent, the volume recovery of the second electronic device does not need to be triggered manually by the user, and the intelligence of the second electronic device is improved.
Fig. 2 is a flowchart illustrating an information processing method according to an exemplary embodiment, where the method is applied to a second electronic device, as illustrated in fig. 2, and includes:
in step 201, a first control instruction sent by a server is received, where the first control instruction is sent when the server determines 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 audio output in a current state;
in step 202, based on the first control instruction, the audio output is stopped or the volume of the audio output is reduced.
Here, the first electronic device includes at least a smart speaker; the second electronic device includes at least one of: television, computer, cell phone. In the embodiment of the disclosure, the first electronic device may be awakened in a voice awakening manner. For example, when a voice signal is received based on an audio acquisition component included in the first electronic device, the voice signal may be digitized to obtain voice data. And whether preset awakening words are contained in the voice data or not is detected, and if the preset awakening words are contained in the voice data, the first electronic equipment can be awakened. The awakening word may be set by the user according to a requirement, for example, the awakening word may be set to "love classmates".
When the server determines that the first electronic equipment is in the awakening state, determining whether audio is output by second electronic equipment in the same space with the first electronic equipment under the current state, and when the first electronic equipment has the audio output, sending a first control instruction to the second electronic equipment. At this time, if the second electronic device has an audio output, the audio output is stopped or the volume of the audio output is decreased.
In the embodiment of the disclosure, when the first electronic device is a voice interaction device, such as a smart sound box, according to the technical scheme of the disclosure, on one hand, the probability that the first electronic device mistakenly takes the sound emitted by the second electronic device as the sound to be collected by the first electronic device can be reduced, and further the accuracy of voice interaction is improved; on the other hand, the interference of the sound emitted by the second electronic equipment to the voice interaction can be reduced, and the definition of the collected sound is improved.
In other alternative embodiments, the first control instruction may also be sent by the server when it is determined that the first electronic device is in the wake state and the volume of the audio output of the second electronic device is greater than the set volume threshold. In this way, after the second electronic device receives the first control instruction, the volume of the audio output may be reduced to the set volume threshold, or to a volume less than the set volume threshold. The volume of the audio output of the second electronic equipment is reduced, the audio output of the second electronic equipment is not stopped, normal use of the second electronic equipment can be guaranteed, and the use experience of a user is improved.
In other optional embodiments, the method further comprises:
receiving a second control instruction sent by the server, wherein the second control instruction is sent by the server when the audio recovery signal sent by the first electronic equipment is received;
and executing audio output or increasing the volume of the audio output based on the second control instruction.
Here, after the voice interaction between the first electronic device and the user is ended, the first electronic device may send an audio recovery signal to the server, and after the server receives the audio recovery signal, it may be determined that the voice interaction between the first electronic device and the user is ended, and then send a second control instruction to the second electronic device to control the second electronic device to perform audio output or increase the volume of the audio output.
Fig. 3A is a flowchart illustrating a third method of processing information, according to an example embodiment, as shown in fig. 3A, the method comprising the steps of:
in step 31, the server receives the state information sent by the first electronic device;
in step 32, the server determines whether the first electronic device is in a wake-up state based on the state information;
in step 33, if the first electronic device is in the wake-up 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;
in step 34, the second electronic device stops audio output or reduces the volume of the audio output based on the first control instruction.
In other alternative embodiments, the first electronic device is a sound box, and the second electronic device is a television. FIG. 3B is a flow chart diagram four illustrating an information processing method according to an exemplary embodiment, as shown in FIG. 3B, the method including the steps of:
in step 301, when the speaker detects that the user inputs a wake-up word, the speaker is woken up.
Here, the wake-up word may be "love classmates".
In step 302, after the speaker is started, the speaker reports status information to the server to inform the server that the speaker has been awakened.
Here, if the current speaker does not report the geographical location to the server, the location information of the speaker needs to be reported to the server. The position information includes which room the sound box is located in, and can be set by the user based on the App of the mobile phone terminal. In other optional embodiments, the state information may also be sent to the mobile phone terminal, and since the App on the mobile phone has set the location information of the sound box, there is no need to report the location information repeatedly. When the mobile phone end receives the state information, if the App does not set the position information of the sound box, prompt information can be output based on the mobile phone to remind a user of setting the position information of the sound box.
In step 303, after receiving the status information sent by the speaker, the server detects whether there is a television in the same room in the on state.
Here, the server may send an inquiry instruction to the smart terminal device or the cellular phone to determine whether a sound emitting device (e.g., a television) in the same room is in use.
In step 304, if there is a tv in the on state and the tv in the on state is outputting audio, a first control command is issued to the tv to control the tv to stop audio output or reduce the volume of audio output.
In step 305, after determining that the dialog between the speaker and the user is over, 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.
Here, if the sound box does not detect a voice signal within a predetermined period of time, it may be determined that there is no demand for a conversation currently, and it is determined that the conversation between the sound box and the user is ended.
Fig. 4 is a block diagram illustrating an information processing apparatus according to an example embodiment. As shown in fig. 4, the information processing apparatus 400 mainly includes:
a first receiving module 401 configured to receive status information sent by a first electronic device;
a first determining module 402 configured to determine whether the first electronic device is in a wake-up state based on the state information;
the first sending module 403 is configured to send a first control instruction to a second electronic device if the first electronic device is in an awake state and the second electronic device in the same space as the first electronic device has audio output in a current state, where the first control instruction is used to control the second electronic device to stop audio output or reduce the volume of audio output.
In other alternative embodiments, the apparatus 400 further comprises:
the acquisition module is configured to acquire the position information of the first electronic device when the first electronic device is in an awakening state;
the second determination module is configured to determine a space where the first electronic device is located based on the position information;
the third determining module is configured to determine whether a second electronic device with audio output capability exists in the same space where the first electronic device is located;
and the fourth determining module is configured to determine whether the second electronic equipment has audio output in the current state when the second electronic equipment exists in the space where the first electronic equipment is located.
In other optional embodiments, the fourth determining module comprises:
the first determining submodule is configured to determine whether the current state is an open state or not when the first electronic equipment is located in a space where the second electronic equipment is located;
and the second determining submodule is configured to determine that the second electronic equipment has audio output in the opening state if the current state is the opening state and the volume is not 0.
In other alternative embodiments, the first sending module 403 includes:
the third determining submodule is configured to determine the volume of audio output of the second electronic device when the first electronic device is in an awakening state and the second electronic device in the same space as the first electronic device has audio output in the current state;
and the sending submodule is configured to send a first control instruction to the second electronic equipment if the volume is greater than the set volume threshold.
In other alternative embodiments, the apparatus 400 further comprises:
and 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 for controlling the second electronic device to execute audio output or increasing the volume of the audio output.
Fig. 5 is a block diagram illustrating another information processing apparatus according to an example embodiment. As shown in fig. 5, the information processing apparatus 500 is applied to a second electronic device, and mainly includes:
a second receiving module 501, configured to receive a first control instruction sent by a server, where the first control instruction is sent when the server determines 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 audio output in a current state;
a first control module 502 configured to stop audio output or reduce the volume of audio output based on the first control instruction.
In other alternative embodiments, the apparatus 500 further comprises:
the 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 the audio recovery signal sent by the first electronic device is received;
and the second control module is configured to execute audio output or increase the volume of the audio output based on the second control instruction.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a hardware configuration of an information processing apparatus 600 according to an exemplary embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 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.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices 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 or optical disks.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a 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 an input signal from a 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 boundary of a 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 facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be 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.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature 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 a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may 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 broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of a second electronic device, enable the second electronic device to perform an information processing method, the method comprising:
receiving a first control instruction sent by a server, wherein the first control instruction is sent when the server determines that a first electronic device is in an awakening state and a second electronic device in the same space with the first electronic device has audio output in a current state;
and stopping audio output or reducing the volume of the audio output based on the first control instruction.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform an information processing method, the method comprising:
receiving state information sent by first electronic equipment;
determining whether the first electronic device is in a wake-up state based on the state information;
if the first electronic device is in an awakening state and a second electronic device in the same space with 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 for controlling the second electronic device to stop audio output or reduce the volume of the audio output.
Fig. 7 is a block diagram illustrating another hardware configuration for an information processing apparatus 700 according to an example embodiment. For example, the apparatus 700 may be provided as a server. Referring to fig. 7, apparatus 700 includes a processing component 722 that further includes one or more processors and memory resources, represented by memory 732, for storing instructions, such as applications, that are executable by processing component 722. The application programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. Further, the processing component 722 is configured to execute instructions that, when executed by a processor of a server, enable the server to perform an information processing method comprising:
receiving state information sent by first electronic equipment;
determining whether the first electronic device is in a wake-up state based on the state information;
if the first electronic device is in an awakening state and a second electronic device in the same space with 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 for controlling the second electronic device to stop audio output or reduce the volume of the audio output.
The apparatus 700 may also include a power component 726 configured to perform power management of the apparatus 700, a wired or wireless network interface 750 configured to connect the apparatus 700 to a network, and an input output (I/O) interface 758. The apparatus 700 may operate based on an operating system stored in memory 732, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (12)
1. An information processing method characterized by comprising:
receiving state information sent by first electronic equipment;
determining whether the first electronic device is in a wake-up state based on the state information;
if the first electronic device is in an awakening state and a second electronic device in the same space with 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 for controlling the second electronic device to stop audio output or reduce the volume of the audio output.
2. The method of claim 1, further comprising:
when the first electronic equipment is in an awakening state, acquiring the position information of the first electronic equipment;
determining a space in which the first electronic device is located based on the position information;
determining whether the second electronic equipment with audio output capability exists in the same space;
when the second electronic equipment is in the space, determining whether the second electronic equipment has audio output in the current state.
3. The method of claim 2, wherein determining whether the second electronic device has audio output in the current state when the second electronic device is in the space comprises:
when the second electronic equipment is in the space, determining whether the current state is an open state;
and if the current state is the opening state and the volume is not 0, determining that the second electronic equipment has audio output in the opening state.
4. The method of claim 1, wherein 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 an audio output in a current state, sending a first control command to the second electronic device comprises:
when the first electronic equipment is in an awakening state and the second electronic equipment in the same space with the first electronic equipment has audio output in the current state, determining the volume of the audio output of the second electronic equipment;
and if the volume is greater than a set volume threshold, sending the first control instruction to the second electronic equipment.
5. The method of claim 1, further comprising:
and if the audio recovery signal sent by the first electronic equipment is received, sending a second control instruction to the second electronic equipment, wherein the second control instruction is used for controlling the second electronic equipment to execute audio output or increasing the volume of the audio output.
6. An information processing apparatus characterized by comprising:
the first receiving module is configured to receive the state information sent by the first electronic equipment;
a first determination module configured to determine whether the first electronic device is in a wake-up state based on the state information;
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 the 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 for controlling the second electronic device to stop audio output or reduce the volume of audio output.
7. The apparatus of claim 6, further comprising:
the acquisition module is configured to acquire the position information of the first electronic device when the first electronic device is in an awakening state;
a second determination module configured to determine a space in which the first electronic device is located based on the location information;
a third determining module configured to determine whether there is the second electronic device with audio output capability in the same space;
a fourth determining module 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 apparatus of claim 7, wherein the fourth determining module comprises:
a first determining submodule configured to determine whether the current state is an on state when the second electronic device is in the space;
and the second determining submodule is configured to determine that the second electronic device has audio output in the on state if the current state is the on state and the volume is not 0.
9. The apparatus of claim 6, wherein the first sending module comprises:
a third determining submodule configured to determine a volume of audio output of the second electronic device when the first electronic device is in an awake state and the second electronic device in the same space as the first electronic device has 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 larger than a set volume threshold.
10. The apparatus of claim 6, further comprising:
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, where the second control instruction is used to control the second electronic device to execute audio output or increase the volume of the audio output.
11. An information processing apparatus characterized by comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to carry out the steps of any of the above information processing methods of claims 1 to 5 when executed.
12. A non-transitory computer-readable storage medium, in which instructions, when executed by a processor of a server, enable the server to perform the information processing method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911134771.9A CN110928589B (en) | 2019-11-19 | 2019-11-19 | Information processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911134771.9A CN110928589B (en) | 2019-11-19 | 2019-11-19 | Information processing method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110928589A true CN110928589A (en) | 2020-03-27 |
CN110928589B CN110928589B (en) | 2024-09-17 |
Family
ID=69850280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911134771.9A Active CN110928589B (en) | 2019-11-19 | 2019-11-19 | Information processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110928589B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111782496A (en) * | 2020-06-30 | 2020-10-16 | 联想(北京)有限公司 | Processing method and processing equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140169587A1 (en) * | 2012-12-13 | 2014-06-19 | Hon Hai Precision Industry Co., Ltd. | Electronic device and method for adjusting volume levels of audio signal outputted by the electronic device |
CN105511307A (en) * | 2015-11-26 | 2016-04-20 | 小米科技有限责任公司 | Control method and apparatus of electronic device |
CN107368280A (en) * | 2017-07-06 | 2017-11-21 | 北京小米移动软件有限公司 | Method for controlling volume, device and the interactive voice equipment of interactive voice |
CN109087650A (en) * | 2018-10-24 | 2018-12-25 | 北京小米移动软件有限公司 | voice awakening method and device |
CN109871238A (en) * | 2019-01-02 | 2019-06-11 | 百度在线网络技术(北京)有限公司 | Voice interactive method, device and storage medium |
-
2019
- 2019-11-19 CN CN201911134771.9A patent/CN110928589B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140169587A1 (en) * | 2012-12-13 | 2014-06-19 | Hon Hai Precision Industry Co., Ltd. | Electronic device and method for adjusting volume levels of audio signal outputted by the electronic device |
CN105511307A (en) * | 2015-11-26 | 2016-04-20 | 小米科技有限责任公司 | Control method and apparatus of electronic device |
CN107368280A (en) * | 2017-07-06 | 2017-11-21 | 北京小米移动软件有限公司 | Method for controlling volume, device and the interactive voice equipment of interactive voice |
CN109087650A (en) * | 2018-10-24 | 2018-12-25 | 北京小米移动软件有限公司 | voice awakening method and device |
CN109871238A (en) * | 2019-01-02 | 2019-06-11 | 百度在线网络技术(北京)有限公司 | Voice interactive method, device and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111782496A (en) * | 2020-06-30 | 2020-10-16 | 联想(北京)有限公司 | Processing method and processing equipment |
CN111782496B (en) * | 2020-06-30 | 2023-10-27 | 联想(北京)有限公司 | Processing method and processing equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110928589B (en) | 2024-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107919123B (en) | Multi-voice assistant control method, device and computer readable storage medium | |
KR101837333B1 (en) | Method and apparatus for awakening electronic device | |
CN111722824B (en) | Voice control method, device and computer storage medium | |
US10031575B2 (en) | Method and device for waking up MCU chip | |
CN111063354B (en) | Man-machine interaction method and device | |
CN107608561B (en) | Touch screen control method and device | |
CN112037787A (en) | Wake-up control method, device and computer readable storage medium | |
EP3793202A1 (en) | Method and device for voice control,terminal, and storage | |
US10088889B2 (en) | Method and device for waking up a controller | |
EP4184506A1 (en) | Audio processing | |
RU2632319C2 (en) | Methods and apparatus for controlling wireless access point | |
CN110262692B (en) | Touch screen scanning method, device and medium | |
CN111966412A (en) | Method, device and storage medium for waking up terminal | |
CN106656746B (en) | Information output method and device | |
CN111540350B (en) | Control method, device and storage medium of intelligent voice control equipment | |
CN112201242A (en) | Method and device for waking up equipment, electronic equipment and storage medium | |
CN109522058B (en) | Wake-up method, device, terminal and storage medium | |
CN111968680A (en) | Voice processing method, device and storage medium | |
CN108874450B (en) | Method and device for waking up voice assistant | |
CN112133302B (en) | Method, device and storage medium for pre-waking up terminal | |
CN110928589B (en) | Information processing method, device and storage medium | |
CN112489653A (en) | Speech recognition method, device and storage medium | |
CN111857849A (en) | Wake-up processing method and device, electronic equipment and storage medium | |
CN107682101B (en) | Noise detection method and device and electronic equipment | |
CN112201236B (en) | Terminal awakening method and device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |