WO2023024818A1 - Linkage device control method and system, and smart gateway device and storage medium - Google Patents

Linkage device control method and system, and smart gateway device and storage medium Download PDF

Info

Publication number
WO2023024818A1
WO2023024818A1 PCT/CN2022/108605 CN2022108605W WO2023024818A1 WO 2023024818 A1 WO2023024818 A1 WO 2023024818A1 CN 2022108605 W CN2022108605 W CN 2022108605W WO 2023024818 A1 WO2023024818 A1 WO 2023024818A1
Authority
WO
WIPO (PCT)
Prior art keywords
linked
linkage
control
message frame
switch
Prior art date
Application number
PCT/CN2022/108605
Other languages
French (fr)
Chinese (zh)
Inventor
李冲
Original Assignee
杭州涂鸦信息技术有限公司
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 杭州涂鸦信息技术有限公司 filed Critical 杭州涂鸦信息技术有限公司
Publication of WO2023024818A1 publication Critical patent/WO2023024818A1/en

Links

Images

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]

Definitions

  • the present application relates to the technical field of smart devices, and in particular to a control method, system, smart gateway device, and storage medium for linked devices.
  • each smart home device is usually equipped with a wireless smart switch, that is, a remote control, to control each smart home device separately. Control household devices.
  • the wireless smart switch can be conveniently placed in any suitable position for remote control, but it also brings certain troubles while bringing convenience.
  • a large number of wireless smart switch devices means that a large amount of space is required for storage.
  • a large number of batteries supply power respectively, so that it needs to be replaced in time and frequently after the power of the corresponding batteries is exhausted.
  • the technical problem mainly solved by this application is to provide a control method, system, intelligent gateway equipment and storage medium of linkage equipment, so as to solve the problem of intelligent equipment in the prior art, which usually uses a wireless intelligent switch loaded with a battery for remote control.
  • a wireless intelligent switch loaded with a battery for remote control.
  • the first aspect of the present application provides a control method for linkage equipment, wherein the control method for linkage equipment includes: the intelligent gateway equipment receives the message frame sent by the switch equipment; and performs authority verification on the switch equipment based on the message frame ; In response to passing the authority verification, send a first control instruction to the linked device according to a first preset program, so as to adjust the working state of the linked device.
  • the intelligent gateway device after the intelligent gateway device receives the message frame sent by the switch device, before performing authority verification on the switch device based on the message frame, it also includes: converting the message frame into an information frame with a standard format; performing authority verification on the switch device based on the message frame , including: verifying the authority of the switching device based on the information frame.
  • the message frame includes a check word
  • the authority verification of the switch device is performed based on the message frame, including: detecting whether the currently received check word is consistent with the calculated check word calculated by matching the setting method; responding to the authority verification passing , sending the first control command to the linked device according to the first preset program to adjust the working state of the linked device, including: in response to the check word being consistent with the calculated check word, sending the first control command to the linked device according to the first preset program
  • the first control command is used to adjust the working state of the linkage equipment.
  • the linked device includes at least two, and in response to passing the authority verification, sending a first control instruction to the linked device according to the first preset program to adjust the working state of the linked device, including: in response to passing the authority verification, according to the first A preset program sends corresponding control commands to each linked device to adjust the working state of each linked device respectively.
  • sending the first control instruction to the linked device according to the first preset program to adjust the working state of the linked device it also includes: receiving the switching signal sent by the switching device, wherein the switching device is Self-generating switching equipment; calling the second preset program to send a second control instruction to the linkage equipment to adjust the current working state of the linkage equipment.
  • sending the first control instruction to the linked device according to the first preset program to adjust the working state of the linked device it also includes: receiving the wireless control instruction sent by the smart terminal; sending the wireless control instruction Send it to the linked device to adjust the current working state of the linked device.
  • the message frame includes the device identification number and/or the device version number.
  • the first control instruction is sent to the linked device according to the first preset program to adjust the working state of the linked device. : Receive the feedback signal sent by the linked device, wherein the feedback signal corresponds to the current working state of the linked device; send the device identification number and/or device version number and the feedback signal to the smart terminal to display the status of the switch device on the smart terminal The device identification number and/or device version number and the current working status of the linked device.
  • the second aspect of the present application provides an intelligent gateway device, wherein the intelligent gateway device includes: a proxy device, coupled to an external switch device, and the proxy device is used to receive the message frame sent by the external switch device; the gateway node device, coupled to the proxy device and the external linkage device, the gateway node device is used to verify the authority of the external switch device based on the message frame, and when the authority verification is passed, send the first control instruction to the external linkage device according to the first preset program, To adjust the working state of the external linkage equipment.
  • the intelligent gateway device includes: a proxy device, coupled to an external switch device, and the proxy device is used to receive the message frame sent by the external switch device; the gateway node device, coupled to the proxy device and the external linkage device, the gateway node device is used to verify the authority of the external switch device based on the message frame, and when the authority verification is passed, send the first control instruction to the external linkage device according to the first preset program, To adjust the working state of the external linkage equipment.
  • the third aspect of the present application provides a control system of linkage equipment, wherein the control system of the linkage equipment includes: a switch device, used to generate message frames; an intelligent gateway device, coupled to the switch device and linkage device, the intelligent gateway device is used to receive the message frame sent by the switch device, to verify the authority of the switch device based on the message frame, and when the authority verification is passed, send the first control instruction to the linkage device according to the first preset program, so as to The working status of the linkage equipment is adjusted.
  • the control system of the linkage equipment includes: a switch device, used to generate message frames; an intelligent gateway device, coupled to the switch device and linkage device, the intelligent gateway device is used to receive the message frame sent by the switch device, to verify the authority of the switch device based on the message frame, and when the authority verification is passed, send the first control instruction to the linkage device according to the first preset program, so as to The working status of the linkage equipment is adjusted.
  • the fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores program data, and the program data can be executed to realize the linkage device as described in any one of the above. Control Method.
  • the control method of the linkage device of the present application when the intelligent gateway device receives the message frame sent by the switch device, can verify the authority of the switch device based on the message frame, so as to Ensure the safety of the corresponding control, and when the verification is passed, in response to the passing of the authority verification, send the first control instruction to the linkage device according to the first preset program to adjust the working state of the linkage device, so as to effectively It effectively avoids the problems of frequently changing batteries and taking up a lot of space when there are multiple controlled linkage devices that need to be controlled separately by multiple different remote control devices, and it also effectively improves the user experience.
  • Convenience in use the corresponding control process is greatly simplified by generating the first control instruction corresponding to the pre-stored first preset program to control the linkage equipment.
  • Fig. 1 is a schematic flow chart of the first embodiment of the control method of the linkage equipment of the present application
  • Fig. 2 is a schematic flow chart of the second embodiment of the control method of the linkage device of the present application
  • FIG. 3 is a schematic flow chart of a third embodiment of a method for controlling a linkage device of the present application
  • FIG. 4 is a schematic flow diagram of a fourth embodiment of a control method for a linkage device of the present application.
  • FIG. 5 is a schematic flow chart of a fifth embodiment of a control method for a linkage device of the present application.
  • FIG. 6 is a schematic flowchart of a sixth embodiment of a method for controlling a linkage device of the present application
  • FIG. 7 is a schematic structural diagram of an embodiment of an intelligent gateway device according to the present application.
  • Fig. 8 is a schematic structural diagram of an embodiment of a control system of the linkage equipment of the present application.
  • FIG. 9 is a schematic structural diagram of an embodiment of a computer-readable storage medium of the present application.
  • system and “network” are often used interchangeably herein.
  • the term “and/or” in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations.
  • the character "/” in this article generally indicates that the contextual objects are an “or” relationship.
  • “many” herein means two or more than two.
  • the inventor has found through long-term research that with the development of artificial intelligence, especially the development of smart home equipment and the concept of the Internet of Everything is gradually accepted by people, more and more families begin to install smart home equipment, and how to realize each smart home
  • the linkage control between devices has gradually gained the attention and attention of users.
  • each smart home device is correspondingly equipped with a wireless smart switch, that is, a remote controller.
  • the remote controllers corresponding to different smart home devices usually cannot be shared.
  • household devices such as televisions, refrigerators, curtains, lamps, and air conditioners usually have dedicated remote controllers, so that a large amount of space is required to store different remote controllers.
  • a large number of remote controllers means that a large number of batteries are required to supply power respectively, so that it needs to be replaced in time and frequently after the power of the corresponding batteries is exhausted.
  • the above-mentioned 433 protocol is a communication protocol that can receive and transmit signal data
  • the 433 protocol has a star network topology, and the transmission distance can reach 1000 meters, which is an ideal smart home protocol.
  • the 433 products of various manufacturers cannot be used compatible with each other, resulting in poor compatibility.
  • the existing remote controllers of different smart home devices of the same type can usually be shared with each other, and this will bring security problems that the control authority is not unique, especially for those with high privacy and security requirements. Users, who often can't stand other people's switching devices being able to control their own smart devices.
  • the present application provides a control method for linked devices.
  • the application will be described in further detail below in conjunction with the accompanying drawings and embodiments.
  • the following examples are only used to illustrate the present application, but not to limit the scope of the present application.
  • the following embodiments are only some of the embodiments of the present application but not all of them, and all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present application.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for controlling a linkage device of the present application. Specifically, the following steps may be included:
  • S11 The intelligent gateway device receives the message frame sent by the switch device.
  • control method of the linkage equipment in this embodiment specifically controls the linkage equipment through the intelligent gateway device acting as the control center, and can accept the start and stop control of the switch equipment, and then adjust and control the working state of the linkage equipment .
  • the intelligent gateway device also acts as a communication center for realizing linked communication between different linked devices.
  • the user can start sending the corresponding generated message frame to the corresponding intelligent gateway device by inputting a digital control command to the switch device or directly performing button control, so as to start the corresponding linkage of the intelligent gateway device.
  • the device is controlled.
  • the switchgear can be specifically understood as a switch device that includes a mechanical key or a digital display, and can correspondingly generate a message frame including a start and stop signal; and the message frame can be specifically understood as a switch device that includes a start signal or a The data information of any reasonable signal such as the stop signal or the control signal for switching the control mode, so as to be able to correspondingly start or shut down or switch the current control program of the smart gateway device.
  • S12 Perform authority verification on the switch device based on the message frame.
  • the message frame sent by the switch device to the smart gateway device may specifically include verification data capable of unique identification or authority identification, so that the smart gateway device can
  • the received message frame performs authority verification on the switch device, that is, determines whether the switch device that sends the message frame to the intelligent gateway device has the authority to start and control the intelligent gateway device.
  • the message frame may specifically include a unique identification code
  • the smart gateway device correspondingly stores a white list composed of identification codes with control authority, and the unique identification code in the received message frame exists When it is in the white list, it is determined that the verification is passed.
  • the message frame may also include a hash password, and the smart gateway device can verify the control authority of the switch device by means of hash password calculation and verification, which is not limited in this application.
  • the smart gateway device can specifically set and store the program data that can control the linked device according to the set method, so that the corresponding control instructions can be generated by calling the program data, and then the working state of the linked device can be adjusted. .
  • the intelligent gateway device can call out its preset and stored first A preset program that sends a first control command to the linked device, so that the linked device changes its current working state under the action of the first control command, thereby realizing the adjustment of the working state of the linked device.
  • the linked device is an air conditioner as an example for illustration.
  • the first control command correspondingly generated by the first preset program and sent to the air conditioner can specifically be to start the air conditioner, adjust to the cooling mode, adjust the temperature to 22°C etc.
  • the intelligent gateway device exists specifically as a control center, and the switch device is used to start and stop the process of the intelligent gateway device controlling the linkage equipment; and no matter whether the number of controlled linkage equipment is one or more, the Only one switch device and intelligent gateway device are required to complete the corresponding control process.
  • the linkage device can also be one or more of any reasonable smart home equipment such as TV, computer, smart speaker, smart curtain and refrigerator; or, the linkage device can also be a smart handling device One or more of any reasonable intelligent production equipment such as smart manipulators, unmanned aerial vehicles, and transmission devices; and when there are multiple linkage equipments, multiple linkage equipments are connected to the intelligent gateway equipment by communication, so as to Linkage can be realized through the intelligent gateway device.
  • any reasonable smart home equipment such as TV, computer, smart speaker, smart curtain and refrigerator
  • the linkage device can also be a smart handling device
  • any reasonable intelligent production equipment such as smart manipulators, unmanned aerial vehicles, and transmission devices
  • the first control instruction correspondingly generated by the first preset program and sent to the linkage device can specifically correspond to starting the air conditioner, computer and smart speaker, and adjusting the air conditioner to cooling mode, turning on the smart speaker to play the newsletter of the day Or light music, etc., which can be used to sequentially and separately control multiple linked devices, which is not limited in this application.
  • the intelligent gateway device when the intelligent gateway device receives the message frame sent by the switch device, it can verify the authority of the switch device based on the message frame to ensure the security of the corresponding control, and when the verification is passed, it can respond to the authority verification. , and send the first control command to the linked device according to the first preset program to adjust the working state of the linked device, thus effectively avoiding the need to use multiple different linked devices when there are multiple controlled linked devices.
  • the problems caused by the separate control of the remote control devices such as the need to frequently replace the battery and take up a lot of space, have effectively improved the convenience of the user; Linkage equipment for control also greatly simplifies the corresponding control process.
  • the above S13 may specifically include: if the permission verification is passed, sending corresponding control instructions to each linked device according to the first preset program, so as to The working state of each linked device is adjusted separately, thereby greatly simplifying the control procedure for separately controlling at least two linked devices.
  • the smart gateway device can call out its preset and stored first preset program, and send corresponding control instructions to each linked device, so that each linked device Under the action of the first control instruction, its current working state is changed, so as to realize the adjustment of the working state of each linkage device.
  • the linkage equipment specifically includes an air conditioner, a computer, and a smart speaker as an example.
  • the cooling mode turn on the smart speaker to play the day's newsletter or light music, etc., to control multiple linkage devices sequentially and separately, which is not limited in this application.
  • the above S13 may specifically include: if the authorization verification is successful, establish a communication connection with the switch device and the linkage equipment, and send the first control instruction to the linkage equipment according to the first preset program, so as to Adjust the working status of linkage equipment.
  • the switchgear and linkage equipment in order to ensure that the switchgear and linkage equipment can continue to perform data interaction and signal transmission with the smart gateway equipment, when the smart gateway equipment passes the authority verification of the message frame sent by the switchgear, it also includes the communication with the switchgear and linkage equipment.
  • a communication connection is established, so that the first control instruction can be correspondingly sent to the linked device, so as to adjust the working state of the linked device.
  • the establishment of the communication connection between the intelligent gateway device and the linkage device may also occur at any time before the above S13, which is not limited in this application.
  • the intelligent gateway device can establish a communication connection with the switch device and the linkage device through ZigBee (Zigbee) channel or WIFI (wireless communication) and other reasonable wireless communication connection methods, which is not limited in this application .
  • ZigBee ZigBee
  • WIFI wireless communication
  • ZigBee also known as Zigbee
  • ZigBee is a wireless network protocol for low-speed and short-distance transmission.
  • the bottom layer is the media access layer and physical layer that adopt the IEEE 802.15.4 standard specification.
  • the main features are low speed, low power consumption, low cost, support for a large number of online nodes, support for multiple online topologies, low complexity, fast, reliable, and secure.
  • the switching device is a Green Power (green power) self-generating device, and is a one-way sending device. Because it cannot find a channel by itself, it needs the support of the intelligent gateway device in terms of human-computer interaction. For this reason, the smart gateway device will actively report the ZigBee channel to the user's handheld smart terminal, so that the user can check the channel number on the handheld smart terminal for the user to access the network. And the intelligent gateway device also needs to verify the authority of the switch device through the message frame sent by the switch device, so that when the verification is passed, the switch device is allowed to enter the network, and when the verification fails, the network access channel of the switch device is closed.
  • Green Power green power
  • the smart gateway device can also connect the corresponding The communication connection of the network is converted to local linkage, so that even after the smart gateway device is disconnected from the network, that is, after the background server does not provide network services, the linkage device can still be controlled normally through the switch device.
  • the switch device can also be electrically connected to the smart gateway device through a conductive line, and sends an analog electrical signal to the smart gateway device to start the smart gateway device to send the connected device to the linkage device according to its first preset program. Send the first control instruction to adjust the working state of the linkage equipment.
  • the switch device may also be an infrared remote control device, which can send message frames to the smart gateway device through infrared rays, which is not limited in this application.
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for controlling a linkage device of the present application.
  • the control method of the linkage equipment in this embodiment is a schematic flowchart of a detailed embodiment of the control method of the linkage equipment in FIG. 1 , including the following steps:
  • S21 The intelligent gateway device receives the message frame sent by the switch device.
  • S21 is the same as S11 in FIG. 1 , please refer to S11 and related text descriptions for details, and details will not be repeated here.
  • the message frame sent by the switch device to the smart gateway device is usually extremely simplified, and in order to facilitate the verification and control processing of the smart gateway device, the smart gateway device also needs to use the
  • the message frame is converted into an information frame with a standard format, for example, the message frame is expanded into a standard ZigBee3.0 frame or any other reasonable standard wireless communication protocol information frame, so that corresponding commands can be executed according to the standard information frame.
  • the intelligent gateway device specifically performs authority verification on the switch device by converting it into an information frame in a set standard format.
  • S24 is the same as S13 in FIG. 1 , please refer to S13 and related text descriptions for details, and details will not be repeated here.
  • FIG. 3 is a schematic flowchart of a third embodiment of a method for controlling a linkage device of the present application.
  • the control method of the linked device in this embodiment is a schematic flowchart of a detailed embodiment of the control method of the linked device in FIG. 1 , wherein the message frame in this 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.
  • S31 is the same as S11 in FIG. 1 , please refer to S11 and related text descriptions for details, and details will not be repeated here.
  • the intelligent gateway device After the intelligent gateway device receives the message frame including the check word sent by the switch device, the intelligent gateway device specifically uses any reasonable matching calculation method such as a preset function calculation method or a hash password calculation method.
  • the corresponding calculation check word is obtained by calculating the corresponding calculation check word to verify whether the calculation check word is consistent with the currently received check word, and when the two are consistent, it is determined that this verification is passed, and when the two are inconsistent, it is determined that this If the second verification fails, the corresponding switch device has no control authority over the smart gateway device.
  • the smart gateway device can call out its preset and stored first preset program, and send the first control instruction to the linkage device, The current working state of the linked device is changed under the action of the first control instruction, so as to realize the adjustment of the working state of the linked device.
  • the message frame sent by the switch device to the smart gateway device is usually extremely concise, so that it is difficult for the smart gateway device to uniquely identify it, so some necessary information needs to be added to The feature information and authorization status of the switchgear can be obtained.
  • the newly added fields of the message frame can be specifically:
  • PID device product identification number
  • Device version number the specific version number of the device
  • Mode ID specific device model
  • Checkword In order to prevent unauthorized devices from entering the network, only after the switchgear passes the production test authorization, that is, the authority verification, it is allowed to enter the network.
  • the smart gateway device matches the calculated checksum with the received checksum, and only when they are the same will it allow access to the network.
  • FIG. 4 is a schematic flowchart of a fourth embodiment of a method for controlling a linkage device of the present application.
  • the control method of the linkage equipment in this embodiment is a schematic flowchart of a detailed embodiment of the control method of the linkage equipment in FIG. 1 , including the following steps:
  • S41 The intelligent gateway device receives the message frame sent by the switch device.
  • S42 Perform authority verification on the switch device based on the message frame.
  • S41 , S42 , and S43 are the same as S11 , S12 , and S13 in FIG. 1 , for details, please refer to S11 , S12 , and S13 and their related text descriptions, which will not be repeated here.
  • the smart gateway device can establish a communication connection with the switch device to receive the switch signal sent by the switch device; or, receive the switch signal sent by the switch device again through the corresponding conductive line .
  • the switch device is a self-generating switch device, so that current can be generated at the moment when the user presses the corresponding mechanical button, so as to generate a message frame and a switch signal, and send the message frame and switch signal to the intelligent gateway device, so as to be able to Avoid the problem of using chemical batteries to provide power, which requires frequent battery replacement.
  • the switch device is an infrared remote control device, and includes a plurality of different keys or digital display screens, so that by pressing corresponding keys or corresponding numbers to the digital display screen, a message frame can be sent to the intelligent gateway device correspondingly, or different switching signals.
  • S45 calling the second preset program to send a second control command to the linked device to adjust the current working state of the linked device.
  • the intelligent gateway device receives the switch signal sent by the switch device, it can call the second preset program which is preset and stored, and send the second control instruction to the linkage device, so that the linkage device Under the action of the control command, the current working state is changed to switch to another working state.
  • the second control instruction may specifically correspond to turning off the air conditioner, or adjusting the cooling temperature of the air conditioner to 25°C, and turning it off after 6 hours, etc. control program.
  • the switch signal when there are multiple linked devices, corresponds to the second control command that is retrieved and sent, and may also correspond to switching the current working mode of multiple different linked devices to another working mode. .
  • the switch device specifically includes a plurality of buttons, and different buttons correspond to a plurality of different switch signals or message frames, and different switch signals can respectively adjust one or more linkage devices to different working modes.
  • the switch device may only include one key, and different key times correspond to different switch signals, for example, when the key is pressed for the first time, a corresponding message frame is sent to the intelligent gateway device, After passing the corresponding authority verification, when the button is pressed for the second time, the first switch signal is sent to the smart gateway device, and when the button is pressed for the third time, the second switch signal is sent to the smart gateway device; and so on, For the fourth time, it corresponds to the third switch signal; or, it corresponds to the message frame again, and cycles in sequence, which is not limited in the present application.
  • FIG. 5 is a schematic flowchart of a fifth embodiment of a method for controlling a linkage device of the present application.
  • the control method of the linkage equipment in this embodiment is a schematic flowchart of a detailed embodiment of the control method of the linkage equipment in FIG. 1 , including the following steps:
  • S51 The intelligent gateway device receives the message frame sent by the switch device.
  • S52 Perform authority verification on the switch device based on the message frame.
  • S51 , S52 , and S53 are the same as S11 , S12 , and S13 in FIG. 1 , for details, please refer to S11 , S12 , and S13 and their related text descriptions, and details will not be repeated here.
  • S54 Receive a wireless control instruction sent by the smart terminal.
  • the smart gateway device can also establish a wireless communication connection with a smart terminal, such as any reasonable handheld smart terminal such as a user's mobile phone, tablet computer or smart watch, or a computer, or a background server, so as to be able to receive information sent by the smart terminal. wireless control commands.
  • a smart terminal such as any reasonable handheld smart terminal such as a user's mobile phone, tablet computer or smart watch, or a computer, or a background server, so as to be able to receive information sent by the smart terminal. wireless control commands.
  • S55 Send the wireless control command to the linked device to adjust the current working state of the linked device.
  • the user can send a wireless control command to the smart gateway device through the smart terminal, so that the smart gateway device forwards the wireless control command to the linkage device, and adjusts the current working state of the linkage device, so as to realize more flexible linkage Device control scheme.
  • FIG. 6 is a schematic flowchart of a sixth embodiment of a method for controlling a linkage device of the present application.
  • the control method of the linked device in this embodiment is a schematic flowchart of a detailed embodiment of the control method of the linked device in FIG. 1 , wherein the message frame in this embodiment specifically includes the device identification number and/or the device version number, Instead, include the following steps:
  • S61 The intelligent gateway device receives the message frame sent by the switch device.
  • S62 Perform authority verification on the switch device based on the message frame.
  • S61 , S62 , and S63 are the same as S11 , S12 , and S13 in FIG. 1 , for details, please refer to S11 , S12 , and S13 and their related text descriptions, which will not be repeated here.
  • the smart gateway device can also receive a feedback signal sent by the linkage device, so as to know the current working state of the linkage device through the feedback signal.
  • S65 Send the device identification number, device version number and feedback signal to the smart terminal, so as to display the device identification number and device version number of the switch device and the current working status of the linkage device on the smart terminal.
  • the smart gateway device specifically establishes a communication connection with the user's smart terminal, such as a smart phone, smart watch, or tablet computer, so as to be able to send the device identification number and/or device version number of the switch device and the information sent by the linkage device.
  • the feedback signal is forwarded to the smart terminal, so that the device identification number and device version number of the switch device and the current working status of the linkage device can be displayed on the smart terminal.
  • the smart gateway device can convert the key commands sent by the switch device into cloud platform control commands, so as to realize wireless control of the linkage device, and can convert the device identification number and/or device version number of the switch device and
  • the feedback signal sent by the linkage equipment is sent to the user's smart terminal, so that the user can know the current working status of the linkage equipment and the characteristic information of the switch equipment currently participating in the control through his smart terminal in real time.
  • the present application also provides an intelligent gateway device, please refer to FIG. 7 , which is a schematic structural diagram of an embodiment of the intelligent gateway device of the present application.
  • the intelligent gateway device 71 specifically includes: a proxy device 711 and a gateway node device 712 .
  • the proxy device 711 is coupled to the external switch device 72, so as to be able to receive the message frame sent by the switch device 72; and the gateway node device 712 is coupled to the proxy device 711 and the external linkage device 73, and the gateway node device 712 can receive
  • the message frame is used to verify the authority of the switch device, and when the authority verification is passed, the first control command is sent to the linkage device 73 according to the first preset program, so as to adjust the working state of the linkage device 73 .
  • the switching device 72 can specifically be Green Power Device (GPD, green power self-generating equipment), and its corresponding message frame Green Power Device Frame (GPDF, green power message frame) is a simplified message frame, Green Power Proxy (GPP, i.e. proxy device 711) is required to carry out proxy forwarding and expand to standard ZigBee3.0 frames, and Green Power Sink (GPS, i.e. gateway node device 712) is used as the pairing device of GPD to receive the standard ZigBee3 frame .0 frame, and execute the corresponding command.
  • GPDF Green Power Device Frame
  • the intelligent gateway device 71 can correspondingly realize the control method of the linkage device described in any one of the above items, please refer to Fig. 1-Fig.
  • the present application also provides a control system of a linkage device, please refer to FIG. 8 , which is a schematic structural diagram of an embodiment of a control system of a linkage device of the present application.
  • the control system 81 of the linkage device specifically includes: a switch device 811 and an intelligent gateway device 812 .
  • the switch device 811 is used to generate a message frame; and the intelligent gateway device 812 is used to receive the message frame sent by the switch device, so as to verify the authority of the switch device based on the message frame, and if the authority verification passes this time, then according to the first preset It is assumed that the program sends a first control command to the linkage device 82 to adjust the working state of the linkage device 82 .
  • control system 81 of the linked device can correspondingly realize the control method of the linked device described in any one of the above items.
  • the present application also provides a computer-readable storage medium, please refer to FIG. 9 , which 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 program data 911 , and the program data 911 can be executed to realize the control method of any linkage device as described above.
  • the computer-readable storage medium 91 may be a storage chip in the terminal, a hard disk, or a mobile hard disk, USB flash drive, optical disk, or other readable and writable storage tools, or a server or the like.
  • the disclosed methods and devices may be implemented in other ways.
  • the device implementation described above is only illustrative, for example, the division of processors or memory is only a logical function division, and there may be other division methods in actual implementation, such as multiple processors and memory implementations
  • the functions may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or connection shown or discussed may be through some interfaces, and the indirect coupling or connection of devices or units may be in electrical, mechanical or other forms.
  • a unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods in various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
  • the linkage device control method in this application can verify the authority of the switch device based on the message frame when the intelligent gateway device receives the message frame sent by the switch device, so as to ensure the security of the corresponding control, and
  • the first control instruction can be sent to the linked device according to the first preset program in response to the passing of the authority verification, so as to adjust the working state of the linked device, thereby effectively avoiding the problem when there are multiple Controlled linkage equipment, and the need to use multiple different remote control equipment to control separately, the problems of frequent battery replacement and large space occupation, etc., also effectively improve the convenience of users; and through pre-stored
  • the first preset program generates the first control instruction to control the linkage equipment, which also greatly simplifies the corresponding control process.

