CN113938345B - Linkage equipment control method and system, intelligent gateway equipment and storage medium - Google Patents

Linkage equipment control method and system, intelligent gateway equipment and storage medium Download PDF

Info

Publication number
CN113938345B
CN113938345B CN202110988526.5A CN202110988526A CN113938345B CN 113938345 B CN113938345 B CN 113938345B CN 202110988526 A CN202110988526 A CN 202110988526A CN 113938345 B CN113938345 B CN 113938345B
Authority
CN
China
Prior art keywords
linkage
equipment
message frame
working state
authority verification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110988526.5A
Other languages
Chinese (zh)
Other versions
CN113938345A (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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information 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 Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN202110988526.5A priority Critical patent/CN113938345B/en
Publication of CN113938345A publication Critical patent/CN113938345A/en
Priority to PCT/CN2022/108605 priority patent/WO2023024818A1/en
Application granted granted Critical
Publication of CN113938345B publication Critical patent/CN113938345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a control method, a control system, intelligent gateway equipment and a storage medium of linkage equipment, wherein the control method of the linkage equipment comprises the following steps: the intelligent gateway equipment receives a message frame sent by the switch equipment; performing authority verification on the switching device based on the message frame; if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment. Through the scheme, the intelligent gateway equipment is used as the control center to adjust the working state of the linkage equipment, so that the problems that when a plurality of controlled linkage equipment exists, a plurality of different remote control equipment are required to be adopted to control the operation respectively, the battery is required to be replaced frequently, the occupied space is large and the like are solved, and the convenience of use of a user is effectively improved.

Description

Linkage equipment control method and system, intelligent gateway equipment and storage medium
Technical Field
The application relates to the technical field of intelligent equipment, in particular to a control method and system of linkage equipment, intelligent gateway equipment and a storage medium.
Background
Nowadays, with the development of artificial intelligence, more and more families start to install smart home devices, and accordingly, each smart home device is usually equipped with a wireless smart switch, that is, a remote controller, so as to control each smart home device separately.
The wireless intelligent switch can be conveniently placed at any proper position for remote control, but brings convenience and also has certain trouble, for example, a large number of wireless intelligent switch devices mean that a large amount of space is required for storage, and a large number of batteries are respectively powered, so that the batteries of the corresponding batteries still need to be replaced timely and frequently after the electric quantity of the batteries is exhausted.
Disclosure of Invention
The technical problem that this application mainly solves is to provide a control method, system, intelligent gateway equipment and storage medium of linkage equipment to intelligent equipment among the solution prior art adopts the wireless intelligent switch who loads the battery to carry out the remote control generally, so when intelligent equipment has a plurality ofly, needs to be equipped with a plurality of wireless intelligent switches, and seriously influences the problem of convenience of use.
In order to solve the above problems, a first aspect of the present application provides a control method of a linkage device, where the control method of the linkage device includes: the intelligent gateway equipment receives a message frame sent by the switch equipment; performing authority verification on the switching device based on the message frame; if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
After receiving the message frame sent by the switch device, the intelligent gateway device further comprises: converting the message frame into an information frame with a set standard format; performing authority verification on the switching device based on the message frame, including: and verifying the authority of the switching device based on the information frame.
Wherein the message frame includes a check word, and performing authority verification on the switching device based on the message frame includes: detecting whether the currently received check word is consistent with the calculated check word obtained by matching calculation in a set mode; if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment, and the method comprises the following steps: and if the check word is consistent with the calculated check word, sending a first control instruction to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
The linkage equipment comprises at least two, if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment, and the linkage equipment comprises: if the authority verification passes, respectively sending corresponding control instructions to each linkage device according to a first preset program so as to respectively adjust the working state of each linkage device.
If the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program, so that after the working state of the linkage equipment is adjusted, the method further comprises the following steps: receiving a switching signal sent by switching equipment; wherein the switching device is a self-generating switching device; and calling a second preset program to send a second control instruction to the linkage equipment so as to adjust the current working state of the linkage equipment.
If the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program, so that after the working state of the linkage equipment is adjusted, the method further comprises the following steps: receiving a wireless control instruction sent by an intelligent terminal; and sending a wireless control instruction to the linkage equipment to adjust the current working state of the linkage equipment.
The message frame includes an equipment identity number and/or an equipment version number, and if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program, so that after the working state of the linkage equipment is adjusted, the method further includes: receiving a feedback signal sent by linkage equipment; wherein the feedback signal corresponds to a current operating state of the linkage device; and sending the equipment identity identification number and/or the equipment version number and the feedback signal to the intelligent terminal so as to display the equipment identity identification number and/or the equipment version number of the switch equipment and the current working state of the linkage equipment on the intelligent terminal.
To solve the above problem, a second aspect of the present application provides an intelligent gateway device, where the intelligent gateway device includes: the proxy device is coupled with the external switch device and is used for receiving the message frame sent by the switch device; the gateway node device is coupled with the proxy device and the external linkage equipment, and is used for carrying out authority verification on the switch equipment based on the message frame, and sending a first control instruction to the linkage equipment according to a first preset program when the authority verification passes, so as to adjust the working state of the linkage equipment.
In order to solve the above-mentioned problem, a third aspect of the present application provides a control system of a linkage device, wherein the control system of the linkage device includes: switching means for generating a message frame; the intelligent gateway equipment is coupled with the switching device and the linkage equipment, and is used for receiving a message frame sent by the switching equipment, carrying out authority verification on the switching equipment based on the message frame, and sending a first control instruction to the linkage equipment according to a first preset program when the authority verification passes, so as to adjust the working state of the linkage equipment.
In order to solve the above-described problems, a fourth aspect of the present application provides a computer-readable storage medium storing program data executable to implement the control method of the linkage device according to any one of the above.
The beneficial effects of the invention are as follows: compared with the prior art, the control method of the linkage equipment is characterized in that when the intelligent gateway equipment receives the message frame sent by the switch equipment, the authority verification can be carried out on the switch equipment based on the message frame so as to ensure the safety of corresponding control, and when the verification is passed, a first control instruction can be sent to the linkage equipment according to a first preset program in response to the passing of the authority verification, so that the working state of the linkage equipment is regulated, the problems that when a plurality of controlled linkage equipment exist, a plurality of different remote control equipment are adopted for control respectively, the battery needs to be replaced frequently, the occupied space is large and the like are effectively avoided, and the convenience of the user is effectively improved; and a first control instruction is correspondingly generated through a pre-stored first preset program to control the linkage equipment, so that the corresponding control process is greatly simplified.
Drawings
FIG. 1 is a flow chart of a first embodiment of a control method of a linkage of the present application;
FIG. 2 is a flow chart of a second embodiment of a control method of the linkage of the present application;
FIG. 3 is a flow chart of a third embodiment of a control method of the linkage of the present application;
FIG. 4 is a flow chart of a fourth embodiment of a control method of the linkage of the present application;
FIG. 5 is a flow chart of a fifth embodiment of a control method of the linkage of the present application;
FIG. 6 is a flow chart of a sixth embodiment of a control method of the linkage of the present application;
FIG. 7 is a schematic diagram illustrating the architecture of an embodiment of an intelligent gateway device of the present application;
FIG. 8 is a schematic structural view of an embodiment of a control system of the linkage of the present application;
fig. 9 is a schematic structural view of an embodiment of the computer-readable storage medium of the present application.
Detailed Description
The following describes the embodiments of the present application in detail with reference to the drawings.
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, interfaces, techniques, etc., in order to provide a thorough understanding of the present application.
The terms "system" and "network" are often used interchangeably herein. The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship. Further, "a plurality" herein means two or more than two.
The inventor finds that along with the development of artificial intelligence, especially the development of intelligent household equipment and the concept of everything interconnection are gradually accepted by people, more and more families start to install intelligent household equipment, and how to realize linkage control among all intelligent household equipment is also gradually brought into the spotlight and the attention of users.
For conventional smart home devices, each smart home device is generally provided with a wireless smart switch, i.e., a remote controller. In addition, remote controllers corresponding to different smart home devices cannot be commonly used, for example, home devices such as televisions, refrigerators, curtains, lamps and lanterns, air conditioners and the like are usually corresponding to dedicated remote controllers, so that a large amount of space is required for storing different remote controllers. The large number of remote controls means that a large number of batteries are required to be individually powered, so that the corresponding batteries need to be replaced in time and frequently after the electric quantity of the batteries is exhausted.
For this reason, a self-generating wireless switch using 433 protocol as a carrier appears in the market, so as to overcome the problem of frequent battery replacement.
However, the existing 433 protocol self-generating wireless switch is difficult to carry out large-scale networking, has poor intercommunication with other intelligent devices, and often needs to be matched with each other for use, namely, each intelligent home device is correspondingly provided with a wireless intelligent switch, so that users still cannot really enjoy the convenience brought by intelligent home interconnection and intercommunication.
It can be understood that the 433 protocol is specifically a communication protocol, which can receive and transmit signal data, and the 433 protocol is a star network topology structure, and the transmission distance can reach 1000 meters, so that the 433 protocol is an ideal smart home protocol. However, since the standards of 433 products produced by each manufacturer are not uniform, 433 products of each manufacturer cannot be used in a compatible manner, so that the compatibility is poor.
In addition, the existing remote controllers of different intelligent home devices of the same kind can be commonly used with each other, which brings about a security problem that the control authority is not unique, and especially users with high requirements on privacy and security can not tolerate that the switching devices of other people can control the intelligent devices of the users.
In order to improve the situation that a plurality of wireless intelligent switches are needed when a plurality of linkage devices exist, so that the use convenience of users is seriously affected, and the safety of corresponding control is ensured, the application provides a control method of the linkage devices. The present application is described in further detail below with reference to the drawings and examples. It is specifically noted that the following examples are only for illustration of the present application, but do not limit the scope of the present application. Likewise, the following embodiments are only some, but not all, of the embodiments of the present application, and all other embodiments obtained by one of ordinary skill in the art without making any inventive effort are within the scope of the present application.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Referring to fig. 1, fig. 1 is a flowchart of a first embodiment of a control method of a linkage device according to the present application. Specifically, the method may include the steps of:
s11: the intelligent gateway device receives the message frame sent by the switch device.
It can be understood that the control method of the linkage equipment in this embodiment specifically uses the intelligent gateway equipment as a control center to control the linkage equipment, and can accept the start and stop control of the switch equipment, so as to adjust and control the working state of the linkage equipment. And when the number of the linkage devices is at least two, the intelligent gateway device also serves as a communication center for realizing linkage communication among different linkage devices.
Specifically, the user can start to send the corresponding generated message frame to the corresponding intelligent gateway device by inputting a digital control instruction to the switch device or directly performing key control and other reasonable modes, so as to further start the intelligent gateway device to control the corresponding linkage device.
The switching device can be understood as a switching device comprising a mechanical key or a digital display screen, and being capable of correspondingly generating a message frame comprising a start signal and a stop signal; the message frame may be specifically understood as a data message including any reasonable signal such as a start signal or a stop signal or a control signal for switching the control mode, so as to be capable of correspondingly starting, shutting down or switching the control procedure currently performed by the intelligent gateway device.
S12: the switch device is authenticated based on the message frame.
It can be understood that, to ensure the security of controlling the linkage device, the message frame sent by the switch device to the intelligent gateway device may specifically further include verification data capable of performing unique identification or authority identification, so that the intelligent gateway device may perform authority verification on the switch device based on the message frame received by the intelligent gateway device, that is, determine whether the switch device sending the message frame to the intelligent gateway device has starting and controlling authority on the intelligent gateway device.
In an embodiment, the message frame may specifically include a unique identifier, and the intelligent gateway device correspondingly stores a white list formed by identifiers with control rights, so as to determine that the verification is passed when the unique identifier in the received message frame exists in the white list. In other embodiments, the message frame may further include a hash password, and the intelligent gateway device may verify the control authority of the switching device by checking and verifying the hash password, which is not limited in this application.
S13: if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
It can be understood that the intelligent gateway device can specifically and correspondingly set program data capable of controlling the linkage device according to a set mode, so that corresponding control instructions can be generated by calling the program data, and further, the working state of the linkage device is adjusted.
Specifically, in the authority verification performed on the switching device, when it is determined that the switching device currently transmitting the message frame has the authority, that is, when the authority verification passes, the intelligent gateway device can call out a first preset program preset and stored in the intelligent gateway device, and send a first control instruction to the linkage device, so that the linkage device changes the current working state under the action of the first control instruction, and the working state of the linkage device is adjusted.
For convenience of understanding, taking the linkage device as an air conditioner as an example, the first control instruction of the air conditioner is correspondingly generated and sent by a first preset program, and specifically, the air conditioner may be started, adjusted to a refrigeration mode, adjusted to a temperature of 22 ℃, and the like. The intelligent gateway device is specifically used as a control center, and the switch device is used for starting and stopping the process of the intelligent gateway device for controlling the linkage device; and no matter the number of the controlled linkage devices is one or more, the corresponding control process can be completed only by one switch device and intelligent gateway device.
In other embodiments, the linkage device may be one or more of any reasonable smart home devices such as a television, a computer, a smart speaker, a smart curtain, and a refrigerator; or, the linkage equipment can be one or more of any reasonable intelligent production equipment such as intelligent carrying equipment, intelligent mechanical arms, unmanned aerial vehicles, conveying devices and the like; and when the number of the linkage devices is multiple, the multiple linkage devices are all in communication connection with the intelligent gateway device so as to realize linkage through the intelligent gateway device.
Optionally, the first control instruction corresponding to the first preset program and sent to the linkage equipment may specifically correspond to starting an air conditioner, a computer and an intelligent sound box, adjusting the air conditioner to a refrigeration mode, and opening the intelligent sound box to play any reasonable one of the plurality of linkage equipment such as news briefs or light music in the same day sequentially and respectively.
According to the scheme, when the intelligent gateway device receives the message frame sent by the switch device, the authority verification can be carried out on the switch device based on the message frame so as to ensure the safety of corresponding control, and when the verification passes, a first control instruction can be sent to the linkage device according to a first preset program so as to adjust the working state of the linkage device, so that the problems of frequent battery replacement, large occupied space and the like caused by the fact that a plurality of controlled linkage devices exist and a plurality of different remote control devices are needed to be used for control respectively are effectively avoided, and the convenience of use of a user is effectively improved; and a first control instruction is correspondingly generated through a pre-stored first preset program to control the linkage equipment, so that the corresponding control process is greatly simplified.
Further, in an embodiment, the linkage device includes at least two, and the step S13 may specifically further include: if the authority verification passes, corresponding control instructions are respectively sent to each linkage device according to a first preset program so as to respectively adjust the working state of each linkage device, and therefore the control program for respectively controlling at least two linkage devices is greatly simplified.
It can be appreciated that when the number of linkage devices is specifically at least two, at least two linkage devices are all communicatively connected to the intelligent gateway device so as to be able to implement linkage through the intelligent gateway device. Specifically, when the authority verification passes, the intelligent gateway device can call out a first preset program which is preset and stored in the intelligent gateway device, and respectively send corresponding control instructions to each linkage device, so that each linkage device can change the current working state of each linkage device under the action of the first control instructions, and the working state of each linkage device is adjusted.
For convenience of understanding, taking the linkage equipment specifically including air conditioner, computer and intelligent audio amplifier as an example, explaining, by the control command that first default program corresponds the formation, specifically can correspond to start air conditioner, computer and intelligent audio amplifier to adjust the air conditioner to the refrigeration mode, open arbitrary reasonable to a plurality of linkage equipment in proper order such as news of the day or light music, respectively control one of them, this application does not limit to this.
Further, in an embodiment, the step S13 may specifically further include: if the authority verification passes, communication connection is established with the switch equipment and the linkage equipment, and a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
It can be understood that, in order to ensure that the switching device and the linkage device can continuously perform data interaction and signal transmission with the intelligent gateway device, when the authority verification of the message frame sent by the switching device is passed, the intelligent gateway device further comprises establishing communication connection with the switching device and the linkage device, so that the first control instruction can be correspondingly sent to the linkage device to adjust the working state of the linkage device. In other embodiments, the establishment of the communication connection between the intelligent gateway device and the linkage device may also occur at any time before S13, which is not limited in this application.
Optionally, the intelligent gateway device may specifically establish communication connection with the switch device and the linkage device through any other reasonable wireless communication connection manner such as ZigBee (ZigBee) channel or WIFI (wireless communication), which is not limited in this application.
The ZigBee, also called Zigbee, is a wireless network protocol for low-speed short-distance transmission, and the bottom layer adopts a media access layer and a physical layer which are specified by IEEE 802.15.4 standard. The main characteristics are low speed, low power consumption, low cost, support of a large number of network nodes, support of various network topologies, low complexity, rapidness, reliability and safety.
It can be understood that when a common ZigBee device is connected to the network, it scans and interacts with all channels to find out the channel being connected to the network.
In an embodiment, the switching device is Green Power (Green Power) self-generating device and is unidirectional transmitting device, and the intelligent gateway device is required to support man-machine interaction because the switching device cannot find a channel by itself. Therefore, the intelligent gateway device can actively report the ZigBee channel to the handheld intelligent terminal of the user, so that the user can conveniently check the channel number on the handheld intelligent terminal, and the user can access the network. And the intelligent gateway equipment also needs to carry out authority verification on the switching equipment through a message frame sent by the switching equipment so as to allow the switching equipment to access the network when the verification is passed and close the access channel of the switching equipment when the verification is not passed.
In an embodiment, after the user configuration is completed, that is, after the intelligent gateway device establishes communication connection with the switch device and the linkage device, if all the controlled multiple linkage devices are ZigBee devices, the intelligent gateway device may further convert the corresponding communication connection into local linkage, so that the linkage device may still be controlled normally through the switch device even after the intelligent gateway device is disconnected, that is, after the background server does not provide network services.
In an embodiment, the switch device may be electrically connected to the intelligent gateway device through a conductive line, so as to send an analog electrical signal to the intelligent gateway device, and the intelligent gateway device is started to send a first control instruction to the linkage device according to a first preset program of the intelligent gateway device, so as to adjust the working state of the linkage device. In other embodiments, the switching device may also be an infrared remote control device, so that the message frame can be sent to the intelligent gateway device by infrared mode, which is not limited in this application.
Referring to fig. 2, fig. 2 is a flow chart of a second embodiment of a control method of the linkage device of the present application. The control method of the linkage device of the present embodiment is a flowchart of a refined embodiment of the control method of the linkage device in fig. 1, and includes the following steps:
s21: the intelligent gateway device receives the message frame sent by the switch device.
The S21 is the same as S11 in fig. 1, please refer to S11 and the related text descriptions thereof, and the detailed description is omitted herein.
S22: the message frame is converted into an information frame of a set standard format.
It can be appreciated that, to simplify the functional integration of the switching device to save energy, the message frame sent by the switching device to the intelligent gateway device is usually extremely simplified, and to facilitate the verification and control processing of the intelligent gateway device, the intelligent gateway device needs to convert the message frame into an information frame with a set standard format, for example, extend the message frame into a standard zigbee3.0 frame or any other reasonable standard wireless communication protocol information frame, so as to further execute a corresponding command according to the standard information frame.
S23: and verifying the authority of the switching device based on the information frame.
Further, the intelligent gateway device performs authority verification on the switch device through converting the information frame into a set standard format.
S24: if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
The S24 is the same as S13 in fig. 1, please refer to S13 and the related text descriptions thereof, and the detailed description is omitted herein.
Referring to fig. 3, fig. 3 is a flowchart illustrating a third embodiment of a control method of the linkage device of the present application. The control method of the linkage device of the present embodiment is a flowchart of a refined embodiment of the control method of the linkage device in fig. 1, where the message frame of the present embodiment specifically includes a check word, and includes the following steps:
s31: the intelligent gateway device receives the message frame sent by the switch device.
The S31 is the same as S11 in fig. 1, please refer to S11 and the related text descriptions thereof, and the detailed description is omitted herein.
S32: and detecting whether the currently received check word is consistent with the calculated check word obtained by matching calculation in a set mode.
Specifically, after the intelligent gateway device receives a message frame including a check word sent by the switch device, the intelligent gateway device calculates to obtain a corresponding calculation check word through any reasonable matching calculation mode such as a preset function calculation mode or a hash password calculation mode, so as to verify whether the calculation check word is consistent with the currently received check word, determine that the verification is passed when the calculation check word is consistent with the currently received check word, and determine that the verification is not passed when the calculation check word is inconsistent with the hash password calculation mode, and the corresponding switch device has no control authority on the intelligent gateway device.
S33: and if the check word is consistent with the calculated check word, sending a first control instruction to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
Further, in response to the check word being consistent with the calculated check word, that is, the verification is passed, the intelligent gateway device can call out a first preset program preset and stored in the intelligent gateway device, and send a first control instruction to the linkage device, so that the linkage device changes the current working state under the action of the first control instruction, and the working state of the linkage device is adjusted.
In a specific embodiment, in order to save energy, the message frame sent by the switching device to the intelligent gateway device is usually so simplified that the intelligent gateway device is difficult to uniquely identify, so that some necessary information needs to be added to obtain the characteristic information and the authorization status of the switching device. The newly added field of the message frame may specifically be:
PID (8 byte) +device version number (1 byte) +Mode ID (6 byte) +check word (1 byte).
Wherein:
byte: bytes;
PID: equipment product identity identification number;
device version number: a device specific version number;
mode ID: a specific equipment model;
check word: to prevent unauthorized devices from accessing the network, access to the network is only allowed after the switching device passes the production authorization, i.e. the authorization verification. The intelligent gateway device matches the calculated check word with the check word received by the intelligent gateway device, and allows network access only when the calculated check word is the same as the check word received by the intelligent gateway device.
Referring to fig. 4, fig. 4 is a flowchart illustrating a fourth embodiment of a control method of the linkage device according to the present application. The control method of the linkage device of the present embodiment is a flowchart of a refined embodiment of the control method of the linkage device in fig. 1, and includes the following steps:
S41: the intelligent gateway device receives the message frame sent by the switch device.
S42: the switch device is authenticated based on the message frame.
S43: if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
The S41, S42, and S43 are the same as S11, S12, and S13 in fig. 1, and specific reference is made to S11, S12, and S13 and their related text descriptions, which are not repeated herein.
S44: and receiving a switching signal sent by the switching equipment.
It can be understood that after the authority verification of the switch device is passed, the intelligent gateway device can establish communication connection with the switch device to receive the switch signal sent by the switch device; or, the switching signals transmitted by the switching devices are received again through the corresponding conductive lines.
Optionally, the switching device is a self-generating switching device, so that current can be generated at the moment when a user presses a corresponding mechanical key to generate a message frame and a switching signal, and the message frame and the switching signal are sent to the intelligent gateway device, so that the problem that a chemical battery is used for providing power and the battery needs to be replaced frequently can be avoided.
Optionally, the switching device is an infrared remote control device, and includes a plurality of different keys or digital display screens, so that a message frame or different switching signals can be correspondingly sent to the intelligent gateway device by pressing the corresponding keys or belonging to the corresponding numbers to the digital display screens.
S45: and calling a second preset program to send a second control instruction to the linkage equipment so as to adjust the current working state of the linkage equipment.
Further, after the intelligent gateway device receives the switch signal sent by the switch device, a second preset program preset and stored by the intelligent gateway device can be called, and a second control instruction is sent to the linkage device, so that the linkage device changes the current working state under the action of the second control instruction, and the linkage device is switched to another working state.
The second control command may specifically correspond to any reasonable control program, such as turning off the air conditioner, or adjusting the cooling temperature of the air conditioner to 25 ℃ and turning off after 6 hours.
In other embodiments, when the linkage device is multiple, the switch signal corresponds to the second control instruction that is fetched and sent, and may also correspond to switching the current working modes of the multiple different linkage devices to another working mode respectively.
In an embodiment, the switching device specifically includes a plurality of keys, where different keys respectively correspond to a plurality of different switching signals or message frames, and different switching signals respectively can correspondingly adjust one or more linkage devices to different working modes.
In other embodiments, the switching device may further include only one key, where the number of times of the key corresponds to different switching signals, for example, when the key is pressed for the first time, a message frame is correspondingly sent to the intelligent gateway device, so that after the key is verified by the corresponding authority, a first switching signal is sent to the intelligent gateway device when the key is pressed for the second time, and a second switching signal is sent to the intelligent gateway device when the key is pressed for the third time; and so on, when the switching signal is fourth time, the switching signal is corresponding to the third switching signal; or, again, corresponds to a message frame and loops in turn, as this application is not limited in this regard.
Referring to fig. 5, fig. 5 is a flowchart of a fifth embodiment of a control method of the linkage device of the present application. The control method of the linkage device of the present embodiment is a flowchart of a refined embodiment of the control method of the linkage device in fig. 1, and includes the following steps:
S51: the intelligent gateway device receives the message frame sent by the switch device.
S52: the switch device is authenticated based on the message frame.
S53: if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
The S51, S52 and S53 are the same as S11, S12 and S13 in fig. 1, and refer to S11, S12 and S13 and their related text descriptions, and are not repeated here.
S54: and receiving a wireless control instruction sent by the intelligent terminal.
It can be appreciated that the intelligent gateway device can also establish a wireless communication connection with an intelligent terminal, such as any reasonable handheld intelligent terminal of a user's mobile phone, tablet computer or smart watch, or a computer, or a background server, so as to be able to receive a wireless control instruction sent by the intelligent terminal.
S55: and sending a wireless control instruction to the linkage equipment to adjust the current working state of the linkage equipment.
Further, the user can send a wireless control instruction to the intelligent gateway device through the intelligent terminal so that the intelligent gateway device can forward the wireless control instruction to the linkage device to adjust the current working state of the linkage device, and therefore a more flexible control scheme of the linkage device can be achieved.
Referring to fig. 6, fig. 6 is a flowchart of a sixth embodiment of a control method of the linkage device of the present application. The control method of the linkage device of the present embodiment is a flowchart of a refined embodiment of the control method of the linkage device in fig. 1, where the message frame of the present embodiment specifically includes an equipment identity number and/or an equipment version number, and includes the following steps:
s61: the intelligent gateway device receives the message frame sent by the switch device.
S62: the switch device is authenticated based on the message frame.
S63: if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
The S61, S62 and S63 are the same as S11, S12 and S13 in fig. 1, and specific reference is made to S11, S12 and S13 and the related text descriptions thereof, which are not repeated herein.
S64: and receiving a feedback signal sent by the linkage equipment.
Specifically, the intelligent gateway device can also receive a feedback signal sent by the linkage device, so as to acquire the current working state of the linkage device through the feedback signal.
S65: and sending the equipment identity identification number, the equipment version number and the feedback signal to the intelligent terminal so as to display the equipment identity identification number, the equipment version number and the current working state of the linkage equipment of the switch equipment on the intelligent terminal.
Further, the intelligent gateway device specifically establishes communication connection with an intelligent terminal of a user, such as a smart phone, a smart watch or a tablet computer, so as to forward a device identity identification number and/or a device version number of the switch device and a feedback signal sent by the linkage device to the intelligent terminal, so that the device identity identification number and the device version number of the switch device and the current working state of the linkage device can be displayed on the intelligent terminal.
It can be understood that the intelligent gateway device can convert the key command correspondingly sent by the switch device into a cloud platform control command so as to further realize wireless control on the linkage device, and can send the device identity identification number and/or the device version number of the switch device and the feedback signal sent by the linkage device to the intelligent terminal of the user, so that the user can know the current working state of the linkage device and the characteristic information of the switch device currently participating in control in real time through the intelligent terminal of the user.
The application further provides an intelligent gateway device, referring to fig. 7, fig. 7 is a schematic structural diagram of an embodiment of the intelligent gateway device. The intelligent gateway device 71 specifically includes: proxy device 711 and gateway node device 712.
Wherein the proxy device 711 is coupled to the external switch device 72 to be able to receive the message frame sent by the switch device 72; and gateway node device 712 is coupled to proxy device 711 and external linkage device 73, and gateway node device 712 is capable of performing authority verification on the switching device based on the received message frame, and when the authority verification passes, sending a first control instruction to linkage device 73 according to a first preset program to adjust the working state of linkage device 73.
In an embodiment, the switching device 72 may be a Green Power Device (GPD, green Power self-generating device), and the corresponding sending message frame Green Power Device Frame (GPDF, green Power message frame) is a reduced message frame, and needs Green Power Proxy (GPP, i.e. proxy device 711) to perform proxy forwarding, and extends to a standard zigbee3.0 frame, and the Green Power Sink (GPS, i.e. gateway node device 712) is used as a mating device of the GPD, to receive the standard zigbee3.0 frame, and execute a corresponding command.
It can be appreciated that the intelligent gateway device 71 can correspondingly implement the control method of the linkage device as described in any one of the above, and refer to fig. 1-6 and related text, which are not repeated herein.
The present application further provides a control system of the linkage device, please refer to fig. 8, fig. 8 is a schematic structural diagram of an embodiment of the control system of the linkage device. The control system 81 of the linkage device specifically includes: a switching device 811 and an intelligent gateway device 812.
Wherein the switching means 811 is for generating a message frame; the intelligent gateway device 812 is configured to receive a message frame sent by the switching device, perform authority verification on the switching device based on the message frame, and send a first control instruction to the linkage device 82 according to a first preset program when the authority verification passes, so as to adjust the working state of the linkage device 82.
It can be appreciated that the control system 81 of the linkage device can correspondingly implement the control method of the linkage device as described in any one of the above, and refer to fig. 1-6 and related text, which are not repeated herein.
The present application further provides a computer readable storage medium, please refer to fig. 9, fig. 9 is a schematic structural diagram of an embodiment of the computer readable storage medium of the present application. The computer-readable storage medium 91 stores therein program data 911, which program data 911 can be executed to implement the control method of the linkage device as described in any one of the above.
In one embodiment, the computer readable storage medium 91 may be a memory chip, a hard disk or a removable hard disk in a terminal, or other readable and writable storage means such as a flash disk, an optical disk, etc., and may also be a server, etc.
In the several embodiments provided in the present application, it should be understood that the disclosed methods and apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., a division of a processor or memory, merely a division of a logic function, and there may be additional divisions of an actual implementation, e.g., multiple processor and memory implemented functions may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or connection shown or discussed with respect to each other may be through some interface, indirect coupling or connection of devices or elements, electrical, mechanical, or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the object of the present embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all or part of the technical solution contributing to the prior art or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Compared with the prior art, the control method of the linkage equipment in the application is characterized in that when the intelligent gateway equipment receives the message frame sent by the switch equipment, the authority verification can be carried out on the switch equipment based on the message frame so as to ensure the safety of corresponding control, and when the verification passes, a first control instruction can be sent to the linkage equipment according to a first preset program in response to the passing of the authority verification, so that the working state of the linkage equipment is regulated, thereby effectively avoiding the problems of frequent battery replacement, large occupied space and the like caused by the fact that a plurality of controlled linkage equipment exist and a plurality of different remote control equipment are adopted for control respectively, and effectively improving the convenience of use of users; and a first control instruction is correspondingly generated through a pre-stored first preset program to control the linkage equipment, so that the corresponding control process is greatly simplified.
The foregoing description is only of embodiments of the present application, and is not intended to limit the scope of the patent application, and all equivalent structures or equivalent processes using the descriptions and the contents of the present application or other related technical fields are included in the scope of the patent application.

Claims (10)

1. The control method of the linkage equipment is characterized by comprising the following steps of:
the intelligent gateway equipment receives a message frame sent by the switch equipment;
performing authority verification on the switching device based on the message frame;
if the authority verification passes, establishing communication connection with the switch equipment and the linkage equipment, and converting the communication connection into local connection;
and sending a first control instruction to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
2. The method for controlling a linkage device according to claim 1, wherein after the intelligent gateway device receives a message frame sent by a switching device, before the authority verification is performed on the switching device based on the message frame, the method further comprises:
converting the message frame into an information frame with a set standard format;
the authority verification of the switch device based on the message frame comprises the following steps:
and carrying out authority verification on the switching equipment based on the information frame.
3. The method of controlling a linkage device according to claim 1, wherein the message frame includes a check word, and the performing authority verification on the switching device based on the message frame includes:
Detecting whether the currently received check word is consistent with a calculated check word obtained through matching calculation in a set mode;
if the authority verification passes, a first control instruction is sent to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment, and the method comprises the following steps:
and if the check word is consistent with the calculated check word, sending the first control instruction to the linkage equipment according to the first preset program so as to adjust the working state of the linkage equipment.
4. The method for controlling a linkage device according to claim 1, wherein the linkage device includes at least two, and if the authority verification passes, sending a first control instruction to the linkage device according to a first preset program to adjust the working state of the linkage device, including:
and if the authority verification passes, respectively sending corresponding control instructions to each linkage device according to the first preset program so as to respectively adjust the working state of each linkage device.
5. The method for controlling a linkage device according to claim 1, wherein if the current authority verification passes, sending a first control instruction to the linkage device according to a first preset program, so as to adjust the working state of the linkage device, further comprising:
Receiving a switching signal sent by the switching equipment; wherein the switching device is a self-generating switching device;
and calling a second preset program to send a second control instruction to the linkage equipment so as to adjust the current working state of the linkage equipment.
6. The method for controlling a linkage device according to claim 1, wherein if the current authority verification passes, sending a first control instruction to the linkage device according to a first preset program, so as to adjust the working state of the linkage device, further comprising:
receiving a wireless control instruction sent by an intelligent terminal;
and sending the wireless control instruction to the linkage equipment to adjust the current working state of the linkage equipment.
7. The method for controlling a linkage device according to claim 1, wherein the message frame includes a device identity number and/or a device version number, and if the authority verification passes, the method further includes, after sending a first control instruction to the linkage device according to a first preset program to adjust the working state of the linkage device:
receiving a feedback signal sent by the linkage equipment; wherein the feedback signal corresponds to a current operating state of the linkage device;
And sending the equipment identity identification number and/or the equipment version number and the feedback signal to an intelligent terminal so as to display the equipment identity identification number and/or the equipment version number of the switching equipment and the current working state of the linkage equipment on the intelligent terminal.
8. An intelligent gateway device, the intelligent gateway device comprising:
a proxy device coupled to an external switching device, the proxy device configured to receive a message frame sent by the switching device;
the gateway node device is coupled with the proxy device and the external linkage equipment, and is used for carrying out authority verification on the switching equipment based on the message frame, establishing communication connection with the switching equipment and the linkage equipment when the authority verification passes, converting the communication connection into local connection, and sending a first control instruction to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
9. A control system for a linkage, the control system comprising:
a switching device for generating a message frame;
The intelligent gateway equipment is coupled with the switch equipment and the linkage equipment, and is used for receiving the message frame sent by the switch equipment, verifying the authority of the switch equipment based on the message frame, establishing communication connection with the switch equipment and the linkage equipment when the authority verification passes, converting the communication connection into local connection, and sending a first control instruction to the linkage equipment according to a first preset program so as to adjust the working state of the linkage equipment.
10. A computer readable storage medium storing program data executable to implement the method of controlling a linkage device according to any one of claims 1 to 7.
CN202110988526.5A 2021-08-26 2021-08-26 Linkage equipment control method and system, intelligent gateway equipment and storage medium Active CN113938345B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110988526.5A CN113938345B (en) 2021-08-26 2021-08-26 Linkage equipment control method and system, intelligent gateway equipment and storage medium
PCT/CN2022/108605 WO2023024818A1 (en) 2021-08-26 2022-07-28 Linkage device control method and system, and smart gateway device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110988526.5A CN113938345B (en) 2021-08-26 2021-08-26 Linkage equipment control method and system, intelligent gateway equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113938345A CN113938345A (en) 2022-01-14
CN113938345B true CN113938345B (en) 2023-07-18

Family

ID=79274728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110988526.5A Active CN113938345B (en) 2021-08-26 2021-08-26 Linkage equipment control method and system, intelligent gateway equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113938345B (en)
WO (1) WO2023024818A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938345B (en) * 2021-08-26 2023-07-18 杭州涂鸦信息技术有限公司 Linkage equipment control method and system, intelligent gateway equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988489A (en) * 2006-11-30 2007-06-27 中国联合通信有限公司 Intelligent system and method for monitoring house
CN108693779A (en) * 2018-06-08 2018-10-23 广州市威士丹利智能科技有限公司 Intelligent home control system and method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080011581A (en) * 2006-07-31 2008-02-05 삼성전자주식회사 Gateway device for remote control and method for the same
CN104902030B (en) * 2015-06-30 2019-03-05 北京奇虎科技有限公司 It is a kind of applied to the control method of intelligent remote controller, proxy server and control system
CN205477087U (en) * 2016-01-13 2016-08-17 北京源码智能技术有限公司 Belt formula is gang switch system for window
CN106302047B (en) * 2016-08-15 2019-10-25 中国联合网络通信集团有限公司 Household equipment control method and device
CN113207122B (en) * 2018-08-30 2022-10-18 华为技术有限公司 Message transmission method and device
EP4070509A1 (en) * 2019-12-04 2022-10-12 Electrolux Appliances Aktiebolag Method of controlling a home appliance and control system
CN111464842A (en) * 2020-04-13 2020-07-28 深圳创维-Rgb电子有限公司 Remote controller, remote control response method, electronic equipment and storage medium
CN111866105A (en) * 2020-07-09 2020-10-30 上海智向信息科技有限公司 Control method and device of intelligent Internet of things equipment, storage medium and equipment
CN111951436A (en) * 2020-07-31 2020-11-17 广东科徕尼智能科技有限公司 Linkage control method and device based on intelligent lock and storage medium
CN112015099B (en) * 2020-08-14 2023-08-29 深圳市欧瑞博科技股份有限公司 Authority adjusting method and device of intelligent switch, intelligent switch and storage medium
CN111965991B (en) * 2020-08-14 2023-08-29 深圳市欧瑞博科技股份有限公司 Authority adjusting method and device of intelligent control switch, intelligent control switch and storage medium
CN113938345B (en) * 2021-08-26 2023-07-18 杭州涂鸦信息技术有限公司 Linkage equipment control method and system, intelligent gateway equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988489A (en) * 2006-11-30 2007-06-27 中国联合通信有限公司 Intelligent system and method for monitoring house
CN108693779A (en) * 2018-06-08 2018-10-23 广州市威士丹利智能科技有限公司 Intelligent home control system and method

Also Published As

Publication number Publication date
CN113938345A (en) 2022-01-14
WO2023024818A1 (en) 2023-03-02

Similar Documents

Publication Publication Date Title
CN106878923B (en) Quick networking method for ultra-low power consumption intelligent equipment and intelligent home system
CN101997575B (en) Short-range communication is used to carry out system, the method and apparatus of wireless network connection
WO2018201998A1 (en) Home appliance network configuration method, home appliance, and user terminal
CN111132135B (en) Wireless network distribution method and system for intelligent home terminal
CN109212983A (en) Intelligent home furnishing control method, gateway and intelligent home control system
US20120331156A1 (en) Wireless control system, methods and apparatus
CN105635950A (en) Smart home gateway control system and method based on Zigbee
US20080026725A1 (en) Gateway device for remote control and method for the same
CN105471686A (en) Terminal control method, terminal control apparatus and system
US10327314B1 (en) System for integrated remote control of wireless lighting device and wireless electric and electronic devices in wireless network environment
CN106255176A (en) The method that smart machine is accessed wireless network
US20170118582A1 (en) Method of establishing stable piconet and system of establishment of stable piconet based on bluetooth
CN103475713A (en) Method and system for remotely monitoring smart home based on fusion communication technology
WO2020133495A1 (en) Smart device management method, mobile terminal, and system
WO2021017156A1 (en) Method for connecting remote control device and host
CN113938345B (en) Linkage equipment control method and system, intelligent gateway equipment and storage medium
AU2013364730A1 (en) System and method of controlling surrounding devices, based on topology
CN112684995A (en) Cross-screen input method and device
CN105591755A (en) Intelligent home system and authentication connection method on the basis of sound wave authentication connection
CN105812185A (en) Communication connection method for playing device
CN114640691A (en) Equipment connection method and system and corresponding Internet of things equipment
WO2005004387A1 (en) Mobile home network system
CN113395743A (en) Device connection method and system, corresponding terminal device and networking method
CN202737896U (en) Home multimedia network system
CN105490901A (en) Smart home full-house control device and control method thereof

Legal Events

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