Packaging-unpacking program generation method and packaging-unpacking program generation device
A program generation and unpacking technology, applied in the direction of program control devices, etc., can solve the problems of not being able to adapt to changes in time, unable to realize unpacking programs, and developers unable to design and generate unpacking programs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] figure 1 This is a flowchart of a method for generating an unpacking program provided in Embodiment 1 of the present application.
[0048] like figure 1 As shown, the method includes:
[0049] S101. Receive an ICD that includes at least one message and is input by a user.
[0050] In the embodiment of the present application, preferably, the received ICD input by the user includes: at least one message, the total length of the message corresponding to each message, the variables included in each message, and the Each variable corresponds to the variable length, variable type, variable unit, etc.
[0051] In the method for generating an unpacking program provided by the embodiment of the present application, preferably, an ICD interface is preset, and a user can use the ICD interface to directly import an ICD containing at least one message by importing the ICD, or, in the In addition to the pre-set ICD interface, an ICD definition interface is also pre-set, and the ...
Embodiment 2
[0070] figure 2 The second embodiment of the present application provides a flow chart of a method for defining a bit field structure for each message in the ICD.
[0071] like figure 2 As shown, the method includes:
[0072] S201. Assign a unique bit field structure name to each message in the ICD.
[0073] In the embodiment of the present application, in the process of defining a bit field structure for each message in the ICD, it is first necessary to assign a unique bit field structure name to each message contained in the ICD, preferably Yes, the name of each message included in the ICD input by the user is unique, and the name of the bit field structure allocated to each message is the same as the name of the corresponding message.
[0074] S202. Define structure members for each variable in each message.
[0075] In the embodiment of the present application, after assigning a unique bit field structure name to each message in the ICD, it is also necessary to defin...
Embodiment 3
[0083] image 3 This is a schematic structural diagram of an apparatus for generating an unpacking and unpacking program provided in Embodiment 3 of the present application.
[0084] like image 3 As shown, the device includes: an ICD receiving unit 1, a bit-field structure definition unit 2, an unpacking function generating unit 3, and an unpacking and unpacking program generating unit 4, wherein the ICD receiving unit 1, the bit-field structure definition unit 2 , the unpacking function generating unit 3 and the unpacking and unpacking program generating unit 4 are sequentially connected.
[0085] The ICD receiving unit 1 is mainly used for receiving an ICD inputted by a user and containing at least one message.
[0086] The bit field structure definition unit 2 is connected with the ICD receiving unit 1, and the bit field structure definition unit 2 is used to define a bit field structure for each message in the ICD respectively.
[0087] The unpacking function generatio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com