CN110058815B - Control system and data dynamic partition storage and retrieval method thereof - Google Patents

Control system and data dynamic partition storage and retrieval method thereof Download PDF

Info

Publication number
CN110058815B
CN110058815B CN201910233955.4A CN201910233955A CN110058815B CN 110058815 B CN110058815 B CN 110058815B CN 201910233955 A CN201910233955 A CN 201910233955A CN 110058815 B CN110058815 B CN 110058815B
Authority
CN
China
Prior art keywords
configuration information
packet
configuration
command
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
CN201910233955.4A
Other languages
Chinese (zh)
Other versions
CN110058815A (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.)
Guangdong Anpu Electric Power Technology Co ltd
Original Assignee
Guangdong Anpu Electric Power 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 Guangdong Anpu Electric Power Technology Co ltd filed Critical Guangdong Anpu Electric Power Technology Co ltd
Priority to CN201910233955.4A priority Critical patent/CN110058815B/en
Publication of CN110058815A publication Critical patent/CN110058815A/en
Application granted granted Critical
Publication of CN110058815B publication Critical patent/CN110058815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a control system and a data dynamic partition storage and retrieval method thereof, which comprise the following steps: a. receiving a configuration packet; b. dividing the memory into a plurality of basic data storage areas adapted to each functional device according to basic data configuration information in the configuration packet; c. if the command packet is received in the preset waiting period, entering the step d, and if the command packet is not received in the preset waiting period, entering the step g; d. ending the previous memory partition mode, analyzing the command packet, extracting control configuration information in the configuration packet according to the command packet, subdividing the memory into a plurality of control storage areas adapted to each functional device according to the control configuration information, and entering step g; g. according to the memory partition condition obtained in the step b or the step d, storing, retrieving and distributing data; the memory is readjusted and distributed in time, so that the utilization rate of the memory area is improved, and the condition of jump area storage is reduced.

Description

