CN110659279A - Parameter display method and device and computer-readable storage medium - Google Patents

Parameter display method and device and computer-readable storage medium Download PDF

Info

Publication number
CN110659279A
CN110659279A CN201810689412.9A CN201810689412A CN110659279A CN 110659279 A CN110659279 A CN 110659279A CN 201810689412 A CN201810689412 A CN 201810689412A CN 110659279 A CN110659279 A CN 110659279A
Authority
CN
China
Prior art keywords
parameter
command
list
cache list
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.)
Pending
Application number
CN201810689412.9A
Other languages
Chinese (zh)
Inventor
李峰
刘利
杨志千
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Goldwind Science and Creation Windpower Equipment Co Ltd
Original Assignee
Beijing Goldwind Science and Creation Windpower Equipment 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 Beijing Goldwind Science and Creation Windpower Equipment Co Ltd filed Critical Beijing Goldwind Science and Creation Windpower Equipment Co Ltd
Priority to CN201810689412.9A priority Critical patent/CN110659279A/en
Publication of CN110659279A publication Critical patent/CN110659279A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Digital Computer Display Output (AREA)

Abstract

The invention discloses a parameter display method and device and a computer readable storage medium. The method comprises the steps of obtaining a parameter ID in at least one parameter list to be displayed; sequentially adding the parameter IDs into the command packet of the command cache list, wherein the parameter IDs in the command cache list are not repeated; sequentially issuing the command packets in the command cache list to the monitored equipment; updating parameter data in a reply packet of the monitored equipment into a data cache list, wherein the reply packet comprises a parameter ID and corresponding parameter data; and indexing the parameter data from the data cache list and displaying the parameter data according to the parameter ID in the parameter list to be displayed. By adopting the technical scheme in the embodiment of the invention, the phenomenon of communication data redundancy can be avoided, and the operation efficiency of the system in the parameter display process is improved.

Description

