CN116880271A - Method and device for determining control equipment, electronic equipment and storage medium - Google Patents

Method and device for determining control equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN116880271A
CN116880271A CN202310820394.4A CN202310820394A CN116880271A CN 116880271 A CN116880271 A CN 116880271A CN 202310820394 A CN202310820394 A CN 202310820394A CN 116880271 A CN116880271 A CN 116880271A
Authority
CN
China
Prior art keywords
controlled
controller
determining
smaller
relative
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.)
Pending
Application number
CN202310820394.4A
Other languages
Chinese (zh)
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.)
Qingdao Guochuang Intelligent Home Appliance Research Institute Co ltd
Original Assignee
Qingdao Guochuang Intelligent Home Appliance Research Institute 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 Qingdao Guochuang Intelligent Home Appliance Research Institute Co ltd filed Critical Qingdao Guochuang Intelligent Home Appliance Research Institute Co ltd
Priority to CN202310820394.4A priority Critical patent/CN116880271A/en
Publication of CN116880271A publication Critical patent/CN116880271A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • 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/25Pc structure of the system
    • G05B2219/25257Microcontroller
    • 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

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application relates to the technical field of intelligent household appliances, and discloses a method for determining control equipment, which comprises the following steps: acquiring a relative distance and a relative angle between the controller and at least one device to be controlled under the condition that the position of the controller is changed; the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is determined to be the target control device. In this way, in the case where the target control apparatus needs to be determined from the plurality of apparatuses to be controlled, it is only necessary to move the controller so that the relative distance between the controller and the apparatus to be controlled, which is to be controlled, is smaller than the preset distance and the relative angle is smaller than the preset angle. The device to be controlled, which is desired to be controlled, can be determined as the target control device. In this way, the user does not need to know the detailed information of the name, model, etc. of the device. Thus, the target control device can be determined more conveniently. The application also discloses a device for determining the control equipment, the electronic equipment and a storage medium.

Description