Control system and data dynamic partition storage and retrieval method thereof
Technical Field
The present invention relates to the field of electronic storage, and more particularly, to a method and system for storing data.
Background
In the data transmission process, data storage is an important part, a storage space is fixed in a memory of a control system, when the control system is connected with a plurality of functional devices, wherein the functional devices can be a detection terminal, an operation terminal, a sending terminal and the like, basic data configuration information such as version data, identification data and the like can be transmitted between the control system and the functional devices, state detection data, command data and the like can also be transmitted under the condition of issuing a command instruction to control configuration information, when the control system runs, the control system divides the interior of the memory into a plurality of fixed storage spaces, the data are stored in the memory in a partitioning mode, storage positions are identified through storage paths, and finally the memory and the functional devices receive or send each data;
however, the data storage has the following defects in practical application that because the storage space is fixed, when the control system issues a command to control each functional device, which causes a change in the read-write state or a change in the operation condition of a newly added or deleted functional device or a functional device, the structure of the storage area in the memory cannot be dynamically partitioned according to the actual working condition of the control system, the ordering of data is easily disordered, which causes low efficiency of storage and retrieval, continuous storage cannot be performed during data storage, and the phenomenon of storage in jump areas exists, and in most cases, the jump areas are basically in an idle state, which wastes a large amount of storage resources.
Disclosure of Invention
In order to solve the above technical problems, an object of the present invention is to provide a storage and retrieval method for dynamically dividing a storage space of a memory according to an operation condition of each functional device, an issue of a command for controlling the operation of the functional device, or an increase or decrease condition of each functional device, and a system using the same, so as to improve a utilization rate of a storage area and achieve a substantial improvement in data storage performance.
The technical scheme adopted by the invention is as follows:
a data dynamic partition storage and retrieval method of a control system, the control system can produce the configuration packet and the control system can issue the command packet used for controlling the function equipment to run according to the running condition of each function equipment, the configuration packet includes basic data configuration information and control configuration information;
the method comprises the following steps:
a. waiting for receiving the configuration packet, and entering the step b if the configuration packet is received;
b. c, analyzing the configuration packet, dividing the memory into a plurality of basic data storage areas adapted to each functional device according to basic data configuration information in the configuration packet, and entering the step c;
c. waiting for receiving the command packet, if the command packet is received in a preset waiting period, entering the step d, and if the command packet is not received in the preset waiting period, entering the step g;
d. ending the previous memory partition mode, analyzing the command packet, extracting control configuration information in the configuration packet according to the command packet, subdividing the memory into a plurality of control storage areas adapted to each functional device according to the control configuration information, and entering step g;
g. and c, according to the memory partition condition obtained in the step b or the step d, the control system and each functional device carry out data storage, retrieval and distribution.
Between step d and step g, further comprising: e. detecting whether the number of the functional equipment is changed, if so, entering a step f, and if not, entering a step g;
f. and c, ending the previous memory partition mode, re-entering the step a to receive a new configuration packet, or entering the step b after generating data of the new configuration packet on the basis of the original configuration packet.
The basic data configuration information comprises receiving configuration information and sending configuration information, and the control configuration information comprises command configuration information and state configuration information; in step b, dividing the memory into a plurality of receiving data storage areas adapted to each functional device and a plurality of sending data storage areas adapted to each functional device according to the receiving configuration information and the sending configuration information in the configuration packet; in step d, the memory is subdivided into a plurality of command memory areas adapted to each functional device and a plurality of status memory areas adapted to each functional device according to the command configuration information and the status configuration information.
In step b, after the configuration packet is analyzed, the receiving configuration information, the sending configuration information, the command configuration information and the state configuration information in the configuration packet are latched into the register, and in step d, after the command packet is received, the command configuration information and the state configuration information are extracted from the register.
The sending configuration information comprises configuration data lengths corresponding to the quantity of each functional device one by one; the receiving configuration information comprises configuration feedback data lengths corresponding to the quantity of each functional device one by one; the command configuration information comprises command data lengths corresponding to the number of the functional devices one by one; the state configuration information includes command feedback data lengths corresponding to the number of the functional devices one to one.
In step e, when a functional device is offline, in step f, according to the offline condition of each functional device, deleting the configuration data length, the configuration feedback data length, the command data length and the command feedback data length corresponding to the offline functional device from the configuration data length, the configuration feedback data length, the command data length and the command feedback data length of the original configuration packet, and then entering step b.
In all steps, if the control system regenerates the configuration package, the step a is returned.
A control system for applying a data dynamic partition storage and retrieval method comprises a data packet judgment module, an analysis cache module, an information collection feedback module and a partition driving module;
the partition driving module is respectively connected with the memory and each functional device;
the information collection feedback module is connected with the partition driving module to acquire the running condition of each functional device to generate a configuration packet or acquire a command packet for issuing and controlling the running of the functional device;
the data packet judging module is connected with the information collecting feedback module to execute the step a or the step c and judge whether the obtained data packet is a configuration packet or a command packet;
the analysis cache module is respectively connected with the data packet judgment module and the partition driving module so as to execute the analysis of the configuration packet in the step b or the analysis of the command packet in the step d;
and c, the partition driving module executes the memory partition according to the basic data configuration information of the configuration packet in the step b, or executes the memory partition mode before finishing in the step d under the condition of receiving the command packet, partitions the memory according to the control configuration information of the configuration packet, and can execute the data storage, retrieval and distribution with each functional device according to the memory partition condition obtained in the step b or the step d in the step g.
The analysis cache module also comprises a register, the basic data configuration information comprises receiving configuration information and sending configuration information, and the control configuration information comprises command configuration information and state configuration information; in step b, the register latches the reception configuration information, the transmission configuration information, the command configuration information, and the status configuration information in the configuration packet after the configuration packet is analyzed, and in step d, the command configuration information and the status configuration information can be extracted from the register.
The registers include four registers, and each register stores one of receiving configuration information, sending configuration information, command configuration information and status configuration information.
The invention has the beneficial effects that:
the invention relates to a data dynamic partition storage and retrieval method and a control system.A configuration packet and a command packet are generated to distinguish data, so that the data is not easy to be confused, the bandwidth utilization rate is high, basic data configuration information and control configuration information in the configuration packet are received, only the basic data configuration information is extracted initially and is distributed into a memory according to the basic data configuration information and is automatically partitioned, and under the control of the control system, the conditions of issuing a command instruction and receiving detection data exist, so that the command packet is generated, the control configuration information is extracted, and the partition condition in the memory is readjusted and distributed in time according to the control configuration information, so that the utilization rate of a storage area is improved, and the condition of jump area storage is reduced;
in addition, the data change condition of the functional equipment is detected, when the number of the functional equipment is increased or decreased, the new configuration packet is received for expansion when the number is increased, and the new configuration packet can be deleted from the original configuration packet when the number is decreased, so that the method is simple, feasible and wide in application range, and can meet different requirements of a system.
Drawings
The following further describes embodiments of the present invention with reference to the drawings.
FIG. 1 is a block diagram of a storage and retrieval method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a configuration packet data format and a command packet data format.
FIG. 3 is a schematic diagram of memory dynamic partition change.
Fig. 4 is a schematic diagram of the structure of an embodiment of the present invention.
Detailed Description
As shown in fig. 1-3, a data dynamic partition storing and retrieving method for a control system, where the control system is capable of generating a configuration packet according to an operation condition of each functional device and the control system is capable of issuing a command packet for controlling the operation of the functional device, the configuration packet includes basic data configuration information and control configuration information, where the basic data configuration information includes type information, version information, port information, identification number information, and the like, and the control configuration information includes an instruction for the control system to issue an instruction for controlling the operation of the functional device or an instruction for the control system to upload status detection data;
the method for storing and retrieving the process between the control system and each functional device comprises the following steps:
a. waiting for receiving the configuration packet, and entering the step b if the configuration packet is received;
b. c, analyzing the configuration packet, dividing the memory into a plurality of basic data storage areas adapted to each functional device according to basic data configuration information in the configuration packet, and entering the step c;
c. waiting for receiving the command packet, if the command packet is received in a preset waiting period, entering the step d, and if the command packet is not received in the preset waiting period, entering the step g;
d. e, ending the previous memory partitioning mode, analyzing the command packet, extracting the control configuration information in the configuration packet according to the command packet, subdividing the memory into a plurality of control storage areas adapted to each functional device according to the control configuration information, and entering the step e;
g. and c, according to the memory partition condition obtained in the step b or the step d, the control system and each functional device carry out data storage, retrieval and distribution.
The design distinguishes data by generating a configuration packet and a command packet, the data is not easy to be confused, the bandwidth utilization rate is high, basic data configuration information and control configuration information in the configuration packet are only extracted initially under the condition of receiving the configuration packet, the basic data configuration information is distributed into a memory according to the basic data configuration information and is automatically partitioned, and under the control of a control system, the conditions of issuing a command instruction and receiving detection data exist, so that the command packet is generated, the control configuration information is extracted, and the partition condition in the memory is readjusted and distributed in time according to the control configuration information, so that the utilization rate of a storage area is improved, and the condition of skip storage is reduced.
In some embodiments, it is also possible to increase in steps d and g:
e. detecting whether the number of the functional equipment is changed, if so, entering a step f, and if not, entering a step g;
f. ending the previous memory partitioning mode, re-entering the step a to receive a new configuration packet, or entering the step b after generating data of the new configuration packet on the basis of the original configuration packet;
the data change condition of the functional equipment is detected, when the number of the functional equipment is increased or decreased, the new configuration packet is received for expansion when the number is increased, and the new configuration packet can be deleted from the original configuration packet when the number is decreased, so that the method is simple, feasible and wide in application range, and can meet different requirements of a system.
As shown in fig. 3, it can be seen that the dynamic partitioning is implemented under different condition changes, and the storage area changes the data storage.
When the control system accesses each functional device, a configuration packet is generated first, a storage area is partitioned according to basic data configuration information in the configuration packet to achieve basic data uploading and sending, and subsequently, if the working condition of the functional device changes, a command packet and a new configuration packet are generated.
The basic data configuration information comprises receiving configuration information and sending configuration information, and the control configuration information comprises command configuration information and state configuration information;
the sending configuration information comprises configuration data lengths corresponding to the quantity of each functional device one by one; receiving configuration information including configuration feedback data lengths corresponding to the number of each functional device one to one; the command configuration information comprises command data lengths corresponding to the number of the functional devices one by one; the state configuration information includes command feedback data lengths corresponding to the number of the respective functional devices one to one.
As shown in fig. 2, the configuration Packet Config Packet includes a Packet header, reception configuration information, transmission configuration information, command configuration information, and status configuration information, which are arranged in this order, and the following exemplifies N functional devices.
The packet header may contain a packet type flag, a port number, a functional device number, functional device version information, an error flag, a total packet header length, etc.; the packet type flag is a configuration data format;
sending configuration information containing configuration data length CFG _ length of N functional devices, and sequentially arranging;
the reception configuration information includes the feedback data lengths CFG _ FDBK _ length of the N functional devices, and is arranged in sequence.
The command configuration information includes command data lengths CMD _ length of the N functional devices, which are arranged in sequence.
The state configuration information comprises command feedback data lengths CMD _ FDBK _ length of N functional devices, and the command feedback data lengths are sequentially arranged;
the Command Packet includes a Packet header and Command data, where the Packet header of the Command Packet may be similar to the content of the configuration Packet, and also includes a Packet type flag, a port number, a functional device number, functional device version information, an error identifier, a total Packet header length, etc., but is in a Command data format so that the control system can recognize the Command Packet and the Command data can trigger the control system to invoke the Command configuration information and status configuration information of the configuration Packet to re-partition the Command Packet.
Correspondingly, in the step b, the memory is divided into a plurality of receiving data storage areas adapted to each functional device and a plurality of sending data storage areas adapted to each functional device according to the receiving configuration information and the sending configuration information in the configuration packet; in step d, the memory is subdivided into a plurality of command memory areas adapted to each functional device and a plurality of status memory areas adapted to each functional device according to the command configuration information and the status configuration information.
In some embodiments, in step b, after parsing the configuration packet, the receiving configuration information, the sending configuration information, the command configuration information, and the status configuration information in the configuration packet are latched into the register, and in step d, after receiving the command packet, the command configuration information and the status configuration information are extracted from the register, and the register is used to latch the data, so as to prevent the data from being lost in the operation cycle.
In step e, when a functional device is offline, in step f, according to the offline condition of each functional device, deleting the configuration data length, the configuration feedback data length, the command data length and the command feedback data length corresponding to the offline functional device from the configuration data length, the configuration feedback data length, the command data length and the command feedback data length of the original configuration packet, and then entering step b.
For example, in an initial state, there are N functional devices, and in the operation process, there are M functional devices offline, where N > M, then the content in the configuration packet has N-M configuration data lengths, N-M configuration feedback data lengths, N-M command data lengths, and N-M command feedback data lengths.
In addition, preferably, in steps a to g, when the control system regenerates the configuration packet, the control system returns to step a to end the previous memory partitioning mode and re-partition the memory.
As shown in fig. 4, a control system for applying the data dynamic partition storage and retrieval method includes a data packet determining module 1, an analysis cache module 2, an information collection feedback module 3, and a partition driving module 4;
the partition driving module 4 is respectively connected with the memory and each functional device;
the information collection feedback module 3 is connected with the partition driving module 4 to obtain the running condition of each functional device to generate a configuration packet or obtain a command packet for issuing control functional devices to run or execute the step e;
the data packet judging module 1 is connected with the information collecting feedback module 3 to execute the step a or the step c and judge whether the obtained data packet is a configuration packet or a command packet;
the analysis cache module 2 is respectively connected with the data packet judgment module 1 and the partition driving module 4 so as to execute the analysis of the configuration packet in the step b or the analysis of the command packet in the step d;
the partition driving module 4 performs the memory partition according to the basic data configuration information of the configuration packet in the step b, or performs the memory partition mode before the end in the step d when receiving the command packet, performs the memory partition according to the control configuration information of the configuration packet, and can perform the data storage, retrieval and distribution with each functional device according to the memory partition condition obtained in the step b or the step d in the step g.
The control system can be realized based on an FPGA (field programmable gate array), and is applied to a selective layering system of a power electronic control system, a central master controller issues configuration information and command information layer by layer, and the two types of information share and send data cache and are distributed to different functional devices (subsystems or sub-modules).
In some embodiments, the parsing cache module 2 further includes a register 21, the basic data configuration information includes receiving configuration information and sending configuration information, and the control configuration information includes command configuration information and status configuration information; in step b, the register 21 latches the reception configuration information, the transmission configuration information, the command configuration information, and the status configuration information in the configuration packet after the configuration packet is parsed, and in step d, the command configuration information and the status configuration information can be extracted from the register.
The registers 21 include four registers and each register stores one of receiving configuration information, sending configuration information, command configuration information and status configuration information.
The data packet determining module 1 is configured to extract a packet Type flag Type from a packet header of a received data packet, and determine whether the data packet belongs to a configuration packet or a command packet;
the parsing cache module 2 is configured to parse the size of the data size of each functional device from the configuration packet, that is, the configuration data length CFG _ length, the configuration feedback data length CFG _ FDBK _ length, the command data length CMD _ length, and the command feedback data length CMD _ FDBK _ length in the configuration packet are embodied, where the four lengths may be latched by using a register and are prepared for the memory partition;
the partition driving module 4 can be a partition engine, the memory comprises a sending memory area 51 and a receiving memory area 52 which are independent from each other, wherein the partition driving module and the memory can be integrated, the sending memory area and the receiving memory area are connected with each functional device to realize data transmission, and the two memory areas are automatically and dynamically partitioned according to four kinds of length information analyzed by the analyzing and caching module;
the information collecting and feedback module 3 is used for collecting the online state information of the lower-level functional equipment, if the state of the functional equipment changes, the state of the functional equipment is fed back to the upper-level control center in time, and the storage area is dynamically partitioned again.
The data packet judging module 1 starts to operate when receiving a data packet header, and is in an idle waiting state when no data packet is transmitted on a data line;
when the configuration packet is sent for the first time, the configuration packet is configured on line according to all the functional devices of the lower level, in the dynamic partitioning process, the information collection feedback module collects the actual online information of the functional devices of the lower level, and then readjusts the actual online information, wherein the values of each of CFG _ length (x), CFG _ FDBK _ length (x), CMD _ length (x), and CMD _ FDBK _ length (x) are determined by the command length and the feedback state length required by the functional devices of the lower level, and can also be configured in a dynamically changing manner. The resolution buffer module 2 sequentially resolves the four groups of lengths and provides the four groups of lengths to the partition engine, and latches the four groups of lengths to the four groups of registers.
Taking the configuration data length CFG _ length as an example, N functional devices, where N configuration data lengths are CFG _ length (0) -CFG _ length (N-1), when a received packet is a configuration packet, a memory partition engine partitions a sending memory area using CFG _ length (0) to CFG _ length (N-1) in a length latch register group column, if the length information changes last time, terminating a partition rule, and performing partition adjustment again, so as to achieve the purpose of performing dynamic partitioning according to an actual situation, and similarly, a partition engine partitions a memory area using CFG _ FDBK _ length (0) to CFG _ FDBK _ length (N-1) in the length latch register group column, and if the length information changes last partition rule, terminating the partition adjustment again. After the partition is completed, configuration information which needs to be issued to different lower-level functional devices is filled in corresponding partitions, when a task period arrives, data is retrieved and taken out from the corresponding partition of the sending storage area and issued to the lower-level functional devices through buses, the data uploaded by the lower-level functional devices is uploaded to the corresponding partitions of the receiving storage area through the buses, and the data of the group of data can be judged to be uploaded by which lower-level functional device through the storage positions in the receiving storage area. When the received packet is a configuration packet, the command data length CMD _ length and the command feedback data length CMD _ FDBK _ length are not used, and the two sets of length information are cached as preset values of subsequent dynamic partitions. When the configuration packet is received, that is, the control system completes the first time of the full system configuration, enters a command phase, starts to receive the command packet, and when the command packet is received, the memory partition engine starts to perform dynamic partition adjustment by using the command length information, that is, the sending memory area is re-partitioned by using CMD _ length (0) to CMD _ length (N-1), and the receiving memory area is re-partitioned by using CMD _ FDBK _ length (0) to CMD _ FDBK _ length (N-1), which is a dynamic partition process. In the command packet transmission stage, the configuration packet can interrupt the transmission of the command packet at any time, the partition condition of the storage area is adjusted according to the current working condition of the control system, and the influence content of the working state on the partition condition comprises the offline online condition of the lower-level functional equipment, the command state length condition of the lower-level functional equipment and the like.
The information collection feedback module 3 collects the working condition of the control system in time, counts the offline and online conditions of the subordinate functional equipment, processes the change request of the subordinate functional equipment, informs the health condition of the subordinate functional equipment of the control system in time, and the control system makes a decision whether dynamic partition needs to be carried out on the storage area again through the information and informs the dynamic partition engine of the storage area to make a dynamic partition response in time through the configuration packet.
The design improves the utilization rate of the storage space, can be realized based on systems such as FPGA (field programmable gate array) and the like, is not limited to the conventional storage chip, has strong transportability and clear and controllable work flow, is not only suitable for the power electronic industry, but also can be expanded to other fields, thereby obtaining wide engineering application.
The above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiment, and any technical means that can achieve the object of the present invention by basically the same means is within the scope of the present invention.