Parameter display method and device and computer-readable storage medium
Technical Field
The invention relates to the technical field of wind power generation, in particular to a parameter display method and device and a computer readable storage medium.
Background
The wind power plant is provided with a central monitoring system, the wind generating sets and the sensors thereof can be used as monitored equipment at the moment, and the central monitoring system can acquire and display the operation parameter data of the wind generating sets in real time through data interaction with the monitored equipment. In a central monitoring system, parameter data is generally managed uniformly by using a parameter list, such as displaying and modifying parameters.
In the prior art, if parameter data needs to be displayed, a central monitoring system needs to summarize all parameter IDs in a parameter list into a command packet and send the command packet to a monitored device; after receiving the command packet, the monitored equipment uploads a reply packet containing parameter data to the central monitoring system; and after receiving the reply packet, the central monitoring system needs to compare the parameter ID in the current parameter list with the parameter data in the reply packet in sequence, and if the parameter ID is completely the same as the parameter data in the reply packet, the central monitoring system indicates that the reply packet is matched with the current parameter list and updates and displays the parameter data in the current parameter list.
However, the inventor of the present application finds that, a central monitoring system usually needs to display a plurality of data lists at the same time, and if the same parameter data is displayed on a plurality of pages, a parameter display method in the prior art needs to send a command packet to each parameter list referring to a parameter independently, which may cause redundancy of communication data, and the redundancy severity may increase with the increase of the number of parameter lists referring to the same parameter, which may cause a decrease in the operating efficiency of the system in the parameter display process.
Disclosure of Invention
The embodiment of the invention provides a parameter display method and device and a computer readable storage medium, which can avoid the phenomenon of communication data redundancy and improve the operation efficiency of a system in the parameter display process.
In a first aspect, an embodiment of the present invention provides a parameter display method, where the method includes:
acquiring a parameter ID in at least one parameter list to be displayed;
sequentially adding the parameter IDs into the command packet of the command cache list, wherein the parameter IDs in the command cache list are not repeated;
sequentially issuing the command packets in the command cache list to the monitored equipment;
updating parameter data in a reply packet of the monitored equipment into a data cache list, wherein the reply packet comprises a parameter ID and corresponding parameter data;
and sequentially indexing the parameter data from the data cache list and displaying the parameter data by using the parameter ID in the parameter list to be displayed.
In a possible implementation manner of the first aspect, sequentially adding the parameter IDs to the command packets of the command cache list includes: judging whether the parameter ID exists in a command cache list or not; if the parameter ID exists in the command cache list, adding operation is not carried out on the parameter ID; if the parameter ID does not exist in the command cache list, the parameter ID is added to the command packet of the command cache list.
In a possible implementation manner of the first aspect, the command cache list includes a plurality of cache units, and each cache unit corresponds to a command packet of a parameter type; adding the parameter IDs into the command packet of the command cache list in sequence, wherein the steps comprise: judging whether a command packet with the same type as the parameter ID exists in the command cache list or not; if the command cache list has the command packet with the same type as the parameter ID, adding the parameter ID into the command packet with the type; and if the command cache list does not have a command packet with the same type as the parameter ID, adding an empty command packet in the command cache list, and adding the parameter ID into the empty command packet.
In a possible implementation manner of the first aspect, after indexing the parameter data from the data cache list and displaying the parameter data according to the parameter ID in the parameter list to be displayed, the method further includes: and if the parameter list to be displayed has finished the display operation, deleting the information related to the parameter list which finishes the display in the command cache list and the data cache list.
In a possible implementation manner of the first aspect, the data cache list stores data in a dictionary storage manner and/or a discrete storage manner.
In a second aspect, an embodiment of the present invention provides a parameter display apparatus, including:
the acquisition module is used for acquiring a parameter ID in at least one parameter list to be displayed;
the adding module is used for sequentially adding the parameter IDs into the command packets of the command cache list, and the parameter IDs in the command cache list are not repeated;
the command packet issuing module is used for issuing the command packets in the command cache list to the monitored equipment in sequence;
the data updating module is used for updating the parameter data in a reply packet of the monitored equipment into a data cache list, wherein the reply packet comprises a parameter ID and corresponding parameter data;
and the index display module is used for indexing the parameter data from the data cache list and displaying the parameter data according to the parameter ID in the parameter list to be displayed.
In a possible implementation manner of the second aspect, the command cache list includes a plurality of cache units, and each cache unit corresponds to a command packet of one parameter type; the adding module comprises: the judging unit is used for judging whether a command packet with the same type as the parameter ID exists in the command cache list or not; the first adding unit is used for adding the parameter ID into the command packet of the type if the command packet of the type same as the parameter ID exists in the command cache list; and the second adding unit is used for adding an empty command packet in the command cache list and adding the parameter ID into the empty command packet if the command packet with the same type as the parameter ID does not exist in the command cache list.
In one possible embodiment of the second aspect, the apparatus further comprises: and the deleting module is used for deleting the information related to the parameter list finishing the display in the command cache list and the data cache list if the parameter list to be displayed finishes the display operation.
In one possible embodiment of the second aspect, the device is provided in a central monitoring device of the wind farm.
In a third aspect, an embodiment of the present invention provides a parameter display apparatus, including a memory, a processor, and a program stored in the memory and executable on the processor, where the processor implements the parameter display method described above when executing the program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a program is stored, the program, when executed by a processor, implementing the parameter display method as described above.
As described above, in the embodiments of the present invention, a new processing mechanism is added between the existing parameter list and the logic for receiving and sending the reply packet, and the new processing mechanism mainly includes that a command cache list and a data cache list are newly established. The command cache list can manage command packets of parameter IDs in the parameter lists, the parameter IDs in the command cache list are not repeated, and the data cache list can manage parameter data of the parameter IDs in the parameter lists.
According to the arrangement, when the same parameter data needs to be displayed in a plurality of parameter lists, the command packet does not need to be sent independently to each parameter list for quoting the parameters, but the command packet is sent uniformly based on the command cache list, and then the data is directly obtained from the data cache list, so that the redundancy phenomenon of communication data can be avoided, the operation efficiency of the system in the parameter display process is improved, and the maintainability of the system is greatly improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic flow chart of a parameter display method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a command cache list according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating a parameter display method according to another embodiment of the present invention;
FIG. 4 is a diagram illustrating a structure of a command packet according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a structure of a reply packet corresponding to FIG. 4;
fig. 6 is a schematic flow chart illustrating a parameter display method according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a parameter display device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a parameter display device according to another embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention.
The embodiment of the invention provides a parameter display method and device and a computer readable storage medium, which are used in a wind power plant central monitoring system. By adopting the technical scheme in the embodiment of the invention, the phenomenon of communication data redundancy can be avoided, and the operation efficiency of the system in the parameter display process is improved.
Fig. 1 is a schematic flow chart of a parameter display method according to an embodiment of the present invention. As shown in fig. 1, the parameter display method includes steps 101 to 105.
In step 101, a parameter ID in at least one parameter list to be displayed is obtained.
The parameters in the step refer to the operating condition parameters of the wind generating set, including wind speed, rotating speed, torque, pitch angle and the like. The parameter ID is a unique identifier for identifying the parameter and may be in the form of a number, letter, or symbol, and combinations thereof.
Generally, a wind farm central monitoring system needs to manage parameter data through a parameter list and display parameters. The number of parameter lists that actually need to be displayed may include a plurality, and each parameter list may include a plurality of identical parameter IDs.
Referring to table 1, table 1 provides an exemplary parameter list. Wherein the first column represents the parameter ID and the second column represents the parameter data. The parameter IDs shown in table 1 include ID #1, ID #2, ID #3, ID #4, ID #5, ID #6, and the like.
TABLE 1
Parameter ID Parameter data
ID#1 -
ID#2 -
ID#3 -
ID#4 -
ID#5 -
ID#6 -
- -
In step 102, the parameter IDs are sequentially added to the command packet in the command cache list, and the parameter IDs in the command cache list are not repeated.
In this step, the parameter IDs in the parameter lists to be displayed may be sequentially added to the command cache list. The command cache list is a newly established memory list for uniformly managing command packets in the embodiment of the present invention, and any parameter ID in the command cache list appears only once without any redundancy.
Specifically, it is possible to make any ID in the command cache list appear only once by determining whether or not the parameter ID already exists in the command cache list, not adding the parameter ID if the parameter ID already exists in the command cache list, and adding the parameter ID to the command cache list if the parameter ID does not exist in the command cache list.
In step 103, the command packets in the command cache list are sequentially sent to the monitored device.
In step 104, the parameter data in the reply packet of the monitored device is updated to the data cache list, and the reply packet includes the parameter ID and the corresponding parameter data.
The data cache list is a memory table for unifying management parameters, which is established in the embodiment of the present invention. The parameter IDs in the data cache list are not duplicated, i.e. there is no redundancy. When the parameter ID in the reply packet exists in the data cache list, old parameter data may be replaced with the parameter data in the reply packet. When the parameter ID in the reply packet does not exist in the data cache list, the parameter data in the reply packet may be added to the data cache list.
The monitored equipment can be a main controller of the wind generating set, an anemometer, a anemoscope, a rotating speed measuring device and the like according to different parameters ID to be displayed.
In addition, considering that the number of the operating parameters of the wind generating set is large, the data cache list can be stored in a dictionary storage mode and/or a discrete storage mode.
The dictionary storage mode can be defined as a set of "Key-Value pairs" (Key-Value Pair). According to different problems, the name and the value can be endowed with different meanings, for example, in an English-Chinese dictionary, an English word is a name, and a Chinese explanation item of the word is a value; in the phone book, a person name is a name, and a phone number corresponding to the person name is a value.
The basic operation of the dictionary storage mode comprises the following steps: lookup, insert, and delete, respectively, to retrieve data from the dictionary, insert data, and delete data. In actual storage, a "key-value pair" may be stored in the record, identified by the key (i.e., the key name in the "key-value pair"). The storage location of the "key-value pair" and the correspondence between its keys are represented by a binary set: (key, position of value).
The simplest way to look up a "key-value pair" from a dictionary is to use an array store and then traverse the array during the look-up, and when the same item as the name of the "key-value pair" being looked up is traversed, the "key-value pair" is found.
By adopting a dictionary storage mode, key-value pairs (namely parameter data) can be directly read according to the names (namely parameter IDs) of the keys without any matching or searching process, and the updating and displaying efficiency of the parameter data can be greatly improved. The structure of the organized dictionary data with very efficient indexing includes: the Hash table (Hash) structure and the Map structure, and those skilled in the art can find related information to know a dictionary storage method based on the Hash table (Hash) structure and the Map structure, which is not described herein again.
The discrete storage mode is to directly and dispersedly load a process into a plurality of non-adjacent memory partitions. Since the continuous allocation method may form many memory fragments (for example, 50 bytes), the continuous allocation method is prone to allocation failure in case of large data amount (1 megabyte), i.e., large required memory allocation space. The discrete storage mode can store 1 megabyte of data in a smaller continuous memory, and waste and expenditure of the memory are reduced.
Specifically, the discrete storage mainly includes a paging storage and a segment storage, and those skilled in the art can search related data to know a paging storage manner and a segment storage manner, which are not described herein again.
In step 105, according to the parameter ID in the parameter list to be displayed, the parameter data is indexed from the data cache list and displayed.
To facilitate understanding by those skilled in the art, the following describes an example of the interaction process between the system and the monitored device in connection with a case where a user opens multiple parameter lists simultaneously:
s1, the system submits the parameter IDs in the parameter lists to a control unit, which may be understood as a logic device of the system.
S2, the control unit instructs the cache list to search whether the parameter ID exists or not when receiving a parameter ID. The parameter ID is added to the command cache list if it does not exist and ignored if it does.
And S3, the system sequentially extracts the command packets in the command cache list and sends the command packets to the corresponding monitored equipment.
And S4, responding to the received command packet, and returning a reply packet containing the parameter ID and the corresponding parameter data to the system by the monitored equipment.
And S5, the system updates the parameter data in the reply packet into the data cache list.
And S6, the system starts from the first parameter of the parameter list, takes the parameter ID as an index, and sequentially acquires and displays the parameter data from the data cache list.
The main system for executing the above steps S1-S6 may be a central monitoring system of the wind farm.
As described above, in the embodiments of the present invention, a new processing mechanism is added between the existing parameter list and the logic for receiving and sending the reply packet, and the new processing mechanism mainly includes that a command cache list and a data cache list are newly established. The command cache list can manage command packets of parameter IDs in the parameter lists, the parameter IDs in the command cache list are not repeated, and the data cache list can manage parameter data of the parameter IDs in the parameter lists.
According to the arrangement, when the same parameter data needs to be displayed in a plurality of parameter lists, the command packet does not need to be sent independently to each parameter list for quoting the parameters, but is sent uniformly based on the command cache list, and then the data is directly obtained from the data cache list for displaying, so that the redundancy phenomenon of communication data can be avoided, the operating efficiency of the system in the parameter display process is improved, and the maintainability of the system is greatly improved.
Because the types and the number of the operating condition parameters of the wind generating set are more, a condition that one parameter list comprises a plurality of parameters is usually encountered. For this case, the parameter display method in the prior art is as follows: the method includes the steps that command packets are respectively issued for each parameter, usually, a plurality of command packets are issued for one parameter list, if a plurality of parameter lists need to be displayed simultaneously, a large number of command packets need to be issued simultaneously, after a reply packet is received, each parameter data needs to be sequentially compared with each parameter list, and parameter display cannot be completed until a matched parameter list is found, so that the system is low in operation efficiency, and even cannot operate normally.
Therefore, in the embodiment of the present invention, the command cache list may be set to include a plurality of cache units, each cache unit corresponds to a command packet of a parameter type, and the command packet is managed in a unified manner in combination with the parameter type.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a command cache list according to an embodiment of the present invention. Each vertical rectangular frame represents a cache unit of the command cache list, and each cache unit corresponds to a command packet. The command packets numbered 201, 202, 203, 204, 205, 206 and 207 are shown collectively in FIG. 2.
As shown in fig. 2, command packets numbered 201, 202, 203, 204, and 205 have shaded areas distributed therein, the length of the shaded areas indicating the number of parameter IDs that have been stored. A larger shaded area indicates a larger number of parameter IDs in the corresponding type of command packet.
As shown in fig. 2, the command packets 206 and 207 have no hatched area distributed therein, indicating that the command packet 206 and the command packet 207 are blank command packets to which no parameter ID is added.
Fig. 3 is a flowchart illustrating a parameter display method according to another embodiment of the present invention. Fig. 3 is different from fig. 1 in that step 102 in fig. 1 can be subdivided into steps 1021 to 1023 in fig. 3.
In step 1021, it is determined whether there is a command packet in the command cache list with the same type as the parameter ID.
In step 1022, if there is a command packet in the command cache list with the same type as the parameter ID, the parameter ID is added to the command packet of the corresponding type.
In step 1023, if there is no command packet in the command buffer list with the same type as the parameter ID, an empty command packet is added to the command buffer list, and the parameter ID is added to the empty command packet.
That is, if the received parameter ID type is consistent with the parameter type corresponding to a command packet in the command cache list, the parameter ID is added to the command packet. If the type of the received parameter ID does not correspond to the command packet in the command buffer list, an empty command packet 206 (see fig. 2) may be added at the end of the command buffer list, for example, after the command packet 205, and then the parameter ID may be added.
As described above, the command cache list in the embodiment of the present invention may be used to perform unified management on the command packets in combination with the parameter type angle, so that if a plurality of parameter lists need to be displayed simultaneously and each parameter list includes a plurality of parameter types, a large number of command packets do not need to be issued simultaneously, and only parameter IDs of the same type in the plurality of parameter lists are grouped into a set, and one command packet is issued in a unified manner, so that a redundancy phenomenon of communication data can be further avoided, and the operating efficiency of the system in the parameter display process is improved.
Fig. 4 is a schematic structural diagram of a command packet according to an embodiment of the present invention. The command packet shown in fig. 4 includes parameter IDs of: ID #1, ID #2, ID #3, ID #4, ID #5, ID #6, and the like. In an example, the command package may also include a parameter name (name).
Fig. 5 is a schematic structural diagram of a reply packet corresponding to fig. 4. Wherein the first row represents a parameter ID and the second row represents parameter data corresponding to the parameter ID. Shown in fig. 5 with parameter ID: the parameter data corresponding to ID #1, ID #2, ID #3, ID #4, ID #5, and ID #6 are: value1, Value2, Value3, Value4, Value5, and Value 6.
Fig. 6 is a flowchart illustrating a parameter display method according to another embodiment of the present invention. Fig. 6 differs from fig. 1 in that the parameter display method may further include step 106 in fig. 6 after step 105 in fig. 1.
In step 106, if the parameter list to be displayed has been displayed, the information related to the parameter list ending the display in the command cache list and the data cache list is deleted.
That is, if the user needs to switch the parameter list so that the original parameter list is not visible, the information corresponding to the original parameter list in the invisible state may be deleted, including: and deleting the corresponding information in the command cache list and the data cache list, so that only effective parameter data can be stored in the command cache list and the data cache list, thereby avoiding the waste of storage resources, further improving the operating efficiency of the system in the parameter display process, and being very suitable for popularization and application.
Fig. 7 is a schematic structural diagram of a parameter display device according to an embodiment of the present invention. The parameter display device comprises an acquisition module 701, an adding module 702, a command packet issuing module 703, a data updating module 704 and an index display module 705.
The obtaining module 701 is configured to obtain a parameter ID in at least one parameter list to be displayed.
The adding module 702 is configured to sequentially add the parameter IDs to the command packets in the command cache list, where the parameter IDs in the command cache list are not repeated.
In an optional embodiment, the command cache list includes a plurality of cache units, and each cache unit corresponds to a command packet of a parameter type; the adding module comprises: a judging unit, a first adding unit and a second adding unit (not shown in the figure). The judging unit is used for judging whether a command packet with the same type as the parameter ID exists in the command cache list or not; the first adding unit is used for adding the parameter ID into the command packet of the type if the command packet of the type same as the parameter ID exists in the command cache list; the second adding unit is used for adding an empty command packet in the command cache list and adding the parameter ID into the empty command packet if the command packet with the same type as the parameter ID does not exist in the command cache list.
The command packet issuing module 703 is configured to issue the command packets in the command cache list to the monitored device in sequence.
The data updating module 704 is configured to update parameter data in a reply packet of the monitored device into the data cache list, where the reply packet includes a parameter ID and corresponding parameter data.
The index display module 705 is configured to sequentially index and display parameter data from the data cache list according to the parameter ID in the parameter list to be displayed.
Fig. 8 is a schematic structural diagram of a parameter display device according to another embodiment of the present invention. Fig. 8 is different from fig. 7 in that the parameter display apparatus in fig. 8 further includes a deleting module 706, configured to delete information related to the parameter list that is to be displayed and is to be displayed in the command cache list and the data cache list if the parameter list to be displayed has finished the displaying operation.
In an alternative embodiment, the parameter display device may be a separate device having a logic operation function. In addition, in view of avoiding the transformation of the existing hardware structure, the parameter display device can also be arranged in the central monitoring equipment of the wind power plant, can realize the function only by simple modification, and has the advantages of short development time and small workload.
The embodiment of the invention also provides a parameter display device, which comprises a memory, a processor and a program which is stored on the memory and can be operated on the processor, wherein the parameter display method is realized when the processor executes the program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a program is stored, where the program, when executed by a processor, implements the parameter display method as described above.
It should be clear that the embodiments in this specification are described in a progressive manner, and the same or similar parts in the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. For the device embodiments, reference may be made to the description of the method embodiments in the relevant part. Embodiments of the invention are not limited to the specific steps and structures described above and shown in the drawings. Those skilled in the art may make various changes, modifications and additions to, or change the order between the steps, after appreciating the spirit of the embodiments of the invention. Also, a detailed description of known process techniques is omitted herein for the sake of brevity.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of an embodiment of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
Embodiments of the present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. For example, the algorithms described in the specific embodiments may be modified without departing from the basic spirit of the embodiments of the present invention. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the embodiments of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

