Equipment control method and device, medium, equipment control system and air conditioning system

By determining the routing table configuration in the gateway device and analyzing the control data packets, identifying the target device and issuing control instructions, the problem of low data transmission efficiency is solved, and the effect of improving data transmission efficiency is achieved.

CN119484596APending Publication Date: 2025-02-18MIDEA GROUP WUHAN REFRIGERATION EQUIPMENT CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310955354.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In related technologies, data transmission efficiency is low, resulting in an increase in the data load pressure of the server, further reducing the data processing efficiency.

Method used

By receiving the control packets sent by the routing device, the routing table configuration in the gateway device is determined, and the control packets are parsed according to the routing table configuration to obtain control instructions. Then, the target gateway device identification is obtained from the routing table configuration, and the target device is identified based on the target gateway device identification, and the control instructions are sent to the target device to control the target device.

Benefits of technology

The control data packet is parsed through the routing table configuration, control instructions are obtained, and the target device is identified based on the target gateway device identification, and the control instructions are issued to the target device, thereby improving the data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484596A_ABST
    Figure CN119484596A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment control method and device, a medium, an equipment control system and an air conditioning system. The method comprises the steps that a control data packet sent by routing equipment is received, the control data packet comprises a control instruction for target equipment, the control instruction is issued to the routing equipment by a control terminal, and the target equipment is provided with a communication module with the same communication frequency band as gateway equipment; determining routing table configuration in the gateway equipment, and analyzing the control data packet according to the routing table configuration to obtain a control instruction; and obtaining a target gateway device identifier from the routing table configuration, identifying a target device according to the target gateway device identifier, and sending the control instruction to the target device so as to control the target device. Through the data transmission method and device, the problem of low data transmission efficiency in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In the related art, the control terminal generally sends a control instruction to the server, and then the server parses the control data packet and sends the control information to the terminal, which increases the data load pressure of the server and further reduces the data processing efficiency.

[0003] With regard to the problem of low data transmission efficiency in related technologies, no effective solution has been proposed so far. Summary of the invention

[0004] The main purpose of the present application is to provide an equipment control method, device, medium, equipment control system and air-conditioning system to solve the problem of low data transmission efficiency in related technologies.

[0005] In order to achieve the above-mentioned purpose, according to the first aspect of the present application, a device control method is provided. The method comprises: receiving a control data packet sent by a routing device, wherein the control data packet comprises a control instruction for a target device, the control instruction is sent from a control terminal to the routing device, and the target device is configured with a communication module with the same communication frequency band as the gateway device; determining a routing table configuration in the gateway device, and parsing the control data packet according to the routing table configuration to obtain a control instruction; obtaining a target gateway device identifier from the routing table configuration, identifying the target device according to the target gateway device identifier, and sending the control instruction to the target device to control the target device.

[0006] Furthermore, determining the routing table configuration in the gateway device includes: responding to gateway registration requests from multiple target devices, registering a gateway device identifier corresponding to each target device; determining a routing table entry corresponding to each gateway device identifier, and determining the routing table configuration according to the routing table entry.

[0007] Furthermore, the control data packet is parsed according to the routing table configuration to obtain control instructions, including: obtaining the target device information and the destination IP address in the control data packet; matching the target routing table item of the destination IP address from multiple routing table items configured in the routing table; determining the target gateway device identifier that matches the target device information based on the target routing table item; and parsing the control data packet according to the target gateway device identifier to obtain control instructions.

[0008] Further, identifying the target device according to the target gateway device identifier includes: receiving target device information sent by the communication module; and identifying the target device information based on the target gateway device identifier to determine the target device.

[0009] Furthermore, before registering the gateway device identifier corresponding to each target device, the method also includes: when monitoring that the heartbeat mechanism with the target device is disconnected within a preset time, determining that the target device is in an offline state, and deleting the gateway device identifier corresponding to the target device.

[0010] Furthermore, when the control terminal is connected to the wide area network, the control instruction is sent by the control terminal to the server, and then forwarded to the routing device by the server.

