CN111596556B - Device control method, device, electronic device and computer-readable storage medium - Google Patents

Device control method, device, electronic device and computer-readable storage medium Download PDF

Info

Publication number
CN111596556B
CN111596556B CN202010253943.0A CN202010253943A CN111596556B CN 111596556 B CN111596556 B CN 111596556B CN 202010253943 A CN202010253943 A CN 202010253943A CN 111596556 B CN111596556 B CN 111596556B
Authority
CN
China
Prior art keywords
electronic device
target
information
electronic
electronic devices
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.)
Active
Application number
CN202010253943.0A
Other languages
Chinese (zh)
Other versions
CN111596556A (en
Inventor
张誉
陈孝良
苏少炜
常乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202010253943.0A priority Critical patent/CN111596556B/en
Publication of CN111596556A publication Critical patent/CN111596556A/en
Application granted granted Critical
Publication of CN111596556B publication Critical patent/CN111596556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The disclosure provides a device control method and device, electronic equipment and a computer readable storage medium, and belongs to the technical field of smart home. The method comprises the following steps: receiving crying monitoring information used for indicating whether crying is monitored in the surrounding environment from the first electronic equipment, determining that a target second electronic equipment of a user exists in a target range from a plurality of second electronic equipment when the crying monitoring information meets a preset condition, and controlling the target second electronic equipment to play first prompt information used for prompting the user to execute operation corresponding to the crying monitoring information in a voice mode. This is disclosed plays first prompt information through target second electronic equipment that has the user in the target scope, can guarantee to select to carry out someone around the second electronic equipment that the pronunciation was broadcast, can in time pacify child, improves the information interaction efficiency between user and the second electronic equipment, guarantees child's safety.

Description

Device control method, device, electronic device and computer-readable storage medium
Technical Field
The present disclosure relates to the field of smart home technologies, and in particular, to an apparatus control method and apparatus, an electronic apparatus, and a computer-readable storage medium.
Background
Along with the development of science and technology, household equipment gradually moves towards intellectualization, and people's life also becomes more convenient. The intelligent home can connect various intelligent devices in the home together, and provides multiple functions and means such as household appliance control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environment monitoring, programmable timing control and the like. For example, for a family with a baby, the smart home may monitor the baby's crying so that parents or other parents can know the condition of the child in time. Compared with the common home, the intelligent home has the traditional living function and can provide the omnibearing information interaction function.
At present, cry monitoring information detected by intelligent equipment such as a baby crib is mainly obtained through central control equipment, the obtained cry monitoring information is sent to each intelligent prompting equipment, the intelligent prompting equipment returns response information of the cry monitoring information to the central control equipment according to processing operation executed by the central control equipment, the central control equipment randomly selects one intelligent prompting equipment from the intelligent prompting equipment returning the response information as the intelligent prompting equipment sending voice prompting information to a user and informs the selected intelligent prompting equipment, and the selected intelligent prompting equipment sends the voice prompting information after receiving the notice so as to prompt the crying condition of a child.
At present, the intelligent prompting equipment can only be selected in a random selection mode, so that the situation that parents or other parents are not around the selected intelligent prompting equipment is easy to occur, the situation that the parents or other parents cannot placate the child in time can occur, the information interaction efficiency is low, and the safety of the child cannot be guaranteed.
Disclosure of Invention
The embodiment of the disclosure provides a device control method and device, an electronic device and a computer readable storage medium, which can improve the information interaction efficiency of voice prompt in smart homes to ensure the safety of children. The technical scheme is as follows:
in one aspect, a device control method is provided, and the method includes:
receiving crying monitoring information of the first electronic equipment, wherein the crying monitoring information is used for indicating whether crying is monitored in the surrounding environment of the first electronic equipment;
when the crying monitoring information meets a preset condition, determining that the target second electronic equipment of the user exists in a target range from a plurality of second electronic equipment;
and controlling the target second electronic equipment to play first prompt information in a voice form, wherein the first prompt information is used for prompting a user to execute an operation corresponding to the crying monitoring information.
In a possible implementation manner, the determining, from the plurality of second electronic devices, that the target second electronic device of the user exists within the target range includes:
sending an information acquisition request to the plurality of second electronic devices, wherein the information acquisition request is used for acquiring user presence information in a target range corresponding to each of the plurality of second electronic devices, and the user presence information is used for indicating whether a user is present in the target range;
and determining that the target second electronic equipment of the user exists in the target range from the plurality of second electronic equipment according to the received user existence information in the target ranges respectively corresponding to the plurality of second electronic equipment.
In a possible implementation manner, the determining, according to the received user presence information in the target ranges respectively corresponding to the plurality of second electronic devices, that the target second electronic device of the user is present in the target range from the plurality of second electronic devices includes:
determining at least one candidate second electronic device of the user in the target range from the plurality of second electronic devices according to the received user presence information in the target range corresponding to the plurality of second electronic devices respectively;
and determining the second electronic equipment bound with the first electronic equipment in the at least one candidate second electronic equipment as the target second electronic equipment.
In a possible implementation manner, the information obtaining request is further used for obtaining indoor location information of the plurality of second electronic devices;
after determining that at least one candidate second electronic device of the user exists in the target range from the plurality of second electronic devices according to the received user presence information in the target range respectively corresponding to the plurality of second electronic devices, the method further includes:
if the candidate second electronic device bound with the first electronic device does not exist in the at least one candidate second electronic device, determining, as the target second electronic device, the candidate second electronic device, which is in the at least one candidate second electronic device and has a distance to the first electronic device smaller than distances to the first electronic device and other candidate second electronic devices, according to the indoor location information of the plurality of second electronic devices.
In a possible implementation manner, after the controlling the target second electronic device plays the first prompt message in a form of voice, the method further includes:
if error information sent by the target second electronic device is received, re-determining the target second electronic device bound with the first electronic device from the at least one candidate second electronic device, wherein the error information is used for indicating that the target second electronic device cannot perform voice playing;
and controlling the second electronic equipment with the redetermined target to play the first prompt message.
In one possible implementation manner, after sending the information acquisition requests to the plurality of second electronic devices, the method further includes:
and if first feedback information sent by the plurality of second electronic devices is received, sending third notification information to at least one of third electronic devices bound with any one of the plurality of second electronic devices, wherein the first feedback information is used for indicating that the second electronic devices do not detect user presence information.
In a possible implementation manner, the controlling the target second electronic device to play the first prompt message in a voice form includes:
and sending a voice playing request to the target second electronic equipment, and controlling the target second electronic equipment to respond to the voice playing request to play the first prompt message.
In a possible implementation manner, after determining that the target second electronic device of the user exists in the target range from the plurality of second electronic devices, the method further includes:
acquiring position information of a plurality of third electronic devices bound with the target second electronic device;
according to the position information of the plurality of third electronic devices, determining a target third electronic device from the plurality of third electronic devices, wherein the target third electronic device is the third electronic device of which the position information meets the preset distance condition;
and sending notification information to the target third electronic device, wherein the notification information is used for prompting the user of the first crying monitoring information of the first electronic device.
In a possible implementation manner, the controlling the target second electronic device to play the first prompt message in a voice form includes:
if the use state of the target third electronic equipment is detected to be that the output equipment is accessed, the target second electronic equipment controls the output equipment connected with the target third electronic equipment to play the first prompt information in a voice mode;
and if the use state of the target third electronic equipment is detected to be that the target third electronic equipment is not accessed to the output equipment, controlling the target second electronic equipment to play the first prompt message in a voice mode.
In a possible implementation manner, after the controlling the target second electronic device plays the first prompt message in a form of voice, the method further includes:
and if third feedback information sent by the target second electronic equipment is detected, controlling the target second electronic equipment to play the target audio, wherein the third feedback information is used for indicating the target second electronic equipment to play the target audio.
In a possible implementation manner, after controlling the target second electronic device to play the target audio, the method further includes:
receiving new crying monitoring information of the first electronic equipment;
and when the new crying monitoring information meets a first preset condition, controlling the target second electronic equipment to play second prompt information in a voice mode, wherein the second prompt information is used for prompting a user to execute an operation corresponding to the new crying monitoring information.
In one aspect, there is provided an apparatus for controlling a device, the apparatus including:
the receiving module is used for receiving crying monitoring information of the first electronic equipment, and the crying monitoring information is used for indicating whether crying is monitored in the surrounding environment of the first electronic equipment;
a determining module, configured to determine, in response to the cry monitoring information, a target second electronic device that satisfies a target condition from among the plurality of second electronic devices;
and the control module is used for controlling the target second electronic equipment to play first prompt information in a voice form, and the first prompt information is used for prompting a user to execute the operation corresponding to the crying monitoring information.
In one possible implementation, the apparatus further includes:
a sending module, configured to send an information obtaining request to the plurality of second electronic devices, where the information obtaining request is used to obtain user presence information in a target range corresponding to each of the plurality of second electronic devices, and the user presence information is used to indicate whether a user is present in the target range;
the determining module is further configured to determine, according to the received user presence information in the target ranges respectively corresponding to the plurality of second electronic devices, that the target second electronic device of the user is present in the target range from the plurality of second electronic devices.
In a possible implementation manner, the determining module is further configured to determine, according to the received user presence information in the target range respectively corresponding to the plurality of second electronic devices, that at least one candidate second electronic device of the user is present in the target range from the plurality of second electronic devices;
the determining module is further configured to determine, as the target second electronic device, a second electronic device, of the at least one candidate second electronic device, that is bound to the first electronic device.
In a possible implementation manner, the information obtaining request is further used for obtaining indoor location information of the plurality of second electronic devices;
the determining module is further configured to determine, if there is no candidate second electronic device bound to the first electronic device in the at least one candidate second electronic device, a candidate second electronic device, of the at least one candidate second electronic device, whose distance from the first electronic device is smaller than distances from the first electronic device to other candidate second electronic devices, as a target second electronic device according to the indoor location information of the plurality of second electronic devices.
In a possible implementation manner, the determining module is further configured to, if error information sent by the target second electronic device is received, re-determine the target second electronic device bound to the first electronic device from the at least one candidate second electronic device, where the error information is used to indicate that the target second electronic device cannot perform voice playing;
the control module is further configured to control the second electronic device with the re-determined target to play the first prompt message.
In a possible implementation manner, the sending module is further configured to send third notification information to at least one of third electronic devices bound to any one of the plurality of second electronic devices if first feedback information sent by the plurality of second electronic devices is received, where the first feedback information is used to indicate that the second electronic device does not detect user presence information.
In a possible implementation manner, the sending module is further configured to send a voice playing request to the target second electronic device;
the control module is further configured to control the target second electronic device to play the first prompt message in response to the voice play request.
In one possible implementation, the apparatus further includes:
the acquisition module is used for acquiring the position information of a plurality of third electronic devices bound with the target second electronic device;
the determining module is further configured to determine a target third electronic device from the plurality of third electronic devices according to the location information of the plurality of third electronic devices, where the target third electronic device is a third electronic device whose location information meets a preset distance condition;
the sending module is further configured to send notification information to the target third electronic device, where the notification information is used to prompt a user of the first crying monitoring information of the first electronic device.
In a possible implementation manner, the control module is further configured to, if it is detected that the use state of the target third electronic device is that the output device is already connected, control, by the target second electronic device, the output device that the target third electronic device is already connected to play the first prompt information in a voice form;
the control module is further configured to control the target second electronic device to play the first prompt message in a voice form if it is detected that the target third electronic device is not accessed to the output device in the use state.
In a possible implementation manner, the control module is further configured to control the target second electronic device to play the target audio if third feedback information sent by the target second electronic device is detected, where the third feedback information is used to instruct the target second electronic device to play the target audio.
In a possible implementation manner, the receiving module is further configured to receive new crying monitoring information of the first electronic device;
the control module is further configured to control the target second electronic device to play second prompt information in a voice form when the new crying monitoring information meets a first preset condition, where the second prompt information is used to prompt a user to execute an operation corresponding to the new crying monitoring information.
In one aspect, an electronic device is provided and includes one or more processors and one or more memories having at least one program code stored therein, the program code being loaded into and executed by the one or more processors to implement operations performed by the device control method.
In one aspect, a computer-readable storage medium having at least one program code stored therein is provided, the program code being loaded and executed by a processor to implement operations performed by the apparatus control method.
According to the scheme provided by the disclosure, crying monitoring information used for indicating whether crying is monitored in the surrounding environment is received from the first electronic device, when the crying monitoring information meets a preset condition, a target second electronic device of a user is determined to exist in a target range from a plurality of second electronic devices, and the target second electronic device is controlled to play first prompt information used for prompting the user to execute operation corresponding to the crying monitoring information in a voice mode. This is disclosed plays first prompt information through target second electronic equipment that has the user in the target scope, can guarantee to select to carry out someone around the second electronic equipment that the pronunciation was broadcast, can in time pacify child, improves the information interaction efficiency between user and the second electronic equipment, guarantees child's safety.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of an apparatus control method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of an apparatus control method provided in an embodiment of the present disclosure;
fig. 3 is a flowchart of a device control method provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus control device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of an apparatus control method provided in an embodiment of the present disclosure, and referring to fig. 1, the implementation environment includes: at least one first electronic device 101, a plurality of second electronic devices 102, at least one third electronic device 103 and at least one fourth electronic device 104.
The first electronic device 101 may be an intelligent home device, such as a crib with a baby cry monitoring function. The first electronic device 101 may be connected to the fourth electronic device 104 through a wired network or a wireless network to transmit the detected crying monitoring information in the surrounding environment to the fourth electronic device 104.
The second electronic device 102 may be a smart device with audio receiving and playing functions, weather monitoring functions, indoor positioning functions, biological detection functions, and the like, such as a smart speaker. The second electronic device 102 may be connected to the third electronic device 103 and the fourth electronic device 104 through a wired network or a wireless network, the second electronic device 102 may be bound to the first electronic device 101, the second electronic device 102 may further obtain user presence information within a target range and indoor position information of the second electronic device 102, and send the obtained user presence information and indoor position information to the fourth electronic device 104, and meanwhile, the second electronic device 102 may further receive a voice play request sent by the fourth electronic device 104, and play, in response to the voice play request, first prompt information generated based on the crying monitoring information carried by the voice play request. Optionally, the second electronic device may further obtain crying monitoring information in the surrounding environment, and send the obtained crying monitoring information to the fourth electronic device 104.
The third electronic device 103 may be at least one of a smartphone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and the like. The third electronic device 103 may be connected to the second electronic device 102 and the fourth electronic device 104 through a wired network or a wireless network, the third electronic device 103 may receive notification information sent by the fourth electronic device 104, and the user may remotely control the second electronic device 102 through the third electronic device 103. Optionally, the third electronic device may further access various output devices, so as to perform voice playing through the output device connected to the third electronic device.
The first electronic device 101, the second electronic device 102, and the third electronic device 103 may all refer to one of the plurality of electronic devices, and the embodiment is illustrated by the first electronic device 101, the second electronic device 102, and the third electronic device 103. Those skilled in the art will appreciate that the various electronic devices described above may be more or less numerous. For example, the number of the electronic devices may be only a few, or the number of the electronic devices may be tens or hundreds, or more, and the number and the type of the electronic devices are not limited in the embodiments of the present disclosure.
The fourth electronic device 104 may be at least one of a server, a plurality of servers, a cloud server, a cloud computing platform, and a virtualization center, and the fourth electronic device 104 may also be referred to as a central control device. The fourth electronic device 104 may be connected to the first electronic device 101, the second electronic device 102, and the third electronic device 103 through a wired network or a wireless network, the fourth electronic device 104 may receive crying monitoring information sent by the first electronic device 101 or the second electronic device 102, the fourth electronic device 104 may also send an information acquisition request to the second electronic device 102, and receives the user presence information and the indoor location information sent by the second electronic device 102, the fourth electronic device 104 may determine the target second electronic device according to the obtained user presence information and the indoor location information and the binding relationship between the first electronic device 101 and the second electronic device 102 stored in the fourth electronic device 104 in advance, and sends a voice playing request carrying the crying monitoring information to the target second electronic device and other second electronic devices, and the fourth electronic device 104 may also send notification information to the third electronic device 103. Optionally, the number of the fourth electronic devices may be more or less, and the embodiment of the disclosure does not limit this. Of course, the fourth electronic device 104 may also include other function servers in order to provide more comprehensive and diversified services.
Fig. 2 is a flowchart of a device control method provided in an embodiment of the present disclosure, and referring to fig. 2, the method is applied to a fourth electronic device, and the method includes:
201. receiving crying monitoring information of the first electronic equipment, wherein the crying monitoring information is used for indicating whether crying is monitored in the surrounding environment of the first electronic equipment.
202. And when the crying monitoring information meets the preset condition, determining that the target second electronic equipment of the user exists in the target range from the plurality of second electronic equipment.
203. And controlling the target second electronic equipment to play first prompt information in a voice form, wherein the first prompt information is used for prompting a user to execute an operation corresponding to the crying monitoring information.
According to the scheme provided by the embodiment of the disclosure, crying monitoring information used for indicating whether crying is monitored in the surrounding environment is received from the first electronic device, when the crying monitoring information meets the preset condition, the target second electronic device of a user is determined to be in the target range from the plurality of second electronic devices, and the target second electronic device is controlled to play the first prompt information used for prompting the user to execute the operation corresponding to the crying monitoring information in a voice mode. This is disclosed plays first prompt information through target second electronic equipment that has the user in the target scope, can guarantee to select to carry out someone around the second electronic equipment that the pronunciation was broadcast, can in time pacify child, improves the information interaction efficiency between user and the second electronic equipment, guarantees child's safety.
In a possible implementation manner, the determining, from the plurality of second electronic devices, that the target second electronic device of the user exists within the target range includes:
sending an information acquisition request to the plurality of second electronic devices, wherein the information acquisition request is used for acquiring user presence information in a target range corresponding to each of the plurality of second electronic devices, and the user presence information is used for indicating whether a user is present in the target range;
and determining that the target second electronic equipment of the user exists in the target range from the plurality of second electronic equipment according to the received user existence information in the target ranges respectively corresponding to the plurality of second electronic equipment.
In a possible implementation manner, the determining, according to the received user presence information in the target ranges respectively corresponding to the plurality of second electronic devices, that the target second electronic device of the user is present in the target range from the plurality of second electronic devices includes:
determining at least one candidate second electronic device of the user in the target range from the plurality of second electronic devices according to the received user presence information in the target range corresponding to the plurality of second electronic devices respectively;
and determining the second electronic equipment bound with the first electronic equipment in the at least one candidate second electronic equipment as the target second electronic equipment.
In a possible implementation manner, the information obtaining request is further used for obtaining indoor location information of the plurality of second electronic devices;
after determining that at least one candidate second electronic device of the user exists in the target range from the plurality of second electronic devices according to the received user presence information in the target range respectively corresponding to the plurality of second electronic devices, the method further includes:
if the candidate second electronic device bound with the first electronic device does not exist in the at least one candidate second electronic device, determining, as the target second electronic device, the candidate second electronic device, which is in the at least one candidate second electronic device and has a distance to the first electronic device smaller than distances to the first electronic device and other candidate second electronic devices, according to the indoor location information of the plurality of second electronic devices.
In a possible implementation manner, after the controlling the target second electronic device plays the first prompt message in a form of voice, the method further includes:
if error information sent by the target second electronic device is received, re-determining the target second electronic device bound with the first electronic device from the at least one candidate second electronic device, wherein the error information is used for indicating that the target second electronic device cannot perform voice playing;
and controlling the second electronic equipment with the redetermined target to play the first prompt message.
In one possible implementation manner, after sending the information acquisition requests to the plurality of second electronic devices, the method further includes:
and if first feedback information sent by the plurality of second electronic devices is received, sending third notification information to at least one of third electronic devices bound with any one of the plurality of second electronic devices, wherein the first feedback information is used for indicating that the second electronic devices do not detect user presence information.
In a possible implementation manner, the controlling the target second electronic device to play the first prompt message in a voice form includes:
and sending a voice playing request to the target second electronic equipment, and controlling the target second electronic equipment to respond to the voice playing request to play the first prompt message.
In a possible implementation manner, after determining that the target second electronic device of the user exists in the target range from the plurality of second electronic devices, the method further includes:
acquiring position information of a plurality of third electronic devices bound with the target second electronic device;
according to the position information of the plurality of third electronic devices, determining a target third electronic device from the plurality of third electronic devices, wherein the target third electronic device is the third electronic device of which the position information meets the preset distance condition;
and sending notification information to the target third electronic device, wherein the notification information is used for prompting the user of the first crying monitoring information of the first electronic device.
In a possible implementation manner, the controlling the target second electronic device to play the first prompt message in a voice form includes:
if the use state of the target third electronic equipment is detected to be that the output equipment is accessed, the target second electronic equipment controls the output equipment connected with the target third electronic equipment to play the first prompt information in a voice mode;
and if the use state of the target third electronic equipment is detected to be that the target third electronic equipment is not accessed to the output equipment, controlling the target second electronic equipment to play the first prompt message in a voice mode.
In a possible implementation manner, after the controlling the target second electronic device plays the first prompt message in a form of voice, the method further includes:
and if third feedback information sent by the target second electronic equipment is detected, controlling the target second electronic equipment to play the target audio, wherein the third feedback information is used for indicating the target second electronic equipment to play the target audio.
In a possible implementation manner, after controlling the target second electronic device to play the target audio, the method further includes:
receiving new crying monitoring information of the first electronic equipment;
and when the new crying monitoring information meets a first preset condition, controlling the target second electronic equipment to play second prompt information in a voice mode, wherein the second prompt information is used for prompting a user to execute an operation corresponding to the new crying monitoring information.
Fig. 3 is a flowchart of a device control method provided in an embodiment of the present disclosure, and referring to fig. 3, the method includes:
301. the first electronic equipment acquires crying monitoring information in a preset range corresponding to the first electronic equipment.
It should be noted that, the user may record the crying of the child in advance through the first electronic device, and the first electronic device extracts the Voiceprint of the child of the user according to the recorded audio, so as to determine whether the detected sound is the crying of the child of the user by judging the sound of the surrounding environment detected by the first electronic device based on Voiceprint Recognition (VPR). The voiceprint recognition is also called speaker recognition, and can be specifically divided into speaker recognition and speaker confirmation, wherein the speaker recognition is used for judging which one of a plurality of persons speaks a certain section of voice, and the speaker confirmation is used for confirming whether the certain section of voice is spoken by a specified person.
In a possible implementation manner, the first electronic device may detect crying of an indoor environment within a preset range with a position where the first electronic device is located as a center and any length as a radius, determine whether the child of the user is crying or not by a speaker in voiceprint recognition according to a detected result, and if the detected sound is consistent with a voiceprint of the child of the user, the first electronic device may generate crying monitoring information. For example, the first electronic device may be a crib with a baby cry monitoring function, the crib may detect an environmental sound in an area with a radius of any length around a position of the crib as a center, when it is detected that a baby cry exists in the area, the crib may determine whether the baby is crying by a speaker in voiceprint recognition, if the detected sound is consistent with a voiceprint of the baby, the crib may generate crying monitoring information indicating that the baby is crying, and the crib may determine a decibel level of the baby crying and add the decibel level to the crying monitoring information.
It should be noted that, a plurality of first electronic devices may be included in the indoor environment, and the number of the first electronic devices is not limited in the embodiments of the present disclosure. The plurality of first electronic devices may trigger sending of the crying monitoring information to the fourth electronic device based on their own data acquisition settings, such as an acquisition cycle or sending conditions, which is not limited in this disclosure.
302. The first electronic equipment sends the crying monitoring information to the fourth electronic equipment.
It should be noted that the fourth electronic device may be a server, or may be other types of electronic devices, which is not limited in this disclosure. The respective first electronic devices may be preconfigured with device information of a fourth electronic device, such as a device address or a device identifier, so that the respective first electronic devices communicate with the fourth electronic device. The fourth electronic device may communicate with a plurality of first electronic devices, a plurality of second electronic devices, and a plurality of third electronic devices, and the number of the second electronic devices and the number of the third electronic devices are not limited in the embodiments of the present disclosure.
When sending the crying monitoring information to the fourth electronic device, each first electronic device can carry the device identifier of each first electronic device, so that the fourth electronic device can distinguish the source device of the received crying monitoring information based on the device identifier to determine which first electronic device the received crying monitoring information belongs to.
303. And the fourth electronic equipment receives the crying monitoring information sent by the first electronic equipment.
It should be noted that the fourth electronic device may determine the source of the crying monitoring information according to the device identifier carried in the received crying monitoring information, that is, determine that the first electronic device has an abnormal condition.
In other possible implementation manners, for the above steps 301 to 303, the second electronic device may further obtain the crying monitoring information, and send the obtained crying monitoring information to the fourth electronic device, and the fourth electronic book device receives the crying monitoring information sent by the second electronic device and continues to perform subsequent processing, and the specific processes of obtaining and sending are the same as those of the above steps 301 to 303, and are not described again here.
304. When the crying monitoring information meets a preset condition, the fourth electronic device sends an information acquisition request to the plurality of second electronic devices, the information acquisition request is used for acquiring user presence information and indoor position information of the second electronic devices in target ranges respectively corresponding to the plurality of second electronic devices, and the user presence information is used for indicating whether a user is present in the target range.
It should be noted that, the fourth electronic device may determine whether to perform the voice prompt according to whether the cry monitoring information satisfies a preset condition, where the preset condition may be that a level of a cry decibel carried in the cry monitoring information reaches a preset decibel value, the preset decibel value may be set by a user, and the preset decibel value may be any value, which is not limited in the embodiment of the present disclosure. The fourth electronic device may be pre-stored with device identifiers of a plurality of second electronic devices, so that the fourth electronic device sends an information acquisition request to the corresponding second electronic device according to the stored device identifiers.
The second electronic device may be a device such as a smart speaker with an audio playing function, an indoor positioning function, and a biological detection function. The biological detection function may also include an infrared thermography function and a ranging function. This indoor positioning function means realizes position Location in indoor environment, mainly adopt multiple technologies integration such as wireless communication, base station Location, be used to lead Location and form one set of indoor position Location system, thereby realize personnel, the position monitoring of object etc. in the indoor space, can integrate indoor positioning system in the second electronic equipment such as smart audio amplifier, and then can realize indoor positioning function, specifically, this indoor positioning function can be realized through Real Time Location Systems (RTLS), RTLS can be according to receiver observation data, calculate the position at receiver antenna place in Real Time, in other possible implementation, can also adopt other modes to realize this indoor positioning function. Optionally, the second electronic device may further include other functions, such as a crying monitoring function, and the like, which is not limited by the disclosure. The target range corresponding to the second electronic device may be an area range with a position where the second electronic device is located as a center and with an arbitrary length as a radius. Optionally, the different types of second electronic devices may correspond to the same radius, or may correspond to different radii, which is not limited in this disclosure.
It should be noted that the fourth electronic device may simultaneously send an information obtaining request to a plurality of second electronic devices to obtain the user presence information and the indoor location information of each second electronic device within the target range respectively corresponding to each second electronic device. Of course, the fourth electronic device may also send the information acquisition requests to the plurality of second electronic devices one by one in a polling manner, and the embodiment of the present disclosure does not specifically limit which manner is used.
When the fourth electronic device sends the information acquisition requests to the second electronic devices one by one in a polling manner, the information acquisition requests may be sent to the second electronic devices one by one in a sequence from small to large of the historical response time length according to the historical response time length of each second electronic device, and the information acquisition requests may also be sent to the second electronic devices one by one in a sequence from large to small of the historical response success rate according to the historical response success rate of each second electronic device. By adopting a polling mode to send the information acquisition requests to the plurality of second electronic devices one by one, the response success rate can be improved, the sending times of the information acquisition requests are reduced, and the resource utilization rate is improved.
305. And the second electronic equipment responds to the received information acquisition request and acquires the user presence information in the corresponding target range and the indoor position information of the second electronic equipment.
In a possible implementation manner, after receiving a position request sent by the fourth electronic device, each second electronic device may detect infrared radiation of each object within a target range through an infrared thermography function, obtain a temperature distribution image of each object, and then determine whether there is a person within the target range according to the body temperature of the person, if it is determined that there is a person within the target range, the second electronic device may generate user presence information of the person within the target range, if it is determined that there is no person within the target range, the second electronic device may generate user presence information of the person within the target range, and each second electronic device may further obtain indoor position information of each second electronic device through a positioning function.
It should be noted that each second electronic device may also obtain, in real time, user presence information within a corresponding target range and indoor location information of the second electronic device, and send the obtained user presence information and indoor location information in real time, so that the fourth electronic device updates, in real time, the range of the candidate second electronic device. The user presence information and the indoor position information are acquired in real time through the second electronic devices, when crying monitoring information needs to be prompted, the alternative second electronic devices can be determined directly according to the user presence information, information acquisition requests do not need to be sent to acquire the information, the processing speed of the fourth electronic device is improved, and user experience is improved.
306. And the second electronic equipment sends the acquired user presence information in the corresponding target range and the indoor position information of the second electronic equipment to the fourth electronic equipment.
307. And the fourth electronic device determines that at least one candidate second electronic device of the user exists in the target range from the plurality of second electronic devices according to the received user existence information in the target range corresponding to the plurality of second electronic devices respectively.
It should be noted that, in the above steps 309 to 310, when determining the candidate second electronic devices, each second electronic device may also perform self-determination according to the acquired user presence information in the corresponding target range, and if a second electronic device detects that a user is present in the corresponding target range, the second electronic device may define itself as the candidate second electronic device and send the location information and the notification information of the candidate second electronic device to the fourth electronic device, so that the fourth electronic device knows which second electronic devices belong to the candidate second electronic devices and the locations of the candidate second electronic devices.
The second electronic device determines the optional second electronic device by itself, the position information of the optional second electronic device can be sent to the fourth electronic device only, all the second electronic devices are not required to be sent, the processing pressure of the fourth electronic device can be reduced, the processing speed of the fourth electronic device is increased, and the user experience can be improved.
308. If the candidate second electronic device bound with the first electronic device does not exist in the at least one candidate second electronic device, the fourth electronic device determines the second electronic device bound with the first electronic device in the at least one candidate second electronic device as the target second electronic device.
In a possible implementation manner, the fourth electronic device may pre-store a binding relationship between the first electronic device and the second electronic device, and the fourth electronic device may determine, according to the pre-stored binding relationship, the second electronic device bound to the first electronic device in the at least one candidate second electronic device as the target second electronic device.
309. If the candidate second electronic device bound with the first electronic device does not exist in the at least one candidate second electronic device, the fourth electronic device determines, as the target second electronic device, the candidate second electronic device, which is in the at least one candidate second electronic device and has a distance from the first electronic device smaller than distances from the other candidate second electronic devices to the first electronic device, according to the indoor location information of the plurality of second electronic devices.
In a possible implementation manner, if there is no candidate second electronic device bound to the first electronic device in the at least one candidate second electronic device, the fourth electronic device may compare the distances between the candidate second electronic devices and the first electronic device with the received indoor location information of the multiple candidate second electronic devices, and determine the candidate second electronic device with the smallest distance to the first electronic device as the target second electronic device.
It should be noted that, after comparing the distances between the candidate second electronic devices and the first electronic device, the fourth electronic device may sort the distances between the candidate second electronic devices and the first electronic device in descending order, and record the sorting result in the list. By recording the sorting result in the list, when the target second electronic device needs to be re-determined, the target second electronic device can be directly determined according to the sorting result of the list without re-comparison, so that the efficiency is improved, and the response time is reduced.
310. And the fourth electronic equipment sends a voice playing request to the target second electronic equipment, wherein the voice playing request carries the crying monitoring information.
It should be noted that, when the fourth electronic device sends the voice playing request to the target second electronic device, the fourth electronic device may also send notification information to the third electronic device bound to the target second electronic device, where the notification information is used to prompt the user to obtain the crying monitoring information.
When the fourth electronic device sends the notification information to the third electronic device, there may be two sending methods: the notification information can be directly sent to the third electronic device by the fourth electronic device, and the notification information can be sent to the second electronic device by the fourth electronic device and then forwarded to the third electronic device by the second electronic device.
It should be noted that, when sending the notification message to the third electronic device, there may be two specific ways as follows:
in one possible implementation, the fourth electronic device may send notification information to all third electronic devices bound to the target second electronic device.
In another possible implementation manner, the fourth electronic device may obtain location information of a plurality of third electronic devices bound to the target second electronic device, and determine, according to the location information of the plurality of third electronic devices, a target third electronic device from the plurality of third electronic devices, where the target third electronic device is a third electronic device whose location information meets a preset distance condition, and send notification information to the target third electronic device. The preset distance condition may be that the distance between the target third electronic device and the first electronic device is the smallest, or that the distance between the target third electronic device and the target second electronic device is the smallest, which condition is specifically adopted as the preset distance condition may be preset according to a user requirement, which is not limited in the embodiment of the present disclosure.
Through any one of the above implementation modes, the notification information is sent to the third electronic device bound with the second electronic device, so that the user can remotely control the third electronic device when the user is not indoors, the problem that the user cannot respond indoors in time can be effectively avoided, and the safety is improved.
It should be noted that each second electronic device may be bound with a plurality of third electronic devices, where the third electronic devices may be a smart phone, a tablet computer, a smart watch, and the like, and the type of the third electronic device is not limited in the embodiment of the present disclosure. When the third electronic device is bound with the second electronic device, the master-slave identity of the third electronic device may be set, one electronic device may be bound with one master third electronic device and a plurality of slave third electronic devices, and the master third electronic device may have a function of remotely controlling the second electronic device, and may further have a function of setting the use permission of each slave electronic device on the second electronic device. When the third electronic equipment is bound, the permission of each third electronic equipment is set, so that the third electronic equipment can be prevented from being remotely controlled randomly, and only part of the third electronic equipment with the remotely controlled use permission can be remotely controlled to the second electronic equipment, and the safety of the equipment is ensured.
Therefore, if the second electronic device does not detect that the user is present in the target range when the user presence information in the target range corresponding to the second electronic device and the indoor location information of the second electronic device are acquired in step 305, the above-mentioned steps 306 to 310 may not be performed, and the first feedback information used for indicating that the user presence information is not detected by the second electronic device is directly sent to the fourth electronic device, and if the fourth electronic device receives the first feedback information sent by the plurality of second electronic devices, the main third electronic device bound to any one of the plurality of second electronic devices is determined, and the notification information is sent to the main third electronic device. When first feedback information sent by a plurality of second electronic devices is received, notification information is sent to the main third electronic device bound with any second electronic device, when a user does not exist in an indoor environment, the notification information is sent to the main third electronic device carried by the user, when crying is detected around the first electronic device, the user can timely know the condition of a child through the main third electronic device, the problem that the response cannot be timely made when the user does not exist indoors can be effectively avoided, and the safety of the device is improved. And if the second feedback information of the master third electronic device is not detected within the preset time length, sending notification information to at least one slave third electronic device, wherein the second feedback information is used for indicating that the master third electronic device responds to the received notification information to control the first electronic device. The preset time duration may be any time duration, which is not limited in the embodiment of the present disclosure.
It should be noted that, before the fourth electronic device sends the notification information, the fourth electronic device may detect the permissions of all the slave third electronic devices, determine at least one target slave third electronic device that has been authorized by the master third electronic device, and send the notification information to the at least one target slave third electronic device. Through the determination of the target slave third electronic device, the third electronic device receiving the notification information can be ensured to remotely control the first electronic device, so that the first electronic device can be ensured to be timely processed when abnormal conditions occur, and the safety of the device is improved. For example, the fourth electronic device may detect an authority of the at least one slave third electronic device, determine that the at least one slave third electronic device that has been authorized by the master third electronic device to remotely manipulate the second electronic device, determine the at least one slave third electronic device that has been authorized to remotely manipulate the second electronic device as the at least one target slave third electronic device, and transmit notification information to the at least one target slave third electronic device.
311. And the target second electronic equipment responds to the voice playing request, generates first prompt information based on the crying monitoring information, and plays the first prompt information in a voice form, wherein the first prompt information is used for prompting a user to execute an operation corresponding to the crying monitoring information.
In a possible implementation manner, the target second electronic device may determine solutions corresponding to different cry decibel levels according to the cry decibel level of the cry monitoring information carried in the voice playing request, generate audio data for prompting the user to operate corresponding to the different cry decibel levels based on the cry decibel level of the cry monitoring information and the determined solution, and then play the audio data. In another possible implementation manner, the target second electronic device may further pre-store audio data corresponding to different cry decibel levels, and after receiving the voice play request, the target second electronic device may select audio data corresponding to the cry decibel level from the stored audio data according to the cry decibel level of the cry monitoring information carried in the voice play request, and play the audio data, where the audio data includes, in addition to the cry monitoring information of the first electronic device and the preset range, prompt information for prompting a user to operate corresponding to the cry monitoring information. Optionally, the target second electronic device may also play the prompt message in a voice form in other manners, which is not limited in this disclosure.
It should be noted that, after receiving the voice playing request, the target second electronic device may detect a state of the target second electronic device, and if the target second electronic device detects that the target second electronic device has a fault, may send error information to the fourth electronic device, where the error information is used to indicate that the target second electronic device cannot perform voice playing, and if the fourth electronic device receives the error information sent by the target second electronic device, the target second electronic device bound to the first electronic device may be re-determined from the at least one candidate second electronic device, where the error information is used to indicate that the target second electronic device cannot perform voice playing, and the re-determined target second electronic device is controlled to play the first prompt information. If there is no candidate second electronic device bound to the first electronic device in the at least one candidate second electronic device, the fourth electronic device may determine the candidate second electronic device having the smallest distance to the first electronic device as the target second electronic device; if the originally determined target second electronic device is the candidate second electronic device with the smallest distance to the first electronic device, the fourth electronic device may regard the candidate second electronic device with the second smallest distance to the first electronic device as the newly determined target second electronic device. For example, the fourth electronic device may determine, according to the sorting result recorded in the list in step 309, the second electronic device whose sorting result is located at the second position as the target second electronic device, that is, the second electronic device with the second smallest distance as the target second electronic device. After the fourth electronic device receives the error information, that is, when the target second electronic device sends a fault, the target second electronic device is determined again, so that the playing success rate can be effectively improved, the abnormal condition of the first electronic device can be guaranteed to be solved, and the safety is improved.
In addition, if the target second electronic device can normally operate, the fourth electronic device may detect a use state of a target third electronic device, which is bound to the target second electronic device and whose location information meets a preset distance condition, and if it is detected that the use state of the target third electronic device is an accessed output device, the target second electronic device controls the output device connected to the target third electronic device to play the first prompt information in a voice form, that is, if the fourth electronic device detects that the use state of the target third electronic device is an accessed output device, the fourth electronic device may send a forwarding request to the target second electronic device, where the forwarding request carries a voice playing request, and the target second electronic device may forward the voice playing request to the target third electronic device after receiving the forwarding request, after receiving the voice playing request, the target third electronic device can play first prompt information generated based on the crying monitoring information carried by the voice playing request in a voice mode through connected output equipment; if it is detected that the use state of the target third electronic device is not accessed to the output device, the first prompt information is played through the target second electronic device in a voice form, and the specific implementation process may refer to step 311, which is not described herein again. In a specific implementation manner, if the fourth electronic device detects that the usage state of the target third electronic device is not accessed to the output device and is in a sound playing state, that is, the target third electronic device is playing audio, video, or playing a game, the user may not hear the first prompt information played by the target second electronic device due to an excessively high volume of sound played by the target third electronic device, and at this time, the target third electronic device may also be controlled to play the first prompt information in a voice form by the target second electronic device. Through the user state to target third electronic equipment detects, can wear output device or immerse with the audio frequency at the user, when video or recreation, directly carry out the broadcast of first prompt message through output device or target third electronic equipment, can effectively avoid the user to hear the voice prompt of target second electronic equipment, guarantee that the user can in time learn the favor that child cried, guarantee to obtain timely effectual processing with the first prompt message of voice format broadcast, parents can in time pacify child, improve information interaction efficiency and child's security.
The output device may be various types of devices, such as a wired headset, a wireless headset, and the like, which is not limited in this disclosure.
It should be noted that, if the user is inconvenient at this time, the user may control the target second electronic device to play the target audio to pacify the child. For example, the user may say "play the cradle music" or the like to the target second electronic device, and the target second electronic device may detect the received voice information in real time and perform semantic analysis on the voice information to obtain third feedback information, where the third feedback information is used to instruct the target second electronic device to play the target audio. And after the target second electronic equipment plays the target audio, the fourth electronic equipment receives new crying monitoring information of the first electronic equipment, and when the new crying monitoring information still meets the preset condition, the target second electronic equipment is controlled to play second prompt information in a voice mode, wherein the second prompt information is used for prompting a user to execute operation corresponding to the new crying monitoring information. Through control target second electronic equipment broadcast target audio frequency, can be when parents or other parents can't in time pacify child, temporarily pacify child through target audio frequency, continue monitoring child's cry behind broadcast target audio frequency, can still not obtain when pacifying child, indicate parents or other parents once more to parents in time so that parents or other parents can in time go to pacify child, guarantee child's security.
After receiving the third feedback information, the target second electronic device may generate fourth feedback information indicating that a user corresponding to the target second electronic device cannot control the first electronic device, and send the fourth feedback information to the fourth electronic device, and if the fourth electronic device detects the fourth feedback information sent by the target second electronic device, according to the received user presence information in a target range respectively corresponding to the plurality of second electronic devices, the binding relationship between the plurality of candidate second electronic devices and the first electronic device, and the indoor position information of the plurality of second electronic devices, the target second electronic device may be re-determined among the plurality of candidate second electronic devices except the target second electronic device, a voice playing request is sent to the re-determined target second electronic device, and the re-determined target second electronic device is controlled to play the first crying monitoring information generated based on the crying monitoring information in a voice form Prompt information, the voice playing request carries the crying monitoring information. When the fourth electronic device receives the error information or the fourth feedback information, the target second electronic device is determined again, so that the fact that prompt information is played through the second electronic device with suboptimal performance when the optimal second electronic device fails to respond can be guaranteed, parents and other parents can know the condition of the child in time, and the safety of the child is improved.
An interface protocol may be preset between the target second electronic device and the fourth electronic device, so that the target second electronic device and the fourth electronic device can communicate with each other, and the information transmission rate is increased.
According to the scheme provided by the embodiment of the disclosure, the first prompt message is played through the target second electronic device which is bound with the first electronic device and has the user in the target range, or the target second electronic device which is closest to the first electronic device and has the user in the target range, people around the second electronic device which is selected to be played in voice can be ensured, children can be pacified in time, the information interaction efficiency between the user and the second electronic device is improved, and the safety of the children is ensured.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 4 is a schematic structural diagram of an apparatus control device provided in an embodiment of the present disclosure, and referring to fig. 4, the apparatus includes:
a receiving module 401, configured to receive crying monitoring information of a first electronic device, where the crying monitoring information is used to indicate whether crying is monitored in an environment around the first electronic device;
a determining module 402, configured to determine, in response to the crying monitoring information, a target second electronic device that meets a target condition from among the plurality of second electronic devices;
the control module 403 is configured to control the target second electronic device to play a first prompt message in a voice form, where the first prompt message is used to prompt a user to execute an operation corresponding to the crying monitoring information.
The apparatus provided in the embodiment of the disclosure receives crying monitoring information indicating whether crying is monitored in a surrounding environment from a first electronic device, determines that a target second electronic device of a user exists in a target range from a plurality of second electronic devices when the crying monitoring information meets a preset condition, and controls the target second electronic device to play first prompt information for prompting the user to execute an operation corresponding to the crying monitoring information in a voice mode. This is disclosed plays first prompt information through target second electronic equipment that has the user in the target scope, can guarantee to select to carry out someone around the second electronic equipment that the pronunciation was broadcast, can in time pacify child, improves the information interaction efficiency between user and the second electronic equipment, guarantees child's safety.
In one possible implementation, the apparatus further includes:
a sending module, configured to send an information obtaining request to the plurality of second electronic devices, where the information obtaining request is used to obtain user presence information in a target range corresponding to each of the plurality of second electronic devices, and the user presence information is used to indicate whether a user is present in the target range;
the determining module 402 is further configured to determine, according to the received user presence information in the target ranges respectively corresponding to the plurality of second electronic devices, that the target second electronic device of the user is present in the target range from the plurality of second electronic devices.
In a possible implementation manner, the determining module 402 is further configured to determine, according to the received user presence information in the target range respectively corresponding to the plurality of second electronic devices, that at least one candidate second electronic device of the user exists in the target range from the plurality of second electronic devices;
the determining module 402 is further configured to determine, as the target second electronic device, a second electronic device, which is bound to the first electronic device, in the at least one candidate second electronic device.
In a possible implementation manner, the information obtaining request is further used for obtaining indoor location information of the plurality of second electronic devices;
the determining module 402 is further configured to determine, if there is no candidate second electronic device bound to the first electronic device in the at least one candidate second electronic device, a candidate second electronic device, of the at least one candidate second electronic device, whose distance from the first electronic device is smaller than distances from the first electronic device to other candidate second electronic devices, as a target second electronic device according to the indoor location information of the plurality of second electronic devices.
In a possible implementation manner, the determining module 402 is further configured to, if error information sent by the target second electronic device is received, redetermine the target second electronic device bound to the first electronic device from the at least one candidate second electronic device, where the error information is used to indicate that the target second electronic device cannot perform voice playing;
the control module 403 is further configured to control the second electronic device with the re-determined target to play the first prompt message.
In a possible implementation manner, the sending module is further configured to send third notification information to at least one of third electronic devices bound to any one of the plurality of second electronic devices if first feedback information sent by the plurality of second electronic devices is received, where the first feedback information is used to indicate that the second electronic device does not detect user presence information.
In a possible implementation manner, the sending module is further configured to send a voice playing request to the target second electronic device;
the control module 403 is further configured to control the target second electronic device to play the first prompt message in response to the voice playing request.
In one possible implementation, the apparatus further includes:
the acquisition module is used for acquiring the position information of a plurality of third electronic devices bound with the target second electronic device;
the determining module 402 is further configured to determine a target third electronic device from the plurality of third electronic devices according to the location information of the plurality of third electronic devices, where the target third electronic device is a third electronic device whose location information meets a preset distance condition;
the sending module is further configured to send notification information to the target third electronic device, where the notification information is used to prompt a user of the first crying monitoring information of the first electronic device.
In a possible implementation manner, the control module 403 is further configured to, if it is detected that the use state of the target third electronic device is that the output device is already connected, control, by the target second electronic device, the output device that the target third electronic device is already connected to play the first prompt information in a voice form;
the control module 403 is further configured to control the target second electronic device to play the first prompt message in a voice form if it is detected that the target third electronic device is not accessed to the output device in the use state.
In a possible implementation manner, the control module 403 is further configured to control the target second electronic device to play a target audio if third feedback information sent by the target second electronic device is detected, where the third feedback information is used to instruct the target second electronic device to play the target audio.
In a possible implementation manner, the receiving module 401 is further configured to receive new crying monitoring information of the first electronic device;
the control module 403 is further configured to control the target second electronic device to play a second prompt message in a voice form when the new crying monitoring information meets a first preset condition, where the second prompt message is used to prompt the user to execute an operation corresponding to the new crying monitoring information.
It should be noted that: in the device control apparatus provided in the foregoing embodiment, when various electronic devices are controlled, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the electronic device is divided into different functional modules to complete all or part of the functions described above. In addition, the device control apparatus and the device control method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 5 is a schematic structural diagram of a server provided in an embodiment of the present disclosure, where the server 500 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 501 and one or more memories 502, where at least one program code is stored in the one or more memories 502, and is loaded and executed by the one or more processors 501 to implement the methods provided in the foregoing method embodiments. Of course, the server 500 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 500 may also include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory, including program code executable by a processor to perform the device control method in the above-described embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by hardware associated with program code, and the program may be stored in a computer readable storage medium, where the above mentioned storage medium may be a read-only memory, a magnetic or optical disk, etc.
The foregoing is considered as illustrative of the embodiments of the disclosure and is not to be construed as limiting thereof, and any modifications, equivalents, improvements and the like made within the spirit and principle of the disclosure are intended to be included within the scope of the disclosure.

Claims (13)

1. An apparatus control method, characterized in that the method comprises:
receiving crying monitoring information of a first electronic device, wherein the crying monitoring information is used for indicating whether crying is monitored in the surrounding environment of the first electronic device;
when the crying monitoring information meets a preset condition, acquiring user existence information and indoor position information of a plurality of second electronic devices in a target range respectively corresponding to the plurality of second electronic devices;
determining at least one candidate second electronic device of the user in the target range from the plurality of second electronic devices according to the user presence information in the target range respectively corresponding to the plurality of second electronic devices;
if the candidate second electronic device bound with the first electronic device does not exist in the at least one candidate second electronic device, determining, as a target second electronic device, a candidate second electronic device, which is in the at least one candidate second electronic device and has a distance to the first electronic device smaller than distances to the first electronic device and other candidate second electronic devices, according to the indoor location information of the plurality of second electronic devices;
sending a voice playing request to the target second electronic device, controlling the target second electronic device to respond to the voice playing request, and playing first prompt information in a voice form, wherein the first prompt information is used for prompting a user to execute an operation corresponding to the crying monitoring information; the target second electronic device is used for generating audio data corresponding to the first prompt information according to the crying decibel level, and the audio data is used for indicating operation corresponding to the crying decibel level;
acquiring location information of a plurality of third electronic devices bound with the target second electronic device, wherein the plurality of third electronic devices include a master third electronic device and a plurality of slave third electronic devices, and when the third electronic device is bound with the target second electronic device, setting of master-slave identities of the third electronic devices is supported;
detecting the authority of the plurality of slave third electronic devices, and determining that at least one slave third electronic device supporting remote control of the target second electronic device is authorized by the master third electronic device;
determining the at least one slave third electronic device that has been authorized to support remote manipulation of the target second electronic device as at least one target slave third electronic device;
sending notification information to the at least one target-dependent third electronic device, wherein the notification information is used for prompting a user of crying monitoring information of the first electronic device;
the master third electronic device has a function of remotely controlling the target second electronic device, and has a function of setting the use permission of each slave third electronic device on the target second electronic device.
2. The method according to claim 1, wherein the obtaining of the user presence information comprises:
and sending an information acquisition request to the plurality of second electronic devices, wherein the information acquisition request is used for acquiring user presence information in target ranges respectively corresponding to the plurality of second electronic devices, and the user presence information is used for indicating whether a user is present in the target ranges.
3. The method according to claim 2, wherein after determining that at least one candidate second electronic device of the user exists in the target range from the plurality of second electronic devices according to the user presence information in the target range respectively corresponding to the plurality of second electronic devices, the method further comprises:
if the candidate second electronic device bound with the first electronic device exists in the at least one candidate second electronic device, determining the second electronic device bound with the first electronic device in the at least one candidate second electronic device as a target second electronic device.
4. The method of claim 2, wherein the information obtaining request is further used for obtaining indoor location information of the plurality of second electronic devices.
5. The method of claim 1, wherein after controlling the target second electronic device to play the first prompt message in a voice form, the method further comprises:
if error information sent by the target second electronic device is received, re-determining the target second electronic device bound with the first electronic device from the at least one candidate second electronic device, wherein the error information is used for indicating that the target second electronic device cannot perform voice playing;
and controlling the second electronic equipment with the redetermined target to play the first prompt message.
6. The method of claim 2, wherein after sending the information acquisition requests to the plurality of second electronic devices, the method further comprises:
and if first feedback information sent by the plurality of second electronic devices is received, sending third notification information to at least one of third electronic devices bound with any one of the plurality of second electronic devices, wherein the first feedback information is used for indicating that the second electronic devices do not detect user presence information.
7. The method of claim 1, wherein after obtaining the location information of the plurality of third electronic devices bound to the target second electronic device, the method further comprises:
determining a target third electronic device from the plurality of third electronic devices according to the position information of the plurality of third electronic devices, wherein the target third electronic device is a third electronic device of which the position information meets a preset distance condition;
and sending the notification information to the target third electronic equipment.
8. The method of claim 1, wherein the controlling the target second electronic device to play the first prompt message in voice comprises:
if the service state of the target slave third electronic equipment is detected to be that the output equipment is accessed, the target second electronic equipment controls the output equipment connected with the target slave third electronic equipment to play the first prompt information in a voice mode;
and if the service state of the target slave third electronic equipment is detected to be that the target slave third electronic equipment is not accessed to the output equipment, controlling the target second electronic equipment to play the first prompt message in a voice mode.
9. The method of claim 1, wherein after controlling the target second electronic device to play the first prompt message in a voice form, the method further comprises:
and if third feedback information sent by the target second electronic equipment is detected, controlling the target second electronic equipment to play a target audio, wherein the third feedback information is used for indicating the target second electronic equipment to play the target audio.
10. The method of claim 9, wherein after the controlling the target second electronic device to play the target audio, the method further comprises:
receiving new crying monitoring information of the first electronic equipment;
and when the new crying monitoring information meets the preset condition, controlling the target second electronic equipment to play second prompt information in a voice mode, wherein the second prompt information is used for prompting a user to execute the operation corresponding to the new crying monitoring information.
11. An apparatus control device, characterized in that the device comprises:
the receiving module is used for receiving crying monitoring information of the first electronic equipment, and the crying monitoring information is used for indicating whether crying is monitored in the surrounding environment of the first electronic equipment;
the equipment control device is further used for acquiring user existence information and indoor position information of a plurality of second electronic equipment in a target range respectively corresponding to the plurality of second electronic equipment when the crying monitoring information meets a preset condition;
the device further comprises:
the determining module is used for determining at least one candidate second electronic device of the user in the target range from the plurality of second electronic devices according to the user presence information in the target range respectively corresponding to the plurality of second electronic devices;
the determining module is further configured to determine, if there is no candidate second electronic device bound to the first electronic device in the at least one candidate second electronic device, a candidate second electronic device, of the at least one candidate second electronic device, whose distance from the first electronic device is smaller than distances from the first electronic devices to other candidate second electronic devices, as a target second electronic device according to the indoor location information of the plurality of second electronic devices;
the sending module is used for sending a voice playing request to the target second electronic equipment;
the control module is used for controlling the target second electronic equipment to respond to the voice playing request and playing first prompt information in a voice mode, wherein the first prompt information is used for prompting a user to execute an operation corresponding to the crying monitoring information; the target second electronic device is used for generating audio data corresponding to the first prompt information according to the crying decibel level, and the audio data is used for indicating operation corresponding to the crying decibel level;
the determining module is further configured to obtain location information of a plurality of third electronic devices bound to the target second electronic device, where the plurality of third electronic devices include a master third electronic device and a plurality of slave third electronic devices, and when the third electronic device is bound to the target second electronic device, the determining module supports setting of master-slave identities of the third electronic devices; detecting the authority of the plurality of slave third electronic devices, and determining that at least one slave third electronic device supporting remote control of the target second electronic device is authorized by the master third electronic device; determining the at least one slave third electronic device that has been authorized to support remote manipulation of the target second electronic device as at least one target slave third electronic device;
the sending module is further configured to send notification information to the at least one target slave third electronic device, where the notification information is used to prompt a user of crying monitoring information of the first electronic device; the master third electronic device has a function of remotely controlling the target second electronic device, and has a function of setting the use permission of each slave third electronic device on the target second electronic device.
12. An electronic device, comprising one or more processors and one or more memories having at least one program code stored therein, the program code being loaded and executed by the one or more processors to implement operations performed by the device control method of any of claims 1 to 10.
13. A computer-readable storage medium having at least one program code stored therein, the program code being loaded and executed by a processor to implement the operations performed by the device control method according to any one of claims 1 to 10.
CN202010253943.0A 2020-04-02 2020-04-02 Device control method, device, electronic device and computer-readable storage medium Active CN111596556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010253943.0A CN111596556B (en) 2020-04-02 2020-04-02 Device control method, device, electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010253943.0A CN111596556B (en) 2020-04-02 2020-04-02 Device control method, device, electronic device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN111596556A CN111596556A (en) 2020-08-28
CN111596556B true CN111596556B (en) 2022-01-04

Family

ID=72185432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010253943.0A Active CN111596556B (en) 2020-04-02 2020-04-02 Device control method, device, electronic device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111596556B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240115A (en) * 2018-10-26 2019-01-18 北京小米移动软件有限公司 Control method, device and the storage medium of smart machine
CN208422408U (en) * 2018-04-17 2019-01-22 深圳市科曼医疗设备有限公司 The voice activated control of incubator
CN209949129U (en) * 2019-08-21 2020-01-14 福建省奔流智能科技有限公司 Intelligent gateway system
CN110839186A (en) * 2018-08-15 2020-02-25 台山市恒东音响科技有限公司 Energy-saving sound box

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7266347B2 (en) * 2003-06-10 2007-09-04 Gross John N Remote monitoring device and process
US10741041B2 (en) * 2014-01-06 2020-08-11 Binatone Electronics International Limited Dual mode baby monitoring
US10271093B1 (en) * 2016-06-27 2019-04-23 Amazon Technologies, Inc. Systems and methods for routing content to an associated output device
CN109389980A (en) * 2018-12-06 2019-02-26 新视家科技(北京)有限公司 A kind of voice interactive method, system, electronic equipment and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208422408U (en) * 2018-04-17 2019-01-22 深圳市科曼医疗设备有限公司 The voice activated control of incubator
CN110839186A (en) * 2018-08-15 2020-02-25 台山市恒东音响科技有限公司 Energy-saving sound box
CN109240115A (en) * 2018-10-26 2019-01-18 北京小米移动软件有限公司 Control method, device and the storage medium of smart machine
CN209949129U (en) * 2019-08-21 2020-01-14 福建省奔流智能科技有限公司 Intelligent gateway system

Also Published As

Publication number Publication date
CN111596556A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN111565355B (en) Device control method, device, electronic device and computer-readable storage medium
US11790920B2 (en) Guest access for voice control of playback devices
US10873475B2 (en) Location-based device automation
JP6571302B1 (en) Multiple voice services
JP6657353B2 (en) Multi-household support
JP6471174B2 (en) Intelligent assistant for home automation
US10432419B1 (en) Voice control using multi-media rooms
US9916839B1 (en) Shared audio functionality based on device grouping
JP2019523918A (en) Implementation of voice assistant on device
JP2020500330A (en) Focus session in voice interface device
CN110073326A (en) Speech recognition based on arbitration
KR20150116753A (en) Systems and methods for adaptive notification networks
US11824945B2 (en) Managing application access of a media playback system
CN110740376B (en) Improved content streaming device and method
US11057664B1 (en) Learning multi-device controller with personalized voice control
JP2020515913A (en) Voice response method, device and smart device
JP2020504413A (en) Method of providing personalized speech recognition service using artificial intelligence automatic speaker identification method and service providing server used therefor
CN103098449A (en) User device, server, and operating conditions setting system
CN111596556B (en) Device control method, device, electronic device and computer-readable storage medium
CN111596557B (en) Device control method, device, electronic device and computer-readable storage medium
US10375340B1 (en) Personalizing the learning home multi-device controller
CN110635976B (en) Accompanying equipment control method, accompanying equipment control system and storage medium
CN106961679B (en) Doorbell control method, device, intelligent audio playback equipment and system
KR20180051074A (en) Method and server for providing sound source service using messenger application

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
TA01 Transfer of patent application right

Effective date of registration: 20211231

Address after: Room 2002, 20th floor, building 2, Darong century complex building (Darong Center), 180 Haier Road, Laoshan District, Qingdao City, Shandong Province 266100

Applicant after: Shandong Shengzhi Wulian Technology Co., Ltd

Address before: 100080 room 306, 3 / F, NO.67, North Fourth Ring Road West, Haidian District, Beijing

Applicant before: SOUNDAI TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
TR01 Transfer of patent right

Effective date of registration: 20220223

Address after: 601, 6th floor, building 1, area 1, No. 81, Beiqing Road, Haidian District, Beijing 100094

Patentee after: SOUNDAI TECHNOLOGY Co.,Ltd.

Address before: Room 2002, 20th floor, building 2, Darong century complex building (Darong Center), 180 Haier Road, Laoshan District, Qingdao City, Shandong Province 266100

Patentee before: Shandong Shengzhi Wulian Technology Co.,Ltd.

TR01 Transfer of patent right