Claims (11)

1. A parameter display method is characterized by comprising the following steps:
acquiring a parameter ID in at least one parameter list to be displayed;
the parameter IDs are sequentially added into command packets of a command cache list, and the parameter IDs in the command cache list are not repeated;
sequentially issuing the command packets in the command cache list to monitored equipment;
updating the parameter data in a reply packet of the monitored equipment to a data cache list, wherein the reply packet comprises the parameter ID and the corresponding parameter data;
and according to the parameter ID in the parameter list to be displayed, indexing parameter data from the data cache list and displaying the parameter data.
2. The method of claim 1, wherein the sequentially adding the parameter IDs to the command packets of the command cache list comprises:
judging whether the parameter ID exists in the command cache list or not;
if the parameter ID is already in the command cache list, not adding the parameter ID;
and if the parameter ID does not exist in the command cache list, adding the parameter ID into a command packet of the command cache list.
3. The method of claim 1, wherein the command cache list comprises a plurality of cache units, each cache unit corresponding to a command packet of a parameter type; the sequentially adding the parameter IDs into the command packet of the command cache list comprises:
judging whether a command packet with the same type as the parameter ID exists in the command cache list or not;
if the command cache list has a command packet with the same type as the parameter ID, adding the parameter ID into the command packet with the type;
if the command cache list does not have a command packet with the same type as the parameter ID, adding an empty command packet in the command cache list, and adding the parameter ID into the empty command packet.
4. The method according to claim 1, wherein after indexing parameter data from the data cache list and displaying the parameter data according to the parameter ID in the parameter list to be displayed, the method further comprises:
and if the parameter list to be displayed has finished the display operation, deleting the information related to the parameter list which finishes the display in the command cache list and the data cache list.
5. The method according to any one of claims 1 to 4, wherein the data cache list is stored in a dictionary storage manner and/or a discrete storage manner.
6. A parameter display apparatus, comprising:
the acquisition module is used for acquiring a parameter ID in at least one parameter list to be displayed;
the adding module is used for sequentially adding the parameter IDs into command packets of a command cache list, and the parameter IDs in the command cache list are not repeated;
the command packet issuing module is used for issuing the command packets in the command cache list to the monitored equipment in sequence;
the data updating module is used for updating the parameter data in a reply packet of the monitored equipment into a data cache list, wherein the reply packet comprises the parameter ID and the corresponding parameter data;
and the index display module is used for indexing parameter data from the data cache list and displaying the parameter data according to the parameter ID in the parameter list to be displayed.
7. The apparatus of claim 6, wherein the command cache list comprises a plurality of cache units, each cache unit corresponding to a command packet of a parameter type; the adding module comprises:
the judging unit is used for judging whether a command packet with the same type as the parameter ID exists in the command cache list or not;
the first adding unit is used for adding the parameter ID into the command packet of the type if the command packet of the type same as the parameter ID exists in the command cache list;
and a second adding unit, configured to add an empty command packet to the command cache list and add the parameter ID to the empty command packet if the command cache list does not have a command packet of the same type as the parameter ID.
8. The apparatus of claim 6, further comprising:
and the deleting module is used for deleting the information related to the parameter list finishing the display in the command cache list and the data cache list if the parameter list to be displayed finishes the display operation.
9. An arrangement according to any of claims 6-8, characterized in that the arrangement is arranged in a central monitoring device of a wind park.
10. A parameter display apparatus comprising a memory, a processor and a program stored on the memory and executable on the processor, wherein the processor implements the parameter display method according to any one of claims 1 to 5 when executing the program.
11. A computer-readable storage medium on which a program is stored, the program, when being executed by a processor, implementing the parameter display method according to any one of claims 1 to 5.
CN201810689412.9A 2018-06-28 2018-06-28 Parameter display method and device and computer-readable storage medium Pending CN110659279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810689412.9A CN110659279A (en) 2018-06-28 2018-06-28 Parameter display method and device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810689412.9A CN110659279A (en) 2018-06-28 2018-06-28 Parameter display method and device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN110659279A true CN110659279A (en) 2020-01-07