Abstract

Disclosed in the present application are a linkage device control method and system, and a smart gateway device and a storage medium. The linkage device control method comprises: a smart gateway device receiving a message frame sent by a switch device; performing permission verification on the switch device on the basis of the message frame; and if the present permission verification is passed, sending a first control instruction to a linkage device according to a first preset program, so as to adjust the working state of the linkage device. By means of the solution, in the present application, a smart gateway device is taken as a control center to adjust the working state of a linkage device, such that the problems of frequent battery swapping, taking up a large amount of space, etc. caused by it being necessary to use a plurality of different remote control devices to perform control when there are a plurality of controlled linkage devices are effectively avoided, thereby effectively improving the usage convenience for a user.

Description

联动设备的控制方法、系统、智能网关设备及存储介质Linkage device control method, system, intelligent gateway device, and storage medium 技术领域technical field
本申请涉及智能设备技术领域,特别是涉及一种联动设备的控制方法、系统、智能网关设备及存储介质。The present application relates to the technical field of smart devices, and in particular to a control method, system, smart gateway device, and storage medium for linked devices.
背景技术Background technique
现今,随着人工智能的发展,越来越多的家庭开始安装智能家居设备,而相应地,通常会给每一智能家居设备配备一无线智能开关,也即遥控器,以分别对每一智能家居设备进行控制。Nowadays, with the development of artificial intelligence, more and more families begin to install smart home devices. Correspondingly, each smart home device is usually equipped with a wireless smart switch, that is, a remote control, to control each smart home device separately. Control household devices.
其中,无线智能开关可以方便的放置在任一合适的位置进行远程操控,但是在带来便利性的同时也带来了一定困扰,比如,大量的无线智能开关设备意味着需要大量的空间进行存放,以及大量的电池分别进行供电,以致在相应电池的电量耗尽后还需要及时、频繁的对其进行更换。Among them, the wireless smart switch can be conveniently placed in any suitable position for remote control, but it also brings certain troubles while bringing convenience. For example, a large number of wireless smart switch devices means that a large amount of space is required for storage. And a large number of batteries supply power respectively, so that it needs to be replaced in time and frequently after the power of the corresponding batteries is exhausted.
发明内容Contents of the invention
本申请主要解决的技术问题是提供一种联动设备的控制方法、系统、智能网关设备及存储介质,以解决现有技术中的智能设备,通常采用的是装载有电池的无线智能开关进行遥控,以致在智能设备具有多个时,需要配备多个无线智能开关,而严重影响到使用便利性的问题。The technical problem mainly solved by this application is to provide a control method, system, intelligent gateway equipment and storage medium of linkage equipment, so as to solve the problem of intelligent equipment in the prior art, which usually uses a wireless intelligent switch loaded with a battery for remote control. As a result, when there are multiple smart devices, multiple wireless smart switches need to be equipped, which seriously affects the convenience of use.
为了解决上述问题,本申请第一方面提供了一种联动设备的控制方法,其中,该联动设备的控制方法包括:智能网关设备接收开关设备发送的消息帧;基于消息帧对开关设备进行权限验证;响应于权限验证通过,根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节。In order to solve the above problems, the first aspect of the present application provides a control method for linkage equipment, wherein the control method for linkage equipment includes: the intelligent gateway equipment receives the message frame sent by the switch equipment; and performs authority verification on the switch equipment based on the message frame ; In response to passing the authority verification, send a first control instruction to the linked device according to a first preset program, so as to adjust the working state of the linked device.
其中,智能网关设备接收开关设备发送的消息帧之后,基于消息帧对开关设备进行权限验证之前,还包括:将消息帧转换为设定标准格式 的信息帧;基于消息帧对开关设备进行权限验证,包括:基于信息帧对开关设备进行权限验证。Among them, after the intelligent gateway device receives the message frame sent by the switch device, before performing authority verification on the switch device based on the message frame, it also includes: converting the message frame into an information frame with a standard format; performing authority verification on the switch device based on the message frame , including: verifying the authority of the switching device based on the information frame.
其中,消息帧包括校验字,基于消息帧对开关设备进行权限验证,包括:检测当前接收到的校验字与通过设定方式匹配计算得到的计算校验字是否一致;响应于权限验证通过,根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节,包括:响应于校验字与计算校验字一致,根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节。Among them, the message frame includes a check word, and the authority verification of the switch device is performed based on the message frame, including: detecting whether the currently received check word is consistent with the calculated check word calculated by matching the setting method; responding to the authority verification passing , sending the first control command to the linked device according to the first preset program to adjust the working state of the linked device, including: in response to the check word being consistent with the calculated check word, sending the first control command to the linked device according to the first preset program The first control command is used to adjust the working state of the linkage equipment.
其中,联动设备包括至少两个,响应于权限验证通过,根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节,包括:响应于权限验证通过,根据第一预设程序向每一联动设备分别发送相应的控制指令,以分别对每一联动设备的工作状态进行调节。Wherein, the linked device includes at least two, and in response to passing the authority verification, sending a first control instruction to the linked device according to the first preset program to adjust the working state of the linked device, including: in response to passing the authority verification, according to the first A preset program sends corresponding control commands to each linked device to adjust the working state of each linked device respectively.
其中,响应于权限验证通过,根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节之后,还包括:接收开关设备发送的开关信号,其中,开关设备为自发电开关设备;调用第二预设程序向联动设备发送第二控制指令,以对联动设备的当前工作状态进行调节。Wherein, in response to passing the authority verification, sending the first control instruction to the linked device according to the first preset program to adjust the working state of the linked device, it also includes: receiving the switching signal sent by the switching device, wherein the switching device is Self-generating switching equipment; calling the second preset program to send a second control instruction to the linkage equipment to adjust the current working state of the linkage equipment.
其中,响应于权限验证通过,根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节之后,还包括:接收智能终端发送的无线控制指令;将无线控制指令发送给联动设备,以对联动设备的当前工作状态进行调节。Wherein, in response to passing the authority verification, sending the first control instruction to the linked device according to the first preset program to adjust the working state of the linked device, it also includes: receiving the wireless control instruction sent by the smart terminal; sending the wireless control instruction Send it to the linked device to adjust the current working state of the linked device.
其中,消息帧包括设备身份识别号和/或设备版本号,响应于权限验证通过,根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节之后,还包括:接收联动设备发送的反馈信号,其中,反馈信号对应于联动设备的当前工作状态;将设备身份识别号和/或设备版本号以及反馈信号发送给智能终端,以在智能终端上显示开关设备的设备身份识别号和/或设备版本号以及联动设备的当前工作状态。Wherein, the message frame includes the device identification number and/or the device version number. In response to passing the authority verification, the first control instruction is sent to the linked device according to the first preset program to adjust the working state of the linked device. : Receive the feedback signal sent by the linked device, wherein the feedback signal corresponds to the current working state of the linked device; send the device identification number and/or device version number and the feedback signal to the smart terminal to display the status of the switch device on the smart terminal The device identification number and/or device version number and the current working status of the linked device.
为了解决上述问题,本申请第二方面提供了一种智能网关设备,其中,该智能网关设备包括:代理装置,耦接外部开关装置,代理装置用 于接收外部开关装置发送的消息帧;网关节点装置,耦接代理装置和外部联动设备,网关节点装置用于基于消息帧对外部开关装置进行权限验证,并在权限验证通过时,根据第一预设程序向外部联动设备发送第一控制指令,以对外部联动设备的工作状态进行调节。In order to solve the above problems, the second aspect of the present application provides an intelligent gateway device, wherein the intelligent gateway device includes: a proxy device, coupled to an external switch device, and the proxy device is used to receive the message frame sent by the external switch device; the gateway node device, coupled to the proxy device and the external linkage device, the gateway node device is used to verify the authority of the external switch device based on the message frame, and when the authority verification is passed, send the first control instruction to the external linkage device according to the first preset program, To adjust the working state of the external linkage equipment.
为了解决上述问题,本申请第三方面提供了一种联动设备的控制系统,其中,该联动设备的控制系统包括:开关装置,用于生成消息帧;智能网关设备,耦接于开关装置和联动设备,智能网关设备用于接收开关装置发送的消息帧,以基于消息帧对开关装置进行权限验证,并在权限验证通过时,根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节。In order to solve the above problems, the third aspect of the present application provides a control system of linkage equipment, wherein the control system of the linkage equipment includes: a switch device, used to generate message frames; an intelligent gateway device, coupled to the switch device and linkage device, the intelligent gateway device is used to receive the message frame sent by the switch device, to verify the authority of the switch device based on the message frame, and when the authority verification is passed, send the first control instruction to the linkage device according to the first preset program, so as to The working status of the linkage equipment is adjusted.
为了解决上述问题,本申请第四方面提供了一种计算机可读存储介质,其中,该计算机可读存储介质存储有程序数据,程序数据能够被执行以实现如上任一项所述的联动设备的控制方法。In order to solve the above problems, the fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores program data, and the program data can be executed to realize the linkage device as described in any one of the above. Control Method.
本发明的有益效果是:区别于现有技术的情况,本申请的联动设备的控制方法,在智能网关设备接收到开关设备发送的消息帧时,能够基于消息帧对开关设备进行权限验证,以保证相应控制的安全性,并在验证通过时,能够响应于本次权限验证通过,而根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节,从而有效地避免了当存在有多个受控的联动设备,而需要采用多个不同的遥控设备分别进行控制所带来的需要频繁更换电池、占用空间多等问题的出现,也便有效地提升了用户使用的便利性;而通过预存的第一预设程序对应生成第一控制指令对联动设备进行控制,也极大的简化了相应的控制过程。The beneficial effects of the present invention are: different from the situation of the prior art, the control method of the linkage device of the present application, when the intelligent gateway device receives the message frame sent by the switch device, can verify the authority of the switch device based on the message frame, so as to Ensure the safety of the corresponding control, and when the verification is passed, in response to the passing of the authority verification, send the first control instruction to the linkage device according to the first preset program to adjust the working state of the linkage device, so as to effectively It effectively avoids the problems of frequently changing batteries and taking up a lot of space when there are multiple controlled linkage devices that need to be controlled separately by multiple different remote control devices, and it also effectively improves the user experience. Convenience in use; the corresponding control process is greatly simplified by generating the first control instruction corresponding to the pre-stored first preset program to control the linkage equipment.
附图说明Description of drawings
图1是本申请联动设备的控制方法第一实施例的流程示意图;Fig. 1 is a schematic flow chart of the first embodiment of the control method of the linkage equipment of the present application;
图2是本申请联动设备的控制方法第二实施例的流程示意图;Fig. 2 is a schematic flow chart of the second embodiment of the control method of the linkage device of the present application;
图3是本申请联动设备的控制方法第三实施例的流程示意图;FIG. 3 is a schematic flow chart of a third embodiment of a method for controlling a linkage device of the present application;
图4是本申请联动设备的控制方法第四实施例的流程示意图;FIG. 4 is a schematic flow diagram of a fourth embodiment of a control method for a linkage device of the present application;
图5是本申请联动设备的控制方法第五实施例的流程示意图;FIG. 5 is a schematic flow chart of a fifth embodiment of a control method for a linkage device of the present application;
图6是本申请联动设备的控制方法第六实施例的流程示意图;FIG. 6 is a schematic flowchart of a sixth embodiment of a method for controlling a linkage device of the present application;
图7是本申请智能网关设备一实施例的结构示意图;FIG. 7 is a schematic structural diagram of an embodiment of an intelligent gateway device according to the present application;
图8是本申请联动设备的控制系统一实施例的结构示意图;Fig. 8 is a schematic structural diagram of an embodiment of a control system of the linkage equipment of the present application;
图9是本申请计算机可读存储介质一实施例的结构示意图。FIG. 9 is a schematic structural diagram of an embodiment of a computer-readable storage medium of the present application.
具体实施方式Detailed ways
下面结合说明书附图,对本申请实施例的方案进行详细说明。The solutions of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本申请。In the following description, for purposes of illustration rather than limitation, specific details, such as specific system architectures, interfaces, and techniques, are set forth in order to provide a thorough understanding of the present application.
本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。此外,本文中的“多”表示两个或者多于两个。The terms "system" and "network" are often used interchangeably herein. The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship. In addition, "many" herein means two or more than two.
发明人经长期研究发现,随着人工智能的发展,尤其是智能家居设备的发展以及万物互联的概念逐渐被人们所接受,越来越多的家庭开始安装智能家居设备,而如何实现各智能家居设备之间的联动控制,也逐渐得到用户的关注和在意。The inventor has found through long-term research that with the development of artificial intelligence, especially the development of smart home equipment and the concept of the Internet of Everything is gradually accepted by people, more and more families begin to install smart home equipment, and how to realize each smart home The linkage control between devices has gradually gained the attention and attention of users.
其中,对于传统的智能家居设备而言,通常每一智能家居设备均对应配备有一无线智能开关,也即遥控器。且不同的智能家居设备分别对应的遥控器通常不能共用,比如,电视机、冰箱、窗帘、灯具、空调等家居设备通常均对应有专用的遥控器,以致需要大量的空间存放不同的遥控器。而大量的遥控器又意味着需要大量的电池分别进行供电,以致在相应电池的电量耗尽后还需要及时、频繁的对其进行更换。Wherein, for traditional smart home devices, usually each smart home device is correspondingly equipped with a wireless smart switch, that is, a remote controller. Moreover, the remote controllers corresponding to different smart home devices usually cannot be shared. For example, household devices such as televisions, refrigerators, curtains, lamps, and air conditioners usually have dedicated remote controllers, so that a large amount of space is required to store different remote controllers. And a large number of remote controllers means that a large number of batteries are required to supply power respectively, so that it needs to be replaced in time and frequently after the power of the corresponding batteries is exhausted.
为此市场上出现了以433协议为载体的自发电无线开关,以能够克服频繁更换电池的问题。For this reason, a self-generating wireless switch based on the 433 protocol has appeared on the market to overcome the problem of frequent battery replacement.
然而,现有的433协议自发电无线开关却很难进行大规模组网,且和其它智能设备的互通性较差,往往还是需要相互配对使用,也即每一 智能家居设备均对应配备有一无线智能开关,以致用户仍无法真正享受到智能家居互联互通所带来的便利。However, the existing 433 protocol self-generating wireless switches are difficult to carry out large-scale networking, and the interoperability with other smart devices is poor, and they often need to be paired with each other, that is, each smart home device is equipped with a corresponding wireless switch. Smart switches, so that users still cannot really enjoy the convenience brought by smart home interconnection.
可理解的,上述433协议具体是一种通讯协议,能够进行接收和发射信号数据,且433协议是星型网络拓扑结构,传输距离可达1000米,是较理想的智能家居协议。但由于各个厂家生产的433产品标准不统一,导致各个厂家的433产品不能互相兼容使用,以致兼容性较差。Understandably, the above-mentioned 433 protocol is a communication protocol that can receive and transmit signal data, and the 433 protocol has a star network topology, and the transmission distance can reach 1000 meters, which is an ideal smart home protocol. However, due to the non-uniform standards of 433 products produced by various manufacturers, the 433 products of various manufacturers cannot be used compatible with each other, resulting in poor compatibility.
此外,现有的同种类的不同智能家居设备的遥控器却通常能够相互共用,而这又会带来控制权限不具有唯一性的安全性问题,特别是对私密性和安全性要求比较高的用户,通常无法忍受其他人的开关设备能够控制自己的智能设备。In addition, the existing remote controllers of different smart home devices of the same type can usually be shared with each other, and this will bring security problems that the control authority is not unique, especially for those with high privacy and security requirements. Users, who often can't stand other people's switching devices being able to control their own smart devices.
为了改善当存在有多个联动设备,而需要多个无线智能开关,以致严重影响到用户使用便利性的境况,并保证相应控制的安全性,本申请提供了一种联动设备的控制方法。下面结合附图和实施例,对本申请作进一步的详细描述。特别指出的是,以下实施例仅用于说明本申请,但不对本申请的范围进行限定。同样的,以下实施例仅为本申请的部分实施例而非全部实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to improve the situation that multiple wireless smart switches are required when there are multiple linked devices, which seriously affects the convenience of users, and to ensure the safety of corresponding control, the present application provides a control method for linked devices. The application will be described in further detail below in conjunction with the accompanying drawings and embodiments. In particular, the following examples are only used to illustrate the present application, but not to limit the scope of the present application. Likewise, the following embodiments are only some of the embodiments of the present application but not all of them, and all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present application.
在本申请中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference in this application to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase 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. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.
请参阅图1,图1是本申请联动设备的控制方法第一实施例的流程示意图。具体而言,可以包括如下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a first embodiment of a method for controlling a linkage device of the present application. Specifically, the following steps may be included:
S11:智能网关设备接收开关设备发送的消息帧。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 controls the linkage equipment through the intelligent gateway device acting as the control center, and can accept the start and stop control of the switch equipment, and then adjust and control the working state of the linkage equipment . And when the number of the linked devices is at least two, the intelligent gateway device also acts as a communication center for realizing linked communication between different linked devices.
具体地,用户能够通过向开关设备输入数字控制指令或直接进行按键控制等任一合理的方式,启动向相应的智能网关设备发送其对应生成的消息帧,以进而启动智能网关设备对相应的联动设备进行控制。Specifically, the user can start sending the corresponding generated message frame to the corresponding intelligent gateway device by inputting a digital control command to the switch device or directly performing button control, so as to start the corresponding linkage of the intelligent gateway device. The device is controlled.
由此可知,该开关设备具体可理解为包括有机械按键或数字显示屏,能够对应生成包括有启、停信号的消息帧的开关装置;而该消息帧具体可理解为一包括有启动信号或停止信号或转换控制模式的控制信号等任一合理信号的数据信息,以能够对应启动或关停或切换智能网关设备当前所进行的控制程序。It can be seen from this that the switchgear can be specifically understood as a switch device that includes a mechanical key or a digital display, and can correspondingly generate a message frame including a start and stop signal; and the message frame can be specifically understood as a switch device that includes a start signal or a The data information of any reasonable signal such as the stop signal or the control signal for switching the control mode, so as to be able to correspondingly start or shut down or switch the current control program of the smart gateway device.
S12:基于消息帧对开关设备进行权限验证。S12: Perform authority verification on the switch device based on the message frame.
可理解的,为保证对联动设备进行控制的安全性,由开关设备发送给智能网关设备的消息帧具体还可以包括能够进行唯一性识别或权限识别的验证数据,以使智能网关设备能够基于其接收到的消息帧对开关设备进行权限验证,也即确定发送消息帧给智能网关设备的开关设备对智能网关设备是否具有启动、控制权限。It can be understood that, in order to ensure the safety of controlling the linkage device, the message frame sent by the switch device to the smart gateway device may specifically include verification data capable of unique identification or authority identification, so that the smart gateway device can The received message frame performs authority verification on the switch device, that is, determines whether the switch device that sends the message frame to the intelligent gateway device has the authority to start and control the intelligent gateway device.
在一实施例中,该消息帧具体可以包括唯一识别码,而智能网关设备对应存储有由具有控制权限的识别码所组成的白名单,以在其接收到的消息帧中的唯一识别码存在于其白名单时,则确定本次验证通过。而在其他实施例中,该消息帧还可以包括哈希密码,而智能网关设备能够通过哈希密码核算验证的方式,对开关设备的控制权限进行验证,本申请对此不做限定。In an embodiment, the message frame may specifically include a unique identification code, and the smart gateway device correspondingly stores a white list composed of identification codes with control authority, and the unique identification code in the received message frame exists When it is in the white list, it is determined that the verification is passed. In other embodiments, the message frame may also include a hash password, and the smart gateway device can verify the control authority of the switch device by means of hash password calculation and verification, which is not limited in this application.
S13:如果本次权限验证通过,则根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节。S13: If the permission verification is passed, send a first control command to the linked device according to the first preset program, so as to adjust the working state of the linked device.
可理解的,智能网关设备具体可以对应设置并存储能够按设定方式对联动设备进行控制的程序数据,以能够通过调用该程序数据生成相应的控制指令,进而实现对联动设备的工作状态进行调节。It is understandable that the smart gateway device can specifically set and store the program data that can control the linked device according to the set method, so that the corresponding control instructions can be generated by calling the program data, and then the working state of the linked device can be adjusted. .
具体地,在对开关设备进行的权限验证中,确定当前发送消息帧的开关设备具有权限时,也即,当本次权限验证通过时,智能网关设备能够调取出其预先设置并存储的第一预设程序,向联动设备发送第一控制 指令,以使联动设备在第一控制指令的作用下改变当前的工作状态,从而实现对联动设备的工作状态进行调节。Specifically, in the verification of the authority of the switch device, when it is determined that the switch device currently sending the message frame has the authority, that is, when the authority verification passes this time, the intelligent gateway device can call out its preset and stored first A preset program that sends a first control command to the linked device, so that the linked device changes its current working state under the action of the first control command, thereby realizing the adjustment of the working state of the linked device.
为方便理解,以该联动设备为空调为例,进行说明,由第一预设程序对应生成并发送给该空调的第一控制指令,具体可以是启动该空调、调节至制冷模式、调节温度至22℃等。由此可知,智能网关设备具体是作为控制中枢存在,而开关设备用于启停该智能网关设备对联动设备进行控制的进程;且无论受控的联动设备的数量具体为一个还是多个,对用配备的开关设备和智能网关设备均只需一个,即可完成相应的控制进程。For the convenience of understanding, the linked device is an air conditioner as an example for illustration. The first control command correspondingly generated by the first preset program and sent to the air conditioner can specifically be to start the air conditioner, adjust to the cooling mode, adjust the temperature to 22°C etc. It can be seen that the intelligent gateway device exists specifically as a control center, and the switch device is used to start and stop the process of the intelligent gateway device controlling the linkage equipment; and no matter whether the number of controlled linkage equipment is one or more, the Only one switch device and intelligent gateway device are required to complete the corresponding control process.
而在其他实施例中,该联动设备还可以是电视机、计算机、智能音箱、智能窗帘以及冰箱等任意合理的智能家居设备中的一个或多个;或,该联动设备还可以是智能搬运设备、智能机械手、无人机以及传送装置等任意合理的智能生产设备中的一种或多种;且在该联动设备的数量为多个时,多个联动设备均通信连接至智能网关设备,以能够通过该智能网关设备实现联动。In other embodiments, the linkage device can also be one or more of any reasonable smart home equipment such as TV, computer, smart speaker, smart curtain and refrigerator; or, the linkage device can also be a smart handling device One or more of any reasonable intelligent production equipment such as smart manipulators, unmanned aerial vehicles, and transmission devices; and when there are multiple linkage equipments, multiple linkage equipments are connected to the intelligent gateway equipment by communication, so as to Linkage can be realized through the intelligent gateway device.
可选地,由第一预设程序对应生成并发送给联动设备的第一控制指令,具体可以对应于启动空调、计算机以及智能音箱,并将空调调节至制冷模式,打开智能音箱播放当天新闻简讯或轻音乐等任意合理的对多个联动设备依次、分别进行控制中的一种,本申请对此不做限定。Optionally, the first control instruction correspondingly generated by the first preset program and sent to the linkage device can specifically correspond to starting the air conditioner, computer and smart speaker, and adjusting the air conditioner to cooling mode, turning on the smart speaker to play the newsletter of the day Or light music, etc., which can be used to sequentially and separately control multiple linked devices, which is not limited in this application.
上述方案,智能网关设备在接收到开关设备发送的消息帧时,能够基于消息帧对开关设备进行权限验证,以保证相应控制的安全性,并在验证通过时,能够响应于本次权限验证通过,而根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节,从而有效地避免了当存在有多个受控的联动设备,而需要采用多个不同的遥控设备分别进行控制所带来的需要频繁更换电池、占用空间多等问题的出现,也便有效地提升了用户使用的便利性;而通过预存的第一预设程序对应生成第一控制指令对联动设备进行控制,也极大的简化了相应的控制过程。In the above solution, when the intelligent gateway device receives the message frame sent by the switch device, it can verify the authority of the switch device based on the message frame to ensure the security of the corresponding control, and when the verification is passed, it can respond to the authority verification. , and send the first control command to the linked device according to the first preset program to adjust the working state of the linked device, thus effectively avoiding the need to use multiple different linked devices when there are multiple controlled linked devices The problems caused by the separate control of the remote control devices, such as the need to frequently replace the battery and take up a lot of space, have effectively improved the convenience of the user; Linkage equipment for control also greatly simplifies the corresponding control process.
进一步地,在一实施例中,联动设备包括至少两个,上述S13具体 还可以包括:如果本次权限验证通过,则根据第一预设程序向每一联动设备分别发送相应的控制指令,以分别对每一联动设备的工作状态进行调节,从而极大的简化了对至少两个联动设备分别进行控制的操控程序。Further, in an embodiment, there are at least two linked devices, and the above S13 may specifically include: if the permission verification is passed, sending corresponding control instructions to each linked device according to the first preset program, so as to The working state of each linked device is adjusted separately, thereby greatly simplifying the control procedure for separately controlling at least two linked devices.
可理解的,在联动设备的数量具体为至少两个时,至少两个联动设备均通信连接至智能网关设备,以能够通过该智能网关设备实现联动。具体地,智能网关设备能够在本次权限验证通过时,调取出其预先设置并存储的第一预设程序,而向每一联动设备分别发送相应的控制指令,以分别使每一联动设备在第一控制指令的作用下改变其当前的工作状态,从而实现对每一联动设备的工作状态进行调节。It can be understood that when the number of linkage devices is at least two, at least two linkage devices are communicatively connected to the smart gateway device, so that linkage can be realized through the smart gateway device. Specifically, when the authority verification is passed, the smart gateway device can call out its preset and stored first preset program, and send corresponding control instructions to each linked device, so that each linked device Under the action of the first control instruction, its current working state is changed, so as to realize the adjustment of the working state of each linkage device.
为方便理解,以该联动设备具体包括空调、计算机以及智能音箱为例,进行说明,由第一预设程序对应生成的控制指令,具体可以对应于启动空调、计算机以及智能音箱,并将空调调节至制冷模式,打开智能音箱播放当天新闻简讯或轻音乐等任意合理的对多个联动设备依次、分别进行控制中的一种,本申请对此不做限定。For the convenience of understanding, the linkage equipment specifically includes an air conditioner, a computer, and a smart speaker as an example. In the cooling mode, turn on the smart speaker to play the day's newsletter or light music, etc., to control multiple linkage devices sequentially and separately, which is not limited in this application.
进一步地,在一实施例中,上述S13具体还可以包括:如果本次权限验证通过,与开关设备及联动设备建立通信连接,并根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节。Further, in an embodiment, the above S13 may specifically include: if the authorization verification is successful, establish a communication connection with the switch device and the linkage equipment, and send the first control instruction to the linkage equipment according to the first preset program, so as to Adjust the working status of linkage equipment.
可理解的,为保证开关设备和联动设备能够与智能网关设备持续进行数据交互及信号传输,智能网关设备在对开关设备发送的消息帧进行的权限验证通过时,还包括与开关设备及联动设备建立通信连接,以进而能够将第一控制指令对应发送给联动设备,以对联动设备的工作状态进行调节。而在其他实施例中,智能网关设备与联动设备建立通信连接还可以产生于上述S13之前的任一时刻,本申请对此不做限定。It is understandable that in order to ensure that the switchgear and linkage equipment can continue to perform data interaction and signal transmission with the smart gateway equipment, when the smart gateway equipment passes the authority verification of the message frame sent by the switchgear, it also includes the communication with the switchgear and linkage equipment. A communication connection is established, so that the first control instruction can be correspondingly sent to the linked device, so as to adjust the working state of the linked 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 the above S13, which is not limited in this application.
可选地,智能网关设备具体可以通过ZigBee(紫蜂)信道或WIFI(无线通信)等其他任一合理的无线通信连接方式分别与开关设备和联动设备建立通信连接,本申请对此不做限定。Optionally, the intelligent gateway device can establish a communication connection with the switch device and the linkage device through ZigBee (Zigbee) channel or WIFI (wireless communication) and other reasonable wireless communication connection methods, which is not limited in this application .
其中,ZigBee,也称紫蜂,是一种低速短距离传输的无线网上协议,底层是采用IEEE 802.15.4标准规范的媒体访问层与物理层。主要特色有 低速、低耗电、低成本、支持大量网上节点、支持多种网上拓扑、低复杂度、快速、可靠、安全。Among them, ZigBee, also known as Zigbee, is a wireless network protocol for low-speed and short-distance transmission. The bottom layer is the media access layer and physical layer that adopt the IEEE 802.15.4 standard specification. The main features are low speed, low power consumption, low cost, support for a large number of online nodes, support for multiple online topologies, low complexity, fast, reliable, and secure.
可理解的,普通ZigBee设备入网时会在所有的信道进行扫描并交互,以找出正在配网的信道。It is understandable that when an ordinary ZigBee device is connected to the network, it will scan and interact with all channels to find out the channel being configured.
在一实施例中,开关设备为Green Power(绿色电源)自发电设备,且为单向发送设备,因其无法自行找出信道,故而需要智能网关设备在人机互动上予以支持。为此智能网关设备会主动上报ZigBee信道给用户的手持智能终端,以方便用户在手持智能终端上查看信道号,以供用户进行入网。且智能网关设备还需通过开关设备发送的消息帧,对开关设备进行权限验证,以在验证通过时,允许开关设备入网,而在验证不通过时,关闭开关设备的入网通道。In one embodiment, the switching device is a Green Power (green power) self-generating device, and is a one-way sending device. Because it cannot find a channel by itself, it needs the support of the intelligent gateway device in terms of human-computer interaction. For this reason, the smart gateway device will actively report the ZigBee channel to the user's handheld smart terminal, so that the user can check the channel number on the handheld smart terminal for the user to access the network. And the intelligent gateway device also needs to verify the authority of the switch device through the message frame sent by the switch device, so that when the verification is passed, the switch device is allowed to enter the network, and when the verification fails, the network access channel of the switch device is closed.
在一实施例中,当用户配置完成后,也即,智能网关设备在与开关设备及联动设备建立通信连接后,如果被控的多个联动设备全部为ZigBee设备,智能网关设备还可以将相应的通信连接转换为本地联动,从而即使在智能网关设备断网后,也即后台服务器不提供网络服务后,仍可正常通过开关设备对联动设备进行控制。In one embodiment, after the user configuration is completed, that is, after the intelligent gateway device establishes a communication connection with the switch device and the linkage device, if all the controlled linkage devices are ZigBee devices, the smart gateway device can also connect the corresponding The communication connection of the network is converted to local linkage, so that even after the smart gateway device is disconnected from the network, that is, after the background server does not provide network services, the linkage device can still be controlled normally through the switch device.
在一实施例中,该开关设备具体还可以是通过导电线路与智能网关设备实现电连接,以向智能网关设备发送模拟电信号的方式,启动智能网关设备根据其第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节。而在其他实施例中,该开关设备还可以是红外线遥控设备,以能够通过红外线的方式向智能网关设备发送消息帧,本申请对此不做限定。In an embodiment, the switch device can also be electrically connected to the smart gateway device through a conductive line, and sends an analog electrical signal to the smart gateway device to start the smart gateway device to send the connected device to the linkage device according to its first preset program. Send the first control instruction to adjust the working state of the linkage equipment. In other embodiments, the switch device may also be an infrared remote control device, which can send message frames to the smart gateway device through infrared rays, which is not limited in this application.
请参阅图2,图2是本申请联动设备的控制方法第二实施例的流程示意图。本实施例的联动设备的控制方法是图1中的联动设备的控制方法的一细化实施例的流程示意图,包括如下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of a second embodiment of a method for controlling a linkage device of the present application. The control method of the linkage equipment in this embodiment is a schematic flowchart of a detailed embodiment of the control method of the linkage equipment in FIG. 1 , including the following steps:
S21:智能网关设备接收开关设备发送的消息帧。S21: The intelligent gateway device receives the message frame sent by the switch device.
其中,S21与图1中的S11相同,具体请参阅S11及其相关的文字描述,在此不再赘述。Wherein, S21 is the same as S11 in FIG. 1 , please refer to S11 and related text descriptions for details, and details will not be repeated here.
S22:将消息帧转换为设定标准格式的信息帧。S22: Convert the message frame into an information frame with a standard format.
可理解的,为精简开关设备的功能集成,以节省能量,开关设备发送给智能网关设备的消息帧通常极其精简,而为了方便于智能网关设备的验证及控制处理,智能网关设备还需要将该消息帧转换为设定标准格式的信息帧,比如,将该消息帧扩展为标准ZigBee3.0帧或其他任一合理的标准无线通信协议信息帧,以进而能够依据标准信息帧执行相应的命令。Understandably, in order to simplify the function integration of the switch device and save energy, the message frame sent by the switch device to the smart gateway device is usually extremely simplified, and in order to facilitate the verification and control processing of the smart gateway device, the smart gateway device also needs to use the The message frame is converted into an information frame with a standard format, for example, the message frame is expanded into a standard ZigBee3.0 frame or any other reasonable standard wireless communication protocol information frame, so that corresponding commands can be executed according to the standard information frame.
S23:基于信息帧对开关设备进行权限验证。S23: Perform authority verification on the switch device based on the information frame.
进一步地,智能网关设备具体是通过转换为设定标准格式的信息帧对开关设备进行的权限验证。Further, the intelligent gateway device specifically performs authority verification on the switch device by converting it into an information frame in a set standard format.
S24:如果本次权限验证通过,则根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节。S24: If the authorization verification is successful, send a first control instruction to the linked device according to the first preset program, so as to adjust the working state of the linked device.
其中,S24与图1中的S13相同,具体请参阅S13及其相关的文字描述,在此不再赘述。Wherein, S24 is the same as S13 in FIG. 1 , please refer to S13 and related text descriptions for details, and details will not be repeated here.
请参阅图3,图3是本申请联动设备的控制方法第三实施例的流程示意图。本实施例的联动设备的控制方法是图1中的联动设备的控制方法的一细化实施例的流程示意图,其中,本实施例的消息帧具体包括校验字,而包括如下步骤:Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a third embodiment of a method for controlling a linkage device of the present application. The control method of the linked device in this embodiment is a schematic flowchart of a detailed embodiment of the control method of the linked device in FIG. 1 , wherein the message frame in this embodiment specifically includes a check word, and includes the following steps:
S31:智能网关设备接收开关设备发送的消息帧。S31: The intelligent gateway device receives the message frame sent by the switch device.
其中,S31与图1中的S11相同,具体请参阅S11及其相关的文字描述,在此不再赘述。Wherein, S31 is the same as S11 in FIG. 1 , please refer to S11 and related text descriptions for details, and details will not be repeated here.
S32:检测当前接收到的校验字与通过设定方式匹配计算得到的计算校验字是否一致。S32: Detect whether the currently received checksum is consistent with the calculated checksum calculated by matching the setting method.
具体地,在智能网关设备接收到开关设备发送的包括有校验字的消息帧后,该智能网关设备具体是通过预先设定的函数计算方式或哈希密码计算方式等任一合理的匹配计算方式计算得到相应的计算校验字,以验证该计算校验字是否与当前接收到的校验字一致,并在两者一致时,确定本次验证通过,而在两者不一致时,确定本次验证不通过,相应开关设备对智能网关设备没有控制权限。Specifically, after the intelligent gateway device receives the message frame including the check word sent by the switch device, the intelligent gateway device specifically uses any reasonable matching calculation method such as a preset function calculation method or a hash password calculation method. The corresponding calculation check word is obtained by calculating the corresponding calculation check word to verify whether the calculation check word is consistent with the currently received check word, and when the two are consistent, it is determined that this verification is passed, and when the two are inconsistent, it is determined that this If the second verification fails, the corresponding switch device has no control authority over the smart gateway device.
S33:如果校验字与计算校验字一致,则根据第一预设程序向联动 设备发送第一控制指令,以对联动设备的工作状态进行调节。S33: If the verification word is consistent with the calculation verification word, send the first control command to the linked device according to the first preset program to adjust the working state of the linked device.
进一步地,响应于校验字与计算校验字一致,也即本次验证通过,智能网关设备能够调取出其预先设置并存储的第一预设程序,向联动设备发送第一控制指令,以使联动设备在第一控制指令的作用下改变当前的工作状态,从而实现对对联动设备的工作状态进行调节。Further, in response to the fact that the verification word is consistent with the calculated verification word, that is, this verification is passed, the smart gateway device can call out its preset and stored first preset program, and send the first control instruction to the linkage device, The current working state of the linked device is changed under the action of the first control instruction, so as to realize the adjustment of the working state of the linked device.
在一具体的实施例中,为了节省能量,开关设备对应发送给智能网关设备的消息帧通常极其精简,以致智能网关设备很难对其进行唯一性识别,因而还需添加一些必要的信息,以能够获取开关设备的特征信息和授权状态。而该消息帧的新增字段具体可以为:In a specific embodiment, in order to save energy, the message frame sent by the switch device to the smart gateway device is usually extremely concise, so that it is difficult for the smart gateway device to uniquely identify it, so some necessary information needs to be added to The feature information and authorization status of the switchgear can be obtained. The newly added fields of the message frame can be specifically:
PID(8byte)+设备版本号(1byte)+Mode ID(6byte)+校验字(1byte)。PID (8byte) + device version number (1byte) + Mode ID (6byte) + checksum (1byte).
其中:in:
Byte:字节;Byte: byte;
PID:设备产品身份识别编号;PID: device product identification number;
设备版本号:设备具体的版本号;Device version number: the specific version number of the device;
Mode ID:具体的设备型号;Mode ID: specific device model;
校验字:为阻止未授权设备入网,只有在开关设备通过产测授权,也即权限验证后才允许入网。智能网关设备匹配计算出来的校验字和其接收的校验字,只有在相同时才会允许入网。Checkword: In order to prevent unauthorized devices from entering the network, only after the switchgear passes the production test authorization, that is, the authority verification, it is allowed to enter the network. The smart gateway device matches the calculated checksum with the received checksum, and only when they are the same will it allow access to the network.
请参阅图4,图4是本申请联动设备的控制方法第四实施例的流程示意图。本实施例的联动设备的控制方法是图1中的联动设备的控制方法的一细化实施例的流程示意图,包括如下步骤:Please refer to FIG. 4 . FIG. 4 is a schematic flowchart of a fourth embodiment of a method for controlling a linkage device of the present application. The control method of the linkage equipment in this embodiment is a schematic flowchart of a detailed embodiment of the control method of the linkage equipment in FIG. 1 , including the following steps:
S41:智能网关设备接收开关设备发送的消息帧。S41: The intelligent gateway device receives the message frame sent by the switch device.
S42:基于消息帧对开关设备进行权限验证。S42: Perform authority verification on the switch device based on the message frame.
S43:如果本次权限验证通过,则根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节。S43: If the permission verification is passed, send a first control instruction to the linked device according to the first preset program, so as to adjust the working state of the linked device.
其中,S41、S42以及S43与图1中的S11、S12以及S13相同,具体请参阅S11、S12以及S13及其相关的文字描述,在此不再赘述。Wherein, S41 , S42 , and S43 are the same as S11 , S12 , and S13 in FIG. 1 , for details, please refer to S11 , S12 , and S13 and their related text descriptions, which will not be repeated here.
S44:接收开关设备发送的开关信号。S44: Receive a switch signal sent by the switch device.
可理解的,智能网关设备在对开关设备进行的权限验证通过后,能 够与开关设备建立通信连接,以接收开关设备发送的开关信号;或,再次通过相应的导电线路接收开关设备发送的开关信号。Understandably, after the authority verification of the switch device is passed, the smart gateway device can establish a communication connection with the switch device to receive the switch signal sent by the switch device; or, receive the switch signal sent by the switch device again through the corresponding conductive line .
可选地,该开关设备为自发电开关设备,以在用户按压相应机械按键的瞬间能够产生电流,以生成消息帧和开关信号,并将该消息帧和开关信号发送给智能网关设备,从而能够避免使用化学电池提供电源,而需频繁更换电池的问题。Optionally, the switch device is a self-generating switch device, so that current can be generated at the moment when the user presses the corresponding mechanical button, so as to generate a message frame and a switch signal, and send the message frame and switch signal to the intelligent gateway device, so as to be able to Avoid the problem of using chemical batteries to provide power, which requires frequent battery replacement.
可选地,该开关设备为红外线遥控设备,且包括有多个不同按键或数字显示屏,以能够通过按压相应按键,或向数字显示屏属于相应数字,而对应向智能网关设备发送消息帧,或不同的开关信号。Optionally, the switch device is an infrared remote control device, and includes a plurality of different keys or digital display screens, so that by pressing corresponding keys or corresponding numbers to the digital display screen, a message frame can be sent to the intelligent gateway device correspondingly, or different switching signals.
S45:调用第二预设程序向联动设备发送第二控制指令,以对联动设备的当前工作状态进行调节。S45: calling the second preset program to send a second control command to the linked device to adjust the current working state of the linked device.
进一步地,在智能网关设备接收到开关设备发送的开关信号后,则能够调取其预先设置并存储的第二预设程序,而向联动设备发送第二控制指令,以使联动设备在第二控制指令的作用下改变当前的工作状态,从而切换至另一工作状态。Furthermore, after the intelligent gateway device receives the switch signal sent by the switch device, it can call the second preset program which is preset and stored, and send the second control instruction to the linkage device, so that the linkage device Under the action of the control command, the current working state is changed to switch to another working state.
其中,仍以受控的联动设备为空调为例,进行说明,该第二控制指令具体可对应于关闭空调,或将空调的制冷温度调节为25℃,并持续6小时后关闭等任一合理的控制程序。Among them, still taking the controlled linked equipment as an air conditioner as an example, the second control instruction may specifically correspond to turning off the air conditioner, or adjusting the cooling temperature of the air conditioner to 25°C, and turning it off after 6 hours, etc. control program.
而在其他实施例中,当联动设备为多个,该开关信号对应调取并发送的第二控制指令,还可以对应于将多个不同的联动设备当前的工作模式分别切换至另一工作模式。In other embodiments, when there are multiple linked devices, the switch signal corresponds to the second control command that is retrieved and sent, and may also correspond to switching the current working mode of multiple different linked devices to another working mode. .
在一实施例中,该开关设备具体包括有多个按键,而其中不同的按键分别对应多个不同的开关信号或消息帧,而不同的开关信号分别能够对应将一个或多个联动设备调节至不同的工作模式。In an embodiment, the switch device specifically includes a plurality of buttons, and different buttons correspond to a plurality of different switch signals or message frames, and different switch signals can respectively adjust one or more linkage devices to different working modes.
而在其他实施例中,该开关设备还可以仅包括一个按键,而不同的按键次数分别对应于不同的开关信号,比如,在第一次按压该按键时,对应向智能网关设备发送消息帧,以在通过相应权限验证后,在第二次按压该按键时,向智能网关设备发送第一开关信号,并在第三次按压该按键时,向智能网关设备发送第二开关信号;依次类推,在第四次时, 对应第三开关信号;或,再次对应于消息帧,并依次循环,本申请对此不做限定。In other embodiments, the switch device may only include one key, and different key times correspond to different switch signals, for example, when the key is pressed for the first time, a corresponding message frame is sent to the intelligent gateway device, After passing the corresponding authority verification, when the button is pressed for the second time, the first switch signal is sent to the smart gateway device, and when the button is pressed for the third time, the second switch signal is sent to the smart gateway device; and so on, For the fourth time, it corresponds to the third switch signal; or, it corresponds to the message frame again, and cycles in sequence, which is not limited in the present application.
请参阅图5,图5是本申请联动设备的控制方法第五实施例的流程示意图。本实施例的联动设备的控制方法是图1中的联动设备的控制方法的一细化实施例的流程示意图,包括如下步骤:Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of a fifth embodiment of a method for controlling a linkage device of the present application. The control method of the linkage equipment in this embodiment is a schematic flowchart of a detailed embodiment of the control method of the linkage equipment in FIG. 1 , including the following steps:
S51:智能网关设备接收开关设备发送的消息帧。S51: The intelligent gateway device receives the message frame sent by the switch device.
S52:基于消息帧对开关设备进行权限验证。S52: Perform authority verification on the switch device based on the message frame.
S53:如果本次权限验证通过,则根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节。S53: If the permission verification is successful, send a first control instruction to the linked device according to the first preset program, so as to adjust the working state of the linked device.
其中,S51、S52以及S53与图1中的S11、S12以及S13相同,具体请参阅S11、S12以及S13及其相关的文字描述,在此不再赘述。Wherein, S51 , S52 , and S53 are the same as S11 , S12 , and S13 in FIG. 1 , for details, please refer to S11 , S12 , and S13 and their related text descriptions, and details will not be repeated here.
S54:接收智能终端发送的无线控制指令。S54: Receive a wireless control instruction sent by the smart terminal.
可理解的,智能网关设备还能够与智能终端,比如,用户的手机、平板电脑或智能手表等任一合理的手持智能终端,或计算机,或后台服务器建立无线通信连接,以能够接收智能终端发送的无线控制指令。It is understandable that the smart gateway device can also establish a wireless communication connection with a smart terminal, such as any reasonable handheld smart terminal such as a user's mobile phone, tablet computer or smart watch, or a computer, or a background server, so as to be able to receive information sent by the smart terminal. wireless control commands.
S55:将无线控制指令发送给联动设备,以对联动设备的当前工作状态进行调节。S55: Send the wireless control command to the linked device to adjust the current working state of the linked device.
进一步地,用户能够通过智能终端向智能网关设备发送无线控制指令,以由智能网关设备将该无线控制指令转发给联动设备,而对联动设备的当前工作状态进行调节,从而能够实现更灵活的联动设备的控制方案。Furthermore, the user can send a wireless control command to the smart gateway device through the smart terminal, so that the smart gateway device forwards the wireless control command to the linkage device, and adjusts the current working state of the linkage device, so as to realize more flexible linkage Device control scheme.
请参阅图6,图6是本申请联动设备的控制方法第六实施例的流程示意图。本实施例的联动设备的控制方法是图1中的联动设备的控制方法的一细化实施例的流程示意图,其中,本实施例的消息帧具体包括设备身份识别号和/或设备版本号,而包括如下步骤:Please refer to FIG. 6 . FIG. 6 is a schematic flowchart of a sixth embodiment of a method for controlling a linkage device of the present application. The control method of the linked device in this embodiment is a schematic flowchart of a detailed embodiment of the control method of the linked device in FIG. 1 , wherein the message frame in this embodiment specifically includes the device identification number and/or the device version number, Instead, include the following steps:
S61:智能网关设备接收开关设备发送的消息帧。S61: The intelligent gateway device receives the message frame sent by the switch device.
S62:基于消息帧对开关设备进行权限验证。S62: Perform authority verification on the switch device based on the message frame.
S63:如果本次权限验证通过,则根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节。S63: If the permission verification is passed, send a first control instruction to the linked device according to the first preset program, so as to adjust the working state of the linked device.
其中,S61、S62以及S63与图1中的S11、S12以及S13相同,具体请参阅S11、S12以及S13及其相关的文字描述,在此不再赘述。Wherein, S61 , S62 , and S63 are the same as S11 , S12 , and S13 in FIG. 1 , for details, please refer to S11 , S12 , and S13 and their related text descriptions, which will not be repeated here.
S64:接收联动设备发送的反馈信号。S64: Receive a feedback signal sent by the linkage device.
具体地,智能网关设备还能够接收联动设备发送的反馈信号,以通过该反馈信号获知联动设备的当前工作状态。Specifically, the smart gateway device can also receive a feedback signal sent by the linkage device, so as to know the current working state of the linkage device through the feedback signal.
S65:将设备身份识别号和设备版本号以及反馈信号发送给智能终端,以在智能终端上显示开关设备的设备身份识别号和设备版本号以及联动设备的当前工作状态。S65: Send the device identification number, device version number and feedback signal to the smart terminal, so as to display the device identification number and device version number of the switch device and the current working status of the linkage device on the smart terminal.
进一步地,智能网关设备具体还与用户的智能终端,比如,智能手机、智能手表或平板电脑等建立通信连接,以能够将开关设备的设备身份识别号和/或设备版本号以及联动设备发送的反馈信号,转发送给该智能终端,以能够在智能终端上显示开关设备的设备身份识别号和设备版本号以及联动设备的当前工作状态。Furthermore, the smart gateway device specifically establishes a communication connection with the user's smart terminal, such as a smart phone, smart watch, or tablet computer, so as to be able to send the device identification number and/or device version number of the switch device and the information sent by the linkage device. The feedback signal is forwarded to the smart terminal, so that the device identification number and device version number of the switch device and the current working status of the linkage device can be displayed on the smart terminal.
可理解的,智能网关设备能够将开关设备对应发送的按键命令转换为云平台控制命令,以进而能够对联动设备实现无线控制,且能够将开关设备的设备身份识别号和/或设备版本号以及联动设备发送的反馈信号发送给用户的智能终端,以使用户能够通过其智能终端实时获知联动设备当前的工作状态,以及当前参与控制的开关设备的特征信息。It is understandable that the smart gateway device can convert the key commands sent by the switch device into cloud platform control commands, so as to realize wireless control of the linkage device, and can convert the device identification number and/or device version number of the switch device and The feedback signal sent by the linkage equipment is sent to the user's smart terminal, so that the user can know the current working status of the linkage equipment and the characteristic information of the switch equipment currently participating in the control through his smart terminal in real time.
本申请还提供了一种智能网关设备,请参阅图7,图7是本申请智能网关设备一实施例的结构示意图。该智能网关设备71具体包括:代理装置711和网关节点装置712。The present application also provides an intelligent gateway device, please refer to FIG. 7 , which is a schematic structural diagram of an embodiment of the intelligent gateway device of the present application. The intelligent gateway device 71 specifically includes: a proxy device 711 and a gateway node device 712 .
其中,代理装置711耦接外部开关装置72,以能够接收开关装置72发送的消息帧;而网关节点装置712耦接于代理装置711和外部联动设备73,该网关节点装置712能够基于其接收到的消息帧对开关设备进行权限验证,并在本次权限验证通过时,根据第一预设程序向联动设备73发送第一控制指令,以对联动设备73的工作状态进行调节。Wherein, the proxy device 711 is coupled to the external switch device 72, so as to be able to receive the message frame sent by the switch device 72; and the gateway node device 712 is coupled to the proxy device 711 and the external linkage device 73, and the gateway node device 712 can receive The message frame is used to verify the authority of the switch device, and when the authority verification is passed, the first control command is sent to the linkage device 73 according to the first preset program, so as to adjust the working state of the linkage device 73 .
在一实施例中,该开关装置72具体可以是Green Power Device(GPD,绿色电源自发电设备),且其相应发送消息帧Green Power Device Frame(GPDF,绿色电源消息帧)是精简的消息帧,需要Green Power  Proxy(GPP,也即代理装置711)进行代理转发,并扩展为标准ZigBee3.0帧,由Green Power Sink(GPS,也即网关节点装置712)作为GPD的配对设备,接收该标准ZigBee3.0帧,并执行相应命令。In one embodiment, the switching device 72 can specifically be Green Power Device (GPD, green power self-generating equipment), and its corresponding message frame Green Power Device Frame (GPDF, green power message frame) is a simplified message frame, Green Power Proxy (GPP, i.e. proxy device 711) is required to carry out proxy forwarding and expand to standard ZigBee3.0 frames, and Green Power Sink (GPS, i.e. gateway node device 712) is used as the pairing device of GPD to receive the standard ZigBee3 frame .0 frame, and execute the corresponding command.
可理解的,该智能网关设备71能够对应实现如上任一项所述联动设备的控制方法,具体请参阅图1-图6及相关文字内容,在此不再赘述。It is understandable that the intelligent gateway device 71 can correspondingly realize the control method of the linkage device described in any one of the above items, please refer to Fig. 1-Fig.
本申请还提供了一种联动设备的控制系统,请参阅图8,图8是本申请联动设备的控制系统一实施例的结构示意图。该联动设备的控制系统81具体包括:开关装置811和智能网关设备812。The present application also provides a control system of a linkage device, please refer to FIG. 8 , which is a schematic structural diagram of an embodiment of a control system of a linkage device of the present application. The control system 81 of the linkage device specifically includes: a switch device 811 and an intelligent gateway device 812 .
其中,开关装置811用于生成消息帧;而智能网关设备812用于接收开关设备发送的消息帧,以基于消息帧对开关设备进行权限验证,并在本次权限验证通过,则根据第一预设程序向联动设备82发送第一控制指令,以对联动设备82的工作状态进行调节。Among them, the switch device 811 is used to generate a message frame; and the intelligent gateway device 812 is used to receive the message frame sent by the switch device, so as to verify the authority of the switch device based on the message frame, and if the authority verification passes this time, then according to the first preset It is assumed that the program sends a first control command to the linkage device 82 to adjust the working state of the linkage device 82 .
可理解的,该联动设备的控制系统81能够对应实现如上任一项所述联动设备的控制方法,具体请参阅图1-图6及相关文字内容,在此不再赘述。It is understandable that the control system 81 of the linked device can correspondingly realize the control method of the linked device described in any one of the above items. For details, please refer to FIGS. 1-6 and related texts, and details will not be repeated here.
本申请还提供了一种计算机可读存储介质,请参阅图9,图9是本申请计算机可读存储介质一实施方式的结构示意图。其中,该计算机可读存储介质91存储有程序数据911,该程序数据911能够被执行以实现如上任一所述的联动设备的控制方法。The present application also provides a computer-readable storage medium, please refer to FIG. 9 , which is a schematic structural diagram of an embodiment of the computer-readable storage medium of the present application. Wherein, the computer-readable storage medium 91 stores program data 911 , and the program data 911 can be executed to realize the control method of any linkage device as described above.
在一个实施方式中,计算机可读存储介质91可以是终端中的存储芯片、硬盘或者是移动硬盘或者优盘、光盘等其他可读写存储的工具,还可以是服务器等等。In one embodiment, the computer-readable storage medium 91 may be a storage chip in the terminal, a hard disk, or a mobile hard disk, USB flash drive, optical disk, or other readable and writable storage tools, or a server or the like.
在本申请所提供的几个实施方式中,应该理解到,所揭露的方法和装置,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,处理器或存储器的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个处理器与存储器实现的功能可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或连接可以是通过一些接口,装置或单元的间接耦合或连接,可以是电性,机械 或其它的形式。In the several implementation manners provided in this application, it should be understood that the disclosed methods and devices may be implemented in other ways. For example, the device implementation described above is only illustrative, for example, the division of processors or memory is only a logical function division, and there may be other division methods in actual implementation, such as multiple processors and memory implementations The functions may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or connection shown or discussed may be through some interfaces, and the indirect coupling or connection of devices or units may be in electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式的目的。A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of this embodiment.
另外,在本申请各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施方式方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods in various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
区别于现有技术,本申请中的联动设备的控制方法,在智能网关设备接收到开关设备发送的消息帧时,能够基于消息帧对开关设备进行权限验证,以保证相应控制的安全性,并在验证通过时,能够响应于本次权限验证通过,而根据第一预设程序向联动设备发送第一控制指令,以对联动设备的工作状态进行调节,从而有效地避免了当存在有多个受控的联动设备,而需要采用多个不同的遥控设备分别进行控制所带来的需要频繁更换电池、占用空间多等问题的出现,也便有效地提升了用户使用的便利性;而通过预存的第一预设程序对应生成第一控制指令对联动设备进行控制,也极大的简化了相应的控制过程。Different from the prior art, the linkage device control method in this application can verify the authority of the switch device based on the message frame when the intelligent gateway device receives the message frame sent by the switch device, so as to ensure the security of the corresponding control, and When the verification is passed, the first control instruction can be sent to the linked device according to the first preset program in response to the passing of the authority verification, so as to adjust the working state of the linked device, thereby effectively avoiding the problem when there are multiple Controlled linkage equipment, and the need to use multiple different remote control equipment to control separately, the problems of frequent battery replacement and large space occupation, etc., also effectively improve the convenience of users; and through pre-stored Correspondingly, the first preset program generates the first control instruction to control the linkage equipment, which also greatly simplifies the corresponding control process.
以上所述仅为本申请的实施方式,并非因此限制本申请的专利范 围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only the implementation of the application, and does not limit the patent scope of the application. Any equivalent structure or equivalent process conversion made by using the specification and drawings of the application, or directly or indirectly used in other related technologies fields, are all included in the scope of patent protection of this application in the same way.