[0011] In order to achieve the above-mentioned purpose, according to the second aspect of the present application, a device control device is provided. The device includes: a receiving unit, which is used to receive a control data packet sent by a routing device, wherein the control data packet includes a control instruction for a target device, the control instruction is sent from a control terminal to the routing device, and the target device is configured with a communication module with the same communication frequency band as the gateway device; a determining unit, which is used to determine the routing table configuration in the gateway device, and parse the control data packet according to the routing table configuration to obtain the control instruction; an identifying unit, which is used to obtain the target gateway device identifier from the routing table configuration, identify the target device according to the target gateway device identifier, and send the control instruction to the target device to control the target device.

[0012] Furthermore, the determination unit includes: a response module, used to respond to gateway registration requests of multiple target devices and register the gateway device identification corresponding to each target device; a determination module, used to determine the routing table entry corresponding to each gateway device identification and determine the routing table configuration according to the routing table entry.

[0013] Furthermore, the determination unit includes: an acquisition module, used to obtain the target device information and the destination IP address in the control data packet; a first matching module, used to match the target routing table item of the destination IP address from multiple routing table items configured in the routing table; a second matching module, used to determine the target gateway device identifier that matches the target device information based on the target routing table item; and a parsing module, used to parse the control data packet according to the target gateway device identifier to obtain a control instruction.

[0014] Furthermore, the identification unit includes: a receiving module for receiving target device information sent by the communication module; and an identification module for identifying the target device information based on the target gateway device identifier to determine the target device.

[0015] Furthermore, the device also includes: a deletion unit, which is used to determine that the target device is in an offline state and delete the gateway device identifier corresponding to the target device before registering the gateway device identifier corresponding to each target device when the heartbeat mechanism between the target device and the target device is disconnected within a preset time.

[0016] Furthermore, when the control terminal is connected to a wide area network, the control instruction is sent by the control terminal to the server, and then forwarded to the routing device by the server.

[0017] In order to achieve the above-mentioned purpose, according to the third aspect of the present application, a device control system is provided, characterized in that it includes: a control terminal, a routing device, a gateway device, and at least one target device, wherein the control terminal is used to send a control instruction for a target device in at least one target device to the routing device; each target device is configured with a communication module, and the communication module has a communication frequency band lower than a preset frequency; the gateway device is configured with a communication frequency band lower than the preset frequency to wirelessly communicate with each target device and receive a control data packet sent by the routing device, wherein the control data packet includes a control instruction; the gateway device is also used to determine a routing table configuration, and parse the control data packet according to the routing table configuration to obtain the control instruction, and obtain a target gateway device identifier from the routing table configuration, and identify the target device according to the target gateway device identifier, and send the control instruction to the target device to control the target device.

[0018] Furthermore, a server is also included, and the server is used to receive the control instructions sent by the control terminal and forward the control instructions to the routing device.

[0019] In order to achieve the above-mentioned purpose, according to the fourth aspect of the present application, there is provided an air-conditioning system, characterized in that it includes: at least one air conditioner, each air conditioner is configured with a communication module, and the communication module has a communication frequency band lower than a preset frequency; a routing device, used to receive control instructions for a target air conditioner; a gateway device, configured with a communication frequency band lower than the preset frequency, so as to wirelessly communicate with each air conditioner and receive a control data packet sent by the routing device, wherein the control data packet includes a control instruction; the gateway device is also used to determine a routing table configuration, and parse the control data packet according to the routing table configuration to obtain the control instruction, and obtain a target gateway device identifier from the routing table configuration, and identify the target air conditioner according to the target gateway device identifier, and send the control instruction to the target air conditioner to control the target air conditioner.

[0020] According to a fifth aspect of an embodiment of the present disclosure, a gateway device is provided, including: a processor; and a memory, wherein computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, any one of the above-mentioned device control methods is implemented.

[0021] According to a sixth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the device control method according to any one of the above items is implemented.