Family

ID=69026499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810689412.9A Pending CN110659279A (en) 2018-06-28 2018-06-28 Parameter display method and device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110659279A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218197A (en) * 2013-04-26 2013-07-24 安科智慧城市技术(中国)有限公司 Method, device and system of displaying data dynamically
CN104050098A (en) * 2013-03-13 2014-09-17 国际商业机器公司 Dynamic caching module selection for optimized data deduplication
US20160139849A1 (en) * 2014-11-13 2016-05-19 Violin Memory, Inc. Non-volatile buffering for deduplicaton
CN108206840A (en) * 2016-12-16 2018-06-26 北京金风科创风电设备有限公司 For the communication means, server and wind turbine of wind power plant

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050098A (en) * 2013-03-13 2014-09-17 国际商业机器公司 Dynamic caching module selection for optimized data deduplication
CN103218197A (en) * 2013-04-26 2013-07-24 安科智慧城市技术(中国)有限公司 Method, device and system of displaying data dynamically
US20160139849A1 (en) * 2014-11-13 2016-05-19 Violin Memory, Inc. Non-volatile buffering for deduplicaton
CN108206840A (en) * 2016-12-16 2018-06-26 北京金风科创风电设备有限公司 For the communication means, server and wind turbine of wind power plant

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
YY&BB姐姐的光阴故事: "MySQL插入去重命令_INSERT IGNORE INTO", 《HTTPS://WWW.CNBLOGS.COM/YY20141204BB/P/8400085.HTML》 *
樊文飞等: "《BLE低功耗蓝牙技术开发指南》", 31 January 2016, 国防工业出版社 *
王继成等: "《大数据时代高校信息化战略与实践》", 31 May 2016 *
韦鹏程等: "《大数据巨量分析与机器学习的整合与开发》", 31 July 2017, 电子科技大学出版社 *