Claims (10)

  1. 一种联动设备的控制方法,其特征在于,所述联动设备的控制方法包括:A control method for linkage equipment, characterized in that the control method for linkage equipment comprises:
    智能网关设备接收开关设备发送的消息帧;The intelligent gateway device receives the message frame sent by the switch device;
    基于所述消息帧对所述开关设备进行权限验证;performing authority verification on the switch device based on the message frame;
    响应于权限验证通过,根据第一预设程序向所述联动设备发送第一控制指令,以对所述联动设备的工作状态进行调节。In response to passing the authority verification, a first control instruction is sent to the linked device according to a first preset program, so as to adjust the working state of the linked device.
  2. 根据权利要求1所述的联动设备的控制方法,其特征在于,所述智能网关设备接收开关设备发送的消息帧之后,所述基于所述消息帧对所述开关设备进行权限验证之前,还包括:The method for controlling the linkage device according to claim 1, characterized in that, after the intelligent gateway device receives the message frame sent by the switch device, before verifying the authority of the switch device based on the message frame, further comprising: :
    将所述消息帧转换为设定标准格式的信息帧;converting the message frame into an information frame with a standard format;
    所述基于所述消息帧对所述开关设备进行权限验证,包括:The verifying the authority of the switching device based on the message frame includes:
    基于所述信息帧对所述开关设备进行权限验证。Perform authority verification on the switching device based on the information frame.
  3. 根据权利要求1所述的联动设备的控制方法,其特征在于,所述消息帧包括校验字,所述基于所述消息帧对所述开关设备进行权限验证,包括:The method for controlling linkage equipment according to claim 1, wherein the message frame includes a check word, and performing authority verification on the switch equipment based on the message frame includes:
    检测当前接收到的所述校验字与通过设定方式匹配计算得到的计算校验字是否一致;Detecting whether the currently received checksum is consistent with the calculated checksum calculated by matching the setting method;
    所述响应于权限验证通过,根据第一预设程序向所述联动设备发送第一控制指令,以对所述联动设备的工作状态进行调节,包括:In response to passing the authority verification, sending a first control instruction to the linked device according to a first preset program to adjust the working state of the linked device, including:
    响应于所述校验字与所述计算校验字一致,根据所述第一预设程序向所述联动设备发送所述第一控制指令,以对所述联动设备的工作状态进行调节。In response to the fact that the check word is consistent with the calculated check word, the first control instruction is sent to the linked device according to the first preset program, so as to adjust the working state of the linked device.
  4. 根据权利要求1所述的联动设备的控制方法,其特征在于,所述联动设备包括至少两个,所述响应于权限验证通过,根据第一预设程序向所述联动设备发送第一控制指令,以对所述联动设备的工作状态进行调节,包括:The method for controlling linked devices according to claim 1, wherein the linked devices include at least two, and in response to passing the authority verification, sending a first control instruction to the linked devices according to a first preset program , to adjust the working state of the linkage equipment, including:
    响应于权限验证通过,根据所述第一预设程序向每一所述联动设备 分别发送相应的控制指令,以分别对每一所述联动设备的工作状态进行调节。In response to passing the authority verification, corresponding control instructions are sent to each of the linked devices according to the first preset program, so as to adjust the working status of each of the linked devices.
  5. 根据权利要求1所述的联动设备的控制方法,其特征在于,在所述响应于权限验证通过,根据第一预设程序向所述联动设备发送第一控制指令,以对所述联动设备的工作状态进行调节之后,还包括:The control method of linked device according to claim 1, characterized in that, in response to passing the authority verification, a first control command is sent to the linked device according to a first preset program, so as to control the linked device After the working status is adjusted, it also includes:
    接收所述开关设备发送的开关信号,其中,所述开关设备为自发电开关设备;receiving a switching signal sent by the switching device, wherein the switching device is a self-generating switching device;
    调用第二预设程序向所述联动设备发送第二控制指令,以对所述联动设备的当前工作状态进行调节。calling the second preset program to send a second control command to the linked device to adjust the current working state of the linked device.
  6. 根据权利要求1所述的联动设备的控制方法,其特征在于,所述响应于权限验证通过,根据第一预设程序向所述联动设备发送第一控制指令,以对所述联动设备的工作状态进行调节之后,还包括:The control method of linked device according to claim 1, characterized in that, in response to passing the authorization verification, a first control instruction is sent to the linked device according to a first preset program to control the operation of the linked device. After the state is adjusted, it also includes:
    接收智能终端发送的无线控制指令;Receive wireless control commands sent by smart terminals;
    将所述无线控制指令发送给所述联动设备,以对所述联动设备的当前工作状态进行调节。Send the wireless control instruction to the linked device to adjust the current working state of the linked device.
  7. 根据权利要求1所述的联动设备的控制方法,其特征在于,所述消息帧包括设备身份识别号和/或设备版本号,所述响应于权限验证通过,根据第一预设程序向所述联动设备发送第一控制指令,以对所述联动设备的工作状态进行调节之后,还包括:The method for controlling a linked device according to claim 1, wherein the message frame includes a device identification number and/or a device version number, and in response to passing the authority verification, sending the message to the device according to the first preset program After the linked device sends the first control instruction to adjust the working state of the linked device, it also includes:
    接收所述联动设备发送的反馈信号,其中,所述反馈信号对应于所述联动设备的当前工作状态;receiving a feedback signal sent by the linkage device, wherein the feedback signal corresponds to the current working state of the linkage device;
    将所述设备身份识别号和/或所述设备版本号以及所述反馈信号发送给智能终端,以在所述智能终端上显示所述开关设备的所述设备身份识别号和/或所述设备版本号以及所述联动设备的当前工作状态。Sending the device identification number and/or the device version number and the feedback signal to the smart terminal, so as to display the device identification number and/or the device identification number of the switching device on the smart terminal version number and the current working status of the linkage device.
  8. 一种智能网关设备,其特征在于,所述智能网关设备包括:An intelligent gateway device, characterized in that the intelligent gateway device includes:
    代理装置,耦接外部开关装置,所述代理装置用于接收所述外部开关装置发送的消息帧;A proxy device, coupled to the external switch device, the proxy device is used to receive the message frame sent by the external switch device;
    网关节点装置,耦接所述代理装置和外部联动设备,所述网关节点装置用于基于所述消息帧对所述外部开关装置进行权限验证,并在权限 验证通过时,根据第一预设程序向所述外部联动设备发送第一控制指令,以对所述外部联动设备的工作状态进行调节。A gateway node device, coupled to the proxy device and the external linkage device, the gateway node device is used to verify the authority of the external switch device based on the message frame, and when the authority verification is passed, according to the first preset program Sending a first control instruction to the external linkage device to adjust the working state of the external linkage device.
  9. 一种联动设备的控制系统,其特征在于,所述联动设备的控制系统包括:A control system for linkage equipment, characterized in that the control system for linkage equipment includes:
    开关装置,用于生成消息帧;switching means for generating message frames;
    智能网关设备,耦接于所述开关装置和所述联动设备,所述智能网关设备用于接收所述开关装置发送的所述消息帧,以基于所述消息帧对所述开关装置进行权限验证,并在权限验证通过时,根据第一预设程序向所述联动设备发送第一控制指令,以对所述联动设备的工作状态进行调节。An intelligent gateway device, coupled to the switch device and the linkage device, the intelligent gateway device is configured to receive the message frame sent by the switch device, and to verify the authority of the switch device based on the message frame , and when the authority verification is passed, send a first control instruction to the linked device according to a first preset program, so as to adjust the working state of the linked device.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有程序数据,所述程序数据能够被执行以实现如权利要求1-7中任一项所述的联动设备的控制方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores program data, and the program data can be executed to realize the control of the linkage device according to any one of claims 1-7 method.
