CN113535784A - 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
- CN113535784A CN113535784A CN202110912146.3A CN202110912146A CN113535784A CN 113535784 A CN113535784 A CN 113535784A CN 202110912146 A CN202110912146 A CN 202110912146A CN 113535784 A CN113535784 A CN 113535784A
- Authority
- CN
- China
- Prior art keywords
- linked list
- data structure
- 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.)
- Granted
Links
Images
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)
- Quality & Reliability (AREA)
- Software Systems (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 sub-equipment; according to the unique code, a conversion function is searched through preset data, and an output value is obtained through calculation of the unique code; 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 structure bodies, and each linked list data structure stores unique codes of different sub-devices; and 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 the invention, a plurality of linked list data structure arrays are created, the corresponding array is determined according to the unique code calling function of the sub-equipment, and the linked list data structure value in the array is traversed, so that the data searching speed of the sub-equipment in the intelligent gateway can be increased, and the efficiency of the whole system is further improved.
Description
Technical Field
The invention 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 intelligent home industry in China arose in the late nineties. With the higher living standard of people and the real estate hot tide that one wave is higher than one wave, the smart home industry in China is more rapidly developed and increasingly permeates the lives of common people. With the continuous expansion of the internet to the common family life, the integration trend of consumer electronics, computers and communication becomes more and more obvious, and modern smart home will become a new fashion of 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 household appliances in a home together through a 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 a wireless router, one side of the intelligent home gateway is responsible for specific security alarm, household appliance control, power consumption information acquisition and data interaction with products such as an intelligent interaction terminal in a wireless mode, and the other side of the intelligent home gateway also has excellent wireless performance, a wireless router function, network safety performance and coverage area. Various mobile devices such as mobile phones and tablet computers can easily control household electrical appliances and intelligent household center equipment through the mobile device. Therefore, the emergence of new generation home connection and control centers represented by intelligent home gateway products announces the coming of new era of intelligent homes.
The intelligent home gateway is a home intelligent device management center and is responsible for managing all intelligent sub-devices. With the development of the intelligent home system, the number of devices accessed to the intelligent home gateway is gradually increased, and how to search data of the sub-devices becomes a new problem for perfecting the intelligent home system. In the prior art, when data insertion, deletion, searching and other operations are encountered in system design, the data are often searched in a traversal mode, and the searching efficiency is low. If the data is longer or the access devices are more, the computational complexity is increased, and the system performance is reduced.
Disclosure of Invention
Based on the method and the device, the invention provides the method and the device for quickly searching the data of the sub-equipment of the intelligent gateway, which can improve the data searching speed of the sub-equipment of the intelligent home gateway, 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 data of a smart gateway sub-device, the method including the steps of:
acquiring a unique code of the sub-equipment;
according to the unique code, a conversion function is searched through preset data, and an output value is obtained through calculation of the unique code;
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 structure bodies, and each linked list data structure stores unique codes of different sub-devices;
and 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.
Further, if there is the linked list data structure storing the unique code, the method further includes:
and updating the sub-equipment to be in an online state.
Further, if no linked list data structure stores the unique code, the method further includes:
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.
Further, after storing the unique code in the new linked list data structure, the method further includes:
and recording the total number of the unique codes of the sub-equipment.
Further, if the searched sub-device needs to be deleted, the method further includes:
traversing each linked list data structure body in the linked list data structure array, and determining whether the linked list data structure body stores the unique code;
if so, deleting the node of the linked list data structure body where the unique code of the child equipment is located;
if there is no value consistent with the unique code, indicating that the child device is not present.
Further, the data lookup transfer function is characterized in that:
the function is a shaping function which is used for converting the input unique code into an integral value, and the maximum value of the integral value corresponds to the number of the array of the linked list data structure.
Further, the lookup transfer function is:
and f, (x) (a-1) | sin (x% 180 × PI) |, wherein PI ═ 3.1415926, and a is the number of arrays of the created linked list data structures.
Further, the method also comprises the following steps:
acquiring control information of a control terminal;
and sending 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 data lookup, including:
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 structure bodies, and each linked list data structure stores unique codes of different sub-devices;
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 for storing one or more programs;
when the one or more programs are executed by the at least one processor, the at least one processor may implement the steps of the method for fast searching for data of a smart gateway sub-device according to the first aspect.
The method and the device for quickly searching the data of the intelligent gateway sub-equipment provided by the application are characterized in that a plurality of linked list data structure arrays are created in the intelligent gateway equipment, each array comprises a plurality of linked list data structure bodies used for storing related data information including a unique code of the sub-equipment, a data searching conversion function is called according to the unique code of the sub-equipment to determine the corresponding linked list data structure array, the numerical value of the linked list data structure bodies in the array is traversed, the quick searching of the sub-equipment can be realized, and the operations of data insertion, data deletion and the like of the sub-equipment can be further realized. By the method and the device, the calculation complexity of the intelligent gateway equipment is greatly reduced, the efficiency of searching the information of the sub-equipment by the intelligent gateway equipment is improved, and the system stability is improved.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Drawings
Fig. 1 is a diagram illustrating steps of a method for fast searching data of a smart gateway sub-device according to the present invention;
FIG. 2 is a diagram of a sub-device and an intelligent gateway in an environment suitable for the present invention;
fig. 3 is a schematic diagram of a storage structure of a method for fast searching data of a smart gateway sub-device according to the present invention;
fig. 4 is a waveform diagram of a data lookup transfer function provided by the present invention.
Fig. 5 is a schematic block diagram of an apparatus for fast searching data of intelligent gateway sub-devices according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that the embodiments described are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the embodiments in the present application.
The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present application. As used in the examples of 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 and all possible combinations of one or more of the associated listed items.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims. In the description of the present application, it is to be understood that the terms "first," "second," "third," and the like are used solely to distinguish one from another similar human body, and are not necessarily used to describe a particular order or sequence, nor are they to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes an associative relationship with a human body, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the context of the associated human is an "or" relationship.
Referring to fig. 1, fig. 1 is a step diagram of a method for fast searching data of a smart gateway sub-device according to the present invention, in fig. 1, after the sub-device is powered on and accesses to a corresponding smart gateway, the smart gateway device performs the following steps:
in step S101, a unique code of the child device is acquired.
Fig. 2 is a schematic diagram of a 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 is connected to the intelligent gateway device 200 and connected to the Internet through the intelligent gateway device 200. The intelligent gateway is a communication device for realizing address conversion or protocol conversion, and specifically may be a WiFi router, a BT gateway and an electronic device with a built-in BT gateway, a Zigbee gateway and an electronic device with a built-in 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 child device and the corresponding gateway, and the child device and the corresponding gateway can discover and acquire a device certificate of the child device. In one embodiment, the smart gateway is a smart home gateway, and the sub-devices may be smart appliances capable of interacting with the smart home gateway, such as the smart air conditioner 300 and the smart refrigerator 100.
The unique code is a network access mark of the sub-equipment, and the management personnel at the end of the sub-equipment 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, an output value is calculated for the unique code by a preset data search conversion function.
The intelligent gateway is preset with a data search conversion function, the unique code is used as input data to call the function, 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 is defined with a linked list data structure body, after the intelligent gateway is electrified, the defined linked list data structure body is established, an array of a plurality of linked list data structure bodies is established at the same time, and the numerical value of the linked list data structure bodies in the array is initialized. And the data look-up conversion function obtains an output value, the head serial number of a specific array is corresponding to, and the linked list data structure array with the head serial number consistent with the output value is determined as a target array. The target linked list data structure array comprises a plurality of linked list data structure bodies, and unique codes of different sub-devices are stored in each linked list data structure body.
In step S104, each linked list data structure in the linked list data structure array is traversed, and it is determined whether the linked list data structure stores the unique code.
After determining the target array, traversing the plurality of linked list data structures contained in the target array to determine whether a value consistent with the unique code phase is stored. Therefore, the searching of the sub-equipment under the intelligent gateway is realized.
The method for quickly searching the data of the intelligent gateway sub-equipment provided by the application comprises the steps of establishing a plurality of linked list data structure arrays, storing relevant data information of the sub-equipment including a unique code, calling data according to the unique code of the sub-equipment to determine a conversion function to determine the corresponding linked list data structure array, and traversing the linked list data structure value in the array, so that the sub-equipment can be quickly searched. By the method, the calculation complexity of the system is greatly reduced, the data searching efficiency is improved, and the system stability is improved.
In a specific example, if traversing each linked list data structure in the target linked list data structure array and determining that the linked list data structure stores the unique code, updating the sub-device to be in an online state; and if the unique code does not exist, 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, after the unique code is stored in the new linked list data structure, the total number of the unique codes of the recording sub-devices is updated.
The tail insertion method is adopted to insert the linked list data, so that the head node of the linked list data structure can be ensured to be invariable forever, the traversal is carried out according to the same sequence as the data insertion, and the stability of the system is ensured.
In a specific example, data deletion of the sub-device can be performed by the method for fast searching of data of the sub-device of the intelligent gateway provided by the present application. And determining whether the linked list data structure stores the unique code by traversing each linked list data structure in the linked list data structure array, if so, deleting the node of the linked list data structure where the unique code of the child device is located, and if not, indicating that the child device does not exist.
In a specific example, the data lookup conversion function is a shaping function, and after the child device unique code is input, the data lookup conversion function is converted to return an shaping value, wherein the shaping value is within the number of the created linked list data structure arrays.
In a preferred embodiment, the data lookup transfer function is:
f(x)=(A-1)*|sin(x%180*PI)|
where PI is 3.1415926, and a is the number of arrays of the created linked list data structure.
Referring to fig. 3, fig. 3 is a schematic diagram of a storage structure of a method for fast searching data of intelligent gateway sub-devices according to the present invention. And defining a linked list structure data body in a data storage space, and simultaneously creating arrays of array [ A ] linked list data structure bodies, wherein each linked list data structure array corresponds to 0-N linked list data structure bodies.
As shown in fig. 4, fig. 4 is a waveform diagram of a data lookup transfer function provided by the present invention. Wherein x is input data, namely a unique code of the sub-equipment, x% 180 indicates that all values are predicted to be distributed within 0-180 degrees, and then an absolute value between [0.. 1] is 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) ], with A-1 being the return maximum 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 with p equal to array [ id ] is found according to the integer value. And p is a header of a data structure for storing the unique code chain table of the child device.
In a specific embodiment, the method for quickly searching the data of the intelligent gateway sub-device provided by the present application can also be used to realize the interaction between the intelligent gateway and the control terminal. The intelligent gateway firstly obtains control information of the sub-equipment sent by the control terminal, searches the sub-equipment registered in the gateway through the method and sends the 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 (e.g., tablet computers), wearable devices (e.g., smart watches, sports bracelets, smart glasses), smart car-mounted devices, and the like, which have 4G or 5G communication capabilities.
As shown in fig. 5, fig. 5 is a diagram corresponding to the method for fast searching intelligent gateway sub-device data provided by the present invention, and an embodiment of the present invention further provides an apparatus for fast searching intelligent gateway sub-device data, where the apparatus 400 includes:
a data obtaining module 401, configured to obtain a unique code of the child device;
the function calculation module 402 searches a conversion function through preset data according to the unique code, 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 structure bodies, and each linked list data structure stores unique codes of different child devices;
and the traversal searching module 404 is configured to traverse each linked list data structure in the linked list data structure array, and determine whether the linked list data structure stores the unique code.
In an alternative embodiment, if the linked list data structure stores the unique code, the traversal lookup module 404 further updates the child device to be online.
In an alternative embodiment, if no linked list data structure stores the unique code, the traversal searching module 404 further inserts a new linked list data structure 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 an alternative embodiment, after storing the unique code in the new linked list data structure, the traversal lookup module 404 further records the total number of unique codes of the child device.
In an optional embodiment, if the searched child device needs to be deleted, the traversal search module 404 further includes a deleting unit, configured to determine whether any linked list data structure stores the unique code after traversing each linked list data structure in the linked list data structure array; if so, deleting the node of the linked list data structure body where the unique code of the child 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 lookup transfer function is a shaping function; and after the unique code is input, returning an integer value through conversion, wherein the integer value is within the number of the created linked list data structure arrays.
In an alternative embodiment, the lookup transfer function is:
and f, (x) (a-1) | sin (x% 180 × PI) |, wherein PI ═ 3.1415926, and a is the number of arrays of the created linked list data structures.
In an optional embodiment, the apparatus 400 further includes a control terminal interaction unit, configured to obtain control information of the control terminal; and sending the information of the sub-equipment to the control terminal, wherein the information of the equipment 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 (e.g., tablet computers), wearable devices (e.g., smart watches, sports bracelets, smart glasses), smart car-mounted devices, and the like, which have 4G or 5G communication capabilities.
Corresponding to the above method for fast searching data of the intelligent gateway sub-device, an embodiment of the present application further provides an intelligent gateway device, including:
at least one memory and at least one processor;
the memory for storing one or more programs;
when executed by the at least one processor, the one or more programs cause the at least one processor to implement the steps of the method for performing a fast lookup of intelligent gateway sub-device data as in any of the above embodiments.
The intelligent gateway is a communication device for realizing address conversion or protocol conversion, and specifically may be a WiFi router, a BT gateway and an electronic device with a built-in BT gateway, a Zigbee gateway and an electronic device with a built-in 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 method and the device for quickly searching the data of the intelligent gateway sub-equipment provided by the application are characterized in that a plurality of linked list data structure arrays are created in the intelligent gateway equipment, each array comprises a plurality of linked list data structure bodies used for storing related data information including a unique code of the sub-equipment, a data searching conversion function is called according to the unique code of the sub-equipment to determine the corresponding linked list data structure array, the numerical value of the linked list data structure bodies in the array is traversed, the quick searching of the sub-equipment can be realized, and the operations of data insertion, data deletion and the like of the sub-equipment can be further realized. By the method and the device, the calculation complexity of the intelligent gateway equipment is greatly reduced, the efficiency of searching the information of the sub-equipment by the intelligent gateway equipment is improved, and the system stability is improved.
It is to be understood that the embodiments of the present application are not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the embodiments of the present application is limited only by the following claims.
The above-mentioned embodiments only express a few embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for those skilled in the art, variations and modifications can be made without departing from the concept of the embodiments of the present application, and these embodiments are within the scope of the present application.
Claims (10)
1. A method for fast searching data of intelligent gateway sub-equipment is characterized in that the method comprises the following steps:
acquiring a unique code of the sub-equipment;
according to the unique code, a conversion function is searched through preset data, and an output value is obtained through calculation of the unique code;
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 structure bodies, and each linked list data structure stores unique codes of different sub-devices;
and 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.
2. The method as claimed in claim 1, wherein if the linked list data structure stores the unique code, the method further comprises:
and updating the sub-equipment to be in an online state.
3. The method as claimed in claim 1, wherein 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;
and storing the unique code in the new linked list data structure body.
4. The method as claimed in claim 1, wherein after storing the unique code in the new linked list data structure, the method further comprises:
and recording the total number of the unique codes of the sub-equipment.
5. The method as claimed in 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, and determining whether the linked list data structure body stores the unique code;
if so, deleting the node of the linked list data structure body where the unique code of the child equipment is located;
if there is no value consistent with the unique code, indicating that the child device is not present.
6. The method of claim 1, wherein the data lookup transfer function is a data lookup transfer function, and the method further comprises:
the function is a shaping function which is used for converting the input unique code into an integral value, and the maximum value of the integral value corresponds to the number of the array of the linked list data structure.
7. The method as claimed in claim 6, wherein the method comprises:
the lookup transfer function is:
and f, (x) (a-1) | sin (x% 180 × PI) |, wherein PI ═ 3.1415926, and a is the number of arrays of the created linked list data structures.
8. The method as claimed in claim 1, further comprising the steps of:
acquiring control information of a control terminal;
and sending 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 apparatus for fast searching data of intelligent gateway sub-device, the apparatus 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 structure bodies, and each linked list data structure stores unique codes of different sub-devices;
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 for storing one or more programs;
when executed by the at least one processor, the one or more programs cause the at least one processor to implement the steps of the method for fast lookup of intelligent gateway sub-device data as claimed in any one of claims 1 to 8.
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 true CN113535784A (en) | 2021-10-22 |
CN113535784B 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 (7)
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 |
US20170262368A1 (en) * | 2016-03-14 | 2017-09-14 | Shenzhen Skyworth-Rgb Electronic Co., Ltd. | Linked-list-based method and device for application caching management |
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 |
-
2021
- 2021-08-10 CN CN202110912146.3A patent/CN113535784B/en active Active
Patent Citations (7)
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 |
US20170262368A1 (en) * | 2016-03-14 | 2017-09-14 | Shenzhen Skyworth-Rgb Electronic Co., Ltd. | Linked-list-based method and device for application caching management |
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 (2)
Title |
---|
潘平安: "基于Zigbee和Android的智能家居系统的研究与实现", 中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑, no. 02, pages 038 - 1662 * |
陈春艳;陈升东;李引;魏革;袁峰;: "基于LWM2M框架的设备管理平台的研究与实现", 信息技术, no. 05, pages 100 - 105 * |
Also Published As
Publication number | Publication date |
---|---|
CN113535784B (en) | 2023-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11563819B2 (en) | Operation triggering method and apparatus for machine-to-machine communications | |
CN104052766B (en) | The comprehensive intelligent communication means and system of heterogeneous network based on cloud computing | |
CN101977167B (en) | Gateway communication protocol conversion method for wireless sensor network access Modbus bus | |
CN108769111A (en) | A kind of server connection method, computer readable storage medium and terminal device | |
CN103297306B (en) | A kind of agriculture Internet of things system | |
CN102325163B (en) | Routing updating method, device and relevant equipment | |
CN114338594A (en) | ARP (Address resolution protocol) response-substituting method, device, equipment and storage medium in Kubernetes environment | |
CN110413845A (en) | Resource storage method and device based on internet of things operating system | |
CN108243407A (en) | A kind of method and terminal device of multiple wireless module device network interface managements | |
CN109582458A (en) | Resource information loading method, device, storage medium and processor | |
CN107529213A (en) | A kind of resource control method and device | |
CN113535784B (en) | Method and device for quickly searching data of intelligent gateway sub-equipment | |
CN105827423A (en) | Data acquisition method and data acquisition device | |
Ting et al. | A comparison and evaluation of different BLE connection methods for wearable devices | |
CN109218149B (en) | Equipment access method, device, network system and gateway | |
CN115442221B (en) | Distributed home equipment service management method and system | |
CN102880150A (en) | Method for acquiring power utilization information and smart socket | |
CN107342924B (en) | Non-polar communication method and device of CAN and electronic equipment | |
CN116128475A (en) | A grid path query method, device, electronic equipment and medium | |
CN110059091A (en) | Method, apparatus, client, server and the system of index construct | |
CN115968543B (en) | Resource mapping method, device, equipment and storage medium | |
CN103619064A (en) | Wireless network-based methods for requiring and locating nodes and transferring data | |
CN107547208A (en) | A kind of energy saving method and device | |
CN112954638A (en) | Micropower wireless sensor access method and system | |
CN115221167A (en) | Static data storage and query method, device and electronic device |
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 |