CN110989372B - Device control method, device and system based on position information - Google Patents
Device control method, device and system based on position information Download PDFInfo
- Publication number
- CN110989372B CN110989372B CN201911129668.5A CN201911129668A CN110989372B CN 110989372 B CN110989372 B CN 110989372B CN 201911129668 A CN201911129668 A CN 201911129668A CN 110989372 B CN110989372 B CN 110989372B
- Authority
- CN
- China
- Prior art keywords
- instruction
- equipment
- target
- controlled
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012545 processing Methods 0.000 claims description 22
- 238000004891 communication Methods 0.000 description 11
- 230000008859 change Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total 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)
- Selective Calling Equipment (AREA)
Abstract
The present disclosure relates to a device control method based on location information, a device control apparatus based on location information, a device control system based on location information, and an electronic device and a computer-readable storage medium. Wherein the device control method based on the location information is applied to the server, comprising: acquiring an instruction and one or more target devices corresponding to the instruction through the instruction device; determining one or more priority devices in the target device based on a positional relationship between the instruction device and the target device; and sending the instruction to the priority device, and enabling the priority device to execute the instruction. According to the method and the device, the priority equipment for executing the instruction is determined according to the position relation between the instruction equipment and the target equipment, so that wrong execution is avoided, the actual intention of the user instruction is better grasped, the execution is more accurate and efficient, convenience is provided for the user, and the user experience is improved.
Description
Technical Field
The present disclosure relates to the field of intelligent terminal communication, and more particularly, to a device control method based on location information, a device control apparatus based on location information, a device control system based on location information, and an electronic device and a computer-readable storage medium.
Background
With the development of intelligent home, more and more users set various intelligent home devices in a residence, so that various automatic functions are realized.
Meanwhile, the increase of intelligent home in the residence brings difficulty to control. The intelligent devices may be arranged in various rooms, and the types are various, and the products in the same major class have different minor classes, and the products in the same class also have different spatial positions. The user can not accurately control part of the devices which need to be controlled at present, so that one instruction simultaneously controls a plurality of devices to operate, and the devices which do not need to operate are included in the instruction, so that the user can only manually operate the devices individually, and convenient and accurate control can not be realized.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a device control method based on location information, a device control apparatus based on location information, a device control system based on location information, and an electronic device and a computer-readable storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided a device control method based on location information, applied to a server, the method including: acquiring an instruction and one or more target devices corresponding to the instruction through the instruction device; determining one or more priority devices in the target device based on a positional relationship between the instruction device and the target device; and sending the instruction to the priority device, and enabling the priority device to execute the instruction.
In one embodiment, the instruction device is a smart speaker; the method comprises the steps of obtaining an instruction and one or more target devices corresponding to the instruction through the instruction device, wherein the method comprises the following steps: receiving voice sent by an intelligent sound box; and performing voice recognition on the voice to obtain an instruction and target equipment.
In an embodiment, the positional relationship between the instruction device and the target device is obtained by: retrieving a location of the instruction device and a location of the target device; based on the location of the instruction device and the location of the target device, a positional relationship between the instruction device and the target device is determined.
In an embodiment, the method further comprises: and receiving position information, wherein the position information comprises the positions of the instruction devices and the positions of all controlled devices, and the target device belongs to the controlled devices.
In an embodiment, the method further comprises: receiving the distance between the instruction device and each two devices in all the controlled devices, wherein the distance is acquired through UWB chips of the instruction device and the controlled devices, and the target device belongs to the controlled devices; based on the distance, the location of the command device and the location of the controlled device are determined.
In an embodiment, the method further comprises: and after the position of the instruction device is changed with any one of all the controlled devices, receiving the new position of the instruction device or the controlled device with changed position, and re-determining the new position through the instruction device and the devices with unchanged positions in all the controlled devices.
In an embodiment, the command device and/or the controlled device has a gyroscope by which the movement is detected, the method further comprising: after receiving the movement signal sent by the movement of the instruction equipment and/or the controlled equipment, determining the corresponding instruction equipment and/or the controlled equipment to change the position of the instruction equipment and/or the controlled equipment.
In an embodiment, the positional relationship between the instruction device and the target device comprises a distance between the instruction device and the target device.
In an embodiment, the method further comprises: and receiving the distance between the instruction equipment and all the controlled equipment, wherein the target equipment belongs to the controlled equipment.
According to a second aspect of the embodiments of the present disclosure, there is provided a device control apparatus based on location information, applied to a server, the apparatus including: the receiving unit is used for acquiring the instruction and one or more target devices corresponding to the instruction through the instruction device; a processing unit for determining one or more priority devices in the target devices based on a positional relationship between the instruction device and the target devices; and the sending unit is used for sending the instruction to the priority equipment and enabling the priority equipment to execute the instruction.
In one embodiment, the instruction device is a smart speaker; the receiving unit is used for: receiving voice sent by an intelligent sound box; the processing unit is used for: and performing voice recognition on the voice to obtain an instruction and target equipment.
In an embodiment, the processing unit is further configured to: retrieving a location of the instruction device and a location of the target device; based on the location of the instruction device and the location of the target device, a positional relationship between the instruction device and the target device is determined.
In an embodiment, the receiving unit is further configured to: and receiving position information, wherein the position information comprises the positions of the instruction devices and the positions of all controlled devices, and the target device belongs to the controlled devices.
In an embodiment, the receiving unit is further configured to: receiving the distance between the instruction device and each two devices in all the controlled devices, wherein the distance is acquired through UWB chips of the instruction device and the controlled devices, and the target device belongs to the controlled devices; the processing unit is further configured to: based on the distance, the location of the command device and the location of the controlled device are determined.
In an embodiment, the receiving unit is further configured to: and after the position of the instruction device is changed with any one of all the controlled devices, receiving the new position of the instruction device or the controlled device with changed position, and re-determining the new position through the instruction device and the devices with unchanged positions in all the controlled devices.
In an embodiment, the command device and/or the controlled device has a gyroscope by means of which the movement is detected, the receiving unit being further adapted to: and receiving a movement signal sent by the movement of the instruction equipment and/or the controlled equipment, and determining that the corresponding instruction equipment and/or the controlled equipment changes the position of the instruction equipment and/or the controlled equipment.
In an embodiment, the positional relationship between the command device and the target device comprises a distance between the command device and the target device.
In an embodiment, the receiving unit is further configured to: and receiving and storing the distances between the instruction equipment and all the controlled equipment, wherein the target equipment belongs to the controlled equipment.
According to a third aspect of embodiments of the present disclosure, there is provided a device control system based on location information, including: the controlled equipment can receive the instruction sent by the server and execute corresponding functions; the instruction device is used for acquiring the instruction and one or more target devices corresponding to the instruction, and sending the instruction to the server, wherein the target devices belong to the controlled device; and the server is used for receiving the instruction sent by the instruction equipment and the target equipment, determining one or more priority equipment in the target equipment based on the position relation between the instruction equipment and the target equipment, and sending the instruction to the priority equipment.
In one embodiment, the instruction device is a smart speaker; the intelligent sound box acquires voice and sends the voice to the server, wherein the voice comprises an instruction and target equipment; the server receives the voice and acquires the instruction and the target device through voice recognition of the voice.
In one embodiment, the server obtains the locations of the controlled device and the command device, and determines a positional relationship between the command device and the target device based on the locations.
In an embodiment, the server obtains distances between the controlled devices and the instruction devices respectively, and determines a positional relationship between the instruction devices and the target device based on the distances.
According to a fourth aspect of embodiments of the present disclosure, there is provided an electronic device, comprising: a memory for storing instructions; and a processor for invoking the memory-stored instructions to perform the location information based device control method of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium storing instructions that, when executed by a processor, perform the position information-based device control method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: by determining the priority equipment for executing the instruction according to the position relation between the instruction equipment and the target equipment, wrong execution is avoided, the actual intention of the user instruction is better grasped, the execution is more accurate and efficient, convenience is provided for the user, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a method of controlling a device based on location information according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating another method of device control based on location information, according to an example embodiment;
FIG. 3 is a flow chart illustrating another method of device control based on location information, according to an example embodiment;
FIG. 4 is a schematic block diagram of a device control apparatus based on location information, according to an example embodiment;
FIG. 5 is a schematic block diagram of a device control system based on location information, according to an example embodiment;
fig. 6 is a schematic block diagram of an apparatus according to an example embodiment.
Fig. 7 is a schematic block diagram of an electronic device, shown in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The present disclosure provides a device control method 10 based on location information, which is applied to a server, where the server may be communicatively connected with other devices in the disclosure through WiFi, referring to fig. 1, the device control method 10 based on location information includes steps S11-S13, and the following detailed description is given below:
step S11, acquiring an instruction and one or more target devices corresponding to the instruction through the instruction device.
The user sends an instruction to the server through the instruction equipment, and the control of some equipment is realized through a simple instruction. The instruction device can be a device which is convenient for a user to input instructions, and the target device can be other intelligent household devices in a residence, such as an intelligent lamp, an intelligent television, an intelligent curtain and the like.
In one embodiment, the instruction device is a smart speaker; step S11 may include: receiving voice sent by an intelligent sound box; and performing voice recognition on the voice to obtain an instruction and target equipment. The intelligent sound box can receive the voice, a user can conveniently input instructions through the voice, the intelligent sound box uploads the voice to the server after receiving the voice, and the server can conduct voice recognition on the voice through the neural network, so that the user instructions and target equipment corresponding to the user instructions are obtained.
Step S12, determining one or more priority devices in the target devices based on the positional relationship between the instruction device and the target devices.
There may be multiple target devices, and only some of them may need to be manipulated by the user, such as in a scenario where voice input is performed through a smart speaker, the user voice is "turn on" and the target device is identified as a light, and multiple smart lights may exist in each room in the residence, where in fact the user's needs are only turning on the lights of the present room. The priority equipment, namely equipment which a user may actually need to control, is determined according to the position relation between the instruction equipment and the target equipment.
The position relationship described in the present disclosure may be an actual position between the instruction device and the target device, for example, determined according to whether the position relationship is in the same room; or the distance between the instruction device and the target device, such as according to the distance between the instruction device and the target device.
Step S13, sending an instruction to the priority device, and enabling the priority device to execute the instruction.
After the priority equipment is determined, only instructions are sent to the priority equipment, so that the function corresponding to the instructions of the equipment by a user is realized, and other target equipment is not operated, so that the real intention of the user instruction is ensured to be mastered under the condition that the user instruction comprises a plurality of target equipment, the user requirement is met, more convenient operation is provided, and the user does not need to operate the individual equipment for a second time or input more specific instructions.
The basis of the positional relationship may be just one criterion as a judgment, and if explicit positional information is already included in the voice instruction of the user, the judgment is no longer made by the positional relationship with the instruction device. In some specific scenarios, a class of devices may be further divided into specific subclasses, such as a "lamp" class of devices may be further subdivided into desk lamps, floor lamps, ceiling lamps, and the like. If there is no specific subdivision class instruction, the user instruction represents all the instructions, and if the user instruction contains subdivision class, the user instruction is also used as a priority criterion for judgment, for example: the user instruction is: the desk lamp is turned on, the desk lamp is judged to be not in the room according to the position relation with the instruction equipment, the desk lamp is located in another room, the general situation takes the user instruction as a priority standard, the position relation is not only considered, and therefore the desk lamp in the other room is controlled to be turned on; if the other rooms are provided with the desk lamp, the desk lamp in the nearest room can be turned on by considering the position relationship at the same time.
In an embodiment, as shown in fig. 2, in step S12, the positional relationship between the instruction device and the target device may be obtained by: step S121, retrieving the location of the instruction device, and the location of the target device; step S122, determining a positional relationship between the instruction device and the target device based on the position of the instruction device and the position of the target device. The server may store respective locations of the instruction device and the target device, and determine a positional relationship between the instruction device and the target device based on the respective locations. As in some scenarios, it may be determined whether both are in one room, or in a local area of one room, to determine a priority device.
In an embodiment, the device control method 10 based on the location information may further include: and receiving position information, wherein the position information comprises the positions of the instruction devices and the positions of all controlled devices, and the target device belongs to the controlled devices. In this embodiment, the user may set the location through an intelligent terminal device such as a mobile phone, directly set the location of the residence map, the instruction device and all the controlled devices, and send the location information to the server. And acquiring the position information of all intelligent devices through the setting of the user so as to judge the priority device according to the user instruction. In some specific scenes, the user can also perform category identification or name identification on the equipment, so that the instruction can be conveniently and explicitly operated.
In an embodiment, as shown in fig. 3, the device control method 10 based on the location information may further include: step S14, receiving the distance between the instruction device and each two devices in all the controlled devices, wherein the distance is acquired through UWB (Ultra Wide Band) chips of the instruction device and the controlled devices, and the target device belongs to the controlled devices; step S15, determining the position of the instruction device and the position of the controlled device based on the distance. In this embodiment, the user does not need to set the position of each device, but obtains the distance between every two devices through the UWB chip of each device, and then determines the relative positional relationship between the devices according to the obtained distance. Specifically, the two devices can receive and send signals through the UWB chip, and can acquire the distance through a mode such as time of flight (TOF) ranging, and since the accuracy of centimeter level can be ensured by UWB ranging, the devices can be positioned at any position in the room. After the server determines the distances between every two devices, the relative position relationship between the devices can be determined according to a triangulation method. After determining the target device, the server may determine the priority device according to the relative positional relationship between the instruction device and the target device.
In other embodiments, the user may also set a positioning device dedicated to positioning indoors, and the positioning device with the UWB chip also has a positioning device for distance measurement in the same manner, so as to position all devices including the instruction device and the controlled device.
The instruction equipment of this disclosure can be equipment such as cell-phone, intelligent audio amplifier, and the while is controlled equipment also can be small-size equipment such as desk lamp, and the position of equipment can take place the position change along with the reason that the user removed or put the position change, if not in time updates the position, can cause the later misjudgement, leads to inaccurate control.
In one embodiment, the user may reset the device's location after it changes location and send it to the server to update the location.
In another embodiment, the device control method 10 based on the location information may further include: and after the position of the instruction device is changed with any one of all the controlled devices, receiving the new position of the instruction device or the controlled device with changed position, and re-determining the new position through the instruction device and the devices with unchanged positions in all the controlled devices. And the device with the changed position is subjected to re-distance measurement and position determination through other devices, the device position is updated timely, and the accuracy of the determination of the priority device is ensured.
In some embodiments, the instruction device and/or the controlled device may have a gyroscope, and detect movement by the gyroscope, and after sending the movement, may send a movement signal to the server, and after receiving the movement signal sent by the instruction device and/or the controlled device, the server determines that the position of the instruction device and/or the controlled device changes and updates the position of the instruction device and the controlled device. This embodiment enables automatic detection and updating of the change in position of the device. In still other embodiments, the location may be updated automatically by periodically detecting each other, where devices periodically detect the distance between each other, and when the distance between one device and the other devices changes, the device is considered to have changed in location, and the other devices locate the device, thereby updating the location.
In some embodiments, various modes can be combined according to the need, for example, the instruction equipment is more small-sized equipment such as an intelligent sound box, the position of the instruction equipment is easy to change, and a gyroscope is arranged in the instruction equipment and can be updated in time after the position of the instruction equipment is changed; the controlled devices include devices with fixed positions, such as ceiling lights, curtains, floor lamps and the like, generally do not change in position, and when the position changes, the remembered position of the controlled devices can be updated based on position setting instructions of users.
In an embodiment, in step S12, the positional relationship between the instruction device and the target device includes a distance between the instruction device and the target device. In this embodiment, the server may save only the distance between the devices, and determine the priority device among the target devices according to the distance as the positional relationship.
In an embodiment, the device control method 10 based on the location information may further include: and receiving the distance between the instruction equipment and all the controlled equipment, wherein the target equipment belongs to the controlled equipment. The direct setting from the user can be received, the user determines the distance between the devices and sends the determined distance to the server, or the distance measurement can be performed through the UWB chip and sent to the server.
Based on the same inventive concept, fig. 4 shows a device control apparatus 100 based on location information, and as shown in fig. 4, the device control apparatus 100 based on location information is applied to a server, including: a receiving unit 110, configured to obtain, through an instruction device, an instruction and one or more target devices corresponding to the instruction; a processing unit 120 for determining one or more priority devices among the target devices based on a positional relationship between the instruction device and the target devices; and a sending unit 130, configured to send an instruction to the priority device, so that the priority device executes the instruction.
In one embodiment, the instruction device is a smart speaker; the receiving unit 110 is configured to: receiving voice sent by an intelligent sound box; the processing unit 120 is configured to: and performing voice recognition on the voice to obtain an instruction and target equipment.
In an embodiment, the processing unit 120 is further configured to: retrieving a location of the instruction device and a location of the target device; based on the location of the instruction device and the location of the target device, a positional relationship between the instruction device and the target device is determined.
In an embodiment, the receiving unit 110 is further configured to: and receiving position information, wherein the position information comprises the positions of the instruction devices and the positions of all controlled devices, and the target device belongs to the controlled devices.
In an embodiment, the receiving unit 110 is further configured to: receiving the distance between the instruction device and each two devices in all the controlled devices, wherein the distance is acquired through UWB chips of the instruction device and the controlled devices, and the target device belongs to the controlled devices; the processing unit 120 is further configured to: based on the distance, the location of the command device and the location of the controlled device are determined.
In an embodiment, the receiving unit 110 is further configured to: and after the position of the instruction device is changed with any one of all the controlled devices, receiving the new position of the instruction device or the controlled device with changed position, and re-determining the new position through the instruction device and the devices with unchanged positions in all the controlled devices.
In an embodiment, the command device and/or the controlled device has a gyroscope by means of which the movement is detected, the receiving unit 110 is further adapted to: and receiving a movement signal sent by the movement of the instruction equipment and/or the controlled equipment, and determining that the corresponding instruction equipment and/or the controlled equipment changes the position of the instruction equipment and/or the controlled equipment.
In an embodiment, the positional relationship between the instruction device and the target device comprises a distance between the instruction device and the target device.
In an embodiment, the receiving unit 110 is further configured to: and receiving and storing the distances between the instruction equipment and all the controlled equipment, wherein the target equipment belongs to the controlled equipment.
With respect to the device control 100 based on location information in the above embodiment, the specific manner in which each unit performs an operation has been described in detail in the embodiment related to the method, by determining the priority device that needs to perform an instruction according to the location relationship between the instruction device and the target device, erroneous execution is avoided, better grasp of the actual intention of the instruction of the user, more accurate and efficient execution, convenience is provided to the user, and user experience is improved.
Based on the same inventive concept, fig. 5 shows a device control system 200 based on location information, comprising: the controlled device 210, the controlled device 210 can receive the instruction sent by the server 220 and execute the corresponding function; the instruction device 230 is configured to obtain an instruction and one or more target devices corresponding to the instruction, and send the instruction to the server 220, where the target devices belong to the controlled device 210; the server 220 is configured to receive the instruction sent by the instruction device 230 and the target devices, determine one or more priority devices among the target devices based on the positional relationship between the instruction device 230 and the target devices, and send the instruction to the priority devices.
In one embodiment, the instruction device 230 is a smart speaker; the intelligent speaker obtains the voice and sends the voice to the server 220, wherein the voice comprises instructions and target equipment; the server 220 receives the voice and acquires the instruction and the target device through voice recognition of the voice.
In one embodiment, the server 220 obtains the locations of the controlled device 210 and the command device 230 and determines a positional relationship between the command device 230 and the target device based on the locations.
In one embodiment, the server 220 obtains the distances between the controlled devices 210 and the command devices 230, respectively, and determines the positional relationship between the command devices 230 and the target devices based on the distances.
Fig. 6 is a schematic block diagram of any of the foregoing embodiment apparatus, according to an example embodiment. For example, apparatus 300 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, the apparatus 300 may include one or more of the following components: a processing component 302, a memory 304, a power component 306, a multimedia component 308, an audio component 310, an input/output (I/O) interface 312, a sensor component 314, and a communication component 316.
The processing component 302 generally controls overall operation of the apparatus 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 302 can include one or more modules that facilitate interactions between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
Memory 304 is configured to store various types of data to support operations at apparatus 300. Examples of such data include instructions for any application or method operating on the device 300, contact data, phonebook data, messages, pictures, videos, and the like. The memory 304 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 306 provides power to the various components of the device 300. The power components 306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 300.
The multimedia component 308 includes a screen between the device 300 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 300 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 310 is configured to output and/or input audio signals. For example, the audio component 310 includes a Microphone (MIC) configured to receive external audio signals when the device 300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 304 or transmitted via the communication component 316. In some embodiments, audio component 310 further comprises a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 314 includes one or more sensors for providing status assessment of various aspects of the apparatus 300. For example, the sensor assembly 314 may detect the on/off state of the device 300, the relative positioning of the components, such as the display and keypad of the device 300, the sensor assembly 314 may also detect a change in position of the device 300 or a component of the device 300, the presence or absence of user contact with the device 300, the orientation or acceleration/deceleration of the device 300, and a change in temperature of the device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate communication between the apparatus 300 and other devices, either wired or wireless. The device 300 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 316 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a computer-readable storage medium is also provided, such as memory 304, including instructions executable by processor 320 of apparatus 300 to perform the above-described method. For example, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Fig. 7 is a block diagram of an electronic device 400, according to an example embodiment. For example, the apparatus 400 may be provided as a server. Referring to fig. 7, the apparatus 400 includes a processing component 422 that further includes one or more processors, and memory resources represented by memory 432, for storing instructions, such as applications, executable by the processing component 422. The application program stored in memory 432 may include one or more modules each corresponding to a set of instructions. Further, the processing component 422 is configured to execute instructions to perform the above-described methods.
The apparatus 400 may also include a power component 426 configured to perform power management of the apparatus 300, a wired or wireless network interface 450 configured to connect the apparatus 400 to a network, and an input output (I/O) interface 458. The apparatus 400 may operate based on an operating system stored in the memory 432, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (12)
1. A device control method based on location information, the method comprising:
acquiring an instruction and one or more target devices corresponding to the instruction through instruction equipment;
Determining one or more priority devices in the target device based on a positional relationship between the instruction device and the target device, the positional relationship including a spatial positional relationship of the instruction device and the target device;
sending the instruction to the priority equipment, and enabling the priority equipment to execute the instruction;
The positional relationship between the instruction device and the target device is obtained by:
Invoking the position of the instruction device and the position of the target device;
Determining a positional relationship between the instruction device and the target device based on the location of the instruction device and the location of the target device;
receiving position information, wherein the position information comprises the positions of the instruction equipment and the positions of all controlled equipment, and the target equipment belongs to the controlled equipment;
Receiving the distance between the instruction device and each two devices in all the controlled devices, wherein the distance is acquired through UWB chips of the instruction device and the controlled devices; determining the position of the instruction device and the position of the controlled device based on the distance;
and after the position of any one of the instruction equipment and all the controlled equipment is changed, receiving the new position of the instruction equipment or the controlled equipment with changed position, wherein the new position is redetermined by the instruction equipment and the equipment with unchanged position in all the controlled equipment.
2. The apparatus control method based on position information according to claim 1, wherein the instruction apparatus is a smart speaker;
the method for obtaining the instruction and the one or more target devices corresponding to the instruction through the instruction device comprises the following steps:
Receiving voice sent by the intelligent sound box;
And performing voice recognition on the voice to obtain the instruction and the target equipment.
3. The positional information-based device control method according to claim 1, wherein the instruction device and/or the controlled device has a gyroscope by which movement is detected, the method further comprising:
And after receiving the moving signal sent by the command device and/or the controlled device, determining that the corresponding command device and/or the controlled device changes the position of the command device and/or the controlled device.
4. The apparatus control method based on position information according to claim 1, wherein the positional relationship between the instruction apparatus and the target apparatus includes a distance between the instruction apparatus and the target apparatus.
5. The apparatus control method based on position information according to claim 4, characterized in that the method further comprises:
And receiving the distance between the instruction equipment and all the controlled equipment.
6. A device control apparatus based on location information, applied to a server, the apparatus comprising:
The receiving unit is used for obtaining an instruction and one or more target devices corresponding to the instruction through the instruction device, receiving position information, wherein the position information comprises the position of the instruction device and the positions of all controlled devices, the target devices belong to the controlled devices, and receiving the distance between the instruction device and each two devices in all the controlled devices, wherein the distance is obtained through UWB chips of the instruction device and the controlled devices, and after any one of the instruction device and all the controlled devices changes the positions of the instruction device and the controlled devices, the new position of the instruction device or the controlled device with the changed position is received, and the new position is redetermined through the instruction device and the device with the unchanged position in all the controlled devices;
A processing unit, configured to determine one or more priority devices in the target devices based on a positional relationship between the instruction device and the target devices, where the positional relationship includes a spatial positional relationship between the instruction device and the target devices, a position of the instruction device, and a position of the target device, determine a positional relationship between the instruction device and the target devices based on the position of the instruction device and the position of the target device, and determine a position of the instruction device and a position of the controlled device based on the distance;
And the sending unit is used for sending the instruction to the priority equipment so that the priority equipment executes the instruction.
7. The device control apparatus based on position information according to claim 6, wherein the instruction device is a smart speaker;
The receiving unit is used for: receiving voice sent by the intelligent sound box;
The processing unit is used for: and performing voice recognition on the voice to obtain the instruction and the target equipment.
8. The device control apparatus based on position information according to claim 6, wherein the instruction device and/or the controlled device has a gyroscope by which movement is detected, the receiving unit being further configured to: and receiving a movement signal sent by the movement of the instruction equipment and/or the controlled equipment, and determining that the corresponding instruction equipment and/or the controlled equipment changes the position of the instruction equipment and/or the controlled equipment.
9. The positional information-based device control apparatus according to claim 6, wherein the positional relationship between the instruction device and the target device includes a distance between the instruction device and the target device.
10. The apparatus control device based on position information according to claim 9, wherein the receiving unit is further configured to:
And receiving and storing the distances between the instruction equipment and all the controlled equipment.
11. An electronic device, comprising:
a memory for storing instructions; and
A processor for invoking the instructions stored in the memory to perform the location information based device control method of any of claims 1-5.
12. A computer-readable storage medium storing instructions that, when executed by a processor, perform the position information-based device control method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911129668.5A CN110989372B (en) | 2019-11-18 | 2019-11-18 | Device control method, device and system based on position information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911129668.5A CN110989372B (en) | 2019-11-18 | 2019-11-18 | Device control method, device and system based on position information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110989372A CN110989372A (en) | 2020-04-10 |
CN110989372B true CN110989372B (en) | 2024-05-24 |
Family
ID=70085064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911129668.5A Active CN110989372B (en) | 2019-11-18 | 2019-11-18 | Device control method, device and system based on position information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110989372B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112019895B (en) * | 2020-08-13 | 2023-04-18 | 北京小米移动软件有限公司 | Function operation control method, function operation control device, and storage medium |
CN112838968B (en) * | 2020-12-31 | 2022-08-05 | 青岛海尔科技有限公司 | Equipment control method, device, system, storage medium and electronic device |
CN113138559A (en) * | 2021-04-02 | 2021-07-20 | Oppo广东移动通信有限公司 | Device interaction method and device, electronic device and storage medium |
CN114488827A (en) * | 2021-12-27 | 2022-05-13 | 珠海格力电器股份有限公司 | Intelligent home early warning method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010041344A (en) * | 2008-08-05 | 2010-02-18 | Sharp Corp | Household electrical appliance control system |
CN108600059A (en) * | 2018-04-24 | 2018-09-28 | Oppo广东移动通信有限公司 | Apparatus control method and Related product |
CN109410943A (en) * | 2018-12-10 | 2019-03-01 | 珠海格力电器股份有限公司 | Voice control method and system of equipment and intelligent terminal |
CN110459221A (en) * | 2019-08-27 | 2019-11-15 | 苏州思必驰信息科技有限公司 | The method and apparatus of more equipment collaboration interactive voices |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030071117A1 (en) * | 2001-10-16 | 2003-04-17 | Meade William K. | System and method for determining priority among multiple mobile computing devices to control an appliance |
-
2019
- 2019-11-18 CN CN201911129668.5A patent/CN110989372B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010041344A (en) * | 2008-08-05 | 2010-02-18 | Sharp Corp | Household electrical appliance control system |
CN108600059A (en) * | 2018-04-24 | 2018-09-28 | Oppo广东移动通信有限公司 | Apparatus control method and Related product |
CN109410943A (en) * | 2018-12-10 | 2019-03-01 | 珠海格力电器股份有限公司 | Voice control method and system of equipment and intelligent terminal |
CN110459221A (en) * | 2019-08-27 | 2019-11-15 | 苏州思必驰信息科技有限公司 | The method and apparatus of more equipment collaboration interactive voices |
Also Published As
Publication number | Publication date |
---|---|
CN110989372A (en) | 2020-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11205427B2 (en) | Method, apparatus, system, device for controlling intelligent device and storage medium | |
EP3163569B1 (en) | Method and device for controlling a smart device by voice, computer program and recording medium | |
US10498873B2 (en) | Screen control method, apparatus, and non-transitory tangible computer readable storage medium | |
CN110989372B (en) | Device control method, device and system based on position information | |
US10613498B2 (en) | Method for controlling device by remote control device | |
CN111025920B (en) | Method, apparatus and computer readable storage medium for personalized automatic control device | |
EP3136793A1 (en) | Method and apparatus for awakening electronic device | |
EP2993582A1 (en) | Method, apparatus and device for upgrading an operating system of a terminal device | |
EP2991275A1 (en) | Making router management application compatible with router firmware | |
US20170171706A1 (en) | Device displaying method, apparatus, and storage medium | |
CN108803444A (en) | Control method, device and the storage medium of smart machine | |
JP2018501670A (en) | Method and apparatus for recognizing type of electronic device connected to smart outlet | |
US20180138933A1 (en) | Method and device for adjusting frequencies of intercom apparatuses | |
US20150288764A1 (en) | Method and apparatus for controlling smart terminal | |
US10111026B2 (en) | Detecting method and apparatus, and storage medium | |
US20170019482A1 (en) | Method and apparatus for downloading control program | |
EP3322227A1 (en) | Methods and apparatuses for controlling wireless connection, computer program and recording medium | |
CN111123716B (en) | Remote control method, remote control device, and computer-readable storage medium | |
EP4030790A1 (en) | Method and apparatus for generating semantic map, and readable storage medium | |
CN109522058B (en) | Wake-up method, device, terminal and storage medium | |
US11075811B2 (en) | Method and apparatus for device identification | |
CN107632285B (en) | Map creating and modifying method and device | |
CN106878654B (en) | Video communication method and device | |
WO2019028862A1 (en) | Drone control method and device, drone and core network device | |
CN111025921A (en) | Local automation control method, local automation control device and electronic equipment |
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 |