Similar Documents

Publication Publication Date Title
US10908834B2 (en) Load balancing for scalable storage system
CN111241108B (en) Key value based indexing method and device for KV system, electronic equipment and medium
CN107291710B (en) Method and device for updating data for distributed database system
CN108563697B (en) Data processing method, device and storage medium
CN112860592B (en) Data caching method and device based on linked list, electronic equipment and storage medium
US20210168023A1 (en) Method, device, and product for managing application nodes in a distributed application system
CN114844833A (en) Message processing method and system, storage medium and computer terminal
CN102236707A (en) Method, device and system for obtaining update data of database
CN117389484B (en) Data storage processing method, device, equipment and storage medium
EP2400446A1 (en) Equipment managing apparatus, equipment managing method, and equipment managing system
CN113986921A (en) Blacklist query method, system, electronic equipment and storage medium
CN100473041C (en) Method and system for searching seed for P2P system
US20210286526A1 (en) Method, device and computer program products for storage management
CN110659279A (en) Parameter display method and device and computer-readable storage medium
CN103049445A (en) Method and device for inquiring pictorial information and picture state server
CN115599711B (en) Cache data processing method, system, device, equipment and computer storage medium
CN111309471B (en) Data processing method, device and distributed system
CN116150207A (en) Data caching method and device, electronic equipment and storage medium
CN111736778B (en) Data updating method, device and system and electronic equipment
CN112380208B (en) Real-time data ID generation method, system and medium for power distribution automation system
CN114896252A (en) Query method and device for Internet of things equipment, computer equipment and storage medium
CN110968267B (en) Data management method, device, server and system
CN111209304B (en) Data processing method, device and system
US20120233317A1 (en) Computer system management method and management apparatus
CN113132241A (en) ACL template dynamic configuration method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination