Disclosure of Invention
In view of this, the present invention provides a method and a system for switching devices in a cross-regional linkage manner, so as to solve the problems in the prior art that when an intelligent household electrical appliance moves to another region, a user needs to manually perform an operation of binding with a main control device again, the operation of the process is complex, the learning cost is high, and the binding operation needs to be performed again to establish association each time when crossing a border.
According to a first aspect of the embodiments of the present invention, there is provided a method for switching devices in a cross-region linkage manner, which is applied to a main control device disposed in a region, and includes:
detecting whether intelligent household electrical appliances which are not linked exist in the region;
if the binding request information exists, the binding request information is broadcast and sent to the local area, so that the intelligent household appliance can identify the binding request information and send binding permission information;
after receiving the binding permission information, analyzing and checking the binding permission information;
after the verification is passed, binding association is carried out on the intelligent household appliance;
and after the binding association is completed, sending a binding completion response instruction to the intelligent household appliance.
Preferably, the broadcasting and sending the binding request information to the local area includes:
setting a single-frequency sound signal to encode the binding request information;
broadcasting and sending a single-frequency sound signal carrying the binding request information to the local area;
the binding request information at least comprises: an invitation code.
Preferably, after receiving the binding permission information, performing parsing and checking on the binding permission information includes:
receiving sound waves carrying the binding permission information;
analyzing the sound wave carrying the binding permission information to obtain binding permission and the invitation code;
and checking the invitation code.
Preferably, after the intelligent home appliance device sends the binding completion response instruction, the method further includes:
networking with at least one intelligent household appliance device so as to enable mutual communication between the devices in a local area network.
According to a second aspect of the embodiments of the present invention, there is provided a method for switching devices in a cross-region linkage manner, which is applied to an intelligent household appliance, and includes:
after receiving the binding request information, analyzing the binding request information, and identifying the binding request and the invitation code of the master control equipment;
receiving a binding request of the main control equipment and sending binding permission information so that the main control equipment carries out analysis, verification and equipment binding according to the binding permission information;
and receiving a binding completion response instruction sent by the main control equipment to realize equipment linkage.
Preferably, after receiving the binding request information, parsing the binding request information to identify the binding request and the invite code of the master control device includes:
receiving a single-frequency sound signal carrying the binding request information;
identifying a frequency of the single frequency sound signal;
and decoding the single-frequency sound signal according to the frequency to obtain the binding request information, and identifying the binding request and the invitation code of the main control equipment.
Preferably, the sending of the binding permission information includes:
receiving the binding request of the main control equipment and generating binding permission information containing binding permission and the invitation code;
and sending the binding permission information in the form of sound waves.
According to a third aspect of the embodiments of the present invention, there is provided an apparatus cross-region linkage switching system, including:
the system comprises a main control device and at least one intelligent household appliance;
the main control equipment is used for detecting whether intelligent household electrical appliance equipment which is not linked exists in the area; if yes, sending binding request information to the local area in a broadcast mode; after receiving the binding permission information, analyzing and checking the binding permission information; after the verification is passed, binding association is carried out on the intelligent household appliance; after binding association is completed, sending a binding completion response instruction to the intelligent household appliance;
the intelligent household appliance is used for analyzing the binding request information after receiving the binding request information, and identifying the binding request and the invitation code of the main control equipment; receiving a binding request of the master control equipment and sending binding permission information; and receiving a binding completion response instruction sent by the main control equipment to realize equipment linkage.
Preferably, the master control device and the intelligent household electrical appliance device each include: the device comprises a control module, a communication module, a sound production module and a sound pickup module;
the control module is used for coding and decoding work of sound wave communication and sound wave information inspection;
the communication module is used for network connection, terminal communication and networking communication among devices;
the sounding module is used for sound wave broadcasting and audio information feedback;
the sound pickup module is used for receiving sound waves in broadcasting and collecting audio information.
Preferably, the main control equipment is an intelligent voice air conditioner.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
according to the technical scheme provided by the invention, the main control equipment detects whether intelligent household electrical appliance equipment which is not linked exists in the area; if the binding request information exists, the binding request information is broadcast and sent to the local area, so that the intelligent household appliance can identify the binding request information and send binding permission information; after receiving the binding permission information, analyzing and checking the binding permission information; after the verification is passed, binding association is carried out on the intelligent household appliance; and after the binding association is completed, sending a binding completion response instruction to the intelligent household appliance. It can be understood that, the main control device applying the technical scheme can be automatically associated with the intelligent household electrical appliance which moves to the current region and is not linked, cross-region noninductive free switching linkage of the intelligent household electrical appliance and the main control device is realized, manual operation is not needed, convenience and rapidness are achieved, and the intelligent degree of the device and the user use experience are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Example one
Fig. 1 is a schematic step diagram illustrating an apparatus cross-region linkage switching method according to an exemplary embodiment, and referring to fig. 1, there is provided an apparatus cross-region linkage switching method, which is applied to a master control apparatus disposed in a region, and includes:
s11, detecting whether intelligent household electrical appliances which are not linked exist in the region;
preferably, the main control device detects whether the intelligent household appliance device which is not linked exists in the region through the Bluetooth.
Step S12, if the binding request information exists, the binding request information is sent to the local area in a broadcasting mode, so that the intelligent household appliance can identify the binding request information and send binding permission information;
step S13, after receiving the binding permission information, analyzing and checking the binding permission information;
s14, after the verification is passed, binding and associating with the intelligent household appliance;
and S15, after the binding association is completed, sending a binding completion response instruction to the intelligent household appliance.
In a specific practice, the main control device may be any intelligent household electrical appliance or a voice control device separately placed in a room, and the main control device needs to ensure that the position of the main control device does not change frequently. The intelligent household electrical appliance equipment with the position which can not be changed frequently is selected as the main control equipment, so that the cross-region intelligent household electrical appliance equipment is easier to detect, and the scheme is easy to implement.
Referring to fig. 2, in a specific application scenario, a main control device is taken as an intelligent air conditioner, and an intelligent household appliance is taken as an intelligent fan for example, the following description is made: firstly, a fan is placed in a room A and is linked with an air conditioner A in the room A, when a user moves the fan from the room A to a room B, the intelligent fan is automatically disconnected from the air conditioner A in the room A, after the user enters the room B, the air conditioner B detects that intelligent household appliances which are not linked exist in the area, namely the fan is detected not to be linked, and then the air conditioner B broadcasts and sends binding request information to the area, so that the fan can identify the binding request information and send binding permission information; after receiving the binding permission information, the air conditioner B analyzes and verifies the binding permission information; after the verification is passed, performing binding association with the fan; and after the binding association is completed, sending a binding completion response instruction to the fan, thereby completing the binding of the air conditioner B and the fan, and then enabling the air conditioner B and the fan to normally communicate with each other to realize equipment linkage.
It can be understood that, in the technical solution provided in this embodiment, the main control device detects whether there is an intelligent household appliance device in the area that is not linked; if yes, sending binding request information to the local area in a broadcast mode, so that the intelligent household appliance can identify the binding request information and send binding permission information; after receiving the binding permission information, analyzing and checking the binding permission information; after the verification is passed, binding association is carried out on the intelligent household appliance; and after the binding association is completed, sending a binding completion response instruction to the intelligent household appliance. It can be understood that, the main control device applying the technical scheme can be automatically associated with the intelligent household electrical appliance which is moved to the current area and is not linked, cross-area noninductive free switching linkage of the intelligent household electrical appliance and the main control device is realized, manual operation is not needed, convenience and rapidness are achieved, and the intelligent degree of the device and the user use experience are improved.
It should be noted that, the sending of the binding request information to the local area by broadcasting includes:
setting a single-frequency sound signal to encode the binding request information;
broadcasting and sending a single-frequency sound signal carrying the binding request information to the local area;
the binding request information at least includes: an invitation code.
In a specific practice, the main control device broadcasts and sends the binding request information to the local area, and the binding request information can be broadcasted and sent in a sound wave communication mode. The principle of the sound wave communication mode is as follows: the data are coded by setting single-frequency sound signals, then the single-frequency sounds are played, the frequency of the sound waves is identified after the receiver receives the sounds, then the data are decoded according to the frequency, the sound wave information forms a specific sound wave through coding, and the sound wave information can be decoded by the receiver after the receiver receives the sound waves.
In the concrete application scene, master control equipment all is provided with sound production module and sound pickup module with intelligent tame electric installation, consequently, can carry out sound wave communication.
It can be understood that the transmission of the binding request information is carried out in a sound wave communication mode, so that the intelligent household appliance which is not linked in the region can be accurately transmitted to the binding request information, and the intelligent household appliance and the main control device can realize accurate communication.
It should be noted that, after receiving the binding permission information, performing analysis and verification on the binding permission information includes:
receiving sound waves carrying the binding permission information;
analyzing the sound wave carrying the binding permission information to obtain binding permission and the invitation code;
and checking the invitation code.
In a specific practice, the master control device receives the binding permission information, and may receive the binding permission information in a form of sound waves, that is, receive sound waves carrying the binding permission information, where the sound waves are emitted by the to-be-associated intelligent household electrical appliance device. When the sound wave carrying the binding permission information is received, the sound wave needs to be analyzed, the binding permission sent by the intelligent household appliance and the invitation code need to be analyzed, then the invitation code needs to be verified, and after the verification is finished, the subsequent steps are executed.
It can be understood that the binding permission information of the to-be-connected device is received in the form of the sound wave, so that the communication between the master control device and the intelligent household appliance device is more accurate.
It should be noted that, after the intelligent home appliance device sends the binding completion response instruction, the method further includes:
networking with at least one intelligent household appliance device so as to enable mutual communication between the devices in a local area network.
In specific practice, after the main control device completes the binding association with the intelligent household appliance, it needs to send a binding completion response instruction to the intelligent household appliance, so that the main control device and the intelligent household appliance complete the binding interconnection. After the main control device and the intelligent household appliance are bound and interconnected, the main control device and the intelligent household appliance can be networked, after the networking is finished, the main control device and the intelligent household appliance can directly carry out intercommunication in a local area network, the transmission, the reception, the data communication and the like among related instructions are realized, and the device communication can adopt a WiFi-P2P communication technology exclusive to the local area network.
In a specific application scene, after the intelligent voice air conditioner and the intelligent fan are bound, networking can be performed, so that mutual communication in a local area network is performed between devices, cross-regional free switching between the intelligent fan and the intelligent voice air conditioner is achieved, and then the intelligent voice air conditioner and the intelligent fan are linked to adjust the room environment comfort level.
It can be understood that, according to the technical solution provided in this embodiment, the master control device and the intelligent household appliance can perform networking, so as to implement transmission of data information and achieve the purpose of mutual coordination.
Example two
Fig. 3 is a schematic step diagram illustrating another method for switching devices in a cross-region linkage manner according to an exemplary embodiment, and referring to fig. 3, a method for switching devices in a cross-region linkage manner is provided, which is applied to an intelligent household appliance, and includes:
step S21, after receiving the binding request information, analyzing the binding request information, and identifying the binding request and the invitation code of the main control equipment;
s22, receiving the binding request of the main control equipment and sending binding permission information to enable the main control equipment to carry out analysis, verification and equipment binding according to the binding permission information;
and S23, receiving a binding completion response instruction sent by the main control equipment to realize equipment linkage.
In specific practice, after being moved to a new regional room by a user, the intelligent household appliance is disconnected from the main control device in the original regional room, waits for the binding request information of the new main control device until the binding request information of the new main control device is received, and analyzes the binding request information in the intelligent household appliance to identify the binding request and the invitation code of the main control device; receiving a binding request of the main control equipment and sending binding permission information so that the main control equipment carries out analysis, verification and equipment binding according to the binding permission information; after the main control device completes the device binding, a binding completion response instruction is sent, and after the intelligent household appliance receives the binding completion response instruction, the binding association is successful, so that the device linkage can be realized.
It can be understood that, in the technical solution provided in this embodiment, after receiving the binding request information, the intelligent home appliance analyzes the binding request information, and identifies the binding request and the invitation code of the master device; receiving a binding request of the main control equipment and sending binding permission information so that the main control equipment carries out analysis, verification and equipment binding according to the binding permission information; and receiving a binding completion response instruction sent by the main control equipment to realize equipment linkage. It can be understood that, the intelligent household electrical appliance applying the technical scheme can be found by the main control device in a new area, and timely receives the binding request information of the main control device, so that automatic association is realized, cross-area noninductive free switching linkage of the intelligent household electrical appliance and the main control device is realized, manual operation is not needed, convenience and rapidness are realized, and the intelligent degree of the equipment and the user experience are improved.
It can be understood that, after receiving the binding request information, parsing the binding request information to identify the binding request and the invite code of the master device includes:
receiving a single-frequency sound signal carrying the binding request information;
identifying a frequency of the single frequency sound signal;
and decoding the single-frequency sound signal according to the frequency to obtain the binding request information and identify the binding request and the invitation code of the main control equipment.
In a specific practice, the intelligent home appliance device receives the binding request information, and may receive a single-frequency sound signal, where the single-frequency sound signal carries the binding request information. And after receiving the single-frequency sound signal, identifying the frequency of the single-frequency sound signal, decoding the single-frequency sound signal according to the frequency to obtain the binding request information, and identifying the binding request and the invitation code of the master control equipment.
It can be understood that, according to the technical solution provided in this embodiment, a single-frequency sound signal can be received and analyzed to obtain data therein, communication can be performed in a sound wave communication manner, and the master control device can be accurately recognized.
It should be noted that the sending of the binding permission information includes:
receiving the binding request of the main control equipment and generating binding permission information containing binding permission and the invitation code;
and sending the binding permission information in the form of sound waves.
In specific practice, after the intelligent household appliance receives the binding request of the main control device, it needs to generate a binding permission, store the binding permission and the invitation code into the binding permission information, and send the binding permission and the invitation code in the form of sound waves, so that the main control device can receive the sound wave information.
It can be understood that, according to the technical solution provided in this embodiment, the smart home device can also actively send information in the form of sound waves, and send binding permission information including the binding permission and the invitation code, so that the master device receives and completes the binding operation.
Fig. 4 is a schematic flow chart illustrating a cross-area linkage switching of devices according to an exemplary embodiment, and referring to fig. 4, an intelligent home device is moved from a room a to a room B, and a master device in the room B finds that a new device exists in a room area of the master device through bluetooth detection, and does not establish a binding association with the new device; at the moment, the master control equipment terminal actively initiates a request for binding the invitation equipment with the master control equipment terminal; the main control device broadcasts sound waves of binding requests to the surroundings through sound wave technology (wherein sound wave information carries an invitation code for verification when the intelligent household appliance establishes binding association), and the fact that the equipment can be verified and bound is indicated; the intelligent household appliance receives the binding request sound wave of the air conditioner, decodes the sound wave information, and recognizes the sound wave information as the invitation and invitation code requested to be bound by the main control device; the main control equipment end receives the sound wave information of the intelligent household appliance for analysis, analyzes and identifies the sound wave information into binding information and an invitation code, verifies the invitation code, executes and completes binding association with the intelligent household appliance after the verification is passed, and feeds back a binding completion response instruction to the intelligent household appliance end; therefore, the main control equipment and the intelligent household appliance finish binding verification, and the two parties can normally communicate to realize equipment linkage.
EXAMPLE III
Fig. 5 is a schematic block diagram illustrating a cross-regional linkage switching system for equipment according to an exemplary embodiment, and referring to fig. 5, a cross-regional linkage switching system for equipment includes:
the main control device 101, and at least one intelligent household electrical appliance 201;
the main control device 101 is configured to detect whether an intelligent household appliance 201 which is not linked exists in the local area; if yes, sending binding request information to the local area in a broadcast mode; after receiving the binding permission information, analyzing and checking the binding permission information; after the verification is passed, binding association is performed with the intelligent household appliance 201; after the binding association is completed, sending a binding completion response instruction to the intelligent household electrical appliance 201;
the intelligent household appliance 201 is configured to, after receiving the binding request information, parse the binding request information, and identify the binding request and the invitation code of the main control device 101; receiving a binding request of the master control device 101 and sending binding permission information; and receiving a binding completion response instruction sent by the main control equipment 101 to realize equipment linkage.
It can be understood that, the main control device applying the technical scheme can be automatically associated with the intelligent household appliance which moves to the current region and is not linked, the intelligent household appliance applying the technical scheme can be found by the main control device of the new region, the binding request information of the main control device is timely received, cross-region noninductive free switching linkage of the intelligent household appliance and the main control device is realized, manual operation is not needed, the use is convenient and fast, and the intelligent degree of the device and the use experience of a user are improved.
It should be noted that the master control device 101 and the smart home appliance 201 both include: the device comprises a control module, a communication module, a sound production module and a sound pickup module;
the control module is used for coding and decoding work of sound wave communication and sound wave information inspection;
the communication module is used for network connection, terminal communication and networking communication among devices;
the sounding module is used for sound wave broadcasting and audio information feedback;
the sound pickup module is used for receiving sound waves in broadcasting and collecting audio information.
In specific practice, the main control equipment and the intelligent household electrical appliance mainly comprise a control module, a communication module unit, a sound production module and a sound pickup module, and the intelligent household electrical appliance can be connected into an intelligent household system for linkage through the modules. The control module is responsible for logic control, scheduling, control of adjustment and setting of the execution equipment and the like, and is responsible for coding and decoding work of sound wave communication, sound wave information inspection and the like; the communication module comprises WiFi and Bluetooth for network connection, terminal communication, networking communication among devices and the like; the sounding module is responsible for sound wave broadcasting, audio information feedback and the like; the sound pickup module is responsible for collecting audio information and can receive sound waves in broadcasting.
It can be understood that, the technical scheme that this embodiment provided, master control equipment and intelligent household electrical appliances all contain control module, communication module, sound production module and sound pickup module, can ensure that master control equipment and intelligent household electrical appliances realize the cross-regional noninductive free switching linkage, need not manual operation, convenient and fast.
It should be noted that the main control device is an intelligent voice air conditioner.
In specific practice, the intelligent voice air conditioner is usually installed in a room, the position is fixed, the detection of cross-regional intelligent household appliances is easier, and the scheme implementation is easy.
Preferably, the intelligent household appliances include, but are not limited to, fans, dehumidifiers, air purifiers, and the like.
It can be understood that, through intelligent voice air conditioner as master control equipment, can easily detect the intelligent household electrical appliances across the region, and easy scheme implementation to intelligent voice air conditioner and other intelligent household electrical appliances' interactive regulation can adjust room environment comfort level, and user satisfaction is high.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.