CN110569250A - Management method and device for analysis library of Internet of things network element - Google Patents

Management method and device for analysis library of Internet of things network element Download PDF

Info

Publication number
CN110569250A
CN110569250A CN201910741465.5A CN201910741465A CN110569250A CN 110569250 A CN110569250 A CN 110569250A CN 201910741465 A CN201910741465 A CN 201910741465A CN 110569250 A CN110569250 A CN 110569250A
Authority
CN
China
Prior art keywords
equipment
controlled
network element
type
internet
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
Application number
CN201910741465.5A
Other languages
Chinese (zh)
Other versions
CN110569250B (en
Inventor
张沛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Juhaolian Technology Co Ltd
Original Assignee
Qingdao Juhaolian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Juhaolian Technology Co Ltd filed Critical Qingdao Juhaolian Technology Co Ltd
Priority to CN201910741465.5A priority Critical patent/CN110569250B/en
Publication of CN110569250A publication Critical patent/CN110569250A/en
Application granted granted Critical
Publication of CN110569250B publication Critical patent/CN110569250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

the invention discloses a management method and a device of an analysis library of an Internet of things network element, wherein the method comprises the steps of obtaining update information of controlled equipment, determining a code of the equipment type of the controlled equipment according to the equipment type, generating equipment protocol conversion data corresponding to the code of the equipment type of the controlled equipment according to an equipment function and a preset analysis library template, storing the equipment protocol conversion data corresponding to the code of the equipment type of the controlled equipment into the analysis library, and informing the Internet of things network element to scan the analysis library again. The equipment protocol conversion data corresponding to the equipment type is generated according to the equipment type of the controlled equipment, the protocol conversion information of the Internet of things network element and the equipment does not need to be generated for the controlled equipment, the Internet of things network element does not need to be upgraded, the development amount of workers is reduced, the updating efficiency of the analysis library is improved, and the dynamic updating of the analysis library is realized.

Description

Management method and device for analysis library of Internet of things network element
Technical Field
the embodiment of the invention relates to the technical field of Internet of things, in particular to a management method and device for an analysis library of an Internet of things network element.
background
The background service of the internet of things mostly adopts a micro-service framework, wherein the control service is responsible for processing the state reported by the equipment and issuing a control instruction from a user to the equipment. The parser library is a separate unit of code in the control service, usually provided by the equipment vendor, that converts the interaction data (instructions and status) between the format of the background service and the format recognized by the equipment. Supporting new equipment is a common service of the internet of things, so that the analysis library is frequently updated, and the frequency of the frequent updating is far greater than that of the logic updating of the background service. The update of the analysis library enables the version of the background service program to be frequently updated, and great workload is generated in development, testing, operation and maintenance.
Disclosure of Invention
the embodiment of the invention provides a management method and a management device for an analysis library of an Internet of things network element, which are used for improving the updating efficiency of the analysis library and the operation and maintenance efficiency.
In a first aspect, an embodiment of the present invention provides a method for managing an analysis library of an internet of things network element, including:
Acquiring update information of controlled equipment, wherein the update information comprises equipment type and equipment function;
Determining the code of the device type of the controlled device according to the device type;
Generating device protocol conversion data corresponding to the codes of the device types of the controlled devices according to the device functions and a preset analysis library template, wherein the device protocol conversion data comprise control instruction analysis information and state analysis information;
and storing the device protocol conversion data corresponding to the code of the device type of the controlled device into the analysis library, and informing the network element of the Internet of things to scan the analysis library again.
In the technical scheme, the device protocol conversion data corresponding to the device type is automatically generated according to the device type of the controlled device, the protocol conversion information of the internet of things network element and the device does not need to be generated for the controlled device, the internet of things network element does not need to be upgraded, the development amount of workers is reduced, the updating efficiency of the analysis library is improved, and the dynamic updating of the analysis library is realized.
optionally, the method further includes:
acquiring a control signaling issued by the network element of the Internet of things, wherein the control signaling comprises an equipment ID, an equipment type and a control instruction of a controlled equipment;
Determining control instruction analysis information in equipment protocol conversion data corresponding to the equipment type of the controlled equipment from the analysis library according to the equipment type of the controlled equipment;
Converting the control instruction of the controlled equipment into the control instruction identified by the controlled equipment according to the control instruction analysis information in the equipment protocol conversion data corresponding to the equipment type of the controlled equipment;
And sending the control instruction identified by the controlled device to the controlled device according to the device ID of the controlled device, so that the controlled device performs corresponding operation according to the control instruction identified by the controlled device.
optionally, the method further includes:
Acquiring a state signaling uploaded by controlled equipment, wherein the state signaling comprises an equipment ID, an equipment type and state information of the controlled equipment;
Determining state analysis information in equipment protocol conversion data corresponding to the equipment type of the controlled equipment from the analysis library according to the equipment type of the controlled equipment;
Converting the state information of the controlled equipment into the state information identified by the network element of the internet of things according to the state analysis information in the equipment protocol conversion data corresponding to the equipment type of the controlled equipment;
And sending the state information identified by the network element of the Internet of things and the equipment ID of the controlled equipment to the network element of the Internet of things.
Optionally, the number of times that the internet of things network element scans the analysis library is not greater than a preset threshold.
In a second aspect, an embodiment of the present invention provides a management apparatus for an analysis library of an internet of things network element, including:
The device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the update information of the controlled device, and the update information comprises the device type and the device function;
The processing unit is used for determining the code of the device type of the controlled device according to the device type; generating device protocol conversion data corresponding to the codes of the device types of the controlled devices according to the device functions and a preset analysis library template, wherein the device protocol conversion data comprise control instruction analysis information and state analysis information; and storing the device protocol conversion data corresponding to the code of the device type of the controlled device into the analysis library, and informing the network element of the Internet of things to scan the analysis library again.
Optionally, the processing unit is further configured to:
The obtaining unit is controlled to obtain a control signaling sent by the network element of the Internet of things, and the control signaling comprises an equipment ID, an equipment type and a control instruction of the controlled equipment;
determining control instruction analysis information in equipment protocol conversion data corresponding to the equipment type of the controlled equipment from the analysis library according to the equipment type of the controlled equipment;
converting the control instruction of the controlled equipment into the control instruction identified by the controlled equipment according to the control instruction analysis information in the equipment protocol conversion data corresponding to the equipment type of the controlled equipment;
and sending the control instruction identified by the controlled device to the controlled device according to the device ID of the controlled device, so that the controlled device performs corresponding operation according to the control instruction identified by the controlled device.
optionally, the processing unit is further configured to:
The acquisition unit is controlled to acquire a state signaling uploaded by the controlled equipment, wherein the state signaling comprises an equipment ID, an equipment type and state information of the controlled equipment;
determining state analysis information in equipment protocol conversion data corresponding to the equipment type of the controlled equipment from the analysis library according to the equipment type of the controlled equipment;
Converting the state information of the controlled equipment into the state information identified by the network element of the internet of things according to the state analysis information in the equipment protocol conversion data corresponding to the equipment type of the controlled equipment;
and sending the state information identified by the network element of the Internet of things and the equipment ID of the controlled equipment to the network element of the Internet of things.
optionally, the number of times that the internet of things network element scans the analysis library is not greater than a preset threshold.
In a third aspect, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instruction stored in the memory and executing the management method of the analysis library of the network element of the Internet of things according to the obtained program.
in a fourth aspect, an embodiment of the present invention further provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is caused to execute the method for managing the resolution library of the network element of the internet of things.
drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for managing an analysis library of an internet of things network element according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a management apparatus for an analysis library of an internet of things network element according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 exemplarily shows a system architecture to which an embodiment of the present invention is applicable, where the system architecture may include a control network element 100, a message network element 200, and a controlled device 300, and the control network element 100, the message network element 200, and the controlled device 300 are located in the internet of things, where the control network element 100, the message network element 200 are network elements of the internet of things, and the controlled device 300 is a device of the internet of things.
the controlling network element 100 is provided with a parsing library 110, and the parsing library 110 is used for converting a protocol of communication between the controlling network element and a controlled device. The controlled device 300 wants to control the network element 100 to send the status information, and then sends the status information to the user through the message network element 200, which is equivalent to sending the status information to the terminal device of the user. And the user may issue a control command to the controlling network element 100, and then the controlling network element 100 sends the control command to the controlled device through the parsing library 110.
The processor 110 is a control center of the server 100, connects various parts of the entire server 100 using various interfaces and routes, performs various functions of the server 100 and processes data by operating or executing software programs and/or modules stored in the memory 130 and calling data stored in the memory 130. Alternatively, processor 110 may include one or more processing units.
The memory 130 may be used to store software programs and modules, and the processor 110 executes various functional applications and data processing by operating the software programs and modules stored in the memory 130. The memory 130 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to a business process, and the like. Further, the memory 130 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
it should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
based on the above description, fig. 2 exemplarily shows a flow of a management method for a resolution library of an internet of things network element according to an embodiment of the present invention, where the flow may be executed by a management device for a resolution library of an internet of things network element, and the management device may be located in the server 100 shown in fig. 1, or may be the server 100.
as shown in fig. 2, the process specifically includes:
step 201, obtaining the update information of the controlled device.
the update information may include a device type and a device function, and the update information is generally determined when a new controlled device is added to the internet of things or a function of a certain controlled device is added, where the new controlled device or the controlled device with the added function may be referred to as a controlled device.
Step 202, determining the code of the device type of the controlled device according to the device type.
after obtaining the device type, an encoding of the device type may be created for the controlled device, so that device protocol conversion data for the device type may be created for the controlled device.
step 203, generating device protocol conversion data corresponding to the codes of the device types of the controlled devices according to the device functions and the preset analysis library template.
specifically, device protocol conversion data for a code of a device type of the controlled device may be generated according to the device function and the preset parsing library template, where the device protocol conversion data includes control instruction parsing information and state parsing information. The control instruction analysis information is used for converting a control instruction sent by the network element of the internet of things to the controlled equipment, and the state analysis information is used for converting state information sent by the controlled equipment to the network element of the internet of things. The preset parsing library template can comprise a general header file parseib.h, a compiling rule file Makefile, a parsing library source file, pars _ state () as a state parsing entry function, and build _ cmd () as information of a control instruction generating entry function and the like. And generating device protocol conversion data corresponding to the codes of the device types of the controlled devices through compiling.
the device protocol conversion data corresponding to the device type code of the controlled device is generated, interface conversion information corresponding to the network element of the internet of things does not need to be generated, and therefore the development amount of workers can be reduced.
step 204, storing the device protocol conversion data corresponding to the code of the device type of the controlled device into the analysis library, and notifying the internet of things network element to rescan the analysis library.
After the device protocol conversion data corresponding to the device type code of the controlled device is generated, the device protocol conversion data corresponding to the device type code of the controlled device is stored in an analysis library, and the internet of things network element is informed to rescan the analysis library, wherein the rescanning analysis library is used for enabling the internet of things network element to support the controlled device. The number of times that the internet of things network element scans the analysis library is not greater than a preset threshold, and the preset threshold can be set according to experience.
In the specific construction process of the analysis library, firstly, the calling of different types of equipment expressed in the definition of equipment instructions and states in the network element codes of the Internet of things is changed into the calling of variable parameter expression, and the parameter values are the codes of the equipment types. The processing of instructions and states is abstracted such that device types are not distinguished, only device IDs, device types and instruction and state values are passed.
then, the code of the resolution library is modified as follows:
a) Common parts in the codes of the equipment analysis libraries, such as JNI conversion from JAVA codes to C codes, mutual calling from static codes to dynamic link libraries, and interface functions for instruction and state processing, are combined into abstract instruction translation and state analysis of the equipment of the internet of things. If the instructions and the state processing functions of the air conditioner and the refrigerator are called, the instructions and the state processing functions of the equipment of the Internet of things are changed into unified calls, and the parameters are as follows: type of equipment (air conditioner, refrigerator), other necessary parameters.
b) And establishing an equipment analysis library template, wherein the platform codes of the Internet of things are not provided except for a header file and a Makefile public file required by compiling, all the other codes are provided for equipment providers, the contents are drive or data format conversion codes required by operating equipment, and the compiling result is a dynamic link library file format of an operating system where the network element of the Internet of things is located. The template can be published to equipment manufacturers to be accessed to independently develop analysis libraries of the template due to the independence of the Internet of things platform.
c) The method for using the analysis library by the network element code of the internet of things is changed from static inclusion into dynamic loading, and specifically is to scan a file with a specific file name in a specific directory. And the file name of the dynamic link library of the specified analysis library comprises a device type code, so that the searching and the positioning of the network element program are facilitated. The refreshing condition of the analysis library is that the network element is started or the external part informs the analysis library to be refreshed, the logic of the refreshing analysis library is embedded before the state and the instruction are processed, and an external interface is defined for an administrator user to call to inform the network element of the Internet of things that the analysis library is refreshed.
And finally, adding a refresh code of the analysis library into the thread lock, and only performing refreshing once by all the instructions and the state processing threads at the same time to prevent the analysis library from being frequently and repeatedly refreshed under high concurrency and consume system resources.
the following describes in detail a modification of the parsing library with respect to the prior art in a specific implementation scenario, taking state processing as an example:
(1) The java device analysis library loaded by the network element is changed from jktlib, jbxlib,. and the like (one for each device) to jwglib (white power analysis library), which is not updated normally.
(2) Configuration data for the device type and command state handling function name, such as state handling function name KTStatus for device type t01 and BXStatus for device type t02, are cancelled in the network element code because WGStasus is similarly logically cancelled.
(3) the state processing function KTStatus is changed into WGStatus, and the value of the Devicetype is from data reported by equipment, t01, t02 and so on, and corresponds to an air conditioner, a refrigerator and the like. WGStatus is a java function, and a downward C function conversion interface (JNI) is extracted from the C parsing library code of each device, and is defined as a virtual C function WGStatus and a related header file, and the part of the code does not need to be updated normally because the part is independent of the device.
(4) redefining equipment pure analysis library codes:
a) The original analysis library code items KTLib, BXLink and the like of each device are combined into one item WGLib.
b) The original equipment analysis library C codes of each equipment are converted into t01-lib and t02-lib under a WGlib directory from kt-lib and bx-lib, and directly correspond to equipment type codes.
c) the txx-lib directory is the actual storage location of the device resolver code. The following documents are included: the method comprises the steps of a general header file parseib, a compiling rule file Makefile and a parsing library source file, wherein parse _ state () is a state parsing entry function, and built _ cmd () is an instruction generating entry function.
d) And setting the file name format of the dynamic link library generated by compiling as lib-parseib-txx.
(5) And if the processing logic of the state processing function wg _ pars _ state () of the WGStatus is that a special condition is met, refreshing the equipment analysis library and returning false, otherwise, calling a function corresponding to key in the state analysis function array according to the equipment type and returning true. The special condition is that the network element initialization or the parsing base refresh flag is set to 1. The refresh parsing library is specifically operated to scan/usr/local/lib/files of all libs-parselib-txx.
(6) the network element adds/refreshes/parseib parser refresh interface, which is called after the new parser lib-parseib-txx.so is installed, the interface calls parseibneedrefresh (), passes parameters to wg _ parse _ state () with WGStasus similar logic, and sets parser refresh flag to 1.
After the analysis library is updated, a control signaling issued by the network element of the internet of things can be acquired, wherein the control signaling comprises a device ID, a device type and a control instruction of the controlled device, then control instruction analysis information in device protocol conversion data corresponding to the device type of the controlled device is determined from the analysis library according to the device type of the controlled device, the control instruction of the controlled device is converted into the control instruction identified by the controlled device according to the control instruction analysis information in the device protocol conversion data corresponding to the device type of the controlled device, and finally the control instruction identified by the controlled device is sent to the controlled device according to the device ID of the controlled device, so that the controlled device performs corresponding operation according to the control instruction identified by the controlled device.
In addition, a status signaling uploaded by the controlled device can be acquired, the status signaling includes a device ID, a device type, and status information of the controlled device, status analysis information in device protocol conversion data corresponding to the device type of the controlled device is determined from the analysis library according to the device type of the controlled device, the status information of the controlled device is converted into status information identified by the internet of things network element according to the status analysis information in the device protocol conversion data corresponding to the device type of the controlled device, and finally the status information identified by the internet of things network element and the device ID of the controlled device are sent to the internet of things network element.
the above embodiment shows that the update information of the controlled device is obtained, the code of the device type of the controlled device is determined according to the device type, the device protocol conversion data corresponding to the code of the device type of the controlled device is generated according to the device function and the preset analysis library template, the device protocol conversion data includes control instruction analysis information and state analysis information, the device protocol conversion data corresponding to the code of the device type of the controlled device is stored in the analysis library, and the network element of the internet of things is notified to rescan the analysis library. The device protocol conversion data corresponding to the device type is automatically generated according to the device type of the controlled device, protocol conversion information of the internet of things network element and the device does not need to be generated for the controlled device, the internet of things network element does not need to be upgraded, development amount of workers is reduced, updating efficiency of the analysis library is improved, and dynamic updating of the analysis library is achieved.
Based on the same technical concept, fig. 3 exemplarily shows a structure of a management apparatus for an analysis library of an internet of things network element according to an embodiment of the present invention, where the apparatus may execute a management process of an analysis library of an internet of things network element, and the apparatus may be located in the server 100 shown in fig. 1, or may be the server 100.
as shown in fig. 3, the apparatus specifically includes:
An obtaining unit 301, configured to obtain update information of a controlled device, where the update information includes a device type and a device function;
a processing unit 302, configured to determine, according to the device type, an encoding of the device type of the controlled device; generating device protocol conversion data corresponding to the codes of the device types of the controlled devices according to the device functions and a preset analysis library template, wherein the device protocol conversion data comprise control instruction analysis information and state analysis information; and storing the device protocol conversion data corresponding to the code of the device type of the controlled device into the analysis library, and informing the network element of the Internet of things to scan the analysis library again.
optionally, the processing unit 302 is further configured to:
The obtaining unit 301 is controlled to obtain a control signaling sent by the network element of the internet of things, where the control signaling includes a device ID, a device type, and a control instruction of a controlled device;
Determining control instruction analysis information in equipment protocol conversion data corresponding to the equipment type of the controlled equipment from the analysis library according to the equipment type of the controlled equipment;
converting the control instruction of the controlled equipment into the control instruction identified by the controlled equipment according to the control instruction analysis information in the equipment protocol conversion data corresponding to the equipment type of the controlled equipment;
and sending the control instruction identified by the controlled device to the controlled device according to the device ID of the controlled device, so that the controlled device performs corresponding operation according to the control instruction identified by the controlled device.
optionally, the processing unit 302 is further configured to:
The obtaining unit 301 is controlled to obtain a status signaling uploaded by the controlled device, where the status signaling includes a device ID, a device type, and status information of the controlled device;
Determining state analysis information in equipment protocol conversion data corresponding to the equipment type of the controlled equipment from the analysis library according to the equipment type of the controlled equipment;
converting the state information of the controlled equipment into the state information identified by the network element of the internet of things according to the state analysis information in the equipment protocol conversion data corresponding to the equipment type of the controlled equipment;
And sending the state information identified by the network element of the Internet of things and the equipment ID of the controlled equipment to the network element of the Internet of things.
optionally, the number of times that the internet of things network element scans the analysis library is not greater than a preset threshold.
based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
A memory for storing program instructions;
And the processor is used for calling the program instruction stored in the memory and executing the management method of the analysis library of the network element of the Internet of things according to the obtained program.
based on the same technical concept, the embodiment of the invention also provides a computer-readable non-volatile storage medium, which comprises computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the management method of the resolution library of the network element of the internet of things.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
it will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. a management method for an analysis library of an Internet of things network element is characterized by comprising the following steps:
Acquiring update information of controlled equipment, wherein the update information comprises equipment type and equipment function;
determining the code of the device type of the controlled device according to the device type;
generating device protocol conversion data corresponding to the codes of the device types of the controlled devices according to the device functions and a preset analysis library template, wherein the device protocol conversion data comprise control instruction analysis information and state analysis information;
And storing the device protocol conversion data corresponding to the code of the device type of the controlled device into the analysis library, and informing the network element of the Internet of things to scan the analysis library again.
2. the method of claim 1, wherein the method further comprises:
acquiring a control signaling issued by the network element of the Internet of things, wherein the control signaling comprises an equipment ID, an equipment type and a control instruction of a controlled equipment;
Determining control instruction analysis information in equipment protocol conversion data corresponding to the equipment type of the controlled equipment from the analysis library according to the equipment type of the controlled equipment;
Converting the control instruction of the controlled equipment into the control instruction identified by the controlled equipment according to the control instruction analysis information in the equipment protocol conversion data corresponding to the equipment type of the controlled equipment;
and sending the control instruction identified by the controlled device to the controlled device according to the device ID of the controlled device, so that the controlled device performs corresponding operation according to the control instruction identified by the controlled device.
3. The method of claim 1, wherein the method further comprises:
Acquiring a state signaling uploaded by controlled equipment, wherein the state signaling comprises an equipment ID, an equipment type and state information of the controlled equipment;
Determining state analysis information in equipment protocol conversion data corresponding to the equipment type of the controlled equipment from the analysis library according to the equipment type of the controlled equipment;
Converting the state information of the controlled equipment into the state information identified by the network element of the internet of things according to the state analysis information in the equipment protocol conversion data corresponding to the equipment type of the controlled equipment;
and sending the state information identified by the network element of the Internet of things and the equipment ID of the controlled equipment to the network element of the Internet of things.
4. the method of any one of claims 1 to 3, wherein the number of times the IOT network element scans the resolution library is not greater than a preset threshold.
5. A management device for an analysis library of an Internet of things network element is characterized by comprising:
The device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the update information of the controlled device, and the update information comprises the device type and the device function;
the processing unit is used for determining the code of the device type of the controlled device according to the device type; generating device protocol conversion data corresponding to the codes of the device types of the controlled devices according to the device functions and a preset analysis library template, wherein the device protocol conversion data comprise control instruction analysis information and state analysis information; and storing the device protocol conversion data corresponding to the code of the device type of the controlled device into the analysis library, and informing the network element of the Internet of things to scan the analysis library again.
6. the apparatus as recited in claim 5, said processing unit to further:
the obtaining unit is controlled to obtain a control signaling sent by the network element of the Internet of things, and the control signaling comprises an equipment ID, an equipment type and a control instruction of the controlled equipment;
determining control instruction analysis information in equipment protocol conversion data corresponding to the equipment type of the controlled equipment from the analysis library according to the equipment type of the controlled equipment;
Converting the control instruction of the controlled equipment into the control instruction identified by the controlled equipment according to the control instruction analysis information in the equipment protocol conversion data corresponding to the equipment type of the controlled equipment;
And sending the control instruction identified by the controlled device to the controlled device according to the device ID of the controlled device, so that the controlled device performs corresponding operation according to the control instruction identified by the controlled device.
7. the apparatus as recited in claim 5, said processing unit to further:
The acquisition unit is controlled to acquire a state signaling uploaded by the controlled equipment, wherein the state signaling comprises an equipment ID, an equipment type and state information of the controlled equipment;
Determining state analysis information in equipment protocol conversion data corresponding to the equipment type of the controlled equipment from the analysis library according to the equipment type of the controlled equipment;
converting the state information of the controlled equipment into the state information identified by the network element of the internet of things according to the state analysis information in the equipment protocol conversion data corresponding to the equipment type of the controlled equipment;
And sending the state information identified by the network element of the Internet of things and the equipment ID of the controlled equipment to the network element of the Internet of things.
8. The apparatus of any of claims 5 to 7, wherein the number of times the IOT network element scans the resolution library is not greater than a preset threshold.
9. A computing device, comprising:
A memory for storing program instructions;
A processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 4 in accordance with the obtained program.
10. a computer-readable non-transitory storage medium including computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 1 to 4.
CN201910741465.5A 2019-08-12 2019-08-12 Management method and device for analysis library of Internet of things network element Active CN110569250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910741465.5A CN110569250B (en) 2019-08-12 2019-08-12 Management method and device for analysis library of Internet of things network element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910741465.5A CN110569250B (en) 2019-08-12 2019-08-12 Management method and device for analysis library of Internet of things network element