Claims (10)

1. A data dynamic partition storage and retrieval method of a control system is characterized in that the control system generates a configuration packet according to the operation condition of each functional device and can issue a command packet for controlling the operation of the functional device, wherein the configuration packet comprises basic data configuration information and control configuration information;
the method comprises the following steps:
a. waiting for receiving the configuration packet, and entering the step b if the configuration packet is received;
b. c, analyzing the configuration packet, dividing the memory into a plurality of basic data storage areas adapted to each functional device according to basic data configuration information in the configuration packet, and entering the step c;
c. waiting for receiving the command packet, if the command packet is received in a preset waiting period, entering the step d, and if the command packet is not received in the preset waiting period, entering the step g;
d. ending the previous memory partition mode, analyzing the command packet, extracting control configuration information in the configuration packet according to the command packet, subdividing the memory into a plurality of control storage areas adapted to each functional device according to the control configuration information, and entering step g;
g. and d, storing, retrieving and distributing data according to the memory partition condition obtained in the step b or the step d.
2. The method of claim 1, further comprising between steps d and g: e. detecting whether the number of the functional equipment is changed, if so, entering a step f, and if not, entering a step g;
f. and c, ending the previous memory partition mode, re-entering the step a to receive a new configuration packet, or entering the step b after generating data of the new configuration packet on the basis of the original configuration packet.
3. The method of claim 2, wherein the method further comprises: the basic data configuration information comprises receiving configuration information and sending configuration information, and the control configuration information comprises command configuration information and state configuration information; in step b, dividing the memory into a plurality of receiving data storage areas adapted to each functional device and a plurality of sending data storage areas adapted to each functional device according to the receiving configuration information and the sending configuration information in the configuration packet; in step d, the memory is subdivided into a plurality of command memory areas adapted to each functional device and a plurality of status memory areas adapted to each functional device according to the command configuration information and the status configuration information.
4. The method of claim 3, wherein the method further comprises: in step b, after the configuration packet is analyzed, the receiving configuration information, the sending configuration information, the command configuration information and the state configuration information in the configuration packet are latched into the register, and in step d, after the command packet is received, the command configuration information and the state configuration information are extracted from the register.
5. The method of claim 3, wherein the method further comprises: the sending configuration information comprises configuration data lengths corresponding to the quantity of each functional device one by one; the receiving configuration information comprises configuration feedback data lengths corresponding to the quantity of each functional device one by one; the command configuration information comprises command data lengths corresponding to the number of the functional devices one by one; the state configuration information includes command feedback data lengths corresponding to the number of the functional devices one to one.
6. The method of claim 5, wherein the method further comprises: in step e, when a functional device is offline, in step f, according to the offline condition of each functional device, deleting the configuration data length, the configuration feedback data length, the command data length and the command feedback data length corresponding to the offline functional device from the configuration data length, the configuration feedback data length, the command data length and the command feedback data length of the original configuration packet, and then entering step b.
7. The method of claim 2, wherein the method further comprises: in all steps, if the control system regenerates the configuration package, the step a is returned.
8. A control system applying the data dynamic partition storage and retrieval method of claim 1, comprising a data packet determination module, an analysis cache module, an information collection feedback module and a partition driving module;
the partition driving module is respectively connected with the memory and each functional device;
the information collection feedback module is connected with the partition driving module to acquire the running condition of each functional device to generate a configuration packet or acquire a command packet for issuing and controlling the running of the functional device;
the data packet judging module is connected with the information collecting feedback module to execute the step a or the step c and judge whether the obtained data packet is a configuration packet or a command packet;
the analysis cache module is respectively connected with the data packet judgment module and the partition driving module so as to execute the analysis of the configuration packet in the step b or the analysis of the command packet in the step d;
and c, the partition driving module executes the memory partition according to the basic data configuration information of the configuration packet in the step b, or executes the memory partition mode before finishing in the step d under the condition of receiving the command packet, partitions the memory according to the control configuration information of the configuration packet, and can execute the data storage, retrieval and distribution with each functional device according to the memory partition condition obtained in the step b or the step d in the step g.
9. A control system according to claim 8, characterized in that: the analysis cache module also comprises a register, the basic data configuration information comprises receiving configuration information and sending configuration information, and the control configuration information comprises command configuration information and state configuration information; in step b, the register latches the reception configuration information, the transmission configuration information, the command configuration information, and the status configuration information in the configuration packet after the configuration packet is analyzed, and in step d, the command configuration information and the status configuration information can be extracted from the register.
10. A control system according to claim 9, characterized in that: the registers include four registers, and each register stores one of receiving configuration information, sending configuration information, command configuration information and status configuration information.
CN201910233955.4A 2019-03-26 2019-03-26 Control system and data dynamic partition storage and retrieval method thereof Active CN110058815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910233955.4A CN110058815B (en) 2019-03-26 2019-03-26 Control system and data dynamic partition storage and retrieval method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910233955.4A CN110058815B (en) 2019-03-26 2019-03-26 Control system and data dynamic partition storage and retrieval method thereof