[0022] Through this application, the following steps are adopted: receiving a control data packet sent by a routing device, wherein the control data packet includes a control instruction for a target device, the control instruction is sent from a control terminal to a routing device, and the target device is configured with a communication module with the same communication frequency band as the gateway device; determining the routing table configuration in the gateway device, and parsing the control data packet according to the routing table configuration to obtain the control instruction; obtaining the target gateway device identifier from the routing table configuration, identifying the target device according to the target gateway device identifier, and sending the control instruction to the target device to control the target device. Through this application, the problem of low data transmission efficiency in the related art is solved. The control data packet is parsed through the routing table configuration to obtain the control instruction, and the target device is identified according to the target gateway device identifier, and the control instruction is sent to the target device. Thereby achieving the effect of improving data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0024] Figure 1 is a flow chart of a device control method provided according to an embodiment of the present application;

[0025] Figure 2 is a data transmission schematic diagram of a device control method provided in an embodiment of the present application;

[0026] Figure 3 It is a data analysis diagram of the device control method provided in the embodiment of the present application;

[0027] Figure 4 is a schematic diagram of a device control system provided according to an embodiment of the present application;

[0028] Figure 5 is a schematic diagram of data transmission provided according to an embodiment of the present application;

[0029] Figure 6 is a schematic diagram of an air conditioning system provided according to an embodiment of the present application;

[0030] Figure 7 is a schematic diagram of a device control device provided according to an embodiment of the present application;

[0031] Figure 8 It is a schematic diagram of the network architecture of a gateway device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0032] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0033] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0035] According to an embodiment of the present application, a device control method is provided.

[0036] Figure 1 is a flow chart of a device control method according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0037] Step S101, applied to a gateway device, the gateway device is configured with a communication frequency band lower than a preset frequency, including: receiving a control data packet sent by a routing device, wherein the control data packet includes a control instruction for a target device, the control instruction is sent from a control terminal to the routing device, and the target device is configured with a communication module with the same communication frequency band as the gateway device.

[0038] The communication frequency band of the preset frequency band may be a Sub 1 GHz frequency band, and the specific frequency band may be as follows: Figure 2As shown, the control terminal of the Internet sends a control data packet carrying a control instruction to the router, and the router then forwards the data packet to the Sub 1G gateway to process the control data packet through the Sub 1G gateway, and then sends the analyzed data to the target device. The target device of this application can be an Internet of Things device, such as a smart home device with a Sub 1G module embedded in it. Among them, the smart home device can include an air conditioner device, etc., which is not limited in this application.

[0039] Step S102, determining the routing table configuration in the gateway device, and parsing the control data packet according to the routing table configuration to obtain a control instruction.

[0040] The configuration content of the routing table can be as follows: Figure 2 As shown, when a control data packet is sent to the Sub 1G gateway device, the control data packet is parsed based on the routing table configuration to obtain a control instruction, for example, the control instruction may be an instruction to control a switch or an instruction to control a temperature.

[0041] Specifically, determining the routing table configuration in the gateway device includes: responding to gateway registration requests from multiple target devices, registering a gateway device identifier corresponding to each target device; determining a routing table entry corresponding to each gateway device identifier, and determining the routing table configuration according to the routing table entry.

[0042] Exemplarily, multiple air conditioner devices initiate registration requests to the Sub 1G gateway device, and the gateway device responds to the request and registers the device identification of each air conditioner device in the gateway in the device table, such as Figure 2 As shown, the routing table entry corresponding to each gateway device identifier may include: device type, target address, number of hops, MAC address, etc. The routing table entry is used as the routing table configuration. This application configures the routing table and associates the device table entry with the routing table entry, thereby further improving the efficiency of the gateway device in parsing data.

[0043] Specifically, the control data packet is parsed according to the routing table configuration to obtain the control instruction, including: obtaining the target device information and the destination IP address in the control data packet; matching the target routing table item of the destination IP address from multiple routing table items configured in the routing table; determining the target gateway device identifier that matches the target device information based on the target routing table item; parsing the control data packet according to the target gateway device identifier to obtain the control instruction.