Publications (2)

Publication Number Publication Date
CN110569250A true CN110569250A (en) 2019-12-13
CN110569250B CN110569250B (en) 2022-04-01

Family

ID=68775206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910741465.5A Active CN110569250B (en) 2019-08-12 2019-08-12 Management method and device for analysis library of Internet of things network element

Country Status (1)

Country Link
CN (1) CN110569250B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912813A (en) * 2019-12-26 2020-03-24 杭州行至云起科技有限公司 Gateway supporting multiple protocols, control method and event reporting method
CN111404883A (en) * 2020-03-02 2020-07-10 青岛聚好联科技有限公司 Method and device for analyzing Internet of things equipment universal protocol
CN111447227A (en) * 2020-03-27 2020-07-24 四川虹美智能科技有限公司 Protocol analysis method and device of Internet of things equipment
CN111641600A (en) * 2020-05-11 2020-09-08 紫光云技术有限公司 Method for analyzing hexadecimal internet of things protocol
CN111859029A (en) * 2020-06-08 2020-10-30 珠海格力电器股份有限公司 Control method, device, system, storage medium and quantization control equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595717A (en) * 2013-11-13 2014-02-19 海信集团有限公司 Household appliance control protocol conversion method and control terminal
CN104378236A (en) * 2014-11-24 2015-02-25 青岛海尔软件有限公司 Internet of things device management platform and method
US20170347283A1 (en) * 2016-05-31 2017-11-30 At&T Intellectual Property I, L.P. System and method for event based internet of things (iot) device status monitoring and reporting in a mobility network
CN108040051A (en) * 2017-12-12 2018-05-15 开放物联(北京)科技发展有限公司 A kind of configurable things-internet gateway method for converting protocol
CN108259598A (en) * 2018-01-12 2018-07-06 北京博大光通物联科技股份有限公司 A kind of awareness apparatus unified access method based on isomery fusion and cloud analytic technique

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595717A (en) * 2013-11-13 2014-02-19 海信集团有限公司 Household appliance control protocol conversion method and control terminal
CN104378236A (en) * 2014-11-24 2015-02-25 青岛海尔软件有限公司 Internet of things device management platform and method
US20170347283A1 (en) * 2016-05-31 2017-11-30 At&T Intellectual Property I, L.P. System and method for event based internet of things (iot) device status monitoring and reporting in a mobility network
CN108040051A (en) * 2017-12-12 2018-05-15 开放物联(北京)科技发展有限公司 A kind of configurable things-internet gateway method for converting protocol
CN108259598A (en) * 2018-01-12 2018-07-06 北京博大光通物联科技股份有限公司 A kind of awareness apparatus unified access method based on isomery fusion and cloud analytic technique

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110912813A (en) * 2019-12-26 2020-03-24 杭州行至云起科技有限公司 Gateway supporting multiple protocols, control method and event reporting method
CN110912813B (en) * 2019-12-26 2022-03-11 杭州行至云起科技有限公司 Gateway supporting multiple protocols, control method and event reporting method
CN111404883A (en) * 2020-03-02 2020-07-10 青岛聚好联科技有限公司 Method and device for analyzing Internet of things equipment universal protocol
CN111447227A (en) * 2020-03-27 2020-07-24 四川虹美智能科技有限公司 Protocol analysis method and device of Internet of things equipment
CN111641600A (en) * 2020-05-11 2020-09-08 紫光云技术有限公司 Method for analyzing hexadecimal internet of things protocol
CN111859029A (en) * 2020-06-08 2020-10-30 珠海格力电器股份有限公司 Control method, device, system, storage medium and quantization control equipment