Method and device for determining control equipment, electronic equipment and storage medium
Technical Field
The present application relates to the technical field of intelligent home appliances, and for example, to a method, an apparatus, an electronic device, and a storage medium for determining a control device.
Background
At present, with the intellectualization of life, more and more household appliances are residing in our life, such as televisions, electric fans, air conditioners and the like. Most of the electric appliances need to be controlled by a remote controller, and the electric appliances bring convenience and interest to users, meanwhile, the complicated operation caused by the various remote controllers, the poor distinction caused by the mess of the remote controllers and the like, and also bring inconvenience and trouble to the users. There are proposals in the prior art to control a plurality of home appliances using one remote controller.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
in the prior art, when the home appliance is controlled by switching the target, the connection between the remote controller and the original home appliance is disconnected, and then the model and name of the home appliance to be controlled are input into the remote controller. Thus, the operation is complicated.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the application and thus may include information that does not form the prior art that is already known to those of ordinary skill in the art.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows.
The embodiment of the disclosure provides a method for determining a control device, a method, a device, an electronic device and a storage medium for determining the control device, so that the control device can be determined more conveniently.
In some embodiments, the method for determining a control device is applied to a controller, and the method includes: acquiring a relative distance and a relative angle between the controller and at least one device to be controlled under the condition that the position of the controller is changed; the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is determined to be the target control device.
In some embodiments, obtaining the relative distance between the controller and the at least one device to be controlled comprises: and sending a ranging request signal to at least one device to be controlled, and triggering the device to be controlled to feed back a ranging response signal. And determining a time difference between the ranging request signal and the ranging response signal, and determining the relative distance between the equipment to be controlled and the controller according to the time difference.
In some embodiments, determining the relative distance between the device to be controlled and the controller from the time difference comprises: and calculating according to a first preset algorithm by using the time difference to obtain the relative distance between the equipment to be controlled and the controller.
In some embodiments, the controller includes a first UWB antenna unit and the second UWB antenna unit; acquiring a relative angle between a controller and at least one device to be controlled, comprising: the method comprises the steps of sending a first UWB data packet to at least one device to be controlled, and triggering the device to be controlled to feed back a second UWB data packet; acquiring an arrival phase difference of the second UWB data packet received by the first UWB antenna unit and the second UWB antenna unit; and acquiring a relative angle according to the arrival phase difference.
In some embodiments, obtaining the relative angle from the arrival phase difference includes: and calculating according to a second preset algorithm by using the arrival phase difference to obtain a relative angle.
In some embodiments, after determining that the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is the target control device, the method further includes: and when the voice command is received, sending a control command corresponding to the voice command to the target control equipment.
In some embodiments, after determining that the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is the target control device, the method further includes: and the controller sends the control instruction to the target control equipment under the condition that the control instruction sent by the user terminal is received.
In some embodiments, the apparatus for determining a control device is applied to a controller, the apparatus comprising: an acquisition module configured to acquire a relative distance and a relative angle between the controller and at least one device to be controlled in the case where the position of the controller is changed; the determining module is configured to determine the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, as the target control device.
In some embodiments, the electronic device comprises a processor and a memory storing program instructions, the processor being configured to perform the above-described method for determining a control device when the program instructions are run.
In some embodiments, the storage medium stores program instructions that, when executed, perform the method for determining a control device described above.
According to the method, the device, the electronic equipment and the storage medium for determining the control equipment, under the condition that the position of the controller is changed, the relative distance and the relative angle between the electronic equipment and at least one equipment to be controlled are obtained, the relative distance is smaller than the preset distance, and the equipment to be controlled, of which the relative angle is smaller than the preset angle, is determined to be the target control equipment. In this way, in the case where the target control apparatus needs to be determined from the plurality of apparatuses to be controlled, it is only necessary to move the controller so that the relative distance between the controller and the apparatus to be controlled, which is to be controlled, is smaller than the preset distance and the relative angle is smaller than the preset angle. The device to be controlled, which is desired to be controlled, can be determined as the target control device. In this way, the user does not need to know the detailed information of the name, model, etc. of the device. Thus, the target control device can be determined more conveniently.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which like reference numerals refer to similar elements, and in which:
FIG. 1 is a schematic diagram of a method for determining a control device provided by an embodiment of the present disclosure;
FIG. 2 is a schematic illustration of a scenario for a method for determining a control device provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another method for determining a control device provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of another method for determining a control device provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an apparatus for determining a control device provided by an embodiment of the present disclosure;
fig. 6 is a schematic diagram of an electronic device provided by an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and techniques of the disclosed embodiments can be understood in more detail, a more particular description of the embodiments of the disclosure, briefly summarized below, may be had by reference to the appended drawings, which are not intended to be limiting of the embodiments of the disclosure. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawing.
The terms first, second and the like in the description and in the claims of the embodiments of the disclosure and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe embodiments of the present disclosure. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The term "plurality" means two or more, unless otherwise indicated.
In the embodiment of the present disclosure, the character "/" indicates that the front and rear objects are an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes an object, meaning that there may be three relationships. For example, a and/or B, represent: a or B, or, A and B.
The term "corresponding" may refer to an association or binding relationship, and the correspondence between a and B refers to an association or binding relationship between a and B.
In the embodiment of the disclosure, the intelligent home appliance refers to a home appliance formed after a microprocessor, a sensor technology and a network communication technology are introduced into the home appliance, and has the characteristics of intelligent control, intelligent sensing and intelligent application, the operation process of the intelligent home appliance often depends on the application and processing of modern technologies such as the internet of things, the internet and an electronic chip, for example, the intelligent home appliance can realize remote control and management of a user on the intelligent home appliance by connecting the electronic appliance.
In the disclosed embodiment, the terminal device refers to an electronic device with a wireless connection function, and the terminal device can be in communication connection with the intelligent household electrical appliance through connecting with the internet, or can be in communication connection with the intelligent household electrical appliance through Bluetooth, wifi and other modes. In some embodiments, the terminal device is, for example, a mobile device, a computer, or an in-vehicle device built into a hover vehicle, etc., or any combination thereof. The mobile device may include, for example, a cell phone, smart home device, wearable device, smart mobile device, virtual reality device, etc., or any combination thereof, wherein the wearable device includes, for example: smart watches, smart bracelets, pedometers, etc.
As shown in conjunction with fig. 1, an embodiment of the present disclosure provides a method for determining a control device, applied to a controller, the method including:
in step S101, in the case where the position of the controller is changed, the controller acquires a relative distance and a relative angle with at least one device to be controlled.
In step S102, the controller determines the device to be controlled, whose relative distance is smaller than the preset distance and whose relative angle is smaller than the preset angle, as the target control device.
By adopting the method for determining the control device provided by the embodiment of the disclosure, under the condition that the position of the controller is changed, the relative distance and the relative angle between the controller and at least one device to be controlled are acquired, and the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is determined as the target control device. In this way, in the case where the target control apparatus needs to be determined from the plurality of apparatuses to be controlled, it is only necessary to move the controller so that the relative distance between the controller and the apparatus to be controlled, which is to be controlled, is smaller than the preset distance and the relative angle is smaller than the preset angle. The device to be controlled, which is desired to be controlled, can be determined as the target control device. In this way, the user does not need to know the detailed information of the name, model, etc. of the device. Thus, the target control device can be determined more conveniently.
Alternatively, as shown in connection with fig. 2, embodiments of the present disclosure provide a scenario diagram of a method for determining a control device. A plurality of devices to be controlled, such as an air conditioner 202, a television 203, and an air cleaner 204, are provided in the room. By moving the position of the controller 201, the target control device can be easily determined from among the plurality of devices to be controlled. In some embodiments, the relative distance between the air conditioner and the controller is less than a preset distance, and the relative angle between the air conditioner and the controller is less than a preset angle. At this time, the air conditioner is the target control device. At this time, the position of the controller is moved so that the relative distance between the air conditioner and the controller is unchanged, but the relative angle between the air conditioner and the controller is greater than or equal to the preset angle. Meanwhile, the relative distance between the television and the controller is smaller than the preset distance, and the relative angle between the television and the controller is smaller than the preset angle. At this time, the target control device is switched to the television by the air conditioner. Therefore, by adopting the method for determining the control device provided by the embodiment of the disclosure, the target control device can be switched more conveniently.
Optionally, acquiring a relative distance between the controller and at least one device to be controlled includes: and sending a ranging request signal to at least one device to be controlled, and triggering the device to be controlled to feed back a ranging response signal. And determining the time difference between the ranging request signal and the ranging response signal, and determining the relative distance between the equipment to be controlled and the controller according to the time difference. In some embodiments, the ranging response signal includes an identification number of the device to be controlled.
Optionally, determining the relative distance between the device to be controlled and the controller according to the time difference includes: and calculating by utilizing the time difference according to a first preset algorithm to obtain the relative distance between the equipment to be controlled and the controller. In this way, the relative distance between the device to be controlled and the controller can be obtained.
In some embodiments, the relative distance between the device to be controlled and the controller is obtained by calculating s= (Δt/2) ×c. Wherein S is the relative distance between the equipment to be controlled and the controller. Δt is the time difference. C is the propagation velocity of the ranging response signal in air.
Optionally, the controller includes a first UWB (ultra wideband) antenna unit and a second UWB antenna unit; acquiring a relative angle between a controller and at least one device to be controlled, comprising: and sending the first UWB data packet to at least one device to be controlled, and triggering the device to be controlled to feed back the second UWB data packet. And acquiring an arrival phase difference of the second UWB data packet received by the first UWB antenna unit and the second UWB antenna unit. And acquiring a relative angle according to the arrival phase difference. In this way, the relative angle between the device to be controlled and the controller can be obtained.
Optionally, acquiring the relative angle according to the arrival phase difference includes: and calculating by utilizing the arrival phase difference according to a second preset algorithm to obtain the relative angle.
In some embodiments, the relative angle is obtained by calculating θ=arcos ((ψλ)/(2ρd)). Wherein θ is the relative angle. ψ is the arrival phase difference. Lambda is the wavelength of the received radio frequency signal. d is the spacing between the first UWB antenna unit and the second UWB antenna unit.
Optionally, after determining the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, as the target control device, the method further includes: and when the voice command is received, sending a control command corresponding to the voice command to the target control equipment.
As shown in conjunction with fig. 3, an embodiment of the present disclosure provides a method for determining a control device, applied to a controller, the method including:
in step S301, in the case where the position of the controller is changed, the controller acquires a relative distance and a relative angle with at least one device to be controlled.
In step S302, the controller determines the device to be controlled, whose relative distance is smaller than the preset distance and whose relative angle is smaller than the preset angle, as the target control device.
In step S302, when a voice command is received, the controller transmits a control command corresponding to the voice command to the target control device.
By adopting the method for determining the control device provided by the embodiment of the disclosure, under the condition that the position of the controller is changed, the relative distance and the relative angle between the controller and at least one device to be controlled are acquired, and the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is determined as the target control device. In this way, in the case where the target control apparatus needs to be determined from the plurality of apparatuses to be controlled, it is only necessary to move the controller so that the relative distance between the controller and the apparatus to be controlled, which is to be controlled, is smaller than the preset distance and the relative angle is smaller than the preset angle. The device to be controlled, which is desired to be controlled, can be determined as the target control device. Meanwhile, under the condition that the voice command is received, a control command corresponding to the voice command is directly sent to the target control equipment. In this way, the target control device can be more conveniently determined and controlled.
In some embodiments, the voice command is power on. The controller sends a start-up instruction to the target control device,
in some embodiments, after determining that the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is the target control device, the method further includes: and the controller sends the control instruction to the target control equipment under the condition that the control instruction sent by the user terminal is received. Further, the user terminal and the controller are communicated through WIFI or infrared.
As shown in connection with fig. 4, an embodiment of the present disclosure provides a method for determining a control device, applied to a controller, the method including:
in step S401, in the case where the position of the controller is changed, the controller acquires a relative distance and a relative angle with at least one device to be controlled.
In step S402, the controller determines the device to be controlled, whose relative distance is smaller than the preset distance and whose relative angle is smaller than the preset angle, as the target control device.
In step S402, when a control instruction sent by the user terminal is received, the controller sends the control instruction to the target control device.
By adopting the method for determining the control device provided by the embodiment of the disclosure, under the condition that the position of the controller is changed, the relative distance and the relative angle between the controller and at least one device to be controlled are acquired, and the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is determined as the target control device. In this way, in the case where the target control apparatus needs to be determined from the plurality of apparatuses to be controlled, it is only necessary to move the controller so that the relative distance between the controller and the apparatus to be controlled, which is to be controlled, is smaller than the preset distance and the relative angle is smaller than the preset angle. The device to be controlled, which is desired to be controlled, can be determined as the target control device. Meanwhile, under the condition that a control instruction sent by the user terminal is received, the control instruction is directly sent to the target control equipment. In this way, the target control device can be more conveniently determined and controlled.
As shown in connection with fig. 5, an embodiment of the present disclosure provides an apparatus 500 for determining a control device, for use with a controller, comprising an acquisition module 501 and a determination module 502. The acquisition module 501 is configured to acquire a relative distance and a relative angle between the controller and at least one device to be controlled in the event that the position of the controller is changed. The determining module 502 is configured to determine a device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, as the target control device.
By adopting the device for determining the control equipment, provided by the embodiment of the disclosure, under the condition that the position of the controller is changed, the relative distance and the relative angle between the device to be controlled and at least one device to be controlled are acquired, and the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is determined as the target control equipment. In this way, in the case where the target control apparatus needs to be determined from the plurality of apparatuses to be controlled, it is only necessary to move the controller so that the relative distance between the controller and the apparatus to be controlled, which is to be controlled, is smaller than the preset distance and the relative angle is smaller than the preset angle. The device to be controlled, which is desired to be controlled, can be determined as the target control device. In this way, the user does not need to know the detailed information of the name, model, etc. of the device. Thus, the target control device can be determined more conveniently.
Optionally, the obtaining module is configured to obtain the relative distance between the controller and the at least one device to be controlled by: and sending a ranging request signal to at least one device to be controlled, and triggering the device to be controlled to feed back a ranging response signal. And determining the time difference between the ranging request signal and the ranging response signal, and determining the relative distance between the equipment to be controlled and the controller according to the time difference.
Optionally, determining the relative distance between the device to be controlled and the controller according to the time difference includes: and calculating by utilizing the time difference according to a first preset algorithm to obtain the relative distance between the equipment to be controlled and the controller.
Optionally, the controller includes a first UWB antenna unit and a second UWB antenna unit; the acquisition module is configured to acquire a relative angle between the controller and the at least one device to be controlled by: and sending the first UWB data packet to at least one device to be controlled, and triggering the device to be controlled to feed back the second UWB data packet. And acquiring an arrival phase difference of the second UWB data packet received by the first UWB antenna unit and the second UWB antenna unit. And acquiring a relative angle according to the arrival phase difference.
Optionally, acquiring the relative angle according to the arrival phase difference includes: and calculating by utilizing the arrival phase difference according to a second preset algorithm to obtain the relative angle.
Optionally, the apparatus for determining a control device further comprises: and the control module is configured to send a control instruction corresponding to the voice instruction to the target control equipment under the condition that the voice instruction is received.
Optionally, the control module is further configured to send the control instruction to the target control device when receiving the control instruction sent by the user terminal.
As shown in connection with fig. 6, an embodiment of the present disclosure provides an electronic device 600 that includes a processor (processor) 601 and a memory (memory) 602. Optionally, the apparatus may further include a communication interface (communication interface) 603 and a bus 604. The processor 601, the communication interface 603, and the memory 602 may communicate with each other via the bus 604. The communication interface 603 may be used for information transfer. The processor 601 may invoke logic instructions in the memory 602 to perform the method for determining a control device of the above-described embodiments.
By adopting the electronic equipment provided by the embodiment of the disclosure, under the condition that the position of the controller is changed, the relative distance and the relative angle between the electronic equipment and at least one equipment to be controlled are acquired, and the equipment to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is determined as the target control equipment. In this way, in the case where the target control apparatus needs to be determined from the plurality of apparatuses to be controlled, it is only necessary to move the controller so that the relative distance between the controller and the apparatus to be controlled, which is to be controlled, is smaller than the preset distance and the relative angle is smaller than the preset angle. The device to be controlled, which is desired to be controlled, can be determined as the target control device. In this way, the user does not need to know the detailed information of the name, model, etc. of the device. Thus, the target control device can be determined more conveniently.
Further, the logic instructions in the memory 602 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product.
The memory 602 is a computer readable storage medium that can be used to store a software program, a computer executable program, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 601 performs functional applications as well as data processing by running program instructions/modules stored in the memory 602, i.e. implements the method for determining a control device in the above-described embodiments.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the terminal device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory.
The disclosed embodiments provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for determining a control device.
The computer readable storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
Embodiments of the present disclosure may be embodied in a software product stored on a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of a method according to embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium including: a plurality of media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, randomAccessMemory), a magnetic disk, or an optical disk, or a transitory storage medium.
The above description and the drawings illustrate embodiments of the disclosure sufficiently to enable those skilled in the art to practice them. Other embodiments may involve structural, logical, electrical, process, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in, or substituted for, those of others. Moreover, the terminology used in the present application is for the purpose of describing embodiments only and is not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a," "an," and "the" (the) are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this disclosure is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, when used in the present disclosure, the terms "comprises," "comprising," and/or variations thereof, mean that the recited features, integers, steps, operations, elements, and/or components are present, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, the inclusion of an element defined by the phrase "comprising one" for determining a control device does not exclude the presence of additional identical elements in a process, method or device comprising the element. In this context, each embodiment may be described with emphasis on the differences from the other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method sections disclosed in the embodiments, the description of the method sections may be referred to for relevance.
Those of skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. The skilled artisan may use different methods for each particular application to achieve the described functionality, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments disclosed herein, the disclosed methods, articles of manufacture (including but not limited to devices, apparatuses, etc.) may be practiced in other ways. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units may be merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to implement the present embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than that disclosed in the description, and sometimes no specific order exists between different operations or steps. For example, two consecutive operations or steps may actually be performed substantially in parallel, they may sometimes be performed in reverse order, which may be dependent on the functions involved. Each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (10)

