CN114285916B - Method and device for generating delay injection data based on framing identification - Google Patents

Method and device for generating delay injection data based on framing identification Download PDF

Info

Publication number
CN114285916B
CN114285916B CN202111588325.2A CN202111588325A CN114285916B CN 114285916 B CN114285916 B CN 114285916B CN 202111588325 A CN202111588325 A CN 202111588325A CN 114285916 B CN114285916 B CN 114285916B
Authority
CN
China
Prior art keywords
injection
delay
framing
instruction
data
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.)
Active
Application number
CN202111588325.2A
Other languages
Chinese (zh)
Other versions
CN114285916A (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.)
Beijing Aerospace Control Center
Original Assignee
Beijing Aerospace Control Center
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 Beijing Aerospace Control Center filed Critical Beijing Aerospace Control Center
Priority to CN202111588325.2A priority Critical patent/CN114285916B/en
Publication of CN114285916A publication Critical patent/CN114285916A/en
Application granted granted Critical
Publication of CN114285916B publication Critical patent/CN114285916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the application discloses a method and a device for generating delay injection data based on framing identification, wherein the method comprises the following steps: and acquiring a framing identifier corresponding to each time delay injection data from the program control plan, wherein the time delay injection data comprises: delay instructions and/or delay injection, the framing identification comprising: injecting file name, remote control frame number, remote control packet number and remote control block number; generating an injection configuration file according to the framing identifiers corresponding to each time delay injection data; and framing the delay injection data according to the injection configuration file and a preset framing rule. The method and the device effectively improve the generation efficiency of the delay injection data.

Description

Method and device for generating delay injection data based on framing identification
Technical Field
The application relates to the technical field of aerospace measurement and control, in particular to a method and a device for generating delay injection data based on framing identification.
Background
The spacecraft completes relevant control and state setting and actions (including equipment on-off, mode switching, parameter modification, software loading and the like) on the spacecraft by receiving a remote control instruction of ground uplink. The remote control command of the spacecraft is divided into a direct switch command and injection data. The injection data can be divided into real-time injection data and time delay injection data. At present, most spacecraft remote control information flows adopt a packet remote control scheme conforming to the CCSDS standard; the data structure and format adopts a layered structure, and the data structure and the relationship of each layer are shown in fig. 5.
The delay injected data requires the execution time of the specified instruction and the instruction unit code. In addition, in the key process, in order to reduce frequent interaction of the devices, reduce measurement and control resource constraint, improve the utilization rate of remote control frames, and generate multi-frame multi-packet multi-block delay injection data by maximizing the utilization of the data domain content according to a certain logic rule when the data is framed. The execution time of the instruction in the delay injection data is required to be generated in real time according to the state of the spacecraft and the tracking condition of the ground measurement and control network. In order to improve the orbit determination precision in the task execution process, the state on the accurate reader needs to be compressed for the data signing time, so that the time delay injection is required to be quickly generated and the conflict resolution is required to be automatically carried out. The traditional delay injection data generation method is to manually write the execution time of a delay instruction into configuration, and has the problems of low efficiency and low reliability.
Disclosure of Invention
The application provides a method and a device for generating delay injection data based on framing identification in order to solve at least one technical problem in the background art.
In order to achieve the above object, according to one aspect of the present application, there is provided a method for generating delay injection data based on framing identification, the method comprising:
and acquiring a framing identifier corresponding to each time delay injection data from the program control plan, wherein the time delay injection data comprises: delay instructions and/or delay injection, the framing identification comprising: injecting file name, remote control frame number, remote control packet number and remote control block number;
generating an injection configuration file according to the framing identifiers corresponding to each time delay injection data;
and framing the delay injection data according to the injection configuration file and a preset framing rule.
Optionally, the generating an injection configuration file according to the framing identifier corresponding to each delay injection data specifically includes:
if the delay injection data in the program control plan are delay instructions, acquiring an instruction frame format number and instruction execution time corresponding to each delay instruction from the program control plan;
generating the injection configuration file according to the instruction frame format number, the instruction execution time and the framing identification corresponding to each delay instruction.
Optionally, the generating an injection configuration file according to the framing identifier corresponding to each delay injection data specifically includes:
if the delay injection data in the program control plan are delay injection, acquiring an injection format number and delay execution time corresponding to each delay injection from the program control plan;
and generating the injection configuration file according to the injection format number, the delay execution time and the framing identifier corresponding to each delay injection.
Optionally, the generating an injection configuration file according to the framing identifier corresponding to each delay injection data specifically includes:
if the delay injection data in the program control plan comprises delay instructions and delay injections, acquiring instruction frame format numbers and instruction execution time corresponding to each delay instruction from the program control plan, and acquiring injection format numbers and delay execution time corresponding to each delay injection from the program control plan;
generating the injection configuration file according to the instruction frame format number, the instruction execution time and the framing identifier corresponding to each delay instruction, and the injection format number, the delay execution time and the framing identifier corresponding to each delay injection.
Optionally, framing the delayed injection data according to the injection configuration file and a preset framing rule specifically includes:
determining an instruction code matched with the instruction frame format number in the injection configuration file from a remote control frame database, and framing the delay instruction according to the instruction code.
Optionally, framing the delayed injection data according to the injection configuration file and a preset framing rule specifically includes:
and determining injection codes matched with the injection format numbers in the injection configuration file from an injection frame database, and framing delay injection according to the injection codes.
Optionally, if the delay injection data in the program control plan are delay instructions, the remote control frame number and the remote control packet number in the framing identifier corresponding to each delay injection data are both represented by preset characters.
In order to achieve the above object, according to another aspect of the present application, there is provided a delay injection data generating apparatus based on framing identification, the apparatus comprising:
the frame identification reading unit is used for acquiring the frame identification corresponding to each time delay injection data from the program control plan, wherein the time delay injection data comprises: delay instructions and/or delay injection, the framing identification comprising: injecting file name, remote control frame number, remote control packet number and remote control block number;
the injection configuration file generation unit is used for generating an injection configuration file according to the framing identifiers corresponding to each time delay injection data;
and the framing unit is used for framing the delay injection data according to the injection configuration file and a preset framing rule.
In order to achieve the above object, according to another aspect of the present application, there is also provided a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the delay injection data generation method based on framing identification as described above when executing the computer program.
To achieve the above object, according to another aspect of the present application, there is also provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the above-described method for generating delay injection data based on framing identification.
The beneficial effects of the application are as follows:
the embodiment of the application obtains the framing identification corresponding to each time delay injection data from the program control plan, wherein the time delay injection data comprises the following components: delay instructions and/or delay injection, the framing identification comprising: the method comprises the steps of generating an injection configuration file according to the framing identification corresponding to each time delay injection data, and framing the time delay injection data according to the injection configuration file and a preset framing rule.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
FIG. 1 is a flow chart of a method for generating delay injection data based on framing identification according to an embodiment of the present application;
FIG. 2 is a first flow chart of generating an injection profile according to an embodiment of the present application;
FIG. 3 is a second flowchart of generating an injection profile according to an embodiment of the present application;
FIG. 4 is a third flowchart of generating an injection profile according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a CCSDS standard SCD remote control data structure;
FIG. 6 is a schematic diagram of a framing identification design containing only delay instructions;
FIG. 7 is a schematic diagram of a framing marker design incorporating time delay injection;
FIG. 8 is a schematic diagram of a cfg profile design that includes only delay instructions;
FIG. 9 is a schematic diagram of a cfg profile design including time delay injection;
FIG. 10 is a block diagram of a delay injection data generating device based on framing identification according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a computer device according to an embodiment of the application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It is noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present application and in the foregoing figures, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
It should be noted that, in the technical scheme of the application, the acquisition, storage, use, processing and the like of the data all conform to the relevant regulations of national laws and regulations.
The application analyzes and designs a delay injection data generation method based on framing identification by combing the delay injection data frame structure and the data generation requirement. According to the application, an injection framing rule is designed according to a data frame structure, a framing identification field is set in a program control plan, and an injection configuration cfg file is automatically generated based on the framing identification in the program control plan in a task, so that quick generation of delay injection data is realized.
Fig. 1 is a flowchart of a method for generating delay injection data based on a framing identifier according to an embodiment of the present application, as shown in fig. 1, in an embodiment of the present application, the method for generating delay injection data based on a framing identifier includes steps S101 to S103.
Step S101, acquiring a framing identifier corresponding to each time delay injection data from a program control plan, wherein the time delay injection data comprises: delay instructions and/or delay injection, the framing identification comprising: the file name, remote control frame number, remote control packet number, and remote control block number are injected.
In the present application, the delay injection data includes: delay instructions and delay injection are two types. The program control plan can only contain delay instructions, can only contain delay injection, and can also contain delay instructions and delay injection at the same time.
The application adds a framing identification field in a delay instruction in a nominal plan for defining the sequence and framing relation of delay injection data in the injection data, wherein the design content of the field comprises: file name, remote control frame number (1, 2, …, N), remote control packet number (1, 2, …, N), remote control block number (1, 2, …, N) are injected. The framing identification is written in accordance with the framing rules designed above. The plan generating software automatically outputs the actual combat plan containing the framing identifiers in the program-controlled plan, namely the framing identifiers are also contained in the program-controlled plan.
In one embodiment of the present application, the field shaping of the group frame identifier may be as shown in x_x_y_z, where X represents a file name of the injection data where the delay command is located (a length of no more than 16 characters), X represents an xth frame remote control transmission frame of the delay injection data in the CLTU, Y represents a packet number of the delay command in the injection data, and Z represents a block number of the delay command in the injection data.
In one embodiment of the present application, if the delay injection data in the program control plan are delay instructions, the remote control frame number and the remote control packet number in the framing identifier corresponding to each delay injection data are both represented by preset characters. Specifically, when the delay injection data only includes a delay instruction, the frame identifier X, Y is fixedly filled with "N", and Z in the frame identifier starts counting from 1, where Z only represents the sequence number of the delay instruction, as shown in fig. 6.
In the present application, when delay injection data includes delay injection, a framing identifier needs to be specified for each delay injection, and a delay injection format number is filled in a column of a nominal planning event code for the delay injection, as shown in fig. 7.
Fig. 6 and 7 are schematic diagrams of a programming plan, as shown in fig. 6 and 7, including an event code field and a time field. The event code field corresponding to the delay instruction is recorded with an instruction frame format number, and the time field corresponding to the delay instruction is recorded with the instruction execution time. The corresponding event code field of the delay injection is recorded with an injection format number, and the corresponding time field of the delay injection is recorded with delay execution time.
The instruction frame format number and the injection format number of the application are different in format, as shown in fig. 7, the instruction frame format number starts with PY, and the injection format number starts with PS, so that the application can distinguish delay instructions and delay injections in a program control plan according to an event code field.
Step S102, generating an injection configuration file according to the framing identifiers corresponding to each time delay injection data.
The application designs an automatic generation method of an injection configuration file (injection configuration cfg file), which can automatically acquire an instruction name, an instruction frame format number and an instruction execution time corresponding to a framing identifier for a delay instruction; automatically acquiring an injection format number and delay execution time corresponding to the framing identifier for delay injection, and setting parameters according to the injection format number; and automatically generating an injection configuration cfg file by integrating the delay instruction and the delay injection, and supporting manual intervention correction.
In the application, after a framing identifier is designated in a nominal plan, planning software outputs delay instructions to a single-target delay instruction plan interface file and a multi-target combined delay instruction plan interface file corresponding to each control target respectively, and the instruction name, the code number (delay injection is an injection format number), the target, the delay execution time and the framing identifier are defined.
For the delay injection data only comprising the delay instruction, the application selects the 'default framing identification' option, and the delay injection configuration automatic generation tool reads the injection configuration cfg file generated after the delay instruction plan, as shown in fig. 8.
For delay injection data containing delay injection, selecting a default framing identification option for a delay instruction; for the delay injection data, the format number, the framing identifier and the table filling parameter need to be explicitly injected, and the delay injection configuration automatic generation tool reads the delay instruction plan and then generates an injection configuration cfg file, as shown in fig. 9.
And step S103, framing the delay injection data according to the injection configuration file and a preset framing rule.
In the present application, framing is performed by calling the injection data generation process CLDC. And after the injection data generation process CLDC reads the configuration cfg file, automatically acquiring instruction codes according to a frame database, automatically framing different types of delay injection data, and completing injection generation detection and conflict resolution to ensure that the injection data format is correct.
After the configuration cfg file is injected, the configuration cfg file is led into an injection data generation process CLDC, the injection data generation process CLDC reads a remote control frame database aiming at a delay instruction according to remote control frames, remote control packets and remote control block serial numbers executed in configuration, automatically matches instruction codes, and completes binary conversion according to parameter types.
If X, Y in the framing identifier is N, the CLDC process performs sequencing framing according to the serial number of the remote control unit of the frame database, frames are combined according to a preset framing rule, and if the data length exceeds the frame length or the mutual exclusion rule is met, the software automatically frames the injected data.
If the injection configuration cfg file contains the injection format number, the CLDC process determines the injection code matched with the injection format number from the injection frame database, and completes binary conversion according to the parameter type. And if the frame identification meets the mutual exclusion rule, the software automatically frames the injected data.
In one embodiment of the present application, the preset framing rule includes: equivalent rules, inclusion rules, and mutually exclusive rules. In one embodiment of the application, the application designs an automatic framing rule generated by time delay injection data based on a CCSDS standard sub-packaging remote control scheme, and the automatic framing rule comprises an equivalence rule, an inclusion rule and a mutual exclusion rule according to a frame data structure level. And the injection generation process carries out data framing according to the set logic rule.
The rule is included: the inclusion rules are defined according to a hierarchical structure that injects CCSDS standards for remote control. A remote control unit conforming to inclusion rules may be packaged into a previous layer structure. As can be seen from fig. 5, the hierarchical structure comprises the rule rc= { RC1, RC2, RC3}, wherein one link transmission unit (CLTU) may comprise n remote control transmission frames, where n = 4; rc2: a remote control transmission frame may include a plurality of remote control packets, and a total length of one remote control frame =256B; rc3: a remote control pack may include a plurality of remote control command units, and a remote control pack length =242B.
Equivalence rule: the equivalence rule is defined by different identifications in the remote control frame data structure, and the remote control units conforming to the equivalence rule can be spliced according to the hierarchical order. The equivalence rule re= { RE1, RE2, RE3}, where RE1: the virtual channel identifier VCID represents different channels of the same spacecraft; the same virtual channel instruction can be framed according to the inclusion rule, and the different virtual channels belong to the equivalence relation; re2: an application process identifier APID for distinguishing the destination of the remote control packet; the same APID instruction can be framed according to the inclusion rule, and the different APIDs belong to the equivalence relation; re3: the instruction unit identifiers characterize instruction types, the same instruction unit types can be framed according to inclusion rules, and the different instruction unit types belong to equivalence relations.
Mutual exclusion rules: in the process of executing the spacecraft injection data, according to the characteristics of different buses or single machine execution logics, different kinds of data framing requirements are met, and a mutual exclusion rule is established according to the requirements; and automatically packetizing or framing the data according with the mutual exclusion rule in the framing process. Mutually exclusive rules rm= { RM1, RM2, RM3, RM4, RM5}, where RM1: the different data of the VCID can not be framed; rm2: characterizing the independent framing of the GNC subsystem injection data in APDI; rm3: characterizing payload injection data in APDI is framed separately; rm4: the real-time instruction and the delay instruction in the remote control unit cannot be injected into one remote control packet; rm5: each delay instruction unit can only contain one instruction.
As shown in fig. 2, in one embodiment of the present application, the step S102 generates an injection configuration file according to the framing identifier corresponding to each delay injection data, and specifically includes step S201 and step S202.
Step S201, if the delay injection data in the program control plan are delay instructions, the instruction frame format number and the instruction execution time corresponding to each delay instruction are obtained from the program control plan.
In the embodiment of the application, the step specifically obtains the instruction frame format number from an event code field in the program control plan and obtains the instruction execution time from a time field in the program control plan.
Step S202, generating the injection configuration file according to the instruction frame format number, the instruction execution time and the framing identification corresponding to each delay instruction.
As shown in fig. 3, in one embodiment of the present application, the generating an injection configuration file in step S102 according to the framing identifier corresponding to each delay injection data specifically includes step S301 and step S302.
Step S301, if the delay injection data in the program control plan are delay injections, acquiring an injection format number and a delay execution time corresponding to each delay injection from the program control plan.
In the embodiment of the application, the injection format number is acquired from an event code field in the program control plan, and the delay execution time is acquired from a time field in the program control plan.
Step S302, generating the injection configuration file according to the injection format number, the delay execution time and the framing identifier corresponding to each delay injection.
As shown in fig. 4, in one embodiment of the present application, the generating an injection configuration file in step S102 according to the framing identifier corresponding to each delay injection data specifically includes step S401 and step S402.
Step S401, if the delay injection data in the program control plan includes a delay instruction and delay injection, acquiring an instruction frame format number and an instruction execution time corresponding to each delay instruction from the program control plan, and acquiring an injection format number and a delay execution time corresponding to each delay injection from the program control plan.
Step S402, generating the injection configuration file according to the instruction frame format number, the instruction execution time and the framing identifier corresponding to each delay instruction, and the injection format number, the delay execution time and the framing identifier corresponding to each delay injection.
In one embodiment of the present application, the step S103 of framing the delay injection data according to the injection configuration file and a preset framing rule specifically includes:
determining an instruction code matched with the instruction frame format number in the injection configuration file from a remote control frame database, and framing the delay instruction according to the instruction code.
In one embodiment of the present application, the step S103 of framing the delay injection data according to the injection configuration file and a preset framing rule specifically further includes:
and determining injection codes matched with the injection format numbers in the injection configuration file from an injection frame database, and framing delay injection according to the injection codes.
From the above embodiments, it can be seen that the delay injection data generation method based on framing identification of the present application at least achieves the following beneficial effects:
1. the application utilizes the remote control data domain content at maximum efficiency on the basis of meeting the execution of the spacecraft through rule design.
2. The application associates delay instruction information with a plan, designs a framing identifier to determine an instruction framing relationship, and can be determined in advance before injection generation.
3. The delay injection generation based on the framing identification can effectively shorten the configuration cfg file preparation time and the delay injection data generation time, and improve the generation efficiency; the application also reduces the risk brought by manual input in an automatic mode.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
Based on the same inventive concept, the embodiment of the present application further provides a delay injection data generating device based on the framing identifier, which can be used to implement the delay injection data generating method based on the framing identifier described in the above embodiment, as described in the following embodiments. Because the principle of solving the problem of the delay injection data generating device based on the framing identification is similar to that of the delay injection data generating method based on the framing identification, the embodiment of the delay injection data generating device based on the framing identification can be referred to the embodiment of the delay injection data generating method based on the framing identification, and the repetition is omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 10 is a block diagram of a delay injection data generating device based on a framing identifier according to an embodiment of the present application, as shown in fig. 10, in one embodiment of the present application, the delay injection data generating device based on a framing identifier includes:
the framing identifier reading unit 1 is configured to obtain, from a program control plan, a framing identifier corresponding to each delay injection data, where the delay injection data includes: delay instructions and/or delay injection, the framing identification comprising: injecting file name, remote control frame number, remote control packet number and remote control block number;
the injection configuration file generating unit 2 is used for generating an injection configuration file according to the framing identifiers corresponding to each time delay injection data;
and the framing unit 3 is used for framing the delay injection data according to the injection configuration file and a preset framing rule.
In one embodiment of the present application, the injection profile generating unit 2 specifically includes:
the first data acquisition module is used for acquiring the instruction frame format number and the instruction execution time corresponding to each delay instruction from the program control plan if the delay injection data in the program control plan are delay instructions;
the first generation module is used for generating the injection configuration file according to the instruction frame format number, the instruction execution time and the framing identification corresponding to each delay instruction.
In one embodiment of the present application, the injection profile generating unit 2 specifically includes:
the second data acquisition module is used for acquiring the injection format number and the delay execution time corresponding to each delay injection from the program control plan if the delay injection data in the program control plan are delay injections;
and the second generation module is used for generating the injection configuration file according to the injection format number, the delay execution time and the framing identifier corresponding to each delay injection.
In one embodiment of the present application, the injection profile generating unit 2 specifically includes:
the third data acquisition module is used for acquiring the instruction frame format number and the instruction execution time corresponding to each delay instruction from the program control plan if the delay injection data in the program control plan comprises the delay instruction and the delay injection, and acquiring the injection format number and the delay execution time corresponding to each delay injection from the program control plan;
and the third generation module is used for generating the injection configuration file according to the instruction frame format number, the instruction execution time and the framing identifier corresponding to each delay instruction, and the injection format number, the delay execution time and the framing identifier corresponding to each delay injection.
In one embodiment of the present application, the framing unit 3 specifically includes:
the first framing processing module is used for determining the instruction codes matched with the instruction frame format numbers in the injection configuration file from the remote control frame database, and framing the delay instructions according to the instruction codes.
In one embodiment of the present application, the framing unit 3 specifically includes:
and the second framing processing module is used for determining injection codes matched with the injection format numbers in the injection configuration file from an injection frame database, and framing delay injection according to the injection codes.
To achieve the above object, according to another aspect of the present application, there is also provided a computer apparatus. As shown in fig. 11, the computer device includes a memory, a processor, a communication interface, and a communication bus, where a computer program executable on the processor is stored on the memory, and when the processor executes the computer program, the steps in the method of the above embodiment are implemented.
The processor may be a central processing unit (Central Processing Unit, CPU). The processor may also be any other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof.
The memory is used as a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and units, such as corresponding program units in the above-described method embodiments of the application. The processor executes the various functional applications of the processor and the processing of the composition data by running non-transitory software programs, instructions and modules stored in the memory, i.e., implementing the methods of the method embodiments described above.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created by the processor, etc. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory may optionally include memory located remotely from the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more units are stored in the memory, which when executed by the processor, performs the method in the above embodiments.
The details of the computer device may be correspondingly understood by referring to the corresponding relevant descriptions and effects in the above embodiments, and will not be repeated here.
To achieve the above object, according to another aspect of the present application, there is also provided a computer readable storage medium storing a computer program which, when executed in a computer processor, implements the steps in the above delay injection data generation method based on framing identification. It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiment method may be implemented by a computer program to instruct related hardware, where the program may be stored in a computer readable storage medium, and the program may include the above-described embodiment method when executed. Wherein the storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (RandomAccessMemory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
To achieve the above object, according to another aspect of the present application, there is also provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the above-described method for generating delay injection data based on framing identification.
It will be apparent to those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by the computing devices, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (7)

1. The delay injection data generation method based on the framing identification is characterized by comprising the following steps of:
and acquiring a framing identifier corresponding to each time delay injection data from the program control plan, wherein the time delay injection data comprises: delay instructions and/or delay injection, the framing identification comprising: injecting file name, remote control frame number, remote control packet number and remote control block number;
generating an injection configuration file according to the framing identifiers corresponding to each time delay injection data;
framing the delay injection data according to the injection configuration file and a preset framing rule;
generating an injection configuration file according to the framing identifier corresponding to each delay injection data, specifically including:
if the delay injection data in the program control plan are delay instructions, acquiring an instruction frame format number and instruction execution time corresponding to each delay instruction from the program control plan, and generating the injection configuration file according to the instruction frame format number, the instruction execution time and the framing identification corresponding to each delay instruction;
if the delay injection data in the program control plan are delay injection, acquiring an injection format number and delay execution time corresponding to each delay injection from the program control plan, and generating the injection configuration file according to the injection format number, the delay execution time and the framing identification corresponding to each delay injection;
if the delay injection data in the program control plan comprises delay instructions and delay injection, acquiring instruction frame format numbers and instruction execution time corresponding to each delay instruction from the program control plan, acquiring injection format numbers and delay execution time corresponding to each delay injection from the program control plan, and generating the injection configuration file according to the instruction frame format numbers, the instruction execution time and the framing identification corresponding to each delay instruction, and the injection format numbers, the delay execution time and the framing identification corresponding to each delay injection;
framing the delay injection data according to the injection configuration file and a preset framing rule, wherein the method specifically comprises the following steps:
framing is carried out by calling an injection data generation process CLDC, the injection data generation process CLDC automatically acquires instruction codes according to a frame database after reading an injection configuration file, automatically frames different types of delay injection data, and completes injection generation detection and conflict resolution, so that the accuracy of the injection data format is ensured.
2. The method for generating delay injection data based on framing identification according to claim 1, wherein the framing of delay injection data according to the injection configuration file and a preset framing rule specifically comprises:
determining an instruction code matched with the instruction frame format number in the injection configuration file from a remote control frame database, and framing the delay instruction according to the instruction code.
3. The method for generating delay injection data based on framing identification according to claim 1, wherein the framing of delay injection data according to the injection configuration file and a preset framing rule specifically comprises:
and determining injection codes matched with the injection format numbers in the injection configuration file from an injection frame database, and framing delay injection according to the injection codes.
4. The method for generating delay injection data based on framing identifiers as claimed in claim 1, wherein if delay injection data in the program control plan are delay instructions, the remote control frame number and the remote control packet number in the framing identifier corresponding to each delay injection data are indicated by preset characters.
5. The delay injection data generating device based on the framing identification is characterized by comprising the following components:
the frame identification reading unit is used for acquiring the frame identification corresponding to each time delay injection data from the program control plan, wherein the time delay injection data comprises: delay instructions and/or delay injection, the framing identification comprising: injecting file name, remote control frame number, remote control packet number and remote control block number;
the injection configuration file generation unit is used for generating an injection configuration file according to the framing identifiers corresponding to each time delay injection data;
the framing unit is used for framing the delay injection data according to the injection configuration file and a preset framing rule;
the injection configuration file generation unit is specifically configured to:
if the delay injection data in the program control plan are delay instructions, acquiring an instruction frame format number and instruction execution time corresponding to each delay instruction from the program control plan, and generating the injection configuration file according to the instruction frame format number, the instruction execution time and the framing identification corresponding to each delay instruction;
if the delay injection data in the program control plan are delay injection, acquiring an injection format number and delay execution time corresponding to each delay injection from the program control plan, and generating the injection configuration file according to the injection format number, the delay execution time and the framing identification corresponding to each delay injection;
if the delay injection data in the program control plan comprises delay instructions and delay injection, acquiring instruction frame format numbers and instruction execution time corresponding to each delay instruction from the program control plan, acquiring injection format numbers and delay execution time corresponding to each delay injection from the program control plan, and generating the injection configuration file according to the instruction frame format numbers, the instruction execution time and the framing identification corresponding to each delay instruction, and the injection format numbers, the delay execution time and the framing identification corresponding to each delay injection;
the framing unit is specifically configured to:
framing is carried out by calling an injection data generation process CLDC, the injection data generation process CLDC automatically acquires instruction codes according to a frame database after reading an injection configuration file, automatically frames different types of delay injection data, and completes injection generation detection and conflict resolution, so that the accuracy of the injection data format is ensured.
6. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 4 when the computer program is executed by the processor.
7. A computer readable storage medium having stored thereon a computer program/instruction, which when executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN202111588325.2A 2021-12-23 2021-12-23 Method and device for generating delay injection data based on framing identification Active CN114285916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111588325.2A CN114285916B (en) 2021-12-23 2021-12-23 Method and device for generating delay injection data based on framing identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111588325.2A CN114285916B (en) 2021-12-23 2021-12-23 Method and device for generating delay injection data based on framing identification

Publications (2)

Publication Number Publication Date
CN114285916A CN114285916A (en) 2022-04-05
CN114285916B true CN114285916B (en) 2023-09-01

Family

ID=80874426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111588325.2A Active CN114285916B (en) 2021-12-23 2021-12-23 Method and device for generating delay injection data based on framing identification

Country Status (1)

Country Link
CN (1) CN114285916B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0917034A1 (en) * 1997-11-14 1999-05-19 Engel Maschinenbau Gesellschaft Mbh Method for remote monitoring and/or remote servicing of an injection moulding machine
EP2410160A1 (en) * 2010-07-22 2012-01-25 Delphi Technologies Holding S.à.r.l. Method of providing trim data for a fuel injection device
EP2544409A1 (en) * 2011-07-04 2013-01-09 Telefonaktiebolaget L M Ericsson AB (Publ) Generic monitoring packet handling mechanism for OpenFlow 1.1
CN109086240A (en) * 2018-08-28 2018-12-25 中国科学院长春光学精密机械与物理研究所 A kind of injected system and method for space loading remote-control data
CN109639679A (en) * 2018-12-14 2019-04-16 航天恒星科技有限公司 A kind of Tianhuangping pumped storage plant data format design method adapting to Big Dipper short message
CN110868247A (en) * 2019-11-20 2020-03-06 哈尔滨工业大学 Event-driven satellite telemetry data processing method and device and computer storage medium
CN111242254A (en) * 2020-01-08 2020-06-05 上海钧正网络科技有限公司 Injection method and device of label chip information, storage medium and equipment
CN112003643A (en) * 2020-08-13 2020-11-27 航天科工空间工程发展有限公司 Data uploading method for satellite in-orbit software reconstruction
CN112148509A (en) * 2020-10-16 2020-12-29 腾讯科技(深圳)有限公司 Data processing method, device, server and computer readable storage medium
CN112650198A (en) * 2020-12-21 2021-04-13 中国人民解放军63920部队 Multi-spacecraft injection plan automatic generation and control method and device
CN113448590A (en) * 2021-07-14 2021-09-28 西安寰宇卫星测控与数据应用有限公司 Method and device for quickly generating remote control injection data, computer equipment and medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0917034A1 (en) * 1997-11-14 1999-05-19 Engel Maschinenbau Gesellschaft Mbh Method for remote monitoring and/or remote servicing of an injection moulding machine
EP2410160A1 (en) * 2010-07-22 2012-01-25 Delphi Technologies Holding S.à.r.l. Method of providing trim data for a fuel injection device
EP2544409A1 (en) * 2011-07-04 2013-01-09 Telefonaktiebolaget L M Ericsson AB (Publ) Generic monitoring packet handling mechanism for OpenFlow 1.1
CN109086240A (en) * 2018-08-28 2018-12-25 中国科学院长春光学精密机械与物理研究所 A kind of injected system and method for space loading remote-control data
CN109639679A (en) * 2018-12-14 2019-04-16 航天恒星科技有限公司 A kind of Tianhuangping pumped storage plant data format design method adapting to Big Dipper short message
CN110868247A (en) * 2019-11-20 2020-03-06 哈尔滨工业大学 Event-driven satellite telemetry data processing method and device and computer storage medium
CN111242254A (en) * 2020-01-08 2020-06-05 上海钧正网络科技有限公司 Injection method and device of label chip information, storage medium and equipment
CN112003643A (en) * 2020-08-13 2020-11-27 航天科工空间工程发展有限公司 Data uploading method for satellite in-orbit software reconstruction
CN112148509A (en) * 2020-10-16 2020-12-29 腾讯科技(深圳)有限公司 Data processing method, device, server and computer readable storage medium
CN112650198A (en) * 2020-12-21 2021-04-13 中国人民解放军63920部队 Multi-spacecraft injection plan automatic generation and control method and device
CN113448590A (en) * 2021-07-14 2021-09-28 西安寰宇卫星测控与数据应用有限公司 Method and device for quickly generating remote control injection data, computer equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Identifying DQ-Domain Admittance Models of a 2.3-MVA Commercial Grid-Following Inverter via Frequency-Domain and Time-Domain Data;Lingling Fan;IEEE Transactions on Energy Conversion ( Volume: 36, Issue: 3, September 2021);全文 *

Also Published As

Publication number Publication date
CN114285916A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN110309125A (en) Data verification method, electronic device and storage medium
CN106155812A (en) Method, device, system and the electronic equipment of a kind of resource management to fictitious host computer
CN106161256A (en) A kind of processing method and processing device of Border Gateway Protocol (BGP) route
CN107689982A (en) Multi-data source method of data synchronization, application server and computer-readable recording medium
CN104317839A (en) Method and device for generating report form template
CN111552838A (en) Data processing method and device, computer equipment and storage medium
CN109120477A (en) Dynamic analysis method, apparatus, server and storage medium based on modbus agreement
CN109120067B (en) Event sequence record reporting method, device, equipment and readable storage medium
CN107004003B (en) Model parameter fusion method and device
CN114285916B (en) Method and device for generating delay injection data based on framing identification
CN110868458A (en) Communication method and device for stable control system
CN109213701A (en) Control method, system, equipment and the storage medium of the peripheral hardware of shared I O board
CN113452556A (en) Product skill configuration method and device, storage medium and electronic device
CN109684033A (en) Cloud platform bare machine management method, storage medium, electronic equipment and system
CN110708363A (en) File transmission method, system, electronic equipment and storage medium
CN105430665A (en) Method and system for realizing multi-network mixed scale networking
CN107783760B (en) Visual development method for protection device based on functional component
CN102958089B (en) Simulation method and simulation device
CN104615564A (en) Data transmission method based on QPI bus and computer system
CN108874456A (en) A kind of generation method of server software, device, equipment and storage medium
CN101873198B (en) Method and device for constructing network data packet
CN111078232B (en) Application program packaging method, device, equipment and medium
CN113852919B (en) Method and device for generating early warning message, storage medium and electronic device
CN109068341B (en) Cell switching test method and device
CN115102943B (en) Multi-channel-based data trans-regional transmission method and 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