[0044] Exemplarily, the target device information may be the name information or identification information of the Sub 1G device, the destination IP address may be the IP address of the Sub 1G device, the multiple routing table entries include data table entries corresponding to the multiple Sub 1G devices, and the device information of the target device A is matched with the target gateway device identification registered in the gateway to implement the parsing of the control data packet. The specific parsing process may be as follows: Figure 3 As shown, the control data packet b from the network adds the address of the router and the device information c, and the control data packet a sent from the router to the Sub 1G end adds the information d of the Sub 1G gateway, including the address, verification information, encryption information, etc. The control data packet is parsed based on the routing table configuration of the Sub 1G gateway, and the main calculations and processing are all in the gateway. The final data e only includes control instruction information and a simple device identification method, without involving complex encryption verification, etc., and also reduces the resource parsing pressure on both the device end and the network end.

[0045] Step S103, obtaining the target gateway device identifier from the routing table configuration, identifying the target device according to the target gateway device identifier, and sending a control instruction to the target device to control the target device.

[0046] Among them, the routing table configuration includes: multiple gateway device identifiers, and routing table entries corresponding to each gateway device identifier. This application can not only match the device information in the control data packet through the target gateway identifier, but also identify the target device, further reducing the resource resolution pressure on both the device and network ends.

[0047] Specifically, identifying the target device according to the target gateway device identifier includes: receiving target device information sent by the communication module; and identifying the target device information based on the target gateway device identifier to determine the target device.

[0048] Exemplarily, the target device A sends the device information of the target device A to the gateway device through its embedded Sub 1G communication module. The device information may be a device ID, and the device ID is identified through the target gateway device identifier to determine that the control instruction is sent to the target device A. The present application parses the control data packet through the Sub 1G gateway, and sends the parsed data to the target device in the form of wireless communication, which not only reduces the resource parsing pressure on both the device end and the network end, but also improves the data transmission efficiency.

[0049] Optionally, before registering the gateway device identifier corresponding to each target device, the method further includes: when monitoring that the heartbeat mechanism with the target device is disconnected within a preset time, determining that the target device is in an offline state, and deleting the gateway device identifier corresponding to the target device.

[0050] In short, if the Sub 1G device fails to register with the SUB1G gateway within the survival time, the gateway device will automatically deregister the gateway device ID until it is connected again.

[0051] It should be noted that, when the control terminal is connected to the wide area network, the control instruction is sent by the control terminal to the server, and then forwarded to the routing device by the server.

[0052] In other words, the present application can not only be used for local area network networking, but also for wide area network networking through a server, and the device information and control information of the above embodiments will not be stored in the cloud server, further improving the privacy of user data.

[0053] In summary, the device control method provided by the embodiment of the present application receives a control data packet sent by a routing device, wherein the control data packet includes a control instruction for a target device, the control instruction is sent from a control terminal to the routing device, and the target device is configured with a communication module with the same communication frequency band as the gateway device; determines the routing table configuration in the gateway device, and parses the control data packet according to the routing table configuration to obtain the control instruction; obtains the target gateway device identifier from the routing table configuration, identifies the target device according to the target gateway device identifier, and sends the control instruction to the target device to control the target device. Through this application, the problem of low data transmission efficiency in the related art is solved. The control data packet is parsed through the routing table configuration to obtain the control instruction, and the target device is identified according to the target gateway device identifier, and the control instruction is sent to the target device. Thereby achieving the effect of improving data transmission efficiency.

[0054] The embodiment of the present application also provides a device control system. It should be noted that the device control system of the embodiment of the present application can be used to execute the device control method provided in the embodiment of the present application. The device control system provided in the embodiment of the present application is introduced below.

[0055] Figure 4 Schematic diagram of a device control system according to an embodiment of the present application. Figure 4 As shown, the system includes: a control terminal 401, a routing device 402, a gateway device 403, and at least one target device 404, wherein:

[0056] A control terminal, used to send a control instruction for a target device in at least one target device to the routing device;