1. A method for determining a control device, characterized by being applied to a controller, the method comprising:
acquiring a relative distance and a relative angle between the controller and at least one device to be controlled under the condition that the position of the controller is changed;
the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, is determined to be the target control device.
2. The method of claim 1, wherein obtaining the relative distance between the controller and the at least one device to be controlled comprises:
sending a ranging request signal to at least one device to be controlled, and triggering the device to be controlled to feed back a ranging response signal;
and determining a time difference between the ranging request signal and the ranging response signal, and determining the relative distance between the equipment to be controlled and the controller according to the time difference.
3. The method according to claim 2, wherein determining the relative distance between the device to be controlled and the controller from the time difference comprises:
and calculating according to a first preset algorithm by using the time difference to obtain the relative distance between the equipment to be controlled and the controller.
4. The method of claim 1, wherein the controller comprises a first UWB antenna unit and the second UWB antenna unit; acquiring a relative angle between a controller and at least one device to be controlled, comprising:
the method comprises the steps of sending a first UWB data packet to at least one device to be controlled, and triggering the device to be controlled to feed back a second UWB data packet;
acquiring an arrival phase difference of the second UWB data packet received by the first UWB antenna unit and the second UWB antenna unit;
and acquiring a relative angle according to the arrival phase difference.
5. The method of claim 4, wherein obtaining the relative angle based on the arrival phase difference comprises:
and calculating according to a second preset algorithm by using the arrival phase difference to obtain a relative angle.
6. The method according to claim 1, wherein after determining the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, as the target control device, further comprises:
and when the voice command is received, sending a control command corresponding to the voice command to the target control equipment.
7. The method according to claim 6, further comprising, after determining, as the target control device, a device to be controlled having a relative distance smaller than a preset distance and a relative angle smaller than the preset angle: and the controller sends the control instruction to the target control equipment under the condition that the control instruction sent by the user terminal is received.
8. An apparatus for determining a control device, characterized by being applied to a controller, the apparatus comprising:
an acquisition module configured to acquire a relative distance and a relative angle between the controller and at least one device to be controlled in the case where the position of the controller is changed;
the determining module is configured to determine the device to be controlled, of which the relative distance is smaller than the preset distance and the relative angle is smaller than the preset angle, as the target control device.
9. An electronic device comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for determining a control device according to any of claims 1 to 7 when the program instructions are run.
10. A storage medium storing program instructions which, when executed, perform the method for determining a control device according to any one of claims 1 to 7.
CN202310820394.4A 2023-07-05 2023-07-05 Method and device for determining control equipment, electronic equipment and storage medium Pending CN116880271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310820394.4A CN116880271A (en) 2023-07-05 2023-07-05 Method and device for determining control equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310820394.4A CN116880271A (en) 2023-07-05 2023-07-05 Method and device for determining control equipment, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116880271A true CN116880271A (en) 2023-10-13

