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

Method and device for generating dynamic link library

A dynamic link library and protocol configuration technology, applied in the field of data processing, can solve problems such as high technical ability requirements

Pending Publication Date: 2020-06-02
北京轩宇信息技术有限公司
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to overcome the disadvantages in the prior art that secondary development is usually required when dealing with complex and large-scale protocol processing, and that the technical capabilities of developers are required to be relatively high, and a Method and device for generating dynamic link library

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
  • Method and device for generating dynamic link library
  • Method and device for generating dynamic link library
  • Method and device for generating dynamic link library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] refer to figure 1 , showing a flow chart of the steps of a method for generating a dynamic link library provided by an embodiment of the present invention, such as figure 1 As shown, the generation method of the dynamic link library may specifically include the following steps:

[0055] Step 101: Acquire protocol configuration information according to the protocol in the simulated embedded project.

[0056] In the embodiment of the present invention, the emulated embedded item refers to an item used for processing data communication protocols.

[0057] The protocol configuration information refers to the configuration information obtained according to the protocol in the simulated embedded project, and the process of obtaining the protocol configuration information can be described in detail as the following preferred embodiments.

[0058] In a preferred embodiment of the present invention, the above step 101 may include:

[0059] Sub-step A1: According to the protoc...

Embodiment 2

[0117] refer to image 3 , which shows a schematic structural diagram of a device for generating a dynamic link library provided by an embodiment of the present invention, as shown in image 3 As shown, the generating device of the dynamic link library may specifically include the following modules:

[0118] The configuration information acquisition module 310 is used to obtain protocol configuration information according to the protocol in the emulation embedded project;

[0119] A protocol code generation module 320, configured to generate a protocol code based on the protocol configuration information;

[0120] The dynamic link library generating module 330 is configured to compile the protocol code and generate a dynamic link library for processing the data communication protocol.

[0121] Optionally, the configuration information acquisition module 310 includes:

[0122] The description information establishment sub-module is used to establish the transmission protocol...

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 embodiment of the invention provides a method and a device for generating a dynamic link library. The method comprises the following steps: acquiring protocol configuration information according to a protocol in a simulation embedded project; generating a protocol code based on the protocol configuration information; and compiling the protocol code to generate a dynamic link library for data communication protocol processing. According to the method of the invention, a data storage function, a data generation function, a data model docking function and a third-party software data support function with good universality can be packaged into a universal dynamic library; data functions which are independent in function, complex in processing and capable of influencing the running efficiency of the virtual system are also packaged into an independent universal dynamic library, and independent threads are started to carry out logic processing.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for generating a dynamic link library. Background technique [0002] In the existing embedded system simulation process, the processing of data communication protocols is often extremely complicated. Generally, the method of direct processing of communication protocol data streams is adopted. The principle of this method is: through XML (Extensible Markup Language, Extensible Markup Language) ) file describes the code stream composition of the communication protocol, and uses buffers or arrays to directly process and process the data code stream during coding and decoding, that is, directly put the data in the buffer into the data protocol code stream during packet processing. For the corresponding position, the data of the corresponding position of the code stream is taken out during the unpacking process, and a series of processing such as data conve...

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/41H04L29/06
CPCG06F8/41H04L69/06H04L69/26
Inventor 吴瑾江云松陈睿高猛郑小萌陈龙博高栋栋房振军于倩杨建磊王政
Owner 北京轩宇信息技术有限公司
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