[0057] Each target device is configured with a communication module, and the communication module has a communication frequency band lower than a preset frequency;

[0058] A gateway device, configured with a communication frequency band lower than a preset frequency, to wirelessly communicate with each target device and receive a control data packet sent by the routing device, wherein the control data packet includes a control instruction;

[0059] The gateway device is also used to determine the routing table configuration, parse the control data packet according to the routing table configuration, obtain the control instruction, obtain the target gateway device identifier from the routing table configuration, identify the target device according to the target gateway device identifier, and send the control instruction to the target device to control the target device.

[0060] Optionally, in a device control system provided in an embodiment of the present application, a server is also included, and the server is used to receive control instructions sent by the control terminal and forward the control instructions to the routing device.

[0061] For example, the target device may be a smart air conditioning device, such as Figure 5 As shown, the equipment control system includes a control terminal 1, a server 2, a routing device 3, a SUB 1GHz gateway 4, and an intelligent air-conditioning device 5. The intelligent air-conditioning device 5 has a built-in Sub-1GHz communication module, which can send electromagnetic wave signals below the 1GHz frequency band. The intelligent air-conditioning device 5 and the gateway 4 can form a star layout connection to form a connection 54. The gateway 4 not only has a Sub-1GHz communication function, but also includes at least a strong computing power and an Ethernet link communication function.

[0062] The gateway 4 establishes a connection 43 with the routing device 3 via a wireless local area network or Ethernet. The routing device 3 has functions such as routing and switching. The routing device 3 can connect to the server 2 via the Internet to form a connection 32. At the same time, the routing device 3 can also be directly connected to the control terminal 1 to form a connection 31. The server 2 and the control terminal 1 are connected via the Internet to form a connection 21. In the case of local area network control, the command data is transmitted from the control terminal to the intelligent air conditioning device via connections 31, 43, and 54; in the case of wide area network, the command data is transmitted from the control terminal to the intelligent air conditioning device via connections 21, 32, 43, and 54.

[0063] Figure 6 is a schematic diagram of an air conditioning system according to an embodiment of the present application, such as Figure 6 As shown, the system includes:

[0064] At least one air conditioner 601, each air conditioner is equipped with a communication module, and the communication module has a communication frequency band lower than a preset frequency;

[0065] Routing device 602, used for receiving control instructions for a target air conditioner;

[0066] The gateway device 603 is configured with a communication frequency band lower than a preset frequency to wirelessly communicate with each air conditioner and receive a control data packet sent by the routing device, wherein the control data packet includes a control instruction;

[0067] The gateway device 603 is also used to determine the routing table configuration, parse the control data packet according to the routing table configuration, obtain the control instruction, obtain the target gateway device identifier from the routing table configuration, identify the target air conditioner according to the target gateway device identifier, and send the control instruction to the target air conditioner to control the target air conditioner.

[0068] It should be noted that each air conditioner is equipped with a communication module for the Sub1G communication frequency band, among which the Sub1G gateway is networked and can bind terminal devices through a specific gateway. This process does not require access to the Internet. The Sub1G gateway assigns a unique identity to each air conditioner with an embedded Sub1GHz module. This identity only works in the update cycle of a device table. The identity is maintained in the device table configured in the routing table of the gateway device and updated regularly. The air conditioner device is not bound to a remote server, and all air conditioner device content information is maintained in the gateway. The air conditioner device control is divided into two control modes: local area network and wide area network. In the local area network control mode, the air conditioner device, gateway, and control terminal form an ad hoc network, and the control information is transmitted in the ad hoc network; in the wide area network, the control information is transmitted to the routing device through the server, and then transmitted to the gateway through the routing device. The server does not bind any device information, and the server only recognizes the gateway device or routing device information.

[0069] Optionally, when two or even more control terminals control the air conditioner equipment, the present application achieves a scenario where multiple devices are controlled simultaneously by adding an identity identification table of the control terminal in the gateway device. For example, if the gateway device receives a control instruction to add other terminal devices, it can generate periodic identity identifications of multiple control terminals based on the control instruction and maintain them in the terminal control device table of the gateway. When the control data packet arrives at the gateway device, the gateway device matches the control data packet to implement the authority allocation operation for different control terminals in the terminal control device table.