Publications (2)

Publication Number Publication Date
CN110058815A CN110058815A (en) 2019-07-26
CN110058815B true CN110058815B (en) 2022-04-22

Family

ID=67316346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910233955.4A Active CN110058815B (en) 2019-03-26 2019-03-26 Control system and data dynamic partition storage and retrieval method thereof

Country Status (1)

Country Link
CN (1) CN110058815B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110535847B (en) * 2019-08-23 2021-08-31 极芯通讯技术(南京)有限公司 Network processor and stack processing method of network data

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567362A (en) * 2003-06-10 2005-01-19 大唐微电子技术有限公司 IC smart card with dynamic logic sectorization and access right control function and implementing method thereof
CN1767051A (en) * 2005-09-23 2006-05-03 北京中星微电子有限公司 Programmable storing apparatus and method
CN1767050A (en) * 2005-09-23 2006-05-03 北京中星微电子有限公司 Programmable storing apparatus and method
CN1889189A (en) * 2006-07-25 2007-01-03 骆建军 Partition-supporting flash storing memory device
CN1957336A (en) * 2004-06-15 2007-05-02 索尼株式会社 Information management device and information management method
CN101515254A (en) * 2008-02-18 2009-08-26 鸿富锦精密工业(深圳)有限公司 System and method for managing storage space
CN103376772A (en) * 2012-04-27 2013-10-30 沈阳高精数控技术有限公司 Method for monitoring performance of embedded type numerical control system
CN104021022A (en) * 2014-06-23 2014-09-03 联想(北京)有限公司 Partition adjusting method and electronic equipment
CN104536820A (en) * 2014-12-29 2015-04-22 宇龙计算机通信科技(深圳)有限公司 Method and device for operating multiple systems and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567362A (en) * 2003-06-10 2005-01-19 大唐微电子技术有限公司 IC smart card with dynamic logic sectorization and access right control function and implementing method thereof
CN1957336A (en) * 2004-06-15 2007-05-02 索尼株式会社 Information management device and information management method
CN1767051A (en) * 2005-09-23 2006-05-03 北京中星微电子有限公司 Programmable storing apparatus and method
CN1767050A (en) * 2005-09-23 2006-05-03 北京中星微电子有限公司 Programmable storing apparatus and method
CN1889189A (en) * 2006-07-25 2007-01-03 骆建军 Partition-supporting flash storing memory device
CN101515254A (en) * 2008-02-18 2009-08-26 鸿富锦精密工业(深圳)有限公司 System and method for managing storage space
CN103376772A (en) * 2012-04-27 2013-10-30 沈阳高精数控技术有限公司 Method for monitoring performance of embedded type numerical control system
CN104021022A (en) * 2014-06-23 2014-09-03 联想(北京)有限公司 Partition adjusting method and electronic equipment
CN104536820A (en) * 2014-12-29 2015-04-22 宇龙计算机通信科技(深圳)有限公司 Method and device for operating multiple systems and terminal

