New power system data management method
A novel power system data management method using a two-tier server architecture and multi-priority storage queues solves the monitoring difficulties caused by inconsistent data formats and large data volumes in new energy power systems, improves data reading efficiency and search time, and ensures system stability.
Patent Information
- Application Number
- CN202411125423.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2044-08-16
AI Technical Summary
In new energy power systems, the inconsistent data formats and large data volumes of various system platforms make it difficult for monitoring personnel to understand the operating status of the power system in a timely manner, thus affecting system stability.
A two-tier server architecture is adopted. The first server receives, classifies, and stores new energy power data, while the second server retrieves and sends data through multiple storage queues with different priorities and displays it on the regional map. By combining feature vector processing and dynamic priority adjustment, the data reading efficiency and search time are improved.
It improves the efficiency of reading new energy power data, shortens the data search time, and keeps the storage queue synchronized with the data status through dynamic priority adjustment, ensuring that important data is processed first.
Smart Images

Figure CN119182800B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, in particular to a novel power system data management method. BACKGROUND
[0002] New energy refers to the use of resources that are constantly updated in nature, such as solar energy, wind energy, and clean and renewable energy generated through biomass energy, geothermal energy, etc. Compared with traditional thermal power generation, new energy power generation has the advantages of environmental protection and sustainability, and is an important direction for future power development.
[0003] New energy power generation involves many system platforms, and the data information formats generated by each system platform are inconsistent. Moreover, due to the large scale of new energy power systems, a large amount of power data is generated every day, and the amount of data involved in the power data process in various new energy power events is huge. Monitoring personnel need to monitor and analyze some important data to timely understand the operation status of the power system and ensure the stable operation of the power system, which has become a problem that needs to be solved at the present stage. SUMMARY
[0004] Therefore, the embodiments of the present application provide a novel power system data management method, which can improve the new energy power data reading efficiency and data search time.
[0005] To achieve the above purpose, the technical scheme adopted by the present application is as follows:
[0006] The embodiments of the present application provide a novel power system data management method, which comprises:
[0007] The first server end receives new energy power data generated by each novel power system end, and classifies and stores the received new energy power data;
[0008] The second server end responds to a data retrieval request, retrieves new energy power data of a target category from the first server end, and stores the new energy power data of the target category using a plurality of storage queues, wherein the priority of the plurality of storage queues is different, and one storage queue corresponds to one novel power system end in one target category;
[0009] The second server end responds to a data reading request and sends the new energy power data stored in the plurality of storage queues to a data reading end according to the priority order of the plurality of storage queues;
[0010] The data reading end processes the read new energy power data and displays it in a regional map, wherein the regional map contains new energy power information of each novel power system end.
[0011] In some embodiments, the first server end sets a first identification information for each received new energy power data, the second server end sets a second identification information for each retrieved new energy power data, and determines an association between the first identification information and the second identification information;
[0012] The new power system data management method further comprises:
[0013] The second server end receives a data traceability request sent by the data reading end, the data traceability request containing new energy power data that needs to be traced;
[0014] The second server end determines the second identification information of the new energy power data that needs to be traced, and determines the corresponding first identification information according to the association;
[0015] The second server end sends the determined first identification information to the first server end;
[0016] The first server end determines the source information of the new energy power data that needs to be traced according to the first identification information.
[0017] In some embodiments, the new power system data management method further comprises:
[0018] When the data reading end determines that the new energy power data is abnormal, it sends abnormal information to the second server end, the abnormal information containing the second identification information of the new energy power data;
[0019] The second server end determines the storage queue with data anomaly according to the second identification information in the abnormal information;
[0020] The second server end adjusts the priority of the storage queue according to whether there is data anomaly in each storage queue and the historical reading frequency of the stored new energy power data; wherein the priority of the storage queue with high historical reading frequency is lowered, and the priority of the storage queue with data anomaly is raised.
[0021] In some embodiments, the new power system data management method further comprises:
[0022] The second server end determines the historical waiting reading time of the new energy power data in each storage queue;
[0023] Determine the longest waiting reading time and the average waiting reading time of each storage queue according to the historical waiting reading time;
[0024] The longest waiting read time and the average waiting read time of each storage queue are weighted and summed to obtain an evaluation waiting read time of each storage queue; wherein the weight coefficient of the longest waiting read time is fixed, and the weight coefficient of the average waiting read time is proportional to the difference between the longest waiting read time and the average waiting read time;
[0025] The priority of the storage queue with the evaluation waiting read time greater than the time threshold is increased.
[0026] In some embodiments, the new energy power data includes text and images, and the data reading end processes the read new energy power data and displays it in the regional map, including:
[0027] The first keyword is extracted from the text in the read new energy power data, and the first keyword is converted into a first feature vector;
[0028] The second keyword is extracted from the image in the read new energy power data, and the second keyword is converted into a second feature vector;
[0029] The associated text and image are determined according to the first feature vector and the second feature vector;
[0030] The associated text and image are stored according to the corresponding new power system end;
[0031] The new energy power information of each new power system end is displayed in the regional map.
[0032] In some embodiments, the display of the new energy power information of each new power system end in the regional map includes:
[0033] In response to the data display instruction input by the user, a first picture containing new energy power information is generated, and the picture is overlaid at the geographical position of the new power system end in the regional map;
[0034] In response to the preset operation of the first picture by the user, the webpage corresponding to the preset URL is jumped to, and the historical data of the new energy power information is displayed in the webpage.
[0035] In some embodiments, the new power system data management method further includes:
[0036] For the new energy power data of the same new power system end, the second server end calculates a first distance between the first feature vector at a first time and the first feature vector at a second time, and a second distance between the second feature vector at the first time and the second feature vector at the second time, the second time being the next time of the first time;
[0037] If the first distance and the second distance are both less than a distance threshold, the second server end does not send the new energy power data at the second time to the data reading end, and the data reading end continues to display the new energy power data at the first time; otherwise, the second server end sends the new energy power data at the second time to the data reading end, and the data reading end processes and displays the new energy power data at the second time in the regional map.
[0038] In some embodiments, the new power system data management method further comprises:
[0039] Before the second server end sends the new energy power data to the data reading end, the second server end encrypts the new energy power data by using a public key of the first encryption algorithm, and generates a public key of the second encryption algorithm;
[0040] The private key of the first encryption algorithm is encrypted by using the public key of the second encryption algorithm, and the private key of the first encryption algorithm and the private key of the second encryption algorithm are sent to the data reading end;
[0041] The data reading end decrypts the encrypted private key of the first encryption algorithm by using the private key of the second encryption algorithm, and decrypts the new energy power data by using the decrypted private key of the first encryption algorithm.
[0042] In some embodiments, the new power system data management method further comprises:
[0043] The MAC addresses of the data reading ends with the access permission of the storage queues and the MAC addresses of the data reading ends without the access permission of the storage queues are set;
[0044] After receiving the data reading request, the second server end determines whether the data reading end corresponding to the data reading request has the access permission according to the MAC address in the data reading request;
[0045] After determining that the data reading end corresponding to the data reading request has the access permission, the second server end sends the new energy power data stored in the storage queues to the data reading end according to the priority order of the storage queues in response to the data reading request.
[0046] In some embodiments,
[0047] The beneficial effects of the embodiments of the present application compared with the prior art include:
[0048] In the embodiment of the present application, the first server end receives new energy power data generated by each new power system end, and stores the received new energy power data in a classified manner; the second server end responds to a data calling request, calls new energy power data of a target category from the first server end, and stores the new energy power data of the target category in a plurality of storage queues; the second server end responds to a data reading request, sends the new energy power data stored in the plurality of storage queues to a data reading end according to the priority order of the plurality of storage queues; and the data reading end processes the read new energy power data and displays the new energy power data in a regional map.
[0049] In the embodiment of the present application, through the two-layer server structure of the first server end and the second server end, the second server end calls corresponding new energy power data from the first server end before the data reading end reads the new energy power data, thereby improving the reading efficiency of the new energy power data; the second server end adopts a multi-priority parallel storage queue structure, which can shorten the data search time; and through dynamic adjustment of the priority of the storage queue, the priority of the storage queue and the data state can be dynamically synchronized. BRIEF DESCRIPTION OF DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative labor.
[0051] Figure 1 is a structural schematic diagram of a new power system data management system provided by the embodiment of the present application;
[0052] Figure 2 is a flowchart of a new power system data management method provided by the embodiment of the present application;
[0053] Figure 3 is a structural schematic diagram of an electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION
[0054] The present application will be described more clearly in combination with specific embodiments. The following embodiments will help those skilled in the art to further understand the effects of the present application, but do not limit the present application in any form. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application. These all belong to the protection scope of the present application.
[0055] For the purposes of the present application, the technical solutions and advantages will be clearer, specific embodiments will be described below with reference to the drawings.
[0056] Referring to Figure 1 The novel power system data management system provided by the embodiments of the present application can include a first server end 11, a second server end 12 and a data reading end 13. The number of data reading ends 13 can be one or more.
[0057] The first server end 11 is configured to receive new energy power data generated by each novel power system end 14, and store the received new energy power data in a classified manner.
[0058] The second server end 12 is configured to respond to a data retrieval request, retrieve new energy power data of a target category from the first server end, and store the new energy power data of the target category in a plurality of storage queues, wherein the plurality of storage queues have different priorities, and one storage queue corresponds to one novel power system end in the target category.
[0059] The second server end 12 is further configured to respond to a data reading request, and send the new energy power data stored in the plurality of storage queues to the data reading end according to the priority order of the plurality of storage queues.
[0060] The data reading end 13 is configured to process the read new energy power data and display the new energy power data in a regional map, wherein the regional map includes new energy power information of each novel power system end.
[0061] Based on the above novel power system data management system, the embodiments of the present application further provide a novel power system data management method, referring to Figure 2 The novel power system data management method provided by the embodiments of the present application can include the following steps:
[0062] In step 201, the first server end receives new energy power data generated by each novel power system end, and stores the received new energy power data in a classified manner.
[0063] For example, the first server end can send a new energy power data acquisition instruction to each novel power system end. The novel power system end responds to the instruction and sends the generated new energy power data to the first server end.
[0064] In step 202, the second server end responds to a data retrieval request, retrieves new energy power data of a target category from the first server end, and stores the new energy power data of the target category in a plurality of storage queues.
[0065] The priority of the plurality of storage queues is different, and one storage queue corresponds to one new power system terminal in one target category.
[0066] In the embodiment of the application, the new energy power data is classified and stored in step 201, which can facilitate the second server to retrieve the new energy power data of the target category in step 202. In step 201, the first server can obtain and classify the new energy power data in advance, instead of obtaining and classifying the new energy power data when the data reading end needs to use the new energy power data, thereby improving the efficiency of the data reading end in reading data.
[0067] In some scenarios, the data retrieval request can be sent by a data reading end to the second server, and the data retrieval request can include new energy power data of a certain category or new energy power data of certain categories required by the data reading end. The category of the new energy power data can be divided according to business type, site, data meaning, and the like.
[0068] In other scenarios, the data retrieval request can be a preset request in the second server, and the user can preset the data retrieval request in the second server according to actual work needs.
[0069] In other scenarios, the data retrieval request can be generated by the second server according to historical data read from the second server by each data reading end, and the data to be retrieved in advance from the first server is determined.
[0070] In step 203, the second server sends the new energy power data stored in the plurality of storage queues to the data reading end according to the priority order of the plurality of storage queues in response to the data reading request.
[0071] In the embodiment of the application, the new energy power data of the target category is stored in a plurality of storage queues, the priority of each storage queue is set, the priority of the storage queue of the new energy power data of the target category with high importance is set to high, the priority of the storage queue of the new energy power data of the target category with medium importance is set to medium, and the priority of the storage queue of the new energy power data of the target category with low importance is set to low, so that the new energy power data of the target category with high importance can be sent to the data reading end in priority, and the data reading end can process the new energy power data of the target category with high importance in priority.
[0072] In step 204, the data reading end processes the read new energy power data and displays it in a regional map, and the regional map includes new energy power information of each new power system terminal.
[0073] In this step, the new energy power data includes text and images, and the data reading end processes the read new energy power data and displays it in the regional map, which can include: extracting a first keyword from the text in the read new energy power data and converting the first keyword into a first feature vector; extracting a second keyword from the image in the read new energy power data and converting the second keyword into a second feature vector; determining the associated text and image according to the first feature vector and the second feature vector; storing the associated text and image according to the corresponding new power system end; and displaying the new energy power information of each new power system end in the regional map.
[0074] For example, the display of the new energy power information of each new power system end in the regional map can include: in response to a data display instruction input by the user, generating a first picture containing new energy power information, and overlaying the picture to the geographical location of the new power system end in the regional map; in response to a preset operation on the first picture, jumping to a webpage corresponding to a preset URL (Uniform Resource Locator, Uniform Resource Locator), and the webpage displays historical data of the new energy power information.
[0075] For example, the user can apply a click operation to the first picture in the display interface of the data reading end, and the data reading end responds to the click operation and jumps to a webpage corresponding to a preset URL, and the webpage displays historical data of the new energy power information of the new power system end corresponding to the first picture. Different URLs correspond to different first pictures, and different first pictures correspond to different webpages, which display the historical data of the new energy power information of the corresponding new power system end.
[0076] In some embodiments, the process of extracting the first keyword from the text can include: segmenting the text, determining the first frequency and position of each word in the text; determining the first span of each word in the text according to the distance between the first position and the second position of each word in the text; wherein the first position is the first position in the text, the second position is the last position in the text, and the distance between the first position and the second position is the number of words between the first position and the second position; determining a target word with a first frequency greater than a threshold value, and selecting the first preset number of words with the largest first span in the target word as candidate keywords of the text, the number of candidate keywords being the first preset number; determining the second frequency and second span of each candidate keyword in other texts; calculating the product of the first frequency and the first span, and the product of the second frequency and the second span, and selecting the candidate keyword with the largest product difference as the first keyword of the text, the number of first keywords being the second preset number, and the second preset number being less than the first preset number.
[0077] For example, the first frequency is the number of times the word appears in the text, the second frequency is the number of times the candidate keyword appears in other texts, and the span is the number of words between the first position and the second position.
[0078] In some embodiments, the process of extracting the second keyword from the image can include: performing filtering and noise reduction processing on the image; inputting an image sample containing label information into an image segmentation model, and training the image segmentation model; wherein the label information contains an image category and a segmentation position of an image region; using the trained image segmentation model to segment the image that has undergone filtering and noise reduction processing to obtain at least one image region; identifying text from the image region, and extracting the second keyword from the identified text.
[0079] For example, the filtering and noise reduction processing on the image can be implemented based on a convolutional neural network. Specifically, in order to train a filtering and noise reduction model with excellent performance, a large number of noisy images need to be prepared as a training set. At the same time, corresponding noise-free images need to be prepared as labels. The image denoising model based on the convolutional neural network is composed of multiple convolutional layers, pooling layers and fully connected layers. Among them, the convolutional layer is responsible for learning features from the input image, the pooling layer is responsible for reducing the feature dimension, and the fully connected layer is responsible for mapping the learned features to the labels. During the training process, the input image is convolved by the filter learned by the convolutional layer to obtain a denoised image; by comparing the difference between the denoised image and the label, the loss function is calculated and the filter parameters are updated by back propagation; repeat the above process until the model performance meets the expected requirements.
[0080] In this embodiment, the image category can be multiple, and each category of image corresponds to a segmentation position of an image region, which contains text or pictures. The segmentation position of the image region containing text is different from that of the image region containing pictures.
[0081] For example, the image category can be determined according to the site, image content, etc. For example, the image categories of the images of new energy power data generated by different sites are different; or the image categories are different corresponding to different image contents in the image. The image content can be the model of the equipment in the image, or the heading title of the table in the image, etc., which is not limited.
[0082] In some embodiments, the image category is determined based on the text in a preset region of the image, for example, based on the header text of a table in the image. The segmentation of the filtered and denoised image using the trained image segmentation model to obtain at least one image region can include: inputting the filtered and denoised image into the trained image segmentation model; the image segmentation model extracts text from the preset region of the image, determines the image category based on the text, and calls the segmentation position of the image region corresponding to the image category; the image segmentation model segments the image based on the segmentation position of the image region to obtain at least one image region.
[0083] In this embodiment, for a specific image category, the position of the text contained in the image is fixed, so the segmentation position of the image region can be set in advance according to the image category. Specifically, the segmentation position of the image region can be manually set by hand, or the segmentation position of the image region can be set by learning through a neural network model.
[0084] In this step, the image can be an image of a certain format file. For the image of the format file, the image region where the desired content is located can be extracted from the image first, and then keyword extraction can be performed in the extracted image region.
[0085] Specifically, the implementation process of the above "identifying text from the image region and extracting the second keyword from the identified text" can include: converting the image region into a to-be-recognized text image, performing connected region extraction on the to-be-recognized text image to obtain a plurality of connected regions; determining the contour of each character in each connected region, and segmenting to obtain a plurality of characters based on the contour and record the positional relationship of each character in the connected region; recognizing each character and generating a to-be-extracted text according to the positional relationship of each character in the connected region; and extracting the second keyword from the to-be-extracted text. Wherein, converting the image region into a to-be-recognized text image can be converting the image region into a grayscale image to obtain a to-be-recognized text image.
[0086] For example, a format file usually contains a file name and file content, so in this step, the second keyword can be extracted from the text corresponding to the file name part, or the second keyword can be extracted from the text corresponding to the file name and file content.
[0087] Exemplarily, the connected region extraction on the text image to be recognized can include: determining the gray value of each pixel point in the text image to be recognized, determining the pixel cluster in each row of pixel points in the text image to be recognized according to the gray value of each pixel point, and each pixel point in the pixel cluster is connected and the gray value is the preset gray value; determining the pixel cluster connected between different rows of pixel points according to the position of each pixel cluster to obtain the connected region; wherein, the pixel clusters of adjacent rows in the same connected region are connected through the pixel points in the same column.
[0088] Specifically, in the text image to be recognized, the gray values of the pixel points corresponding to the text characters are the same. Therefore, the gray values of the pixel points in each row of pixel points in the text image to be recognized can be compared with the preset gray value, and the pixel points with the same gray value as the preset gray value are found out to find the pixel points of the text characters. If these pixel points are connected, they form a pixel cluster. The pixel clusters in each row of pixel points are found out, and the connected pixel clusters are determined to form a plurality of connected regions, i.e. the regions where the text characters are located.
[0089] In some embodiments, the above determining the associated text and image according to the first feature vector and the second feature vector can include: for any one first feature vector, calculating the cosine similarity between the first feature vector and each second feature vector; associating the first feature vector with the second feature vector with the smallest cosine similarity to obtain the associated text and image.
[0090] The cosine similarity is the cosine value of the included angle between two vectors, and is used to measure the consistency of the directions of the two vectors. The greater the cosine similarity, the smaller the included angle between the two vectors, and the higher the direction consistency; the smaller the cosine similarity, the greater the included angle between the two vectors, and the lower the direction consistency.
[0091] In some embodiments, the process of converting each text first keyword into a first feature vector can include: the first keyword is multiple, each row of elements in the first feature vector corresponds to a first keyword, and the value of the element corresponding to each first keyword is calculated according to the frequency of each first keyword appearing in the target text multiplied by the span and the preset weight to obtain the first feature vector.
[0092] The process of converting each image second keyword into a second feature vector can include: the second keyword is multiple, each row of elements in the second feature vector corresponds to a second keyword, and the value of the element corresponding to each second keyword is calculated according to the frequency of each second keyword appearing in the target image multiplied by the span and the preset weight to obtain the second feature vector.
[0093] In some embodiments, the first server end sets a first identification information for each received new energy power data, the second server end sets a second identification information for each retrieved new energy power data, and determines the association between the first identification information and the second identification information.
[0094] The new power system data management method can further include: the second server end receiving a data traceability request sent by the data reading end, the data traceability request containing new energy power data that needs to be traced; the second server end determining the second identification information of the new energy power data that needs to be traced, and determining the corresponding first identification information according to the association; the second server end sending the determined first identification information to the first server end; and the first server end determining the source information of the new energy power data that needs to be traced according to the first identification information.
[0095] In some embodiments, the new power system data management method can further include: the data reading end sending abnormal information to the second server end when determining that the new energy power data is abnormal, the abnormal information containing the second identification information of the new energy power data; the second server end determining the storage queue with data abnormality according to the second identification information in the abnormal information; and the second server end adjusting the priority of the storage queue according to whether each storage queue has data abnormality and the historical reading frequency of the stored new energy power data; wherein the priority of the storage queue with high historical reading frequency is lowered, and the priority of the storage queue with data abnormality is raised.
[0096] By adjusting the priority of the storage queue, the priority of the storage queue with high historical reading frequency is lowered, the diversity of the reading priority of various types of data is maintained, the priority of the storage queue with data abnormality is raised, and the data with data abnormality is preferentially sent to the data reading end for preferential processing, so that the priority of the storage queue and the state of the new energy power data are dynamically synchronized.
[0097] In some embodiments, the new power system data management method can further include: the second server end determining the historical waiting reading time of the new energy power data in each storage queue; determining the longest waiting reading time and the average waiting reading time of each storage queue according to the historical waiting reading time; performing weighted summation on the longest waiting reading time and the average waiting reading time of each storage queue to obtain an evaluation waiting reading time of each storage queue; wherein the weight coefficient of the longest waiting reading time is fixed, and the weight coefficient of the average waiting reading time is proportional to the difference between the longest waiting reading time and the average waiting reading time; and the priority of the storage queue with an evaluation waiting reading time greater than a time threshold is raised.
[0098] By adjusting the priority of the storage queue, the priority of the storage queue whose waiting reading time is greater than the time threshold is evaluated to be increased, which can improve the diversity of data reading priority and prevent the data reading priority of each category from being fixed.
[0099] In some embodiments, the new power system data management method can further include: for new energy power data of the same new power system end, the second server end calculates a first distance between a first feature vector at a first time and a first feature vector at a second time, and a second distance between a second feature vector at the first time and a second feature vector at the second time, the second time being the next time of the first time; if the first distance and the second distance are both less than a distance threshold, the second server end does not send new energy power data at the second time to the data reading end, and the data reading end continues to display new energy power data at the first time; otherwise, the second server end sends new energy power data at the second time to the data reading end, and the data reading end processes and displays new energy power data at the second time in the regional map.
[0100] Specifically, if the first distance and the second distance are both less than the distance threshold, it indicates that the new energy power data at the first time is relatively close to or has no change with the new energy power data at the second time, so the second server end does not need to send the new energy power data at the second time to the data reading end, and the data reading end continues to display the new energy power data at the first time, which can save network resources.
[0101] In some embodiments, the new power system data management method can further include: before sending new energy power data to the data reading end, the second server end encrypts the new energy power data by a public key of a first encryption algorithm, and generates a public key of a second encryption algorithm; encrypts a private key of the first encryption algorithm by a public key of the second encryption algorithm, and sends the private key of the first encryption algorithm and the private key of the second encryption algorithm to the data reading end; the data reading end decrypts the encrypted private key of the first encryption algorithm by a private key of the second encryption algorithm, and decrypts the new energy power data by the decrypted private key of the first encryption algorithm.
[0102] In some embodiments, the new power system data management method can further include: setting MAC addresses of data reading terminals with access rights to respective storage queues, and MAC addresses of data reading terminals without access rights to respective storage queues; after receiving a data reading request, the second server end determines whether the data reading terminal corresponding to the data reading request has access rights according to the MAC address in the data reading request; after determining that the data reading terminal corresponding to the data reading request has access rights, the second server end responds to the data reading request and sends new energy power data stored in the plurality of storage queues to the data reading terminal in the priority order of the plurality of storage queues.
[0103] Specifically, MAC (Media Access Control Address) addresses of user terminals with access rights corresponding to respective preset feature identification information and MAC addresses of user terminals without access rights can be set. When a user wants to access new energy power data of a certain category or new energy power data of certain categories through a data reading terminal, a data reading request containing feature identification is input through the data reading terminal, and the second server end responds to the data reading request and determines target preset feature identification information consistent with the feature identification. Then, the second server end determines whether the data reading terminal has access rights to new energy power data corresponding to the target preset feature identification information according to the MAC address of the data reading terminal. If the data reading terminal has access rights, the data reading terminal is sent new energy power data corresponding to the target preset feature identification information; otherwise, the data reading terminal is not sent new energy power data corresponding to the target preset feature identification information.
[0104] The above new power system data management method, the first server end receives new energy power data generated by respective new power system ends, and stores the received new energy power data; the second server end responds to a data retrieval request, retrieves new energy power data of a target category from the first server end, and stores the new energy power data of the target category using a plurality of storage queues; the second server end responds to a data reading request, sends new energy power data stored in the plurality of storage queues to a data reading terminal in the priority order of the plurality of storage queues; and the data reading terminal processes and displays the read new energy power data in a regional map.
[0105] The embodiment of the present application realizes that the second server end calls corresponding new energy power data from the first server end in advance before the data reading end reads the new energy power data, so as to improve the new energy power data reading efficiency; the second server end adopts a multi-priority parallel storage queue structure, which can shorten the data search time; through dynamic adjustment of the storage queue priority, the storage queue priority and the data state can be dynamically synchronized.
[0106] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0107] Figure 3 is a schematic diagram of an electronic device provided by an embodiment of the present application. The electronic device can be the first server end, the second server end or the data reading end described above. As shown in the figure, the electronic device 300 of this embodiment includes a processor 310 and a memory 320, and the memory 320 stores a computer program that can run on the processor 310. The processor 310 implements the steps in the new power system data management method embodiment described above when executing the computer program. Figure 3
[0108] The electronic device 300 can be a desktop computer, a notebook computer, a palm computer and a cloud terminal device, etc. The electronic device can include, but is not limited to, the processor 310 and the memory 320. Those skilled in the art can understand that the electronic device can include more or fewer components, or combine certain components, or different components, for example, the electronic device can also include an input / output device, a network access device, a bus, etc. Figure 3 The electronic device 300 is only an example and does not constitute a limitation on the electronic device 300, and can include more or fewer components than the figure, or combine certain components, or different components, for example, the electronic device can also include an input / output device, a network access device, a bus, etc.
[0109] The processor 320 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0110] The memory 320 can be an internal storage unit of the electronic device 300, for example, a hard disk or a memory of the electronic device 300. The memory 320 can also be an external storage device of the electronic device 300, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 300. Further, the memory 320 can include both the internal storage unit and the external storage device of the electronic device 300. The memory 320 is used to store the computer program and other programs and data required by the electronic device. The memory 320 can also be used to temporarily store data that has been output or will be output.
[0111] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in a certain embodiment can be referred to the relevant description of other embodiments.
[0112] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A novel power system data management method, characterized in that, include: The first server receives new energy power data generated by various new power systems and classifies and stores the received new energy power data. The second server responds to the data retrieval request, retrieves the target category of new energy power data from the first server, and stores the target category of new energy power data in multiple storage queues. The multiple storage queues have different priorities, and each storage queue corresponds to a new type of power system in a target category. Specifically, the storage queue for new energy power data of target categories with high importance is set to high priority, the storage queue for new energy power data of target categories with medium importance is set to medium priority, and the storage queue for new energy power data of target categories with low importance is set to low priority. The second server responds to the data read request and sends the new energy power data stored in the multiple storage queues to the data read end according to the priority order of the multiple storage queues; The data reading terminal processes the new energy power data it reads and displays it on the regional map, which contains new energy power information of each new power system terminal. The new energy power data includes text and images. The data reading terminal processes the read new energy power data and displays it on a regional map, including: extracting a first keyword from the text in the read new energy power data and converting the first keyword into a first feature vector; extracting a second keyword from the images in the read new energy power data and converting the second keyword into a second feature vector; determining associated text and images based on the first feature vector and the second feature vector; storing the associated text and images according to the corresponding new energy power system terminals; and displaying the new energy power information of each new energy power system terminal on the regional map. The novel power system data management method further includes: for new energy power data at the same novel power system terminal, the second server terminal calculates a first distance between a first feature vector at a first time and a first feature vector at a second time, and a second distance between a second feature vector at a first time and a second feature vector at a second time, wherein the second time is the next time after the first time; if both the first distance and the second distance are less than a distance threshold, the second server terminal does not send the new energy power data at the second time to the data reading terminal, and the data reading terminal continues to display the new energy power data at the first time; otherwise, the second server terminal sends the new energy power data at the second time to the data reading terminal, and the data reading terminal processes and displays the new energy power data at the second time on the regional map.
2. The novel power system data management method according to claim 1, characterized in that, The first server sets a first identifier for each new energy power data received, and the second server sets a second identifier for each new energy power data retrieved, and determines the association between the first identifier and the second identifier. The novel power system data management method also includes: The second server receives a data tracing request sent by the data reading end, the data tracing request containing new energy power data that needs to be traced; The second server determines the second identification information of the new energy power data that needs to be traced, and determines the corresponding first identification information according to the association relationship; The second server sends the determined first identification information to the first server; The first server determines the source information of the new energy power data that needs to be traced based on the first identification information.
3. The novel power system data management method according to claim 1, characterized in that, The novel power system data management method also includes: When the data reading terminal determines that there is an anomaly in the new energy power data, it sends the anomaly information to the second server. The anomaly information includes the second identification information of the new energy power data. The second server determines the storage queue with data anomalies based on the second identifier information in the anomaly information; The second server adjusts the priority of storage queues based on whether there are data anomalies in each storage queue and the historical reading frequency of the stored new energy power data; specifically, the priority of storage queues with high historical reading frequency is lowered, and the priority of storage queues with data anomalies is raised.
4. The novel power system data management method according to claim 1, characterized in that, The novel power system data management method also includes: The second server determines the historical waiting time for reading new energy power data in each storage queue; The longest and average wait times for each storage queue are determined based on the historical wait times. The longest wait time and the average wait time for each storage queue are weighted and summed to obtain the estimated wait time for each storage queue. The weight coefficient of the longest wait time is fixed, and the weight coefficient of the average wait time is proportional to the difference between the longest wait time and the average wait time. Increase the priority of storage queues whose waiting time for reading exceeds the time threshold.
5. The novel power system data management method according to claim 1, characterized in that, The method of displaying new energy power information from various new power system terminals on a regional map includes: In response to the user's input command to display data, a first image containing new energy power information is generated, and this image is overlaid onto the geographical location of the new power system terminal in the regional map; In response to the user's preset operation on the first image, the user is redirected to the webpage corresponding to the preset URL, which displays historical data on new energy power information.
6. The novel power system data management method according to claim 1, characterized in that, The step of determining the associated text and image based on the first feature vector and the second feature vector includes: For any first feature vector, calculate the cosine similarity between the first feature vector and each second feature vector; The first feature vector is associated with the second feature vector with the lowest cosine similarity to obtain the associated text and image.
7. The novel power system data management method according to claim 1, characterized in that, The novel power system data management method also includes: Before sending the new energy power data to the data reading end, the second server encrypts the new energy power data using the public key of the first encryption algorithm and generates the public key of the second encryption algorithm. The private key of the first encryption algorithm is encrypted using the public key of the second encryption algorithm, and the private keys of the first encryption algorithm and the private keys of the second encryption algorithm are sent to the data reading end. The data reading end decrypts the private key of the first encryption algorithm using the private key of the second encryption algorithm, and then uses the decrypted private key of the first encryption algorithm to decrypt the new energy power data.
8. The novel power system data management method according to claim 1, characterized in that, The novel power system data management method also includes: Configure the MAC addresses of data readers that have access to each storage queue and the MAC addresses of data readers that do not have access to each storage queue. After receiving a data read request, the second server determines whether the data read terminal corresponding to the data read request has the necessary access permissions based on the MAC address in the data read request. After determining that the data reading end corresponding to the data reading request has the access permission, the second server responds to the data reading request and sends the new energy power data stored in the multiple storage queues to the data reading end according to the priority order of the multiple storage queues.
Citation Information
Patent Citations
Data display method and system and energy management rear-end platform
CN109597840A
Display method of power data display interface, user terminal, server and system
CN113486222A
Picture classification method and device based on medical field, storage medium and equipment
CN115331046A
Construction method and device of power construction safety knowledge graph and electronic equipment
CN116049434A