[0070] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0071] The embodiment of the present application also provides a device control apparatus, and it should be noted that the device control apparatus of the embodiment of the present application can be used to execute the device control method provided in the embodiment of the present application. The device control apparatus provided in the embodiment of the present application is introduced below.

[0072] Figure 7 Schematic diagram of a device control device according to an embodiment of the present application. Figure 7 As shown, the device includes: a receiving unit 701, a determining unit 702, and an identifying unit 703.

[0073] Specifically, the receiving unit 701 is used to receive a control data packet sent by the routing device, wherein the control data packet includes a control instruction for a target device, the control instruction is sent from the control terminal to the routing device, and the target device is configured with a communication module with the same communication frequency band as the gateway device;

[0074] The determining unit 702 is used to determine the routing table configuration in the gateway device, and parse the control data packet according to the routing table configuration to obtain the control instruction;

[0075] The identification unit 703 is used to obtain the target gateway device identifier from the routing table configuration, identify the target device according to the target gateway device identifier, and send a control instruction to the target device to control the target device.

[0076] Optionally, in the device control device provided in the embodiment of the present application, the determination unit includes: a response module, used to respond to gateway registration requests from multiple target devices and register the gateway device identifier corresponding to each target device; a determination module, used to determine the routing table entry corresponding to each gateway device identifier, and determine the routing table configuration based on the routing table entry.

[0077] Optionally, in the device control device provided in the embodiment of the present application, the determination unit includes: an acquisition module, used to obtain the target device information and the destination IP address in the control data packet; a first matching module, used to match the target routing table item of the destination IP address from multiple routing table items configured in the routing table; a second matching module, used to determine the target gateway device identifier that matches the target device information based on the target routing table item; and a parsing module, used to parse the control data packet according to the target gateway device identifier to obtain a control instruction.

[0078] Optionally, in the device control apparatus provided in the embodiment of the present application, the identification unit includes: a receiving module for receiving target device information sent by the communication module; and an identification module for identifying the target device information based on the target gateway device identifier to determine the target device.

[0079] Optionally, in the device control device provided in the embodiment of the present application, the device also includes: a deletion unit, which is used to determine that the target device is in an offline state and delete the gateway device identifier corresponding to the target device before registering the gateway device identifier corresponding to each target device, when it is detected that the heartbeat mechanism between the target device and the target device is disconnected within a preset time.

[0080] Optionally, in the device control apparatus provided in the embodiment of the present application, when the control terminal is connected to the wide area network, the control instruction is sent by the control terminal to the server and forwarded to the routing device through the server.

[0081] The device control apparatus includes a processor and a memory. The receiving unit 701, the determining unit 702, the identifying unit 703, etc. are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.

[0082] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the device is controlled by adjusting the kernel parameters.

[0083] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0084] In the exemplary embodiment of the present disclosure, a computer storage medium capable of implementing the above method is also provided. A program product capable of implementing the above method of the present specification is stored thereon. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps described in the above "Exemplary Method" section of the present specification according to various exemplary embodiments of the present disclosure, such as the following steps: receiving a control data packet sent by a routing device, wherein the control data packet includes a control instruction for a target device, the control instruction is sent from a control terminal to a routing device, and the target device is configured with a communication module with the same communication frequency band as the gateway device; determining a routing table configuration in the gateway device, and parsing the control data packet according to the routing table configuration to obtain a control instruction; obtaining a target gateway device identifier from the routing table configuration, identifying the target device according to the target gateway device identifier, and sending the control instruction to the target device to control the target device.

[0085] In an optional implementation: in response to gateway registration requests from multiple target devices, register a gateway device identifier corresponding to each target device; determine a routing table entry corresponding to each gateway device identifier, and determine a routing table configuration according to the routing table entry.