Also Published As

Publication number Publication date
CN110058815A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
US10713202B2 (en) Quality of service (QOS)-aware input/output (IO) management for peripheral component interconnect express (PCIE) storage system with reconfigurable multi-ports
US20140379722A1 (en) System and method to maximize server resource utilization and performance of metadata operations
CN109388590B (en) Dynamic cache block management method and device for improving multichannel DMA (direct memory access) access performance
CN111966289A (en) Partition optimization method and system based on Kafka cluster
CN103927305B (en) It is a kind of that the method and apparatus being controlled is overflowed to internal memory
CN103176849A (en) Virtual machine clustering deployment method based on resource classification
CN110058815B (en) Control system and data dynamic partition storage and retrieval method thereof
AU2022204335A1 (en) Data communication method, communication system and computer-readable storage medium
CN104765701A (en) Data access method and device
US10803018B2 (en) Compressed data rearrangement to optimize file compression
CN117076216A (en) Channel allocation method and device
CN114466227B (en) Video analysis method and device, electronic equipment and storage medium
CN106909624B (en) Real-time sequencing optimization method for mass data
CN116910568B (en) Training method and device of graph neural network model, storage medium and electronic device
CN113268530A (en) Mass heterogeneous data acquisition method and system, computer equipment and storage medium
CN106681948A (en) Logic control method and device of programmable logic device
CN106059927A (en) Router device enabling star configured limited cascade automatic reconstruction network and network thereof
CN109165729A (en) The dispatching method and system of neural network
CN104281587B (en) A kind of method and device for establishing connection
CN101453416A (en) Service node, network for packet pre-fetching of remote program installation
CN111027689B (en) Configuration method, device and computing system
CN114490458B (en) Data transmission method, chip, server and storage medium
KR20150121108A (en) Method, processing modules and system for executing an executable code
WO2022116544A1 (en) Method for user to export short video draft queue online
CN113312394A (en) Method and device for constructing data acquisition system

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