Also Published As

Publication number Publication date
CN110569250B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
CN110569250B (en) Management method and device for analysis library of Internet of things network element
KR100326745B1 (en) Integrated Automation Development System and Integration Method
US7823023B2 (en) Test framework for testing an application
CN112130837B (en) Code processing method and device and storage medium
JP2019523462A (en) Multitask scheduling method, system, application server, and computer-readable storage medium
CN110673853B (en) Compiling method, device and system
US20060265469A1 (en) XML based scripting framework, and methods of providing automated interactions with remote systems
CN100511156C (en) Apparatus for compulsively terminating thread blocked on input/output operation and method for the same
CN104699503A (en) Method and device for replacing function execution logic in Android system
CN115061717A (en) Application management method, application subscription method and related equipment
CN113448690A (en) Monitoring method and device
CN113448650A (en) Live broadcast function plug-in loading method, device, equipment and storage medium
CN111147291B (en) Service maintenance method and device
CN117539459A (en) API interface configuration method, system and equipment
CN112463251A (en) Method and device for configuring hot publishing by uliweb framework
CN111488144A (en) Data processing method and equipment
CN112579118A (en) Method, device, system, medium and equipment for updating configuration information of microservice
CN110806891A (en) Method and device for generating software version of embedded equipment
CN113590179B (en) Plug-in detection method and device, electronic equipment and storage medium
CN115202712A (en) Application management method, application subscription method and related equipment
CN114860300A (en) Dependency configuration method and device, electronic equipment and storage medium
CN111506309B (en) Task execution method and system, and computer-readable storage medium
CN114610446A (en) Method, device and system for automatically injecting probe
CN114064213A (en) Kubernets container environment-based rapid arranging service method and system
CN113708971A (en) Openstack cloud platform deployment method and related 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