[0086] In an optional implementation: obtaining target device information and a destination IP address in a control data packet; matching a target routing table item with a destination IP address from a plurality of routing table items configured in a routing table; determining a target gateway device identifier that matches the target device information based on the target routing table item; parsing the control data packet according to the target gateway device identifier to obtain a control instruction.

[0087] In an optional implementation: receiving target device information sent by a communication module; identifying the target device information based on a target gateway device identifier to determine the target device.

[0088] In an optional implementation manner: when it is detected that the heartbeat mechanism with the target device is disconnected within a preset time, it is determined that the target device is in an offline state, and the gateway device identifier corresponding to the target device is deleted.

[0089] In an optional implementation manner: when the control terminal is connected to a wide area network, the control instruction is sent by the control terminal to the server, and then forwarded to the routing device by the server.

[0090] In an optional embodiment, the embodiment of the present disclosure may also include a program product for implementing the above method, which may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.

[0091] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0092] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0093] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0094] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0095] In addition, in an exemplary embodiment of the present disclosure, a gateway device capable of implementing the above method is also provided.

[0096] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0097] Refer to the following Figure 8 The gateway device 800 according to this embodiment of the present disclosure is described. Figure 8 The gateway device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0098] like Figure 8As shown, the gateway device 800 is in the form of a general computing device. The components of the gateway device 800 may include, but are not limited to: at least one processing unit 810, at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.

[0099] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 810, so that the processing unit 810 executes the steps described in the above "Exemplary Method" section of this specification according to various exemplary embodiments of the present disclosure. For example, the processing unit 810 can execute the following steps: receiving a control data packet sent by a routing device, wherein the control data packet includes a control instruction for a target device, the control instruction is sent from a control terminal to the routing device, and the target device is configured with a communication module with the same communication frequency band as the gateway device; determining the routing table configuration in the gateway device, and parsing the control data packet according to the routing table configuration to obtain the control instruction; obtaining the target gateway device identifier from the routing table configuration, identifying the target device according to the target gateway device identifier, and sending the control instruction to the target device to control the target device.

[0100] In an optional implementation: in response to gateway registration requests from multiple target devices, register a gateway device identifier corresponding to each target device; determine a routing table entry corresponding to each gateway device identifier, and determine a routing table configuration according to the routing table entry.

[0101] In an optional implementation: obtaining target device information and a destination IP address in a control data packet; matching a target routing table item with a destination IP address from a plurality of routing table items configured in a routing table; determining a target gateway device identifier that matches the target device information based on the target routing table item; parsing the control data packet according to the target gateway device identifier to obtain a control instruction.

[0102] In an optional implementation: receiving target device information sent by a communication module; identifying the target device information based on a target gateway device identifier to determine the target device.

[0103] In an optional implementation manner: when it is detected that the heartbeat mechanism with the target device is disconnected within a preset time, it is determined that the target device is in an offline state, and the gateway device identifier corresponding to the target device is deleted.

[0104] In an optional implementation: when the control terminal is connected to a wide area network, the control instruction is sent by the control terminal to the server, which is forwarded to the routing device through the server. The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 8201 and / or a cache storage unit 8202, and may further include a read-only storage unit (ROM) 8203.

[0105] The storage unit 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0106] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0107] The gateway device 800 may also communicate with one or more external devices 600 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the gateway device 800, and / or communicate with any device that enables the gateway device 800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 850. In addition, the gateway device 800 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 860. As shown, the network adapter 860 communicates with other modules of the gateway device 800 via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the gateway device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0108] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0109] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0110] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A device control method, characterized in that: Applied to a gateway device, the gateway device is configured with a communication frequency band lower than a preset frequency, the method comprising: Receiving a control data packet sent by a routing device, wherein the control data packet includes a control instruction for a target device, the control instruction is sent by a control terminal to the routing device, and the target device is configured with a communication module with the same communication frequency band as that of the gateway device; Determine the routing table configuration in the gateway device, and parse the control data packet according to the routing table configuration to obtain the control instruction; The target gateway device identifier is obtained from the routing table configuration, the target device is identified according to the target gateway device identifier, and the control instruction is sent to the target device to control the target device.

