Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cross-platform universal protocol analysis method, device and medium based on interpretive language

An interpreted language and general-purpose protocol technology, applied in software engineering design, program code conversion, instruments, etc., can solve the problems of low reading and writing efficiency, uncontrollable sensors and manufacturers, and non-reusable problems, so as to increase code reusability The effect of being flexible, convenient for learning and operation and maintenance, and lowering the coding threshold

Pending Publication Date: 2021-03-19
FUJIAN NETPOWER TECH DEV +3
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 2) In the field of public IoT service platforms, because the sensors and manufacturers are uncontrollable, it is impossible to adopt the method of adapting the sensor protocol from the top to the bottom platform
[0006] For the above-mentioned existing technologies, the limited and exhaustive method is only applicable to scenarios with fixed sensor types. This method has high code redundancy and cannot be reused; protocol description using XML cannot be universally applicable to complex scenarios, and XML loading, Low reading and writing efficiency, high resource consumption, not suitable for lightweight sensor devices

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cross-platform universal protocol analysis method, device and medium based on interpretive language
  • Cross-platform universal protocol analysis method, device and medium based on interpretive language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] see figure 1 , a cross-platform universal protocol analysis method based on an interpreted language, comprising the following steps:

[0029] Construct a script library, pre-record a variety of standard open protocols (such as 376.1 / 698 and other public agreements), and write analysis scripts for each standard open agreement based on interpreted scripting language. The analysis scripts use the source content of the corresponding standard open agreement as input , to output a unified standard protocol, which can be a public protocol or a private protocol; each analysis script is collected into the script library, and an association table describing the binding relationship between the analysis script and the corresponding standard public agreement is established;

[0030] Set the script analysis engine, write the script library and the association table in the script analysis engine, set the call interface of multiple platforms on the script analysis engine at the same t...

Embodiment 2

[0036] A cross-platform universal protocol analysis device based on an interpreted language, including a memory, a processor, and a computer program stored on the memory and operable on the processor. described method.

Embodiment 3

[0038] A cross-platform universal protocol analysis medium based on an interpreted language, on which a computer program is stored, and when the program is executed by a processor, the method described in Technical Solution 1 is implemented.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a cross-platform universal protocol analysis method, device and medium based on an interpretive language, which comprises the following steps of: pre-recording a plurality ofstandard public protocols, respectively writing analysis scripts of the standard public protocols based on an interpretation script language, and taking source contents of the analysis script public protocols as input and output unified standard protocols; setting a script parsing engine, writing a script library into the script parsing engine, setting calling interfaces of various platforms, andthen distributing and setting the script parsing engine on each application node of the Internet of Things; when the equipment is accessed, identifying whether a communication protocol used by the equipment belongs to a pre-recorded standard public protocol or not; if yes, outputting a unified standard protocol through a script analysis engine; and if the script does not belong to the script library, writing a new analysis script through an interpretive script language, recording the new analysis script into the script library, and performing hot update on a script analysis engine.

Description

technical field [0001] The invention relates to a cross-platform general protocol analysis method, device and medium based on an interpreted language, and belongs to the technical field of the Internet of Things. Background technique [0002] In the field of Internet of Things applications, smart sensors are the core nodes. There are many types of smart sensors, and there is a lack of unified protocol standards at the industry or national level, resulting in incompatibility and universal processing when connecting sensors. In the prior art, the access of sensor equipment mainly includes the following solutions: [0003] 1) In the segmented field of the Internet of Things, the business is relatively concentrated, and downstream manufacturers are controllable. The platform adopts a limited exhaustive method to adapt to sensor access; [0004] 2) In the field of public IoT service platforms, because the sensors and manufacturers are uncontrollable, it is no longer possible to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41
CPCG06F8/427
Inventor 罗义钊詹超柳玉銮蔡竞仪俞煌谭阿峰李榕桂林志文范体顺
Owner FUJIAN NETPOWER TECH DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products