PCT/CN2022/108605 2021-08-26 2022-07-28 Linkage device control method and system, and smart gateway device and storage medium WO2023024818A1 (en)

Applications Claiming Priority (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
CN202110988526.5 2021-08-26

Publications (1)

Publication Number Publication Date
WO2023024818A1 true WO2023024818A1 (en) 2023-03-02

Family

ID=79274728

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/108605 WO2023024818A1 (en) 2021-08-26 2022-07-28 Linkage device control method and system, and smart gateway device 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 (6)

* 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
US20080026725A1 (en) * 2006-07-31 2008-01-31 Samsung Electronics Co., Ltd. Gateway device for remote control and method for the same
CN205477087U (en) * 2016-01-13 2016-08-17 北京源码智能技术有限公司 Belt formula is gang switch system for window
CN108693779A (en) * 2018-06-08 2018-10-23 广州市威士丹利智能科技有限公司 Intelligent home control system and method
CN111951436A (en) * 2020-07-31 2020-11-17 广东科徕尼智能科技有限公司 Linkage control method and device based on intelligent lock and storage medium
CN113938345A (en) * 2021-08-26 2022-01-14 杭州涂鸦信息技术有限公司 Control method and system of linkage equipment, intelligent gateway equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN106302047B (en) * 2016-08-15 2019-10-25 中国联合网络通信集团有限公司 Household equipment control method and device
CN111373713B (en) * 2018-08-30 2021-07-09 华为技术有限公司 Message transmission method and device
WO2021110263A1 (en) * 2019-12-04 2021-06-10 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
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080026725A1 (en) * 2006-07-31 2008-01-31 Samsung Electronics Co., Ltd. Gateway device for remote control and method for the same
CN1988489A (en) * 2006-11-30 2007-06-27 中国联合通信有限公司 Intelligent system and method for monitoring house
CN205477087U (en) * 2016-01-13 2016-08-17 北京源码智能技术有限公司 Belt formula is gang switch system for window
CN108693779A (en) * 2018-06-08 2018-10-23 广州市威士丹利智能科技有限公司 Intelligent home control system and method
CN111951436A (en) * 2020-07-31 2020-11-17 广东科徕尼智能科技有限公司 Linkage control method and device based on intelligent lock and storage medium
CN113938345A (en) * 2021-08-26 2022-01-14 杭州涂鸦信息技术有限公司 Control method and system of linkage equipment, intelligent gateway equipment and storage medium

Also Published As

Publication number Publication date
CN113938345A (en) 2022-01-14
CN113938345B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
US10015261B2 (en) Method and terminal for controlling internet of things and controlled electronic device
CN102404637B (en) System and method for controlling television remotely through intelligent mobile phone
CN102422552B (en) Arrangement for managing wireless communication between devices
CN105635950A (en) Smart home gateway control system and method based on Zigbee
WO2013117107A1 (en) Radio frequency device pairing method and system, and radio frequency device
KR20080011581A (en) Gateway device for remote control and method for the same
CN102231229B (en) Multifunctional remote controller and control system applying same
CN102930712A (en) Method and system for controlling infrared controlled equipment
CN106341782A (en) Mobile terminal and household electric appliance communication method and system
WO2013131477A1 (en) Remote monitoring device and method
CN103475713A (en) Method and system for remotely monitoring smart home based on fusion communication technology
US8966125B2 (en) System and method for interconnection of diverse devices
WO2023024818A1 (en) Linkage device control method and system, and smart gateway device and storage medium
CN106341468B (en) Remote awakening method, device and system of intelligent equipment
US10101771B2 (en) Remote control docking station and system
WO2017101050A1 (en) Control method, control panel and control system for a smart home device
US20070159349A1 (en) Wireless remote control method
JP2013544466A (en) Multiple network connection method and communication device therefor
CN111106984A (en) Intelligent centralized control terminal integrating multiple control modules and control method thereof
CN103236153A (en) Infrared switch system, switch control method and infrared repeater
WO2024060800A1 (en) Control system and processing method for intelligent wall switch, and intelligent wall switch
WO2012116619A1 (en) Method and corresponding system for remotely controlling wireless multimedia communication system
JP2019062374A (en) Management device, management system, management method, and program
WO2005004387A1 (en) Mobile home network system
CN109712380A (en) Find method and device, the storage medium, terminal device, remote control equipment of remote control equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22860164

Country of ref document: EP

Kind code of ref document: A1