2. The method according to claim 1, characterized in that Determining a routing table configuration in the gateway device includes: In response to gateway registration requests from multiple target devices, register a gateway device identifier corresponding to each target device; Determine a routing table entry corresponding to each gateway device identifier, and determine the routing table configuration according to the routing table entry.

3. The method according to claim 2, characterized in that Parsing the control data packet according to the routing table configuration to obtain the control instruction includes: Obtain the target device information and destination IP address in the control data packet; A target routing table entry matching the destination IP address from a plurality of routing table entries configured in the routing table; Determine a target gateway device identifier that matches the target device information based on the target routing table entry; The control data packet is parsed according to the target gateway device identifier to obtain the control instruction.

4. The method according to claim 1, characterized in that: Identifying the target device according to the target gateway device identifier includes: Receiving target device information sent by the communication module; The target device information is identified based on the target gateway device identifier to determine the target device.

5. The method according to claim 2, characterized in that: Before registering the gateway device identifier corresponding to each target device, the method further includes: When it is detected that the heartbeat mechanism with the target device is disconnected within a preset time, it is determined that the target device is in an offline state, and the gateway device identifier corresponding to the target device is deleted.

6. The method according to any one of claims 1 to 5, characterized in that In the case where the control terminal is connected to a wide area network, the control instruction is sent by the control terminal to a server and forwarded to the routing device by the server.

7. A device control device, characterized in that: Applied to a gateway device, the gateway device is configured with a communication frequency band lower than a preset frequency, the device comprising: A receiving unit, configured to receive a control data packet sent by a routing device, wherein the control data packet includes a control instruction for a target device, the control instruction is sent by a control terminal to the routing device, and the target device is configured with a communication module with the same communication frequency band as that of the gateway device; A determination unit, configured to determine a routing table configuration in the gateway device, and parse the control data packet according to the routing table configuration to obtain the control instruction; The identification unit is used to obtain the target gateway device identifier from the routing table configuration, identify the target device according to the target gateway device identifier, and send the control instruction to the target device to control the target device.

8. A device control system, characterized in that: include: A control terminal, a routing device, a gateway device, and at least one target device, wherein: The control terminal is used to send a control instruction for a target device in at least one target device to the routing device; Each of the target devices is configured with a communication module, and the communication module has a communication frequency band lower than a preset frequency; The gateway device is configured with a communication frequency band lower than the preset frequency to perform wireless communication with each of the target devices and receive a control data packet sent by the routing device, wherein the control data packet includes the control instruction; The gateway device is also used to determine the routing table configuration, and parse the control data packet according to the routing table configuration to obtain the control instruction, and obtain the target gateway device identifier from the routing table configuration, and identify the target device according to the target gateway device identifier, and send the control instruction to the target device to control the target device.

9. The system according to claim 8, characterized in that It also includes a server, which is used to receive the control instruction sent by the control terminal and forward the control instruction to the routing device.

10. An air conditioning system, characterized in that: include: At least one air conditioner, each of which is equipped with a communication module, and the communication module has a communication frequency band lower than a preset frequency; A routing device, used for receiving control instructions for a target air conditioner; a gateway device configured with a communication frequency band lower than the preset frequency to wirelessly communicate with each of the air conditioners and receive a control data packet sent by the routing device, wherein the control data packet includes the control instruction; The gateway device is also used to determine the routing table configuration, and parse the control data packet according to the routing table configuration to obtain the control instruction, and obtain the target gateway device identifier from the routing table configuration, and identify the target air conditioner according to the target gateway device identifier, and send the control instruction to the target air conditioner to control the target air conditioner.

11. A computer-readable storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the device control method according to any one of claims 1 to 6.

12. A gateway device, characterized in that: include: One or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing the device control method described in any one of claims 1 to 6.

Citation Information

Cited By

  • Remote equipment control system and method based on radio frequency

    CN120108164A