CN114528243A - Information interaction method and device suitable for modules in power chip - Google Patents
Information interaction method and device suitable for modules in power chip Download PDFInfo
- Publication number
- CN114528243A CN114528243A CN202210135582.9A CN202210135582A CN114528243A CN 114528243 A CN114528243 A CN 114528243A CN 202210135582 A CN202210135582 A CN 202210135582A CN 114528243 A CN114528243 A CN 114528243A
- Authority
- CN
- China
- Prior art keywords
- data
- power chip
- target
- storage
- classification
- 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.)
- Granted
Links
- 230000003993 interaction Effects 0.000 title claims abstract description 56
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000005192 partition Methods 0.000 claims abstract description 49
- 230000005540 biological transmission Effects 0.000 claims abstract description 34
- 230000002452 interceptive effect Effects 0.000 claims description 77
- 238000007781 pre-processing Methods 0.000 claims description 20
- 238000012544 monitoring process Methods 0.000 claims description 12
- 230000003044 adaptive effect Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 5
- 238000013500 data storage Methods 0.000 abstract description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/215—Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24552—Database cache management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- Computer Hardware Design (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Quality & Reliability (AREA)
- Public Health (AREA)
- Computational Linguistics (AREA)
- Power Sources (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application discloses a method and a device for information interaction between modules in a power chip, wherein the method comprises the following steps: determining various target interaction data transmitted by a transmission module in the power chip; when the total data volume of each item of target interaction data is determined to be larger than the maximum unit of the data stored in the temporary cache region, classifying each item of target interaction data to obtain a plurality of classified data sets corresponding to different classifications; dividing a plurality of storage partitions with the number suitable for the classification from a preset database, and respectively storing the obtained classification data sets into corresponding storage partitions; when a data acquisition instruction transmitted by a receiving module in the power chip is received, feeding back the data read from the corresponding target storage partition to the receiving module according to the data classification and the data identification mark indicated by the data acquisition instruction. The implementation of the method can improve the data storage efficiency and avoid data loss.
Description
Technical Field
The invention belongs to the technical field of information communication, and particularly relates to an information interaction method and device suitable for modules in a power chip.
Background
The power chip is a core element for realizing power conversion and power control in a power grid, and the performance of the power chip directly determines the operation efficiency of the whole power grid system. At present, in order to ensure safe and stable operation of the power system and the smart energy, a related method has been proposed, for example, by configuring a temporary buffer space between the modules in the chip, and performing temporary buffering, sorting and other processing on the transmission data in the temporary buffer space, so that the transmission data can be sequentially processed by the adjacent inner modules, thereby preventing the adjacent inner modules from processing a large amount of data at a time, and thus improving the data transmission efficiency between the modules in the chip. However, when the data transmission amount is large and the temporary buffer capacity is limited, the data storage efficiency is reduced and the data is lost.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: provides an information interaction method and device suitable for modules in a power chip, which aims to solve the technical problems of the prior technical proposal, such as data storage efficiency reduction, data loss and the like when the data transmission quantity is large and the temporary cache capacity is limited,
the technical scheme of the invention is as follows:
an information interaction method suitable for modules in a power chip comprises the following steps:
determining various target interaction data transmitted by a transmission module in the power chip;
when the total data volume of the target interactive data is determined to be larger than the maximum unit of the data stored in the temporary cache region, carrying out classification processing on the target interactive data to obtain classification data sets corresponding to different classifications;
dividing storage partitions which are adaptive to the classification quantity from a preset database, and respectively storing the obtained classification data sets into corresponding storage partitions;
when a data acquisition instruction transmitted by a receiving module in the power chip is received, feeding back the data read from the corresponding target storage partition to the receiving module according to the data classification and the data identification mark indicated by the data acquisition instruction.
The determining of the target interaction data transmitted via the power on-chip transmission module includes:
acquiring various initial interactive data transmitted by a transmission module in the power chip;
traversing key fields included in each item of initial interactive data, and preprocessing each item of initial interactive data based on each key field obtained by traversal; preprocessing comprises merging each item of interactive data with similar key fields, and removing at least one of invalid items and redundant items from each item of initial interactive data;
and determining each target interactive data required to be transmitted to a receiving module in the power chip based on the corresponding obtained preprocessing result.
The storing each obtained classification data set into a corresponding storage partition respectively includes:
temporarily storing each obtained classified data set into a message queue, and sequentially performing dequeuing operation on each classified data set stored in the message queue through a polling service; wherein:
in the single polling service, the listed classification data sets are stored in corresponding storage partitions in a preset database.
An information interaction method suitable for modules in a power chip is provided, and the method further comprises the following steps:
when the data capacity of the target interactive data is determined to be smaller than or equal to the maximum unit of the data stored in the preset temporary cache region, determining the storage sequence of each item of target interactive data; the determining rule of the storage sequence comprises at least one of determining a storage rule according to the data loss easiness degree, determining a storage rule according to the data importance degree and determining a storage rule according to the data validity time limit;
sequentially storing each item of target interaction data into a temporary cache region according to the storage sequence;
and when a data acquisition instruction transmitted by a receiving module in the power chip is received, feeding back the data read from the temporary cache area to the receiving module according to the data identification mark indicated by the data acquisition instruction.
The method further comprises the following steps:
when the required interactive data cannot be read from the corresponding storage partition or the temporary cache area according to the received data acquisition instruction, the request acquisition of the target interactive data is carried out to the transmission module again;
and after the target interactive data acquired again is stored and backed up, the target interactive data is fed back to the receiving module.
The method further comprises the following steps:
monitoring the operating environment of the power chip in real time;
based on the obtained monitoring result, when the power chip is determined to be in at least one operating environment of high temperature, high voltage and frequent power failure environment, automatically backing up each item of target interaction data;
and when determining that the backup of the interactive data of each target is successful, suspending the transmission of the information flow and triggering the power chip to send out warning information.
The device comprises a data acquisition module, a data classification module, a partition division module and a first data feedback module, wherein:
the data acquisition module is used for determining various target interaction data transmitted by the transmission module in the power chip;
the data classification module is used for classifying each item of target interactive data when the total data volume of each item of target interactive data is determined to be larger than the maximum unit of the data stored in the temporary cache region, so as to obtain classification data sets corresponding to different classifications;
the partition dividing module is used for dividing a plurality of storage partitions which are adaptive to the classification quantity from a preset database, and storing the obtained classification data sets into corresponding storage partitions respectively;
the first data feedback module is used for feeding back the data read from the corresponding target storage partition to the receiving module according to the data classification and the data identification indicated by the data acquisition instruction when the data acquisition instruction transmitted by the receiving module in the power chip is received.
The data acquisition module is also used for acquiring various initial interactive data transmitted by the transmission module in the power chip; traversing key fields included in each item of initial interaction data, and preprocessing each item of initial interaction data based on each key field obtained by traversing; the preprocessing comprises the steps of merging various interactive data with similar key fields, and removing at least one of invalid items and redundant items from various initial interactive data; and determining various target interactive data required to be transmitted to a receiving module in the power chip based on the corresponding obtained preprocessing result.
The apparatus further comprises a second data feedback module, wherein:
the second data feedback module is used for determining the storage sequence of each item of target interactive data when the data capacity of each item of target interactive data is determined to be smaller than or equal to the maximum unit of the data stored in the preset temporary cache region; the determining rule of the storage sequence comprises at least one of determining a storage rule according to the data loss easiness degree, determining a storage rule according to the data importance degree and determining a storage rule according to the data validity time limit; sequentially storing each item of target interaction data into a temporary cache region according to the storage sequence; and when a data acquisition instruction transmitted by a receiving module in the power chip is received, feeding back the data read from the temporary cache area to the receiving module according to the data identification mark indicated by the data acquisition instruction.
The invention has the beneficial effects that:
according to the method and the device for information interaction between the modules in the power chip, under the conditions that the data transmission quantity is large and the temporary cache capacity is limited, the data are classified and the data are stored in the partition mode through the preset database, so that when the data are inquired, all storage partitions do not need to be scanned, the data retrieval efficiency can be effectively improved, and the inquiry performance is improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a flow chart of a method for information interaction between modules within a power chip according to an embodiment of the present invention;
fig. 2 is a system configuration diagram of an information interaction device between modules in a power chip according to an embodiment of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
In one or more embodiments of the present invention, as shown in fig. 1, there is provided a method for information interaction between modules in a power chip, including the following steps:
step S100, determining a plurality of items of target interaction data transmitted by the power chip internal transmission module.
Specifically, the determining the multiple items of target interaction data transmitted through the transmission module in the power chip includes: acquiring a plurality of items of initial interaction data transmitted by a transmission module in the power chip; traversing key fields included in each item of initial interactive data, and preprocessing the plurality of items of initial interactive data based on each key field obtained by traversal; the preprocessing comprises the steps of merging various interactive data with similar key fields, and removing at least one of invalid items and redundant items from the initial interactive data; and determining a plurality of items of target interaction data required to be transmitted to a receiving module in the power chip based on the corresponding obtained preprocessing result.
In one embodiment, for each item of acquired initial interaction data, extracting a key field from the initial interaction data, for example, for data representing power, the key field that can be extracted includes a power value and data generation time. Then, in the process of traversing the key fields, the extracted key fields can be compared to confirm whether the interactive data of similar key fields exist. It is also possible to screen out missing key fields during the preprocessing process when it is determined that there is a missing key field, for example, there is a lack of specific power values and specific data generation time. Of course, in addition to the foregoing preprocessing method, the integrity and accuracy of the target interaction data may also be ensured by missing field padding, and the like, which is not limited in the embodiment of the present application.
Step S101, when the total data quantity of the multiple items of target interactive data is determined to be larger than the maximum unit of data stored in the temporary cache region, classifying the multiple items of target interactive data to obtain multiple classified data sets corresponding to different classifications.
Specifically, when it is determined that the total data amount of the multiple items of target interaction data is greater than the maximum unit of the data stored in the temporary cache region, it is determined that the storage space of the current temporary cache region guarantees complete storage of the multiple items of target interaction data, and if forced storage is performed, data loss is inevitably caused. Therefore, in the current embodiment, for the above case, the acquired multiple items of target interaction data will be classified and stored by using an additional large-capacity database. When the target interactive data are classified, for example, a plurality of first data representing power values are divided into corresponding first classified data sets, a plurality of second data representing current values are divided into corresponding second classified data sets, and then the data classification of the target interactive data can be realized through a classification aggregation mode and the like.
And S102, dividing a plurality of storage partitions which are adaptive to the classification quantity from a preset database, and storing the obtained classification data sets into corresponding storage partitions respectively.
Specifically, the storing each obtained classification data set into a corresponding storage partition respectively includes: temporarily storing each obtained classified data set into a message queue, and sequentially performing dequeuing operation on each classified data set stored in the message queue through a polling service; wherein: in the single polling service, the listed classification data sets are stored in corresponding storage partitions in a preset database.
In one embodiment, a plurality of memory partitions with the same or different classification quantity are divided from the preset database according to the classification condition of the previous step. And then, respectively endowing the stored target interactive data with corresponding index numbers in each storage partition so as to facilitate subsequent data calling. Or data storage is performed in each storage partition in a form of key value pairs, in an embodiment, a data identification identifier of the target interaction data may be used as a key, and specific data is used as a value, which is not limited in this embodiment of the present application.
Step S103, when a data acquisition instruction transmitted by a receiving module in the power chip is received, feeding back the data read from the corresponding target storage partition to the receiving module according to the data classification and the data identification mark indicated by the data acquisition instruction.
Specifically, when a data acquisition instruction is received, the data acquisition instruction is firstly analyzed to determine the data classification and the data identification identifier indicated by the data acquisition instruction, then, a corresponding target storage partition is found according to the indicated data classification, then, an index condition is built based on the indicated data identification identifier, and corresponding data is read from the target storage partition based on the index condition. Finally, when feeding back the read data to the receiving module in the power chip, the data can be fed back through the data transmission interface which is constructed in advance, and in one embodiment, the data can also be fed back based on a communication protocol which is commonly achieved with the receiving module in the power chip and based on the communication protocol.
According to the information interaction method applicable to the modules in the power chip, under the conditions that the data transmission quantity is large and the temporary cache capacity is limited, the data are classified and the preset database is used for partition storage, so that when the data are inquired, all storage partitions do not need to be scanned, the data retrieval efficiency can be effectively improved, and the inquiry performance is improved.
In one or more embodiments of the invention, the method further comprises:
step S104, when the data capacity of the multiple items of target interactive data is determined to be smaller than or equal to the maximum unit of data stored in a preset temporary buffer area, determining the storage sequence of the multiple items of target interactive data; the determination rule of the storage sequence comprises at least one of determination of a storage rule according to the data loss easiness degree, determination of a storage rule according to the data importance degree and determination of a storage rule according to the data validity time limit.
And step S105, sequentially storing each item of target interaction data into a temporary buffer area according to the storage sequence.
And step S106, when a data acquisition instruction transmitted by a receiving module in the power chip is received, feeding back the data read from the temporary cache area to the receiving module according to the data identification mark indicated by the data acquisition instruction.
In particular, since the foregoing description has been made on how to perform data reading and how to perform data feedback, the present embodiment will not be described more than necessary.
In one or more embodiments of the invention, the method further comprises: when the required interactive data cannot be read from the corresponding storage partition or the temporary cache area according to the received data acquisition instruction, re-requesting acquisition of the target interactive data to the transmission module; and after the target interactive data acquired again is stored and backed up, the target interactive data is fed back to the receiving module.
Specifically, when the required interactive data cannot be read from the corresponding storage partition or the temporary cache area according to the received data acquisition instruction, it may be considered that data is deleted by mistake or storage fails but is not noticed in time when the data is currently stored or preprocessed. Therefore, in the present embodiment, a data request is made to the power on-chip transmission module again, or, in the case where the received data has been previously automatically backed up for storage, a search for missing data is made from the backup storage area. And then feeding back the target interaction data acquired again to the receiving module.
In one embodiment, the power chip may be triggered to prompt the warning message when the data is confirmed to be lost, for example, the LED panel may be triggered to flash light when the LED panel is built in the power chip. For another example, in the case where the power chip incorporates a display screen, the display screen is triggered to display warning information. In one embodiment, for the case of data loss, a self-check may be performed on the internal operation state of the power chip to determine whether the data loss is caused by abnormal power failure or unstable operation of the power chip.
In one or more embodiments of the invention, the method further comprises: monitoring the operating environment of the power chip in real time; based on the obtained monitoring result, when the power chip is determined to be in at least one operating environment of high temperature, high voltage and frequent power failure environment, automatically backing up the multiple items of target interaction data; and when the multiple items of target interactive data are determined to be successfully backed up, suspending the transmission of the information flow and triggering the power chip to send out warning information.
Specifically, the operating environment in which the power chip is located can be monitored in real time through a temperature sensor or a pressure sensor. And then, comparing the real-time temperature value and the real-time pressure value monitored by the temperature sensor and the pressure sensor with a preset environment temperature threshold value and a preset pressure threshold value, and judging whether the power chip is in a high-temperature, high-voltage and frequent power-off environment or not based on the obtained comparison result. When the power chip is determined to be in an abnormal operation environment, in order to avoid subsequent data loss, automatic backup can be performed while target interactive data is acquired or is about to be transmitted, and the power chip is triggered to send out warning information.
Referring to fig. 2, the present application discloses an information interaction apparatus 200 suitable for use between modules in a power chip, the apparatus 200 includes a data acquisition module 201, a data classification module 202, a partition module 203, and a first data feedback module 204, wherein:
the data acquisition module 201 is configured to determine a plurality of items of target interaction data transmitted via the on-chip power transmission module.
The data classification module 202 is configured to, when it is determined that the total data amount of the multiple items of target interaction data is greater than the maximum unit of the data stored in the temporary cache region, perform classification processing on the multiple items of target interaction data to obtain multiple classification data sets corresponding to different classifications.
The partition dividing module 203 is configured to divide a plurality of storage partitions corresponding to the classification number from a preset database, and store each obtained classification data set into a corresponding storage partition.
The first data feedback module 204 is configured to, when receiving a data acquisition instruction transmitted by a receiving module in a power chip, feed back data read from a corresponding target storage partition to the receiving module according to the data classification and the data identification identifier indicated by the data acquisition instruction.
In one embodiment, the data acquiring module 201 is further configured to acquire a plurality of items of initial interaction data transmitted via the power on-chip transmission module; traversing key fields included in each item of initial interactive data, and preprocessing the plurality of items of initial interactive data based on each key field obtained by traversal; the preprocessing comprises the steps of merging various interactive data with similar key fields, and removing at least one of invalid items and redundant items from the initial interactive data; and determining a plurality of items of target interaction data required to be transmitted to a receiving module in the power chip based on the corresponding obtained preprocessing result.
In one embodiment, the apparatus 200 further comprises a second data feedback module, wherein:
the second data feedback module is used for determining the storage sequence of the multiple items of target interactive data when the data capacity of the multiple items of target interactive data is determined to be smaller than or equal to the maximum unit of the data stored in a preset temporary buffer area; the determining rule of the storage sequence comprises at least one of determining a storage rule according to the data loss easiness degree, determining a storage rule according to the data importance degree and determining a storage rule according to the data validity time limit; sequentially storing each item of target interaction data into a temporary cache region according to the storage sequence; and when a data acquisition instruction transmitted by a receiving module in the power chip is received, feeding back the data read from the temporary cache area to the receiving module according to the data identification mark indicated by the data acquisition instruction.
In one embodiment, the apparatus 200 further comprises a first anomaly monitoring module, wherein:
the first anomaly monitoring module is used for monitoring the operating environment of the power chip in real time; based on the obtained monitoring result, when the power chip is determined to be in at least one operating environment of high temperature, high voltage and frequent power failure environment, automatically backing up the multiple items of target interaction data; and when the multiple items of target interactive data are determined to be successfully backed up, suspending the transmission of the information flow and triggering the power chip to send out warning information.
In one embodiment, the apparatus 200 further comprises a second anomaly monitoring module, wherein:
the second anomaly monitoring module is used for re-requesting and acquiring the target interactive data from the transmission module when the required interactive data cannot be read from the corresponding storage partition or the temporary cache area according to the received data acquisition instruction; and after the target interactive data acquired again is stored and backed up, the target interactive data is fed back to the receiving module.
According to the information interaction device applicable to the modules in the power chip, under the conditions that the data transmission quantity is large and the temporary cache capacity is limited, the data are classified and the data are stored in the partition mode through the preset database, so that when the data are inquired, all storage partitions do not need to be scanned, the data retrieval efficiency can be effectively improved, and the inquiry performance is improved.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent replacements, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (9)
1. An information interaction method suitable for modules in a power chip is characterized by comprising the following steps:
determining various target interaction data transmitted by a transmission module in the power chip;
when the total data volume of the target interactive data is determined to be larger than the maximum unit of the data stored in the temporary cache region, carrying out classification processing on the target interactive data to obtain classification data sets corresponding to different classifications;
dividing storage partitions which are adaptive to the classification quantity from a preset database, and respectively storing the obtained classification data sets into corresponding storage partitions;
when a data acquisition instruction transmitted by a receiving module in the power chip is received, feeding back the data read from the corresponding target storage partition to the receiving module according to the data classification and the data identification mark indicated by the data acquisition instruction.
2. The method of claim 1, wherein the determining the target interaction data transmitted via the transmission module comprises:
acquiring various initial interactive data transmitted by a transmission module in the power chip;
traversing key fields included in each item of initial interactive data, and preprocessing each item of initial interactive data based on each key field obtained by traversal; preprocessing comprises merging each item of interactive data with similar key fields, and removing at least one of invalid items and redundant items from each item of initial interactive data;
and determining each target interactive data required to be transmitted to a receiving module in the power chip based on the corresponding obtained preprocessing result.
3. The method of claim 1, wherein the storing the obtained classification data sets into corresponding memory partitions respectively comprises:
temporarily storing each obtained classified data set into a message queue, and sequentially performing dequeuing operation on each classified data set stored in the message queue through a polling service; wherein:
in the single polling service, the listed classification data sets are stored in corresponding storage partitions in a preset database.
4. The method of claim 1, further comprising:
when the data capacity of the target interactive data is determined to be smaller than or equal to the maximum unit of the data stored in the preset temporary cache region, determining the storage sequence of each item of target interactive data; the determining rule of the storage sequence comprises at least one of determining a storage rule according to the data loss easiness degree, determining a storage rule according to the data importance degree and determining a storage rule according to the data validity time limit;
sequentially storing each item of target interaction data into a temporary cache region according to the storage sequence;
and when a data acquisition command transmitted by a receiving module in the power chip is received, feeding back the data read from the temporary cache area to the receiving module according to the data identification mark indicated by the data acquisition command.
5. The method of claim 4, wherein the method further comprises:
when the required interactive data cannot be read from the corresponding storage partition or the temporary cache area according to the received data acquisition instruction, the request acquisition of the target interactive data is carried out to the transmission module again;
and after the target interactive data acquired again is stored and backed up, the target interactive data is fed back to the receiving module.
6. The method for information interaction between modules in a power chip according to any one of claims 1-5, wherein the method further comprises:
monitoring the operating environment of the power chip in real time;
based on the obtained monitoring result, when the power chip is determined to be in at least one operating environment of high temperature, high voltage and frequent power failure environment, automatically backing up each item of target interaction data;
and when determining that the backup of the interactive data of each target is successful, suspending the transmission of the information flow and triggering the power chip to send out warning information.
7. An information interaction device suitable for modules in a power chip is characterized by comprising a data acquisition module, a data classification module, a partition module and a first data feedback module, wherein:
the data acquisition module is used for determining various target interaction data transmitted by the transmission module in the power chip;
the data classification module is used for classifying each item of target interactive data when the total data volume of each item of target interactive data is determined to be larger than the maximum unit of the data stored in the temporary cache region, so as to obtain classification data sets corresponding to different classifications;
the partition dividing module is used for dividing a plurality of storage partitions which are adaptive to the classification quantity from a preset database, and storing the obtained classification data sets into corresponding storage partitions respectively;
the first data feedback module is used for feeding back the data read from the corresponding target storage partition to the receiving module according to the data classification and the data identification indicated by the data acquisition instruction when the data acquisition instruction transmitted by the receiving module in the power chip is received.
8. The device of claim 7, wherein the data obtaining module is further configured to obtain initial interaction data transmitted via the power on-chip transmission module; traversing key fields included in each item of initial interactive data, and preprocessing each item of initial interactive data based on each key field obtained by traversal; the preprocessing comprises the steps of merging various interactive data with similar key fields, and removing at least one of invalid items and redundant items from various initial interactive data; and determining various target interactive data required to be transmitted to a receiving module in the power chip based on the corresponding obtained preprocessing result.
9. The device of claim 7, further comprising a second data feedback module, wherein:
the second data feedback module is used for determining the storage sequence of each item of target interactive data when the data capacity of each item of target interactive data is determined to be smaller than or equal to the maximum unit of the data stored in the preset temporary cache region; the determining rule of the storage sequence comprises at least one of determining a storage rule according to the data loss easiness degree, determining a storage rule according to the data importance degree and determining a storage rule according to the data validity time limit; sequentially storing each item of target interaction data into a temporary cache region according to the storage sequence; and when a data acquisition command transmitted by a receiving module in the power chip is received, feeding back the data read from the temporary cache area to the receiving module according to the data identification mark indicated by the data acquisition command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210135582.9A CN114528243B (en) | 2022-02-14 | 2022-02-14 | Information interaction method and device suitable for modules in power chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210135582.9A CN114528243B (en) | 2022-02-14 | 2022-02-14 | Information interaction method and device suitable for modules in power chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114528243A true CN114528243A (en) | 2022-05-24 |
CN114528243B CN114528243B (en) | 2024-07-26 |
Family
ID=81622541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210135582.9A Active CN114528243B (en) | 2022-02-14 | 2022-02-14 | Information interaction method and device suitable for modules in power chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114528243B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150254182A1 (en) * | 2014-03-07 | 2015-09-10 | Cavium, Inc. | Multi-core network processor interconnect with multi-node connection |
CN106104501A (en) * | 2014-03-07 | 2016-11-09 | 凯为公司 | Method and apparatus for the memory distribution in multi-node system |
CN109240946A (en) * | 2018-09-06 | 2019-01-18 | 平安科技(深圳)有限公司 | The multi-level buffer method and terminal device of data |
CN109284235A (en) * | 2017-07-21 | 2019-01-29 | 台湾积体电路制造股份有限公司 | Hybrid cache memory and for reducing the method wherein postponed |
CN110109953A (en) * | 2018-01-19 | 2019-08-09 | 阿里巴巴集团控股有限公司 | A kind of data query method, device and equipment |
CN110692044A (en) * | 2017-06-30 | 2020-01-14 | 英特尔公司 | Techniques for data management in a vehicle-based computing platform |
CN111897819A (en) * | 2020-07-31 | 2020-11-06 | 平安普惠企业管理有限公司 | Data storage method and device, electronic equipment and storage medium |
CN113067989A (en) * | 2021-06-01 | 2021-07-02 | 神威超算(北京)科技有限公司 | Data processing method and chip |
-
2022
- 2022-02-14 CN CN202210135582.9A patent/CN114528243B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150254182A1 (en) * | 2014-03-07 | 2015-09-10 | Cavium, Inc. | Multi-core network processor interconnect with multi-node connection |
CN106104501A (en) * | 2014-03-07 | 2016-11-09 | 凯为公司 | Method and apparatus for the memory distribution in multi-node system |
CN110692044A (en) * | 2017-06-30 | 2020-01-14 | 英特尔公司 | Techniques for data management in a vehicle-based computing platform |
CN109284235A (en) * | 2017-07-21 | 2019-01-29 | 台湾积体电路制造股份有限公司 | Hybrid cache memory and for reducing the method wherein postponed |
CN110109953A (en) * | 2018-01-19 | 2019-08-09 | 阿里巴巴集团控股有限公司 | A kind of data query method, device and equipment |
CN109240946A (en) * | 2018-09-06 | 2019-01-18 | 平安科技(深圳)有限公司 | The multi-level buffer method and terminal device of data |
CN111897819A (en) * | 2020-07-31 | 2020-11-06 | 平安普惠企业管理有限公司 | Data storage method and device, electronic equipment and storage medium |
CN113067989A (en) * | 2021-06-01 | 2021-07-02 | 神威超算(北京)科技有限公司 | Data processing method and chip |
Non-Patent Citations (3)
Title |
---|
SPARSH MITTAL 等: "A Survey Of Architectural Approaches for Data Compression in Cache and Main Memory Systems", 《IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS》, vol. 27, no. 5, 1 May 2016 (2016-05-01), pages 1524 - 1536, XP011605786, DOI: 10.1109/TPDS.2015.2435788 * |
张鸿骏 等: "一种适应 GPU 的混合访问缓存索引框架", 《软件学报》, vol. 31, no. 10, 31 October 2020 (2020-10-31), pages 3038 - 3055 * |
沈凡凡: "面向片上缓存子系统的功耗优化方法研究", 《中国博士学位论文全文数据库 信息科技辑》, 15 June 2020 (2020-06-15), pages 137 - 7 * |
Also Published As
Publication number | Publication date |
---|---|
CN114528243B (en) | 2024-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110661659A (en) | Alarm method, device and system and electronic equipment | |
CN109669844B (en) | Equipment fault processing method, device, equipment and storage medium | |
CN104584524B (en) | It polymerize the data in intermediary system | |
CN111061752B (en) | Data processing method and device and electronic equipment | |
CN107608860A (en) | A kind of method, apparatus, the equipment of error log classification storage | |
CN114943287B (en) | System, method, equipment and medium for collecting and processing big data of computer | |
CN101944119A (en) | Real-time event management method for intelligent electronic equipment | |
CN109992476A (en) | A kind of analysis method of log, server and storage medium | |
CN111625342B (en) | Data tracing method, device and server | |
CN114218318B (en) | Data processing system and method for electric power big data | |
CN117112039B (en) | Transmission optimization system and operation method of data center | |
EP4174675A1 (en) | On-board data storage method and system | |
CN110838940B (en) | Underground cable inspection task configuration method and device | |
CN114528243A (en) | Information interaction method and device suitable for modules in power chip | |
CN113472881B (en) | Statistical method and device for online terminal equipment | |
CN109767546B (en) | Quality checking and scheduling device and quality checking and scheduling method for valuable bills | |
CN112231279B (en) | Log management system | |
CN115705259A (en) | Fault processing method, related device and storage medium | |
CN108023880B (en) | Data packet processing method and device and server | |
CN111625517A (en) | New energy real-time data processing method and device based on change storage | |
CN104199930A (en) | System and method for acquiring and processing data | |
CN116821798B (en) | Fault early warning server, method and computer storage medium | |
CN111767299A (en) | Database operation method, device and system, storage medium and electronic equipment | |
CN104572643A (en) | Search method and search engine | |
CN103117882A (en) | Method and system for processing alarms of an access network |
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 |