Family

ID=88267336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310820394.4A Pending CN116880271A (en) 2023-07-05 2023-07-05 Method and device for determining control equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116880271A (en)

Similar Documents

Publication Publication Date Title
EP3399702A1 (en) Smart watch-based smart home control method and smart watch
CN105553929A (en) Vehicle state information adjustment method and device and mobile terminal
CN111611573B (en) Data processing method, related equipment and medium for realizing terminal equipment switching
CN113595838A (en) Information processing method, system and device
JP2002312145A5 (en)
WO2023024617A1 (en) Method and apparatus for network distribution of device, server, smart household appliance, and terminal device
CN105334809A (en) Automatic control method and device
CN114484809A (en) Method, system, device, server and medium for determining air conditioner mode
CN114253145A (en) Control method and control device for household appliance and household appliance control system
CN113405249A (en) Control method and device for air conditioner, air conditioner and storage medium
CN116880271A (en) Method and device for determining control equipment, electronic equipment and storage medium
CN113932422B (en) Test method, test device and control device for air conditioner
CN112255922A (en) Method for pushing information of household appliance, household appliance and mobile terminal
CN113251620B (en) Method and device for controlling primary and secondary air conditioners and intelligent air conditioner
CN113311745B (en) Method, system, device and equipment for product monitoring
CN113518021A (en) Method, system, device and equipment for binding user account
JP2019096981A (en) Gateway and apparatus setting system
CN113380250B (en) Information processing method, device and system
CN115183380B (en) Method, device, controller and storage medium for multi-terminal control of air conditioning system
WO2024131058A1 (en) Method and apparatus for controlling smart device, and smart device
CN117850838A (en) Method and system for firmware upgrade, electronic device, remote controller and storage medium
CN117989678A (en) Method and device for controlling bus system, bus system and storage medium
CN116560272A (en) Control method and device for control panel, control panel and storage medium
CN115111737A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN116594721A (en) Method and device for page display, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination