CN112654040A - Method and device for associating equipment, processor and nonvolatile storage medium - Google Patents

Method and device for associating equipment, processor and nonvolatile storage medium Download PDF

Info

Publication number
CN112654040A
CN112654040A CN202011435801.2A CN202011435801A CN112654040A CN 112654040 A CN112654040 A CN 112654040A CN 202011435801 A CN202011435801 A CN 202011435801A CN 112654040 A CN112654040 A CN 112654040A
Authority
CN
China
Prior art keywords
preset
equipment
identification code
condition
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011435801.2A
Other languages
Chinese (zh)
Other versions
CN112654040B (en
Inventor
陈杰
梁天永
郑晓欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xaircraft Technology Co Ltd
Original Assignee
Guangzhou Xaircraft Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xaircraft Technology Co Ltd filed Critical Guangzhou Xaircraft Technology Co Ltd
Priority to CN202011435801.2A priority Critical patent/CN112654040B/en
Publication of CN112654040A publication Critical patent/CN112654040A/en
Application granted granted Critical
Publication of CN112654040B publication Critical patent/CN112654040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a method and a device for associating equipment, a processor and a nonvolatile storage medium. Wherein, the method comprises the following steps: acquiring an identification code of a device to be associated, wherein the identification code is used for uniquely identifying the device to be associated; acquiring state information of the equipment to be associated according to the identification code; and under the condition that the state information meets the preset condition, associating the identification code of the equipment to be associated with the preset object so as to establish the binding relationship between the equipment to be associated and the control equipment corresponding to the preset object. The invention solves the technical problem of complex operation steps of associated equipment in the related art.

Description

Method and device for associating equipment, processor and nonvolatile storage medium
Technical Field
The invention relates to the field of intelligent control, in particular to a method and a device for associating equipment, a processor and a nonvolatile storage medium.
Background
With the development of computer technology, people can automatically complete tasks by intelligently controlling equipment in daily life or work. People bind the controlled device and the control device (such as a remote controller, a mobile phone and the like) and operate the control device to control the controlled device or manage information of the controlled device.
In the prior art, a controlled device can be bound with a control device when the controlled device leaves a factory, and in this way, one control device can only be bound with one controlled device, and cannot be bound through a client, so that the flexibility is poor.
Therefore, in the prior art, after the controlled device is networked, a temporary two-dimensional code is generated, and then the controlled device is bound with the control device in a two-dimensional code scanning mode by the control device.
In addition, in the prior art, after the controlled device is started, the controlled device may be controlled to send out a hot spot, after the control device is connected to the hot spot, the control device establishes a connection with the controlled device, and then a Wi-Fi, an SSID (Service Set Identifier) and a password, which are available nearby, are input on a display interface of the control device, so that the controlled device is connected to the internet and binding is completed.
Therefore, the prior art has the problems of poor flexibility and complex operation steps in the process of associating the equipment.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a processor and a nonvolatile storage medium for associating equipment, which are used for at least solving the technical problem that the operation steps of the associated equipment in the related art are complex.
According to an aspect of an embodiment of the present invention, there is provided a method of associating devices, including: acquiring an identification code of a device to be associated, wherein the identification code is used for uniquely identifying the device to be associated; acquiring state information of the equipment to be associated according to the identification code; and under the condition that the state information meets the preset condition, associating the identification code of the equipment to be associated with the preset object so as to establish the binding relationship between the equipment to be associated and the preset object.
Further, the method of associating devices further comprises: after acquiring the state information of the equipment to be associated according to the identification code, detecting whether the distance between the equipment to be associated and the control equipment corresponding to the preset object is smaller than a preset threshold value or not; determining that the state information meets a preset condition under the condition that the distance is smaller than a preset threshold value; and under the condition that the distance is greater than or equal to the preset threshold value, determining that the state information does not meet the preset condition.
Further, the method of associating devices further comprises: determining a first distance between the equipment to be associated and the control equipment according to the position information of the equipment to be associated and the control equipment, and determining whether the first distance is smaller than a preset threshold value; and/or detecting whether the control device detects a preset signal, wherein the distance is determined to be smaller than a preset threshold value under the condition that the control device detects the preset signal; and/or detecting whether the equipment to be associated identifies a preset graphic code generated by the control equipment, wherein the distance is determined to be smaller than a preset threshold value under the condition that the equipment to be associated identifies the preset graphic code; and/or detecting whether the control equipment receives sound information output by the equipment to be associated, wherein under the condition that the control equipment receives the sound information, the distance is determined to be smaller than a preset threshold value.
Further, the method of associating devices further comprises: after the state information of the device to be associated is acquired according to the identification code, whether the control device corresponding to the preset object acquires preset information displayed on a display screen of the device to be associated is detected, wherein the state information is determined to meet a preset condition under the condition that the control device acquires the preset information.
Further, the method of associating devices further comprises: when the distance is smaller than a preset threshold value and the equipment to be associated is in a starting-up state, determining that the state information meets a preset condition; and determining that the state information does not meet the preset condition under the condition that the distance is greater than or equal to the preset threshold value and/or the equipment to be associated is in a shutdown state.
Further, the method of associating devices further comprises: when the control equipment acquires preset information and the equipment to be associated is in a starting-up state, determining that the state information meets a preset condition; and under the condition that the control equipment does not acquire the preset information and/or the equipment to be associated is in a shutdown state, determining that the state information does not meet the preset condition.
Further, the method of associating devices further comprises: after the identification code of the equipment to be associated is associated with the preset object, receiving a sharing control instruction; determining an object to be shared according to the sharing control instruction; and sending the identification code of the device to be associated to the object to be shared so that the control device corresponding to the object to be shared controls the device to be associated.
Further, the method of associating devices further comprises: after the identification code of the equipment to be associated is sent to the object to be shared, response information returned by the object to be shared is received, wherein the response information represents that the object to be shared and the identification code of the equipment to be associated are in an associated state; and determining the authority to be shared from the management authority of the equipment to be associated, and sending the authority to be shared to the object to be shared.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for associating devices, including: the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring an identification code of the device to be associated, and the identification code is used for uniquely identifying the device to be associated; the second acquisition module is used for acquiring the state information of the equipment to be associated according to the identification code; and the association module is used for associating the identification code of the equipment to be associated with the preset object under the condition that the state information meets the preset condition so as to establish the binding relationship between the equipment to be associated and the preset object.
According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to execute the above method of associating devices when running.
According to another aspect of the embodiments of the present invention, there is also provided a processor for executing a program, where the program is configured to execute the method of associating devices described above when executed.
In the embodiment of the invention, a mode of binding equipment based on the identification code of the equipment is adopted, after the identification code of the equipment to be associated is obtained, the state information of the equipment to be associated is obtained through the identification code, and then the binding relation between the equipment to be associated and a preset object is established under the condition that the state information meets the preset condition, wherein the identification code is used for uniquely identifying the equipment to be associated.
In the process, the identification code is the only identification of the equipment to be associated, so that in the application, the identification code of the equipment to be associated is a fixed identification code, and the problem of complex operation caused by the fact that the equipment to be associated outputs the temporary identification code when the equipment to be associated is associated can be solved. Moreover, because the identification code of the device to be associated is a fixed identification code, the device to be associated without the display screen can be bound with the control device, so that the production cost of the device to be associated is reduced. In addition, in the application, only when the state information of the device to be associated meets the preset condition, the device to be associated and the preset object are bound, so that the device to be associated and the preset object corresponding to the illegal user are bound after the illegal user cracks the identification code of the device to be associated. Finally, in the application, in the process of binding the device to be associated and the control device, only the operation is performed according to the prompt information corresponding to the state of the device to be associated, and the operation steps are simple.
Therefore, the scheme provided by the application achieves the purpose of binding the equipment to be associated with the control equipment, so that the technical effect of simplifying the operation steps of binding the equipment to be associated with the control equipment is achieved, and the technical problem that the operation steps of the associated equipment are complex in the related art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of associating devices according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative device add-on interface according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative device add-on interface according to an embodiment of the present invention;
FIG. 4 is an interface schematic of an alternative opening device according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an alternative undetected device interface in accordance with an embodiment of the present invention;
FIG. 6 is a schematic diagram of an interface for an alternative successful device addition according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an alternative setup device information according to an embodiment of the invention;
fig. 8 is a schematic diagram of an apparatus for associating devices according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided a method embodiment of an associated apparatus, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flowchart of a method for associating devices according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, acquiring an identification code of the equipment to be associated, wherein the identification code is used for uniquely identifying the equipment to be associated.
In step S102, the device to be associated may be an unmanned device, such as an unmanned aerial vehicle, an unmanned ship, or the like, or may be a device having the same hardware configuration as the unmanned device. For convenience of description, the following description is given by taking the device to be associated as an unmanned aerial vehicle. In addition, the identification code includes at least one of: the device comprises a graphic code and a serial number, wherein the graphic code and/or the serial number are/is arranged at a preset position of the device to be associated and/or arranged on a third-party device. Optionally, the graphic code may be, but is not limited to, a two-dimensional code, a barcode, and the like, and the serial number may be a number sequence, or a sequence formed by combining numbers and letters, which is not specifically limited in this application.
In addition, in this application, the identification code can be fixed and printed on the equipment of treating to be correlated with, for example, on the data plate of the unmanned aerial vehicle fuselage. In addition, the identification code may be provided on a third-party device, for example, the identification code may be displayed on a computer, and the user may scan or input the identification code into the control device through a control device (e.g., a mobile phone) to control the device to acquire the related information of the device to be associated.
In an alternative embodiment, the user queries a two-dimensional code web page of a purchased drone (i.e., a device to be associated), at this time, the user may scan a two-dimensional code on a two-dimensional code website through the mobile phone client to obtain related information of the drone, for example, the user scans the two-dimensional code through a display interface of the mobile phone client shown in fig. 2.
In addition, the user can also input the serial number to the control device, for example, after the user clicks the "add by serial number" button in fig. 2, the mobile phone client displays the interface of the add by serial number device shown in fig. 3, in which the user can input the serial number into the mobile phone through the virtual keyboard. Optionally, this serial number can set up on the data plate of unmanned aerial vehicle fuselage, also can show below etc. of two-dimensional code pattern on the two-dimensional code website.
And step S104, acquiring the state information of the equipment to be associated according to the identification code.
In step S104, the status information of the device to be associated at least includes: switching on and shutting down state, detection state, wherein, the switching on and shutting down state includes: a power-on state and a power-off state, the detection state comprising: the device association method comprises a first detection state and a second detection state, wherein the first detection state represents that the device to be associated is detected, and the second detection state represents that the device to be associated is not detected.
In an optional embodiment, after obtaining the identification code, the control device may obtain, from the server, state information of the device to be associated corresponding to the identification code, and when it is determined that the device to be associated is in the shutdown state according to the state information, a display interface of the client in the control device pops up an interface of the startup device shown in fig. 4, and when the user inputs a serial number of the device to be associated and clicks a startup button, the device to be associated is automatically started. In addition, when it is determined that the device to be associated is in the second detection state according to the state information, for example, when the device to be associated is not detected, the display interface of the client in the control device pops up the interface of the undetected device shown in fig. 5.
And step S106, associating the identification code of the equipment to be associated with the preset object under the condition that the state information meets the preset condition so as to establish the binding relationship between the equipment to be associated and the preset object.
In step S106, the preset object may be, but is not limited to, an account, and the device to be associated and the account may be bound through step S106, so that the user may manage the associated device under the account through the account, for example, share the associated device with other users. After the device to be associated is bound with the preset object, a display interface of the client of the control device displays an interface, shown in fig. 6, where the device is successfully added.
In some embodiments, the control device corresponding to the preset object may be a remote control device with a display screen, or a mobile terminal (e.g., a smart phone or a smart computer), and the control device may manage devices under the account name of the preset object by operating the client.
Further, after the device to be associated is bound with the account, the user having the account may view and/or set the device information of the associated device through the client, as shown in fig. 7.
Based on the schemes defined in the above steps S102 to S106, it can be known that, in the embodiment of the present invention, a method of performing device binding based on an identification code of a device is adopted, after the identification code of the device to be associated is acquired, state information of the device to be associated is acquired through the identification code, and then a binding relationship between the device to be associated and a preset object is established when the state information meets a preset condition, where the identification code is used for uniquely identifying the device to be associated.
It is easy to note that, in the above-mentioned process, the identification code is the only identification of the device to be associated, so in this application, the identification code of the device to be associated is a fixed identification code, thereby avoiding the problem of complicated operation caused by the need of outputting the temporary identification code by the device to be associated when associating the device to be associated. Moreover, because the identification code of the device to be associated is a fixed identification code, the device to be associated without the display screen can be bound with the control device, so that the production cost of the device to be associated is reduced. In addition, in the application, only when the state information of the device to be associated meets the preset condition, the device to be associated and the preset object are bound, so that the device to be associated and the preset object corresponding to the illegal user are bound after the illegal user cracks the identification code of the device to be associated. Finally, in the application, in the process of binding the device to be associated and the control device, only the operation is performed according to the prompt information corresponding to the state of the device to be associated, and the operation steps are simple.
Therefore, the scheme provided by the application achieves the purpose of binding the equipment to be associated with the control equipment, so that the technical effect of simplifying the operation steps of binding the equipment to be associated with the control equipment is achieved, and the technical problem that the operation steps of the associated equipment are complex in the related art is solved.
In an optional embodiment, after the state information of the device to be associated is acquired, whether the state information of the device to be associated meets a preset condition may be determined according to a distance between the device to be associated and the control device corresponding to the preset object.
Specifically, whether the distance between the device to be associated and the control device corresponding to the preset object is smaller than a preset threshold value is detected; determining that the state information meets a preset condition under the condition that the distance is smaller than a preset threshold value; and under the condition that the distance is greater than or equal to the preset threshold value, determining that the state information does not meet the preset condition.
In an alternative embodiment, it may be determined whether the distance between the device to be associated and the control device is less than a preset threshold value by any one or more of:
the first method is as follows: determining a first distance between the equipment to be associated and the control equipment according to the position information of the equipment to be associated and the control equipment, and determining whether the first distance is smaller than a preset threshold value. And determining that the distance between the equipment to be associated and the control equipment is smaller than a preset threshold value under the condition that the distance between the equipment to be associated and the control equipment corresponding to the preset object is within a preset range. For example, if the distance between the drone and the mobile phone exceeds a preset threshold (i.e., a first distance), it is determined that the mobile phone does not detect the drone, at this time, the mobile phone client displays the interface shown in fig. 5, and if the distance between the drone and the mobile phone is within the preset threshold, it is determined that the mobile phone detects the drone. For another example, the unmanned aerial vehicle is provided with a radar sensor, the display interface of the mobile phone client prompts the user to place a palm at the position 10cm away from the head of the unmanned aerial vehicle, and if the palm of the user is sensed by the radar sensor provided on the unmanned aerial vehicle, it is determined that the unmanned aerial vehicle is detected by the mobile phone. For another example, the mobile phone has a Near Field Communication (NFC) function, and when the mobile phone is close to the drone, if the mobile phone can recognize correct NFC information, it is determined that the mobile phone has detected the drone.
The second method comprises the following steps: and detecting whether the control equipment detects a preset signal or not, wherein under the condition that the control equipment detects the preset signal, the distance is determined to be smaller than a preset threshold value, and at the moment, the control equipment is determined to detect the equipment to be associated. Wherein, the preset signal at least comprises one of the following signals: bluetooth signal, WIFI signal. For example, the unmanned aerial vehicle sends a bluetooth signal using a special wireless protocol, and if the mobile phone searches for the bluetooth signal, it can be determined that the distance between the mobile phone and the unmanned aerial vehicle is less than a preset threshold, and the mobile phone can detect the unmanned aerial vehicle, that is, the control device detects the device to be associated. For another example, the unmanned aerial vehicle sends a WIFI signal using a special wireless protocol, and if the mobile phone searches for the WIFI signal, it can be determined that the distance between the mobile phone and the unmanned aerial vehicle is less than a preset threshold, and the mobile phone can detect the unmanned aerial vehicle, that is, the control device can detect the device to be associated.
The third method comprises the following steps: and detecting whether the equipment to be associated identifies a preset graphic code generated by the control equipment, wherein the distance is determined to be smaller than a preset threshold value under the condition that the equipment to be associated identifies the preset graphic code. For example, the unmanned aerial vehicle is provided with a camera, the mobile client generates a temporary two-dimensional code (namely the preset graphic code), and if the unmanned aerial vehicle can recognize the temporary two-dimensional code generated by the mobile client, it is determined that the distance between the unmanned aerial vehicle and the mobile phone is smaller than a preset threshold value, and the mobile phone can detect the unmanned aerial vehicle.
The method is as follows: whether the control equipment receives sound information output by the equipment to be associated is detected, wherein under the condition that the control equipment receives the sound information, the distance is determined to be smaller than a preset threshold value. For example, a voice content is continuously played by the sound output device of the unmanned aerial vehicle, the voice content may include characters and/or numbers, etc., the user inputs the characters and/or numbers into the client of the mobile phone, and then it is determined that the distance between the mobile phone and the unmanned aerial vehicle is less than a preset threshold, and the mobile phone can detect the unmanned aerial vehicle.
It should be noted that, when any one of the above conditions is not satisfied between the device to be associated and the control device, it is determined that the control device cannot detect the device to be associated. When the control device cannot detect the device to be associated, second prompt information is generated, where the second prompt information is used to prompt that the device to be associated is not detected, for example, a display interface of the device not detected shown in fig. 5.
In addition, whether the state information of the equipment to be associated meets the preset condition or not can be determined by combining the distance between the control equipment and the equipment to be associated and the on-off state of the equipment to be associated, namely the state information meets the preset condition under the condition that the distance is smaller than a preset threshold value and the equipment to be associated is in the on-off state; and determining that the state information does not meet the preset condition under the condition that the distance is greater than or equal to the preset threshold value and/or the equipment to be associated is in a shutdown state. For example, with regard to the second manner, only when the device to be associated is in the power-on state and the control device can receive the preset signal sent by the device to be associated, it is determined that the state information of the device to be associated satisfies the preset condition, and if not, it is determined that the state information of the device to be associated does not satisfy the preset condition.
In another optional embodiment, after the state information of the device to be associated is acquired according to the identification code, whether the control device corresponding to the preset object acquires preset information displayed on a display screen of the device to be associated may be further detected, where in a case where the control device acquires the preset information, it is determined that the state information satisfies a preset condition. For example, the mobile phone has a dot matrix screen and can display temporarily generated numbers or characters, and the user inputs the temporarily generated numbers or characters into a client of the mobile phone, so that it is determined that the state information of the unmanned aerial vehicle meets the preset condition, and the mobile phone can detect the unmanned aerial vehicle.
Similarly, whether the state information of the device to be associated meets the preset condition or not can be determined by combining whether the control device acquires the preset information or not and the on-off state of the device to be associated, that is, when the control device acquires the preset information and the device to be associated is in the on-off state, the state information is determined to meet the preset condition; and under the condition that the control equipment does not acquire the preset information and/or the equipment to be associated is in a shutdown state, determining that the state information does not meet the preset condition. For example, only when the device to be associated is in a power-on state and the device to be associated can acquire data or characters displayed on a display screen of the control device, it is determined that the state information of the device to be associated satisfies the preset condition, and if not, it is determined that the state information of the device to be associated does not satisfy the preset condition.
In another optional embodiment, if the device to be associated is in a power-off state, a schematic diagram of the starting device pops up on a display interface of the client of the control device to remind the user to start the device to be associated, as shown in fig. 4. If the device to be associated is in a powered-on state, further detecting whether a distance between the device to be associated and the control device is smaller than a preset threshold, or detecting whether the control device corresponding to the preset object acquires preset information displayed on a display screen of the device to be associated, if it is detected that the distance between the device to be associated and the control device is smaller than the preset threshold, or detecting that the control device corresponding to the preset object can acquire the preset information displayed on the display screen of the device to be associated, and the device to be associated is not bound with other preset objects, the control device binds the device to be associated with the preset object (for example, an account number), and after the binding is successful, popping up an interface shown in fig. 6 where the device is successfully added.
In an optional embodiment, after associating the identification code of the device to be associated with the preset object, the user may manage the device to be associated through the control device corresponding to the preset object.
Optionally, the control device receives the sharing control instruction, determines the object to be shared according to the sharing control instruction, and then sends the identification code of the device to be associated to the object to be shared, so that the control device corresponding to the object to be shared controls the device to be associated. After the identification code of the device to be associated is sent to the object to be shared, response information returned by the object to be shared is received, the authority to be shared is determined from the management authority of the device to be associated, and the authority to be shared is sent to the object to be shared. The response information represents that the object to be shared and the identification code of the device to be associated are in an associated state.
For example, the current mobile phone sends the identification code of the unmanned aerial vehicle to the target mobile phone corresponding to the other account, and the target mobile phone can associate the unmanned aerial vehicle with the account corresponding to the target mobile phone. After the association, the target mobile phone sends a response message to the current mobile phone to inform the current mobile phone that the target mobile phone is associated with the unmanned aerial vehicle. At the moment, the current mobile phone can share part or all of the management authority of the current mobile phone on the unmanned aerial vehicle to the target mobile phone, so that the target mobile phone can control the unmanned aerial vehicle in the authority of the current mobile phone.
According to the content, through the scheme provided by the application, the user can add own equipment intuitively and simply.
Example 2
According to an embodiment of the present invention, an apparatus embodiment of an association device is further provided, where fig. 8 is a schematic apparatus diagram of an association device according to an embodiment of the present invention, and as shown in fig. 8, the apparatus includes: a first obtaining module 901, a second obtaining module 903, and an associating module 905.
The first obtaining module 901 is configured to obtain an identification code of a device to be associated, where the identification code is used to uniquely identify the device to be associated; a second obtaining module 903, configured to obtain status information of the device to be associated according to the identification code; the association module 905 is configured to associate the identification code of the device to be associated with the preset object when the state information meets the preset condition, so as to establish a binding relationship between the device to be associated and the preset object.
It should be noted that the first obtaining module 901, the second obtaining module 903, and the associating module 905 correspond to steps S102 to S106 in the foregoing embodiment, and the three modules are the same as the corresponding steps in the implementation example and the application scenario, but are not limited to the disclosure in embodiment 1.
Optionally, the apparatus for associating devices further includes: the device comprises a first detection module, a first determination module and a second determination module. The first detection module is used for detecting whether the distance between the equipment to be associated and the control equipment corresponding to the preset object is smaller than a preset threshold value or not after the state information of the equipment to be associated is acquired according to the identification code; the first determining module is used for determining that the state information meets a preset condition under the condition that the distance is smaller than a preset threshold value; and the second determining module is used for determining that the state information does not meet the preset condition under the condition that the distance is greater than or equal to the preset threshold value.
Optionally, the first detection module includes: the device comprises a third determining module, a second detecting module, a third detecting module and a fourth detecting module. The third determining module is used for determining a first distance between the equipment to be associated and the control equipment according to the position information of the equipment to be associated and the control equipment, and determining whether the first distance is smaller than a preset threshold value; and/or the second detection module is used for detecting whether the control equipment detects a preset signal, wherein the distance is determined to be smaller than a preset threshold value under the condition that the control equipment detects the preset signal; and/or the third detection module is used for detecting whether the equipment to be associated identifies the preset graphic code generated by the control equipment, wherein the distance is determined to be smaller than the preset threshold value under the condition that the equipment to be associated identifies the preset graphic code; and/or the fourth detection module is used for detecting whether the control equipment receives the sound information output by the equipment to be associated, wherein the distance is determined to be smaller than the preset threshold value under the condition that the control equipment receives the sound information.
Optionally, the apparatus for associating devices further includes: and the fifth detection module is used for detecting whether the control equipment corresponding to the preset object acquires the preset information displayed on the display screen of the equipment to be associated or not after acquiring the state information of the equipment to be associated according to the identification code, wherein the state information is determined to meet the preset condition under the condition that the control equipment acquires the preset information.
Optionally, the apparatus for associating devices further includes: a fourth determination module and a fifth determination module. The fourth determining module is used for determining that the state information meets the preset condition under the condition that the distance is smaller than the preset threshold value and the equipment to be associated is in the starting-up state; and the fifth determining module is used for determining that the state information does not meet the preset condition under the condition that the distance is greater than or equal to the preset threshold value and/or the equipment to be associated is in a shutdown state.
Optionally, the apparatus for associating devices further includes: a sixth determination module and a seventh determination module. The sixth determining module is configured to determine that the state information meets a preset condition when the control device acquires the preset information and the to-be-associated device is in the power-on state; and the seventh determining module is used for determining that the state information does not meet the preset condition under the condition that the control device does not acquire the preset information and/or the to-be-associated device is in a shutdown state.
Optionally, the apparatus for associating devices further includes: the device comprises a first receiving module, an eighth determining module and a sending module. The first receiving module is used for receiving a sharing control instruction after the identification code of the equipment to be associated is associated with the preset object; the eighth determining module is used for determining the object to be shared according to the sharing control instruction; and the sending module is used for sending the identification code of the device to be associated to the object to be shared so as to control the device to be associated by the control device corresponding to the object to be shared.
Optionally, the apparatus for associating devices further includes: a second receiving module and a ninth determining module. The second receiving module is used for receiving response information returned by the object to be shared after the identification code of the device to be associated is sent to the object to be shared, wherein the response information represents that the object to be shared and the identification code of the device to be associated are in an associated state; and the ninth determining module is used for determining the permission to be shared from the management permissions of the devices to be associated and sending the permission to be shared to the object to be shared.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to execute the method of the associated apparatus in embodiment 1 when running.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a processor for executing a program, where the program is configured to execute the method of the associated apparatus in embodiment 1 when running.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A method of associating devices, comprising:
acquiring an identification code of a device to be associated, wherein the identification code is used for uniquely identifying the device to be associated;
acquiring state information of the equipment to be associated according to the identification code;
and under the condition that the state information meets the preset condition, associating the identification code of the equipment to be associated with a preset object so as to establish the binding relationship between the equipment to be associated and the preset object.
2. The method according to claim 1, wherein after acquiring the status information of the device to be associated according to the identification code, the method further comprises:
detecting whether the distance between the equipment to be associated and the control equipment corresponding to the preset object is smaller than a preset threshold value or not;
determining that the state information meets the preset condition under the condition that the distance is smaller than the preset threshold;
and determining that the state information does not meet the preset condition under the condition that the distance is greater than or equal to the preset threshold value.
3. The method according to claim 2, wherein detecting whether the distance between the device to be associated and the control device corresponding to the preset object is smaller than a preset threshold value comprises:
determining a first distance between the equipment to be associated and the control equipment according to the position information of the equipment to be associated and the control equipment, and determining whether the first distance is smaller than the preset threshold value; and/or the presence of a gas in the gas,
detecting whether a preset signal is detected by the control device, wherein the distance is determined to be smaller than the preset threshold value when the preset signal is detected by the control device; and/or the presence of a gas in the gas,
detecting whether the equipment to be associated identifies a preset graphic code generated by the control equipment or not, wherein the distance is determined to be smaller than the preset threshold value under the condition that the equipment to be associated identifies the preset graphic code; and/or the presence of a gas in the gas,
detecting whether the control equipment receives sound information output by the equipment to be associated, wherein under the condition that the control equipment receives the sound information, the distance is determined to be smaller than the preset threshold value.
4. The method according to claim 1, wherein after acquiring the status information of the device to be associated according to the identification code, the method further comprises:
detecting whether a control device corresponding to the preset object acquires preset information displayed on a display screen of the device to be associated, wherein the state information is determined to meet the preset condition under the condition that the control device acquires the preset information.
5. The method of claim 2, further comprising:
when the distance is smaller than the preset threshold value and the equipment to be associated is in a starting-up state, determining that the state information meets the preset condition;
and determining that the state information does not meet the preset condition under the condition that the distance is greater than or equal to the preset threshold value and/or the equipment to be associated is in a shutdown state.
6. The method of claim 4, further comprising:
when the control device acquires the preset information and the device to be associated is in a power-on state, determining that the state information meets the preset condition;
and determining that the state information does not meet the preset condition under the condition that the control equipment does not acquire the preset information and/or the equipment to be associated is in a shutdown state.
7. The method according to claim 1, characterized in that after associating the identification code of the device to be associated with a preset object, the method further comprises:
receiving a sharing control instruction;
determining an object to be shared according to the sharing control instruction;
and sending the identification code of the device to be associated to the object to be shared so that the control device corresponding to the object to be shared controls the device to be associated.
8. The method according to claim 7, wherein after sending the identification code of the device to be associated to the object to be shared, the method further comprises:
receiving response information returned by the object to be shared, wherein the response information represents that the object to be shared and the identification code of the equipment to be associated are in an associated state;
and determining the authority to be shared from the management authorities of the equipment to be associated, and sending the authority to be shared to the object to be shared.
9. An apparatus associated with a device, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring an identification code of a device to be associated, and the identification code is used for uniquely identifying the device to be associated;
the second acquisition module is used for acquiring the state information of the equipment to be associated according to the identification code;
and the association module is used for associating the identification code of the equipment to be associated with a preset object under the condition that the state information meets a preset condition so as to establish the binding relationship between the equipment to be associated and the preset object.
10. A non-volatile storage medium, in which a computer program is stored, wherein the computer program is arranged to perform a method of associating devices as claimed in any one of claims 1 to 8 when executed.
11. A processor for running a program, wherein the program is arranged to perform the method of associating devices as claimed in any one of claims 1 to 8 when running.
CN202011435801.2A 2020-12-10 2020-12-10 Method, apparatus, processor and non-volatile storage medium for associating devices Active CN112654040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011435801.2A CN112654040B (en) 2020-12-10 2020-12-10 Method, apparatus, processor and non-volatile storage medium for associating devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011435801.2A CN112654040B (en) 2020-12-10 2020-12-10 Method, apparatus, processor and non-volatile storage medium for associating devices

Publications (2)

Publication Number Publication Date
CN112654040A true CN112654040A (en) 2021-04-13
CN112654040B CN112654040B (en) 2023-07-21

Family

ID=75350671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011435801.2A Active CN112654040B (en) 2020-12-10 2020-12-10 Method, apparatus, processor and non-volatile storage medium for associating devices

Country Status (1)

Country Link
CN (1) CN112654040B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902435A (en) * 2015-04-21 2015-09-09 北京云迹科技有限公司 Mobile terminal, and mobile terminal and Bluetooth wristband binding method and device
CN107370645A (en) * 2017-07-18 2017-11-21 广东美的制冷设备有限公司 Intelligent bracelet, air-conditioning, Intelligent bracelet and air-conditioning binding method and system
CN108735217A (en) * 2018-06-19 2018-11-02 Oppo广东移动通信有限公司 Control method of electronic device, device, storage medium and electronic equipment
CN108810813A (en) * 2017-05-02 2018-11-13 ***通信有限公司研究院 Method, location server and the system that cargo is monitored in logistics progress
CN109068265A (en) * 2018-07-16 2018-12-21 武汉小安科技有限公司 Quickly method, system, server and the storage medium of binding account and vehicle
WO2019128122A1 (en) * 2017-12-27 2019-07-04 深圳友朋智能商业科技有限公司 Method, device and system for associating automatic vending apparatus
CN110830966A (en) * 2019-10-31 2020-02-21 青岛海信移动通信技术股份有限公司 Binding method of Internet of things equipment and Internet of things system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902435A (en) * 2015-04-21 2015-09-09 北京云迹科技有限公司 Mobile terminal, and mobile terminal and Bluetooth wristband binding method and device
CN108810813A (en) * 2017-05-02 2018-11-13 ***通信有限公司研究院 Method, location server and the system that cargo is monitored in logistics progress
CN107370645A (en) * 2017-07-18 2017-11-21 广东美的制冷设备有限公司 Intelligent bracelet, air-conditioning, Intelligent bracelet and air-conditioning binding method and system
WO2019128122A1 (en) * 2017-12-27 2019-07-04 深圳友朋智能商业科技有限公司 Method, device and system for associating automatic vending apparatus
CN108735217A (en) * 2018-06-19 2018-11-02 Oppo广东移动通信有限公司 Control method of electronic device, device, storage medium and electronic equipment
CN109068265A (en) * 2018-07-16 2018-12-21 武汉小安科技有限公司 Quickly method, system, server and the storage medium of binding account and vehicle
CN110830966A (en) * 2019-10-31 2020-02-21 青岛海信移动通信技术股份有限公司 Binding method of Internet of things equipment and Internet of things system

Also Published As

Publication number Publication date
CN112654040B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
JP6259091B2 (en) Intelligent device control method, terminal and server
EP3820080A1 (en) Method for enabling smart device to access network, network access method, apparatus, and shopping system
EP2745496B1 (en) Method, system, and apparatus for sharing application information
KR102168413B1 (en) Communication apparatus, control method for controlling the same, and computer control program
US9591674B2 (en) Communication apparatus and control method thereof
RU2637466C2 (en) Method, device and system for obtaining access to network
CN104520866A (en) Privacy protection method and terminal equipment
US9408074B2 (en) Authentication system, electronic device, and authentication method
CN103944870B (en) Communicator and its control method
US10602021B2 (en) Authentication setting system and image forming apparatus
US11159683B2 (en) Information processing apparatus including a plurality of network interfaces and control method thereof
CN103929788A (en) Communication control method and device and terminal
CN108551530B (en) Incoming call processing method and device, readable storage medium and mobile terminal
US10143033B2 (en) Communications apparatus, control method, and storage medium
JP2019510303A (en) Icon processing method and apparatus for application
CN113489630A (en) Network distribution method, device, storage medium and electronic terminal
CN111970676B (en) WiFi hot spot access method, device, equipment and storage medium
CN110933772A (en) Connection method of wireless device, mobile terminal and computer readable storage medium
CN110891265B (en) Wireless connection control method and device, mobile terminal and storage medium
CN108763243A (en) Application program recommends method, apparatus, mobile terminal and server
US20120225668A1 (en) Mobile device, server, and content management method for a system comprising same
CN103458394A (en) Mobile terminal, processing method and processing device for internal information of mobile terminal
CN106886159B (en) Configuration method and device of household appliance
CN112654040B (en) Method, apparatus, processor and non-volatile storage medium for associating devices
US9906657B2 (en) Terminal apparatus to operate an image processing apparatus, and image processing control system

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
CB02 Change of applicant information

Address after: 510000 Block C, 115 Gaopu Road, Tianhe District, Guangzhou City, Guangdong Province

Applicant after: XAG Co., Ltd.

Address before: 510000 Block C, 115 Gaopu Road, Tianhe District, Guangzhou City, Guangdong Province

Applicant before: Guangzhou Xaircraft Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant