CN113535784B - Method and device for quickly searching data of intelligent gateway sub-equipment - Google Patents
Method and device for quickly searching data of intelligent gateway sub-equipment Download PDFInfo
- Publication number
- CN113535784B CN113535784B CN202110912146.3A CN202110912146A CN113535784B CN 113535784 B CN113535784 B CN 113535784B CN 202110912146 A CN202110912146 A CN 202110912146A CN 113535784 B CN113535784 B CN 113535784B
- Authority
- CN
- China
- Prior art keywords
- data structure
- linked list
- list data
- unique code
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/215—Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the application relates to a method and a device for quickly searching data of intelligent gateway sub-equipment. The method comprises the following steps: acquiring a unique code of the child device; searching a conversion function according to the unique code through preset data, and calculating the unique code to obtain an output value; determining a target linked list data structure array according to the output value, wherein the target linked list data structure array comprises a plurality of linked list data structures, and each linked list data structure stores unique codes of different pieces of equipment; traversing each linked list data structure in the target linked list data structure array to determine whether the unique code is stored in any linked list data structure. According to the application, by creating a plurality of linked list data structure arrays and determining the corresponding arrays according to the unique code calling function of the sub-equipment, the linked list data structure values in the arrays are traversed, so that the data searching speed of the sub-equipment in the intelligent gateway can be improved, and the efficiency of the whole system is further improved.
Description
Technical Field
The application relates to the field of intelligent home gateways, in particular to a method and a device for quickly searching data of intelligent gateway sub-equipment.
Background
The smart home industry in china arose at the end of the nineties. Along with the higher and higher living standard of people and the higher and higher real estate hot tide of one wave, the intelligent home industry in China is developed more rapidly and is increasingly penetrated into the life of common people. With the continuous expansion of the Internet to ordinary families, the trend of integration of consumer electronics, computers and communication is becoming obvious, and modern smart home will become new fashion in modern society and families in the 21 st century due to the characteristics of safety, convenience, high efficiency, rapidness, intellectualization and the like. When the intelligent home gateway connects various home appliances in the home together through the home bus technology, a modern intelligent home system with powerful functions and high intelligence is formed.
The intelligent home gateway has two functions of an intelligent home control hub and wireless routing, one side is responsible for specific security alarm, home appliance control, power consumption information acquisition and data interaction with products such as intelligent interaction terminals in a wireless mode, and the other side also has excellent wireless performance, wireless routing function, network security performance and coverage area. Various mobile devices such as mobile phones, tablet computers and the like can easily control electric appliances and intelligent home central equipment in families through the mobile devices. The advent of new generation home connections and control centers, represented by smart home gateway products, has been said to announce the advent of new era of smart home.
The intelligent home gateway is a home intelligent device management center and is responsible for managing all intelligent sub-devices. With the development of intelligent home systems, devices accessing to intelligent home gateways are gradually increased, and how to search data for sub-devices becomes a new problem of perfecting the intelligent home systems. When the traditional system design encounters operations such as data insertion, deletion, searching and the like, the data is often searched in a traversal mode, and the searching efficiency is low in the mode. If the data is longer or the access equipment is more, the calculation complexity is increased, and the system performance is reduced.
Disclosure of Invention
Based on the above, the application provides a method and a device for quickly searching the data of the intelligent gateway sub-equipment, which can improve the data searching speed of the intelligent home gateway sub-equipment, thereby improving the efficiency of the whole system.
According to a first aspect of some embodiments of the present application, there is provided a method for fast searching of data of an intelligent gateway sub-device, the method comprising the steps of:
acquiring a unique code of the child device;
searching a conversion function according to the unique code through preset data, and calculating the unique code to obtain an output value;
determining a target linked list data structure array according to the output value, wherein the target linked list data structure array comprises a plurality of linked list data structures, and each linked list data structure stores unique codes of different pieces of equipment;
traversing each linked list data structure body in the target linked list data structure array, and determining whether the unique code is stored in the linked list data structure body.
Further, if the linked list data structure stores the unique code, the method further comprises:
updating the child device to an online state.
Further, if no linked list data structure stores the unique code, the method further comprises:
inserting a new linked list data structure body into the linked list data tail of the target linked list data structure array;
storing the unique code in the new linked list data structure.
Further, after storing the unique code in the new linked list data structure, the method further includes:
the total number of unique codes of the sub-devices is recorded.
Further, if the searched sub-device needs to be deleted, the method further comprises the following steps:
traversing each linked list data structure body in the linked list data structure array to determine whether the unique code is stored in the linked list data structure body;
if yes, deleting the node of the linked list data structure body where the unique code of the sub-equipment is located;
if there is no value consistent with the unique code, indicating that the child device is not present.
Further, the data search transfer function is characterized in that:
the function is a shaping function which is used for converting the input unique code into a shaping value, and the maximum value of the shaping value corresponds to the number of the linked list data structure arrays.
Further, the search transfer function is:
f (x) = (a-1) |sin (x% 180 PI) |, where pi=3.1415926, and a is the number of linked list data structure arrays created.
Further, the method also comprises the following steps:
acquiring control information of a control terminal;
and transmitting the sub-equipment information to the control terminal, wherein the equipment information comprises a unique code of the sub-equipment, so that the control terminal controls the sub-equipment according to the unique code.
According to a second aspect of some embodiments of the present application, there is provided an apparatus for fast searching of data, comprising:
the data acquisition module is used for acquiring the unique code of the sub-equipment;
the function calculation module is used for searching a conversion function through preset data according to the unique code and calculating the unique code to obtain an output value;
the target array determining module is used for determining a target linked list data structure array according to the output value, wherein the target linked list data structure array comprises a plurality of linked list data structures, and each linked list data structure stores unique codes of different pieces of equipment;
and the traversal searching module is used for traversing each linked list data structure body in the target linked list data structure array and determining whether the linked list data structure body stores the unique code.
According to a third aspect of some embodiments of the present application, there is provided an intelligent gateway device comprising:
at least one memory and at least one processor;
the memory is used for storing one or more programs;
the one or more programs, when executed by the at least one processor, cause the at least one processor to implement the steps of a method for fast lookup of smart gateway sub-device data as described in the first aspect.
The application provides a method and a device for quickly searching data of an intelligent gateway sub-device, which are characterized in that a plurality of linked list data structure arrays are created in the intelligent gateway device, each array comprises a plurality of linked list data structures, each linked list data structure is used for storing related data information comprising a unique code of the sub-device, a data searching conversion function is called according to the unique code of the sub-device to determine a corresponding linked list data structure array, and the linked list data structure values in the array are traversed, so that the quick searching of the sub-device can be realized, and further the operations such as data insertion and data deletion of the sub-device can be realized. By the method and the device provided by the application, the calculation complexity of the intelligent gateway equipment is greatly reduced, the efficiency of searching the sub-equipment information by the intelligent gateway equipment is improved, and the system stability is improved.
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Drawings
Fig. 1 is a step diagram of a method for quickly searching data of an intelligent gateway sub-device provided by the application;
FIG. 2 is a schematic diagram of a subset of the environment in which the present application is applicable and an intelligent gateway;
fig. 3 is a schematic diagram of a storage structure of a method for quickly searching data of an intelligent gateway sub-device according to the present application;
fig. 4 is a waveform diagram of a data search conversion function provided by the present application.
Fig. 5 is a schematic block diagram of a device for quickly searching data in an intelligent gateway sub-device according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the application, are intended to be within the scope of the embodiments of the present application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of embodiments of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application as detailed in the accompanying claims. In the description of the present application, it should be understood that the terms "first," "second," "third," and the like are used merely to distinguish between similar human bodies and are not necessarily used to describe a particular order or sequence, nor should they be construed to indicate or imply relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or" describes an association relationship associated with a human body, meaning that there may be three relationships, e.g., a and/or B, which may represent: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the associated human body is an "or" relationship.
Referring to fig. 1, fig. 1 is a step diagram of a method for quickly searching data of an intelligent gateway sub-device, where in fig. 1, after the sub-device is powered on and accesses a corresponding intelligent gateway, the intelligent gateway device performs the following steps:
in step S101, the unique code of the child device is acquired.
The relationship between the sub-device and the intelligent gateway is shown in fig. 2, fig. 2 is a schematic diagram of the relationship between the sub-device and the intelligent gateway, where the intelligent refrigerator 100 and the intelligent air conditioner 300 represent the sub-device, and the sub-device accesses the intelligent gateway device 200 and is connected to the public network Internet through the conversion protocol of the intelligent gateway device 200. The intelligent gateway is communication equipment for realizing address conversion or protocol conversion, and specifically can be a WiFi router, a BT gateway, electronic equipment with the Zigbee gateway, and the like. In a preferred embodiment, the gateway may also be a multimode gateway supporting multiple protocols such as Zigbee, bluetooth mesh, and the like.
Here, a protocol is defined between the sub-device and the corresponding gateway, and the device certificate of the sub-device may be discovered and acquired by the gateway. In one embodiment, the intelligent gateway is a smart home gateway, and the sub-device may be a smart home appliance capable of interacting with the smart home gateway, such as the smart air conditioner 300, the smart refrigerator 100, and the like.
The unique code is a network access mark of the sub-equipment, and the sub-equipment end manager performs authority management operation. In some embodiments, the unique code may be a device name or a device specific code.
In step S102, according to the unique code, a conversion function is searched through preset data, and an output value is obtained by calculating the unique code.
The intelligent gateway is preset with a data searching conversion function, and calls the function by taking the unique code as input data, and an output value is obtained.
In step S103, a target linked list data structure array is determined according to the output value.
The intelligent gateway defines a linked list data structure body, after the intelligent gateway is powered on, the defined linked list data structure body is created, an array of a plurality of linked list data structure bodies is created at the same time, and the numerical value of the linked list data structure body in the array is initialized. And the data searches the output value obtained by the conversion function, corresponds to the table head sequence number of a specific array, and determines the linked list data structure array with the table head sequence number consistent with the output value as a target array. The target linked list data structure array comprises a plurality of linked list data structures, and each linked list data structure stores unique codes of different pieces of equipment.
In step S104, each linked list data structure in the linked list data structure array is traversed, and it is determined whether the unique code is stored in any linked list data structure.
After determining the target array, traversing whether values consistent with the unique code are stored within a plurality of linked list data structures contained within the target array. Thus realizing the search of the sub-equipment under the intelligent gateway.
The method for quickly searching the data of the intelligent gateway sub-equipment provided by the application is characterized in that a plurality of linked list data structure arrays are created, the storage sub-equipment comprises the related data information of unique codes, a conversion function is determined according to the unique code calling data of the sub-equipment to determine the corresponding linked list data structure array, and the linked list data structure values in the array are traversed, so that the quick searching of the sub-equipment can be realized. By the method provided by the application, the calculation complexity of the system is greatly reduced, the efficiency of data searching is improved, and the stability of the system is improved.
In a specific example, if each linked list data structure in the target linked list data structure array is traversed, determining that the linked list data structure stores the unique code, and updating the sub-device to be in an online state; if not, inserting a new linked list data structure body into the linked list data tail of the target linked list data structure array, and storing the unique code in the new linked list data structure body. In a preferred embodiment, the unique code is stored in the new linked list data structure and the total number of unique codes of the recording sub-device is updated.
The tail insertion method is adopted to insert the linked list data, so that the head nodes of the linked list data structure can be guaranteed to be invariable forever, the traversal is performed according to the same sequence as the insertion data, and the stability of the system is guaranteed.
In a specific example, the data deletion of the sub-device can also be performed by the method for quickly searching the data of the sub-device of the intelligent gateway. And traversing each linked list data structure body in the linked list data structure array to determine whether the linked list data structure body stores the unique code, deleting the node of the linked list data structure body where the unique code of the sub-equipment is located if the unique code is stored, and indicating that the sub-equipment does not exist if the node does not have a value consistent with the unique code.
In a specific example, the data lookup conversion function is a shaping function, and after the unique code of the sub-device is input, the data lookup conversion function is converted to return a shaping value, wherein the shaping value is in the number of the established linked list data structure arrays.
In a preferred embodiment, the data look-up transfer function is:
f(x)=(A-1)*|sin(x%180*PI)|
where pi=3.1415926, a is the number of linked list data structure arrays created.
Referring to fig. 3 specifically, fig. 3 is a schematic diagram of a storage structure of a method for quickly searching data in an intelligent gateway sub-device according to the present application. Defining linked list structure data bodies in a data storage space, and simultaneously creating arrays of array [ A ] linked list data structures, wherein each linked list data structure array corresponds to 0-N linked list data structures.
As shown in fig. 4, fig. 4 is a waveform diagram of a data search conversion function provided by the present application. Wherein x is input data, namely unique codes of the sub-equipment, x%180 indicates that all predicted values are distributed within 0-180 degrees, and absolute values between [ 0..1 ] are obtained through a sine function. The output values of the data lookup transfer function are all integer values id in the range of [ 0..A-1 ], A-1 being the return maximum value of this f (x) function. The integer value is the serial number of the linked list data structure array, and the linked list data structure of p=array [ id ] is found according to the integer value. p is the header of the data structure of the unique code linked list of the storage sub-device.
In a specific embodiment, the interaction between the intelligent gateway and the control terminal can be realized by the method for quickly searching the data of the intelligent gateway sub-equipment. The intelligent gateway firstly acquires the control information of the sub-equipment sent by the control terminal, searches the sub-equipment registered in the gateway by the method and sends corresponding sub-equipment information to the control terminal, wherein the equipment information comprises the unique code of the sub-equipment, so that the control terminal controls the sub-equipment according to the unique code.
The terminal may be a smart phone, and in other examples, the terminal may also be other mobile terminals (such as tablet computers) with 4G or 5G communication capability, wearable devices (such as smart watches, sport bracelets, smart glasses), smart vehicle devices, and so on.
As shown in fig. 5, fig. 5 is a schematic diagram of an apparatus for quickly searching data of an intelligent gateway sub-device, where the apparatus 400 includes:
a data acquisition module 401, configured to acquire a unique code of a child device;
the function calculation module 402 searches a conversion function according to the unique code through preset data, and calculates the unique code to obtain an output value;
a target array determining module 403, configured to determine a target linked list data structure array according to the output value, where the target linked list data structure array includes a plurality of linked list data structures, and each linked list data structure stores unique codes of different sub devices;
and a traversal searching module 404, configured to traverse each linked list data structure body in the linked list data structure array, and determine whether the unique code is stored in any linked list data structure body.
In an alternative embodiment, if the linked list data structure stores the unique code, the traversal lookup module 404 further comprises updating the child device to an online state.
In an alternative embodiment, if no linked list data structures store the unique code, the traversal lookup module 404 further includes inserting a new linked list data structure into the linked list data tail of the destination linked list data structure array; storing the unique code in the new linked list data structure.
In an alternative embodiment, after storing the unique code in the new linked list data structure, the traversal lookup module 404 further includes recording the total number of child device unique codes.
In an alternative embodiment, if the searched sub-device needs to be deleted, the traversal searching module 404 further includes a deleting unit, configured to determine, after traversing each linked list data structure in the linked list data structure array, whether the linked list data structure stores the unique code; if yes, deleting the node of the linked list data structure body where the unique code of the sub-equipment is located; if there is no value consistent with the unique code, indicating that the child device is not present.
In an alternative embodiment, the data look-up transfer function is a shaping function; after the unique code is input, a integer value is returned after conversion, and the integer value is within the number of the established linked list data structure arrays.
In an alternative embodiment, the find transfer function is:
f (x) = (a-1) |sin (x% 180 PI) |, where pi=3.1415926, and a is the number of linked list data structure arrays created.
In an alternative embodiment, the apparatus 400 further includes a control terminal interaction unit, configured to obtain control information of the control terminal; and transmitting the sub-equipment information to the control terminal, wherein the equipment information comprises the unique code of the sub-equipment, so that the control terminal controls the sub-equipment according to the unique code.
The terminal may be a smart phone, and in other examples, the terminal may also be other mobile terminals (such as tablet computers) with 4G or 5G communication capability, wearable devices (such as smart watches, sport bracelets, smart glasses), smart vehicle devices, and so on.
Corresponding to the above method for quickly searching the data of the intelligent gateway sub-device, the embodiment of the application also provides an intelligent gateway device, which comprises:
at least one memory and at least one processor;
the memory is used for storing one or more programs;
the one or more programs, when executed by the at least one processor, cause the at least one processor to implement the steps of a method of performing smart gateway sub-device data fast lookup in any of the embodiments described above.
The intelligent gateway is communication equipment for realizing address conversion or protocol conversion, and specifically can be a WiFi router, a BT gateway, electronic equipment with the Zigbee gateway, and the like. In a preferred embodiment, the gateway may also be a multimode gateway supporting multiple protocols such as Zigbee, bluetooth mesh, and the like.
The application provides a method and a device for quickly searching data of an intelligent gateway sub-device, which are characterized in that a plurality of linked list data structure arrays are created in the intelligent gateway device, each array comprises a plurality of linked list data structures, each linked list data structure is used for storing related data information comprising a unique code of the sub-device, a data searching conversion function is called according to the unique code of the sub-device to determine a corresponding linked list data structure array, and the linked list data structure values in the array are traversed, so that the quick searching of the sub-device can be realized, and further the operations such as data insertion and data deletion of the sub-device can be realized. By the method and the device provided by the application, the calculation complexity of the intelligent gateway equipment is greatly reduced, the efficiency of searching the sub-equipment information by the intelligent gateway equipment is improved, and the system stability is improved.
It is to be understood that the embodiments of the application are not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be made without departing from the scope thereof. The scope of embodiments of the application is limited only by the appended claims.
The above examples merely represent a few implementations of the present examples, which are described in more detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that various modifications and improvements can be made to the present application without departing from the spirit of the embodiments of the application.
Claims (10)
1. The method for quickly searching the data of the intelligent gateway sub-equipment is characterized by comprising the following steps:
acquiring a unique code of the child device;
searching a conversion function according to the unique code through preset data, and calculating the unique code to obtain an output value;
searching a list head sequence number of a list data structure array, and determining the list data structure array with the list head sequence number consistent with the output value as a target list data structure array, wherein the target list data structure array comprises a plurality of list data structures, and each list data structure stores unique codes of different pieces of equipment;
traversing each linked list data structure body in the target linked list data structure array, and determining whether the unique code is stored in the linked list data structure body.
2. The method for quickly searching for data in an intelligent gateway sub-device according to claim 1, wherein if the linked list data structure stores the unique code, further comprising:
updating the child device to an online state.
3. The method for quickly searching for data in an intelligent gateway sub-device according to claim 1, further comprising, if no linked list data structure stores the unique code:
inserting a new linked list data structure body into the linked list data tail of the target linked list data structure array;
storing the unique code in the new linked list data structure.
4. The method for quickly searching for data of an intelligent gateway sub-device according to claim 3, further comprising, after storing the unique code in the new linked list data structure:
the total number of unique codes of the sub-devices is recorded.
5. The method for quickly searching for data of an intelligent gateway sub-device according to claim 1, wherein if the searched sub-device needs to be deleted, further comprising:
traversing each linked list data structure body in the linked list data structure array to determine whether the unique code is stored in the linked list data structure body;
if yes, deleting the node of the linked list data structure body where the unique code of the sub-equipment is located;
if there is no value consistent with the unique code, indicating that the child device is not present.
6. The method for quickly searching for data of an intelligent gateway sub-device according to claim 1, wherein the data searching conversion function is characterized in that:
the function is a shaping function which is used for converting the input unique code into a shaping value, and the maximum value of the shaping value corresponds to the number of the linked list data structure arrays.
7. The method for quickly searching the data of the intelligent gateway sub-device according to claim 6, wherein the method comprises the following steps:
the search transfer function is:
f (x) = (a-1) |sin (x% 180 PI) |, where pi=3.1415926, and a is the number of linked list data structure arrays created.
8. The method for quickly searching for data of an intelligent gateway sub-device according to claim 1, further comprising the steps of:
acquiring control information of a control terminal;
and transmitting the sub-equipment information to the control terminal, wherein the equipment information comprises a unique code of the sub-equipment, so that the control terminal controls the sub-equipment according to the unique code.
9. An intelligent gateway sub-device data quick searching device is characterized in that the device comprises:
the data acquisition module is used for acquiring the unique code of the sub-equipment;
the function calculation module is used for searching a conversion function through preset data according to the unique code and calculating the unique code to obtain an output value;
the target array determining module is used for searching the head sequence number of the linked list data structure array, determining the linked list data structure array with the head sequence number consistent with the output value as a target linked list data structure array, wherein the target linked list data structure array comprises a plurality of linked list data structures, and each linked list data structure stores unique codes of different pieces of equipment;
and the traversal searching module is used for traversing each linked list data structure body in the target linked list data structure array and determining whether the linked list data structure body stores the unique code.
10. An intelligent gateway device, comprising:
at least one memory and at least one processor;
the memory is used for storing one or more programs;
the steps of a method for fast lookup of intelligent gateway sub-device data according to any of claims 1 to 8, when said one or more programs are executed by said at least one processor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110912146.3A CN113535784B (en) | 2021-08-10 | 2021-08-10 | Method and device for quickly searching data of intelligent gateway sub-equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110912146.3A CN113535784B (en) | 2021-08-10 | 2021-08-10 | Method and device for quickly searching data of intelligent gateway sub-equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113535784A CN113535784A (en) | 2021-10-22 |
| CN113535784B true CN113535784B (en) | 2023-09-01 |
Family
ID=78091386
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110912146.3A Active CN113535784B (en) | 2021-08-10 | 2021-08-10 | Method and device for quickly searching data of intelligent gateway sub-equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113535784B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103473286A (en) * | 2013-08-29 | 2013-12-25 | 上海斐讯数据通信技术有限公司 | Network management device panel and management method implemented by same |
| CN104133895A (en) * | 2014-07-31 | 2014-11-05 | 国家电网公司 | Intelligent substation secondary device connection diagram encoding algorithm based on binary tree |
| CN105068792A (en) * | 2015-07-15 | 2015-11-18 | 上海斐讯数据通信技术有限公司 | Drive equipment management method and embedded system |
| US9436335B1 (en) * | 2014-09-30 | 2016-09-06 | Amazon Technologies, Inc. | Input transformative system |
| CN108900396A (en) * | 2018-07-06 | 2018-11-27 | 南京苏博曼纳软件科技有限公司 | A kind of intelligent gateway external device management method |
| CN109857738A (en) * | 2019-01-07 | 2019-06-07 | 平安科技(深圳)有限公司 | Date storage method, device, computer equipment and storage medium |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10241927B2 (en) * | 2016-03-14 | 2019-03-26 | Shenzhen Skyworth-Rgb Electronic Co., Ltd. | Linked-list-based method and device for application caching management |
-
2021
- 2021-08-10 CN CN202110912146.3A patent/CN113535784B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103473286A (en) * | 2013-08-29 | 2013-12-25 | 上海斐讯数据通信技术有限公司 | Network management device panel and management method implemented by same |
| CN104133895A (en) * | 2014-07-31 | 2014-11-05 | 国家电网公司 | Intelligent substation secondary device connection diagram encoding algorithm based on binary tree |
| US9436335B1 (en) * | 2014-09-30 | 2016-09-06 | Amazon Technologies, Inc. | Input transformative system |
| CN105068792A (en) * | 2015-07-15 | 2015-11-18 | 上海斐讯数据通信技术有限公司 | Drive equipment management method and embedded system |
| CN108900396A (en) * | 2018-07-06 | 2018-11-27 | 南京苏博曼纳软件科技有限公司 | A kind of intelligent gateway external device management method |
| CN109857738A (en) * | 2019-01-07 | 2019-06-07 | 平安科技(深圳)有限公司 | Date storage method, device, computer equipment and storage medium |
Non-Patent Citations (1)
| Title |
|---|
| 基于Zigbee和Android的智能家居系统的研究与实现;潘平安;中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑(第02期);C038-1662 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113535784A (en) | 2021-10-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11563819B2 (en) | Operation triggering method and apparatus for machine-to-machine communications | |
| CN101977167B (en) | Gateway communication protocol conversion method for wireless sensor network access Modbus bus | |
| CN103297306B (en) | A kind of agriculture Internet of things system | |
| CN114398567B (en) | A multi-temporal power grid topology data management method, device and computer equipment | |
| CN102325163B (en) | Routing updating method, device and relevant equipment | |
| CN110413845A (en) | Resource storage method and device based on internet of things operating system | |
| US7197365B2 (en) | Controller, program product, and storage medium | |
| EP4611352A1 (en) | Building protocol data processing method, apparatus, and system | |
| CN108076058A (en) | Heterogeneous network communications protocol method for amalgamation processing based on self-adapting changeable long codes | |
| WO2018227695A1 (en) | Subscription data sending and receiving method, device and system | |
| CN113535784B (en) | Method and device for quickly searching data of intelligent gateway sub-equipment | |
| CN112367199B (en) | Configurable self-adaptive intelligent gateway and configuration method | |
| CN105827423A (en) | Data acquisition method and data acquisition device | |
| US12348376B2 (en) | Connection configuration method and apparatus | |
| CN109218149B (en) | Equipment access method, device, network system and gateway | |
| CN104679805A (en) | Power grid integrated information remote access method | |
| CN116128475A (en) | A grid path query method, device, electronic equipment and medium | |
| CN115968543B (en) | Resource mapping method, device, equipment and storage medium | |
| CN112333225B (en) | Diagnostic components and diagnostic communication for charging parking lots | |
| JP4515489B2 (en) | Information management apparatus and information management method | |
| CN103619064A (en) | Wireless network-based methods for requiring and locating nodes and transferring data | |
| CN114740739A (en) | Method, device, system and storage medium for centralized control of smart home appliances | |
| CN112954638A (en) | Micropower wireless sensor access method and system | |
| CN115118609B (en) | MESH network-based control method and computer-readable storage medium | |
| CN105554690A (en) | Point-to-point intelligent equipment management system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |