Synthetic signal generation method and device, equipment, readable storage medium and program product
By automatically filtering the synthetic signal templates and generating the target synthetic signal, the problem of misconfiguration during the synthetic signal generation process is solved, and high accuracy and high efficiency signal generation is achieved.
Patent Information
- Application Number
- CN202510393262.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-08-01
AI Technical Summary
In the prior art, the synthetic signal generation process is complicated, which can easily lead to configuration errors and low accuracy.
By obtaining the detection information table and configuration description file of the substation, the matching synthetic signal templates are automatically filtered out, the signal synthesis method and source signal are determined, and the target synthetic signal matching the measurement point description is automatically generated to reduce human configuration.
It improves the accuracy of synthetic signal generation, reduces the risk of errors, and improves operation and maintenance efficiency and flexibility.
Smart Images

Figure CN120414868A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power technologies, and particularly to a synthetic signal generation method, apparatus, computer device, computer-readable storage medium, and computer program product. Background Art
[0002] With the rapid development of intelligent power station technologies and computer technologies, the main primary and secondary equipment inside a substation collects operation data in real time through a monitoring system, and uploads this information to a remote centralized monitoring system according to the requirements of a power dispatching system. In addition to directly obtained telemetry and telecommunication information, some information also needs to generate synthetic signals through logical operations.
[0003] In related technologies, generating synthetic signals requires manual configuration. However, the process of manual operation is complex, which easily leads to configuration errors, and there is a problem of low accuracy in generating synthetic signals. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a synthetic signal generation method, apparatus, computer device, computer-readable storage medium, and computer program product that can improve the accuracy of synthetic signal generation.
[0005] In a first aspect, the present application provides a synthetic signal generation method, including:
[0006] Obtain a detection information table about a substation and a substation configuration description file, where the detection information table includes multiple first measurement point descriptions, and the substation configuration description file includes multiple second measurement point descriptions;
[0007] For each first measurement point description, if it is verified that there is no second measurement point description in the substation configuration description file that matches the first measurement point description, determine multiple candidate synthetic signal templates;
[0008] Based on the first measurement point description, screen out a matching target synthetic signal template from multiple candidate synthetic signal templates;
[0009] Based on the target synthetic signal template, determine a signal synthesis method and at least one target source signal corresponding to the first measurement point description, and generate a target synthetic signal that matches the first measurement point description based on the signal synthesis method and the at least one target source signal, where the target synthetic signal is used for remote control and detection.
[0010] In a second aspect, the present application further provides a synthetic signal generation apparatus, including:
[0011] A file acquisition module, configured to acquire a detection information table about a substation and a substation configuration description file, where the detection information table includes multiple first measuring point descriptions, and the substation configuration description file includes multiple second measuring point descriptions;
[0012] A template acquisition module, configured to, for each first measuring point description, if it is verified that there is no second measuring point description matching the first measuring point description in the substation configuration description file, determine multiple candidate composite signal templates;
[0013] A template screening module, configured to screen out a matching target composite signal template from multiple candidate composite signal templates based on the first measuring point description;
[0014] A signal generation module, configured to, based on the target composite signal template, determine a signal synthesis method and at least one target source signal corresponding to the first measuring point description, and generate a target composite signal matching the first measuring point description based on the signal synthesis method and the at least one target source signal, where the target composite signal is used for telecontrol and detection.
[0015] In a third aspect, the present application further provides a computer device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0016] Acquire a detection information table about a substation and a substation configuration description file, where the detection information table includes multiple first measuring point descriptions, and the substation configuration description file includes multiple second measuring point descriptions;
[0017] For each first measuring point description, if it is verified that there is no second measuring point description matching the first measuring point description in the substation configuration description file, determine multiple candidate composite signal templates;
[0018] Based on the first measuring point description, screen out a matching target composite signal template from multiple candidate composite signal templates;
[0019] Based on the target composite signal template, determine a signal synthesis method and at least one target source signal corresponding to the first measuring point description, and generate a target composite signal matching the first measuring point description based on the signal synthesis method and the at least one target source signal, where the target composite signal is used for telecontrol and detection.
[0020] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0021] Obtain a detection information table of a substation and a substation configuration description file. The detection information table includes multiple first measurement point descriptions, and the substation configuration description file includes multiple second measurement point descriptions;
[0022] For each first measurement point description, if it is verified that there is no second measurement point description in the substation configuration description file that matches the first measurement point description, determine multiple candidate synthetic signal templates;
[0023] Based on the first measurement point description, screen out a matching target synthetic signal template from multiple candidate synthetic signal templates;
[0024] Based on the target synthetic signal template, determine a signal synthesis method and at least one target source signal corresponding to the first measurement point description. Based on the signal synthesis method and the at least one target source signal, generate a target synthetic signal that matches the first measurement point description. The target synthetic signal is used for remote control and detection.
[0025] In a fifth aspect, the present application also provides a computer program product, including a computer program, which when executed by a processor implements the following steps:
[0026] Obtain a detection information table of a substation and a substation configuration description file. The detection information table includes multiple first measurement point descriptions, and the substation configuration description file includes multiple second measurement point descriptions;
[0027] For each first measurement point description, if it is verified that there is no second measurement point description in the substation configuration description file that matches the first measurement point description, determine multiple candidate synthetic signal templates;
[0028] [[ID=2l]]Based on the first measurement point description, screen out a matching target synthetic signal template from multiple candidate synthetic signal templates;
[0029] Based on the target synthetic signal template, determine a signal synthesis method and at least one target source signal corresponding to the first measurement point description. Based on the signal synthesis method and the at least one target source signal, generate a target synthetic signal that matches the first measurement point description. The target synthetic signal is used for remote control and detection.
[0030] The above-mentioned synthetic signal generation method, device, computer device, computer-readable storage medium, and computer program product obtain a detection information table about a substation and a substation configuration description file. The detection information table includes multiple first measurement point descriptions, and the substation configuration description file includes multiple second measurement point descriptions. For each first measurement point description, if it is verified that there is no matching second measurement point description in the substation configuration description file, multiple candidate synthetic signal templates are automatically obtained. Based on the first measurement point description, a matching target synthetic signal template is selected from the multiple candidate synthetic signal templates, that is, the template is selected using the first measurement point description to ensure the accuracy and effectiveness of subsequent synthetic signal generation. Based on the target synthetic signal template, a signal synthesis method and at least one target source signal corresponding to the first measurement point description are determined. Based on the signal synthesis method and at least one target source signal, a target synthetic signal matching the first measurement point description is adaptively generated. The target synthetic signal is used for telecontrol and detection. The entire process does not require manual configuration of synthetic signals and realizes automatic generation by means of a matching target synthetic signal template, reducing the risk of errors, thereby improving the accuracy of synthetic signal generation. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] To more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other related drawings can be obtained without creative efforts based on these drawings.
[0032] Figure 1 It is an application environment diagram of the synthetic signal generation method in an embodiment;
[0033] Figure 2 It is a flowchart of the synthetic signal generation method in an embodiment;
[0034] Figure 3 It is a flowchart of the steps for determining the signal synthesis method and the target source signal in an embodiment;
[0035] Figure 4 It is a structural block diagram of the synthetic signal generation device in an embodiment;
[0036] Figure 5 It is an internal structure diagram of a computer device in an embodiment. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0037] To make the objectives, technical solutions, and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0038] The synthetic signal generation method provided by the embodiments of the present application can be applied to an application environment as Figure 1 shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or can be placed in the cloud or other network servers. The synthetic signal generation method provided by the embodiments of the present application can be executed independently by the terminal 102 or the server 104, or can be executed collaboratively by the terminal 102 and the server 104.
[0039] Taking the collaborative execution of the terminal 102 and the server 104 as an example for illustration, in one embodiment, the terminal 102 sends a detection information table about the substation to the server 104. The detection information table includes multiple first measurement point descriptions. The server 104 obtains a substation configuration description file, and the substation configuration description file includes multiple second measurement point descriptions; for each first measurement point description, if it is verified that there is no second measurement point description in the substation configuration description file that matches the first measurement point description, the server 104 determines multiple candidate synthetic signal templates; based on the first measurement point description, a matching target synthetic signal template is selected from the multiple candidate synthetic signal templates; the server 104 determines a signal synthesis method and at least one target source signal corresponding to the first measurement point description based on the target synthetic signal template, and generates a target synthetic signal that matches the first measurement point description based on the signal synthesis method and the at least one target source signal. The target synthetic signal is used for remote control and detection.
[0040] Among them, the terminal 102 can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, etc. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0041] In an exemplary embodiment, as Figure 2 shown, a synthetic signal generation method is provided. Taking this method applied to a computer device (which can be the terminal 102 or the server 104) as an example for illustration, it includes the following steps 202 to step 208. Among them:
[0042] Step 202, obtain a detection information table about the substation and a substation configuration description file. The detection information table includes multiple first measurement point descriptions, and the substation configuration description file includes multiple second measurement point descriptions.
[0043] Among them, the detection information table of the substation is issued by the dispatching. The detection information table records the measurement and control devices required for remote control and detection by the dispatching. It can be understood that the detection information table includes multiple first measurement point descriptions. The first measurement point description refers to the measurement point description in the detection information table. The measurement point description includes the device name of the measurement and control device for remote control and detection and the status description of the measurement and control device. The measurement point description is used to describe the measurement points deployed in the corresponding measurement and control device. At least one measurement point is deployed in each measurement and control device. The measurement points can be telemetry, tele-signaling, tele-control, and tele-pulse measurement points. The status description is used to reflect whether the measurement and control device is abnormal or the type of abnormality that occurs.
[0044] The substation configuration description file (SCD, Substation Configuration Description) is used to describe the configuration information of the substation. The substation configuration description file covers the overall situation of the substation, the detailed parameters and functions of the measurement and control devices and logical nodes, the communication network settings, the automation system function configuration, etc. In one embodiment, the substation configuration description file includes multiple second measurement point descriptions and the remote control configuration description information of each second measurement point description. The remote control configuration description information reflects the configuration parameters required for the corresponding measurement and control device to perform remote control and detection. For example, the signal type of the signal collected by the measurement and control device when performing remote control and detection. The second measurement point description refers to the measurement point description in the substation configuration description file.
[0045] Exemplarily, the computer device obtains the detection information table to be processed and the substation configuration description file to be processed, and preprocesses the measurement point descriptions in the detection information table to be processed and the substation configuration description file to be processed respectively to filter out the measurement point descriptions with non-standard naming and formats, obtaining the preprocessed detection information table and the preprocessed substation configuration description file, and performing the following step 204 based on the preprocessed detection information table and the preprocessed substation configuration description file.
[0046] Step 204, for each first measurement point description, if it is verified that there is no second measurement point description in the substation configuration description file that matches the first measurement point description, determine multiple candidate composite signal templates.
[0047] Among them, the candidate synthetic signal template is the synthetic signal template to be screened. The synthetic signal template is a template for generating synthetic signals. The synthetic signal template includes the keyword of the synthetic signal name, the signal synthesis method, the synthetic signal type, and the source signal name of the source signal of the synthetic signal. Among them, the keyword of the synthetic signal name can be "total accident", "time synchronization anomaly", etc.; the signal synthesis methods include: AND, OR, XNOR, XOR, single-point synthesis into double-point, double-point decomposition into single-point, etc.; the synthetic signal types include substation-wide synthetic signals and interval synthetic signals. For example, the total accident signal needs to be synthesized from the accident signals of all intervals, so the type is a synthetic signal. The substation-wide synthetic signal refers to the sum of the interval signals of all intervals, and the interval synthetic signal refers to the signal synthesized from the source signals of a single interval. An interval is a component unit of a substation, and there are corresponding measurement and control devices in the interval. The time synchronization anomaly of the interval measurement and control device (the measurement and control device of a single interval) is synthesized from the three signals of "time jump detection status anomaly", "time synchronization signal status anomaly", and "time synchronization service status anomaly" in the current interval. Generally speaking: the signal that needs to be synthesized using cross-interval source signals is a substation-wide synthetic signal, and the signal that only needs to be synthesized from the source signals in a single interval is an interval synthetic signal. The source signal of the synthetic signal is the signal used to synthesize the signal. The source signal of the synthetic signal is the signal obtained by detecting the measurement and control device by the measurement point deployed in the measurement and control device. Therefore, it can be understood that there is at least one associated source signal of the synthetic signal for each measurement and control device.
[0048] Optionally, for each first measurement point description, when the computer device fails to query a second measurement point description that matches the first measurement point description from all the second measurement point descriptions in the substation configuration description file, the computer device obtains a pre-set synthetic signal template. The computer device can set each synthetic signal template as a candidate synthetic signal template, or screen out the synthetic signal templates that match the first measurement point description from multiple synthetic signal templates, and use the screened synthetic signal templates as candidate synthetic signal templates.
[0049] Exemplarily, for each first measurement point description, check whether there is a second measurement point description that is consistent with the first measurement point description in the substation configuration description file. If it exists, the consistent second measurement point description matches the first measurement point description. If it does not exist, it is determined that there is no second measurement point description that matches the first measurement point description. For example, perform word segmentation on the first measurement point description and each second measurement point description. If there is a second measurement point description where the word segmentation at each position is the same or synonymous with the word segmentation at the corresponding position in the first measurement point description, and the number of word segments of the first measurement point description and the second measurement point description is the same, then it is considered that the second measurement point description is consistent with the first measurement point description; otherwise, they are inconsistent.
[0050] In one embodiment, determining a plurality of candidate synthesis signal templates includes: obtaining a plurality of preset synthesis signal templates, where each synthesis signal template has a corresponding priority; and screening out candidate synthesis signal templates belonging to a preset priority from the plurality of synthesis signal templates.
[0051] In one embodiment, the priority of the synthesis signal template is determined based on the source signal name of the synthesis signal source signal involved in the synthesis signal template. The more the number of source signal names, the higher the priority of the corresponding synthesis signal template. In another embodiment, the priority of the synthesis signal template can be determined according to historical synthesis information. Determine the matching times of each synthesis signal template from the historical synthesis information, and determine the priority of each synthesis signal template according to the matching times. The higher the matching times, the higher the priority of the synthesis signal template; determine the priority of each synthesis signal template according to the respective times thresholds corresponding to each priority.
[0052] Optionally, after the computer device obtains a plurality of preset synthesis signal templates, it screens out the synthesis signal template with the highest priority from the plurality of synthesis signal templates, and uses the synthesis signal template with the highest priority as the candidate synthesis signal template.
[0053] Optionally, when the target synthesis signal template screened out in the previous time fails to match the first measurement point description, the computer device obtains the synthesis signal template with the second highest priority as the candidate synthesis signal template, and returns to step 206 below to continue execution. The priority of the target synthesis signal template screened out for the first time is the highest.
[0054] In this embodiment, according to the priority of the synthesis signal template, pre-screening can be performed from a large number of synthesis signal templates, reducing the subsequent template matching quantity and improving the generation efficiency.
[0055] Step 206, based on the first measurement point description, screen out a matching target synthesis signal template from the plurality of candidate synthesis signal templates.
[0056] Optionally, the computer device performs word segmentation on the first measurement point description to determine the status description in the first measurement point description, and performs word segmentation on each candidate synthesis signal template to determine the keywords of the synthesis signal in the candidate synthesis signal template. The computer device matches the keywords in each candidate synthesis signal template with the status description of the first measurement point description, and uses the candidate synthesis signal template to which the keyword matching the status description belongs as the target synthesis signal template.
[0057] Exemplarily, based on the first dictionary corresponding to the detection information table, perform word segmentation on the first measurement point description to obtain the first word segmentation. Based on the second dictionary corresponding to the synthesis signal template, perform word segmentation on each candidate synthesis signal template to obtain the second word segmentation.
[0058] For example: Based on each word and its word order in the description of the first measurement point, multiple candidate words are generated. For a candidate word w, the left entropy of the candidate word w is calculated using the following formula :
[0059] (1)
[0060] where represents the set of possible contexts that may appear on the left side of the candidate word w, that is, the set composed of all words or phrases that may appear on the left side of the candidate word w in the text. is the context in the context set. refers to the relative frequency of the context c1 and the candidate word w, expressed as: . For example, in the text “Do you eat apples? I want to eat apples. Let's buy apples together”, for the word “apples”, the context set on the left side is {eat, buy}. Then, the number of times “eat” appears on the left side of “apples” is 2, and the number of times “buy” appears on the left side of “apples” is 1. Then, P(eat) = 2 / 3. Similarly, the right entropy of the candidate word w is calculated using the following formula :
[0061] [[ID=2�]] (2)
[0062] where represents the set of possible contexts that may appear on the right side of the candidate word w, that is, the set composed of all words or phrases that may appear on the right side of the candidate word w in the text. is the context in this context set. refers to the relative frequency of the context c2 and the candidate word w, expressed as: .
[0063] It should be noted that the left entropy is used to measure the uncertainty of the context distribution on the left side of the candidate word w, and the right entropy is used to measure the uncertainty of the context distribution on the right side of the candidate word w.
[0064] After calculating the left entropy and right entropy of each candidate word w in the description of the first measurement point, the left entropy and right entropy are fused to obtain a fused entropy value. Based on the comparison result between the fused entropy value and the fusion threshold, it is determined whether the candidate word w can be used as the first segmentation word, that is, whether the candidate word w is a word. If so, the candidate word w is put into the first dictionary until the above process is completed for the last candidate word, and the completed first dictionary is obtained.
[0065] For the generation of the second dictionary, the process referring to the above first dictionary can be adopted, which will not be elaborated here.
[0066] In one embodiment, screening for a matching target synthetic signal template from multiple candidate synthetic signal templates based on the first measurement point description includes: for each candidate synthetic signal template, obtaining keywords of the synthetic signal name from the candidate synthetic signal template; comparing the first measurement point description with the keywords of each candidate synthetic signal template respectively to obtain keywords that are consistent with the first measurement point description, and using the candidate synthetic signal template corresponding to the keywords that are consistent with the first measurement point description as the target synthetic signal template that matches the first measurement point description.
[0067] Exemplarily, after determining the status description of the first measurement point description and the keywords of each candidate synthetic signal template, check whether there are keywords that are the same as the status description. If so, use the candidate synthetic signal template to which the same keywords belong as the target synthetic signal template. If not, obtain the first synonymy library between the first measurement point description and the synthetic signal template to check whether there are keywords that have a synonymous relationship with the status description. If so, use the candidate synthetic signal template to which the keywords with a synonymous relationship belong as the target synthetic signal template.
[0068] Illustrative example: The step of determining the first synonymy library includes: using the word segmentation of each first measurement point description as the first word segmentation, and using the word segmentation of each synthetic signal template as the second word segmentation. For each first word segmentation, the computer device calculates the edit distance (Levenshtein distance) between the first word segmentation and each second word segmentation respectively. When the minimum edit distance is less than the distance threshold, use the second word segmentation corresponding to the minimum edit distance as the synonym of the first word segmentation, that is, the second word segmentation corresponding to the minimum edit distance has a synonymous relationship with the first word segmentation, and store the first word segmentation and the second word segmentation with a synonymous relationship correspondingly in the first synonymy library until it is determined whether there is a second word segmentation with a synonymous relationship for the last first word segmentation. Among them, the edit distance represents the minimum number of operations required to transform one word into another word, including inserting, deleting, and replacing characters. If the edit distance between two words is small, it means that they are relatively similar in form and may also be relatively close in semantics. Exemplarily, the edit distance can be calculated according to the following formula (3):
[0069] (3)
[0070] Among them, D(A,B) is the Levenshtein distance (i.e., the minimum number of edit operations) between the string A and the string B. |A| is the length of the string A. |B| is the length of the string B. In this embodiment, the string A is the first word segmentation, and the string B is the second word segmentation. is the edit distance between two strings, and its value range is [0,1]. 0 means that the two strings are exactly the same, and 1 means that the two strings are completely different.
[0071] In this embodiment, by matching the description of the first measurement point with the keywords of each candidate synthetic signal template for template screening, the matching target synthetic signal template can be screened out to ensure the accuracy of synthetic signal generation.
[0072] Step 208, based on the target synthetic signal template, determine the signal synthesis method and at least one target source signal corresponding to the description of the first measurement point. Based on the signal synthesis method and at least one target source signal, generate a target synthetic signal that matches the description of the first measurement point. The target synthetic signal is used for telecontrol and detection.
[0073] Optionally, based on the word segmentation result of the target synthetic signal template, determine the signal synthesis method and the source signal name, and determine the corresponding target source signal based on the source signal name. Synthesize at least one target source signal according to the signal synthesis method to generate a target synthetic signal that matches the description of the first measurement point. The target synthetic signal is used for telecontrol and detection.
[0074] In one embodiment, as Figure 3 shown, it is a schematic flowchart of the steps for determining the signal synthesis method and the target source signal in one embodiment. Based on the target synthetic signal template, determining the signal synthesis method and at least one target source signal corresponding to the description of the first measurement point includes:
[0075] Step 302, obtain the specified signal synthesis method and at least one source signal name from the target synthetic signal template.
[0076] Optionally, the computer device determines the signal synthesis method and at least one source signal name included in the target synthetic signal template based on the word segmentation result of the target synthetic signal template.
[0077] Step 304, based on the substation configuration description file, determine the target source signal corresponding to each source signal name.
[0078] Optionally, based on the description of the second measurement point in the substation configuration description file, determine the target source signal corresponding to each source signal name.
[0079] In one embodiment, based on the substation configuration description file, determining the target source signal corresponding to each source signal name includes: screening out the target measurement point description from multiple second measurement point descriptions based on at least one source signal name and the device name in each second measurement point description; querying the target source signal corresponding to each source signal name from the substation configuration description file based on the target measurement point description.
[0080] Among them, the substation configuration description file records the source signal corresponding to each second measurement point description.
[0081] Optionally, the computer device determines a device name that matches at least one source signal, and uses the second measurement point description to which the device name belongs as the target measurement point description. Based on the target measurement point description, the computer device obtains each source signal corresponding to the target measurement point description from the substation configuration description file.
[0082] In this embodiment, through the source signal name and the device name in the second measurement point description, it can be automatically queried whether there is a target measurement point description corresponding to at least one source signal name, so that the source signal corresponding to the source signal name, that is, the target source signal, can be automatically queried. The whole process does not require manual configuration, which can avoid configuration errors and improve the synthesis efficiency.
[0083] In one embodiment, based on at least one source signal name and the device name in each second measurement point description, screening out the target measurement point description from multiple second measurement point descriptions includes: for each second measurement point description, verifying whether the device name in the second measurement point description matches at least one source signal name; in the case where it is verified that the device name in the second measurement point description matches at least one source signal name, using the second measurement point description as the target measurement point description.
[0084] Optionally, the computer device uses a third dictionary to segment the second measurement point description to obtain the device name in the second measurement point description. For each source signal name, the computer device traverses the device names of each second measurement point description to query whether there is a device name associated with the source signal name. If the device names corresponding to each source signal name are the same, the second measurement point description to which the device name belongs is used as the target measurement point description.
[0085] Among them, the construction process of the third dictionary can refer to the previous first dictionary construction process, which will not be elaborated here.
[0086] Exemplarily, the computer device determines the association relationship between the device name and the source signal name, and based on this association relationship, determines the device name corresponding to each source signal name.
[0087] In some scenarios, for the convenience of querying, when setting the device name of the second measurement point description, the associated source signal name and the name of the measurement and control device can be combined, and the combined result is used as the device name. That is to say, the device name in the second measurement point description can be segmented to obtain the third segmentation. Check whether there is a source signal name in the third segmentation. For each source signal name, check whether there is a third segmentation that is the same as the source signal name. If there is, and it is determined that the third segmentation matches the source signal, then the device name where the third segmentation is located is used as the device name corresponding to the source signal name. If not, obtain the second synonymy library between the source signal name and the device name, and query the synonyms of the source signal name in the second synonymy library. If the synonym belongs to the third segmentation, it is considered that the third segmentation matches the source signal, and the device name where the third segmentation is located is used as the device name corresponding to the source signal name. Among them, the construction process of the second synonymy library can refer to the construction process of the first synonymy library in the previous text. After determining the third segmentation that each source signal name matches, if each matching third segmentation belongs to the same second measurement point description, then the second measurement point description to which it belongs is used as the target measurement point description. The third segmentation that the source signal matches refers to that the source signal and the third segmentation are the same or synonymous.
[0088] In this embodiment, by verifying whether the device name matches the source signal name, the target measurement point description can be accurately screened out, which is convenient for accurately confirming the source signal.
[0089] In this embodiment, based on the target composite signal template, the signal synthesis method and at least one source signal name are determined. Therefore, the target source signal can be automatically determined without manual selection one by one, effectively improving the accuracy of the generated composite signal.
[0090] In the above composite signal generation method, by obtaining the detection information table of the substation and the substation configuration description file, the detection information table includes multiple first measurement point descriptions, and the substation configuration description file includes multiple second measurement point descriptions; for each first measurement point description, if it is verified that there is no second measurement point description in the substation configuration description file that matches the first measurement point description, automatically obtain multiple candidate composite signal templates; based on the first measurement point description, screen out the matching target composite signal template from the multiple candidate composite signal templates, that is, use the first measurement point description to screen the template to ensure the accuracy and effectiveness of the subsequent composite signal generation; based on the target composite signal template, determine the signal synthesis method and at least one target source signal corresponding to the first measurement point description, and adaptively generate a target composite signal that matches the first measurement point description. The target composite signal is used for remote control and detection. The whole process does not require manual configuration of the composite signal. It is automatically generated by means of the matching target composite signal template, reducing the risk of errors, thereby improving the accuracy of the generated composite signal.
[0091] In a specific embodiment, the specific steps are as follows:
[0092] Step 1: The computer device obtains a detection information table about the substation and a substation configuration description file. The detection information table includes multiple first measurement point descriptions, and the substation configuration description file includes multiple second measurement point descriptions.
[0093] Step 2: For each first measurement point description, if it is verified that there is no second measurement point description matching the first measurement point description in the substation configuration description file, obtain multiple preset composite signal templates. Each composite signal template has a corresponding priority; screen out candidate composite signal templates belonging to the preset priority from the multiple composite signal templates.
[0094] Step 3: For each candidate composite signal template, obtain the keyword of the composite signal name from the candidate composite signal template; compare each first measurement point description with the keyword of each candidate composite signal template to obtain the keyword that is consistent with the first measurement point description, and use the candidate composite signal template corresponding to the keyword that is consistent with the first measurement point description as the target composite signal template matching the first measurement point description.
[0095] Step 4: When the target composite signal template indicates that the composite signal is an interval composite signal, execute the following steps 5 - 8. When the target composite signal template indicates that the composite signal is an interval composite signal, execute the following steps 5 - 9.
[0096] Step 5: Obtain the specified signal synthesis method and at least one source signal name from the target composite signal template.
[0097] Step 6: For each second measurement point description, verify whether the device name in the second measurement point description matches at least one source signal name; in the case where it is verified that the device name in the second measurement point description matches at least one source signal name, use the second measurement point description as the target measurement point description.
[0098] Step 7: Based on the target measurement point description, query the target source signal corresponding to each source signal name from the substation configuration description file.
[0099] Step 8: Generate a target composite signal matching the first measurement point description based on the signal synthesis method and at least one target source signal. The target composite signal is used for telecontrol and detection.
[0100] Step 9: Combine all target composite signals to generate a global composite signal.
[0101] In this embodiment, by obtaining a detection information table of a substation and a substation configuration description file, the detection information table includes multiple first measurement point descriptions, and the substation configuration description file includes multiple second measurement point descriptions; for each first measurement point description, if it is verified that there is no matching second measurement point description in the substation configuration description file, multiple candidate synthetic signal templates are automatically obtained; based on the first measurement point description, a matching target synthetic signal template is selected from the multiple candidate synthetic signal templates, that is, the template is selected using the first measurement point description to ensure the accuracy and effectiveness of subsequent synthetic signal generation; based on the target synthetic signal template, a signal synthesis method and at least one target source signal corresponding to the first measurement point description are determined, and based on the signal synthesis method and the at least one target source signal, a target synthetic signal matching the first measurement point description is adaptively generated, and the target synthetic signal is used for remote control and detection. The entire process does not require manual configuration of synthetic signals and realizes automatic generation with the help of matching target synthetic signal templates, reducing the risk of errors, thereby improving the accuracy of synthetic signal generation. In addition, the automated process significantly reduces the time and cost of synthetic signal configuration and improves the operation and maintenance efficiency of the substation. The entire synthetic signal generation process has high flexibility and can adjust the synthetic signal configuration according to different requirements to adapt to future technological changes and the development of the power system.
[0102] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps or stages in other steps.
[0103] Based on the same inventive concept, the embodiment of the present application also provides a synthetic signal generation device for implementing the synthetic signal generation method described above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the synthetic signal generation device provided below can refer to the limitations on the synthetic signal generation method in the above text and will not be repeated here.
[0104] In an exemplary embodiment, as Figure 4As shown, a synthetic signal generation device 400 is provided, including: a file acquisition module 402, a template acquisition module 404, a template screening module 406, and a signal generation module 408, where:
[0105] The file acquisition module 402 is configured to acquire a detection information table about a substation and a substation configuration description file. The detection information table includes a plurality of first measuring point descriptions, and the substation configuration description file includes a plurality of second measuring point descriptions;
[0106] The template acquisition module 404 is configured to, for each first measuring point description, if it is verified that there is no second measuring point description matching the first measuring point description in the substation configuration description file, determine a plurality of candidate synthetic signal templates;
[0107] The template screening module 406 is configured to, based on the first measuring point description, screen out a matching target synthetic signal template from the plurality of candidate synthetic signal templates;
[0108] The signal generation module 408 is configured to, based on the target synthetic signal template, determine a signal synthesis method and at least one target source signal corresponding to the first measuring point description, and generate a target synthetic signal matching the first measuring point description based on the signal synthesis method and the at least one target source signal. The target synthetic signal is used for remote control and detection.
[0109] In one embodiment, the template acquisition module 404 is configured to acquire a plurality of preset synthetic signal templates, and each synthetic signal template has a corresponding priority; screen out candidate synthetic signal templates belonging to the preset priority from the plurality of synthetic signal templates.
[0110] In one embodiment, the template screening module 406 is configured to, for each candidate synthetic signal template, obtain keywords of the synthetic signal name from the candidate synthetic signal template; compare the first measuring point description with the keywords of each candidate synthetic signal template respectively, obtain keywords consistent with the first measuring point description, and use the candidate synthetic signal template corresponding to the keywords consistent with the first measuring point description as the target synthetic signal template matching the first measuring point description.
[0111] In one embodiment, the signal generation module 408 is configured to obtain a specified signal synthesis method and at least one source signal name from the target synthetic signal template; determine a target source signal corresponding to each source signal name based on the substation configuration description file.
[0112] In one embodiment, the signal generation module 408 is configured to screen out target measuring point descriptions from the plurality of second measuring point descriptions based on at least one source signal name and the device name in each second measuring point description; query the target source signal corresponding to each source signal name from the substation configuration description file based on the target measuring point description.
[0113] In one embodiment, the signal generation module 408 is configured to, for each second measurement point description, verify whether the device name in the second measurement point description matches at least one source signal name; and in the case where it is verified that the device name in the second measurement point description matches at least one source signal name, use the second measurement point description as the target measurement point description.
[0114] Each module in the above composite signal generation device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or stored in a memory in the computer device in the form of software, so as to facilitate the processor to call and execute the operations corresponding to each of the above modules.
[0115] In an exemplary embodiment, a computer device is provided. The computer device can be a server or a terminal, and its internal structural diagram can be as Figure 5 shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communicating with an external terminal through a network connection. When the computer program is executed by the processor, a composite signal generation method is implemented.
[0116] Those skilled in the art can understand that Figure 5 the structure shown in
[0117] In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented: obtaining a detection information table about a substation and a substation configuration description file. The detection information table includes a plurality of first measuring point descriptions, and the substation configuration description file includes a plurality of second measuring point descriptions; for each first measuring point description, if it is verified that there is no second measuring point description matching the first measuring point description in the substation configuration description file, determining a plurality of candidate synthesized signal templates; based on the first measuring point description, screening out a matching target synthesized signal template from the plurality of candidate synthesized signal templates; based on the target synthesized signal template, determining a signal synthesis method and at least one target source signal corresponding to the first measuring point description, and generating a target synthesized signal matching the first measuring point description based on the signal synthesis method and the at least one target source signal. The target synthesized signal is used for telecontrol and detection.
[0118] In one embodiment, when the processor executes the computer program, the following steps are further implemented: obtaining a plurality of preset synthesized signal templates, and each synthesized signal template has a corresponding priority; screening out candidate synthesized signal templates belonging to the preset priority from the plurality of synthesized signal templates.
[0119] In one embodiment, when the processor executes the computer program, the following steps are further implemented: for each candidate synthesized signal template, obtaining keywords of the synthesized signal name from the candidate synthesized signal template; comparing the first measuring point description with the keywords of each candidate synthesized signal template respectively, obtaining keywords consistent with the first measuring point description, and using the candidate synthesized signal template corresponding to the keywords consistent with the first measuring point description as the target synthesized signal template matching the first measuring point description.
[0120] In one embodiment, when the processor executes the computer program, the following steps are further implemented: obtaining a specified signal synthesis method and at least one source signal name from the target synthesized signal template; determining a target source signal corresponding to each source signal name based on the substation configuration description file.
[0121] In one embodiment, when the processor executes the computer program, the following steps are further implemented: screening out target measuring point descriptions from the plurality of second measuring point descriptions based on at least one source signal name and the device name in each second measuring point description; querying the target source signal corresponding to each source signal name from the substation configuration description file based on the target measuring point description.
[0122] In one embodiment, when the processor executes the computer program, the following steps are further implemented: for each second measurement point description, verify whether the device name in the second measurement point description matches at least one source signal name; in the case where it is verified that the device name in the second measurement point description matches at least one source signal name, use the second measurement point description as the target measurement point description.
[0123] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtain a detection information table about a substation and a substation configuration description file. The detection information table includes a plurality of first measurement point descriptions, and the substation configuration description file includes a plurality of second measurement point descriptions; for each first measurement point description, if it is verified that there is no second measurement point description in the substation configuration description file that matches the first measurement point description, determine a plurality of candidate synthesized signal templates; based on the first measurement point description, screen out a matching target synthesized signal template from the plurality of candidate synthesized signal templates; based on the target synthesized signal template, determine a signal synthesis method and at least one target source signal corresponding to the first measurement point description, and generate a target synthesized signal that matches the first measurement point description based on the signal synthesis method and the at least one target source signal. The target synthesized signal is used for telecontrol and detection.
[0124] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtain a plurality of preset synthesized signal templates, and each synthesized signal template has a corresponding priority; screen out candidate synthesized signal templates belonging to the preset priority from the plurality of synthesized signal templates.
[0125] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: for each candidate synthesized signal template, obtain the keyword of the synthesized signal name from the candidate synthesized signal template; compare the first measurement point description with the keyword of each candidate synthesized signal template respectively to obtain a keyword that is consistent with the first measurement point description, and use the candidate synthesized signal template corresponding to the keyword that is consistent with the first measurement point description as the target synthesized signal template that matches the first measurement point description.
[0126] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtain the specified signal synthesis method and at least one source signal name from the target synthesized signal template; based on the substation configuration description file, determine the target source signal corresponding to each source signal name.
[0127] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: filtering out target measurement point descriptions from multiple second measurement point descriptions based on at least one source signal name and the device name in each second measurement point description; querying, based on the target measurement point descriptions, target source signals corresponding to each source signal name from the substation configuration description file.
[0128] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: for each second measurement point description, verifying whether the device name in the second measurement point description matches at least one source signal name; in the case where it is verified that the device name in the second measurement point description matches at least one source signal name, using the second measurement point description as the target measurement point description.
[0129] In one embodiment, a computer program product is provided, including a computer program which, when executed by a processor, implements the following steps: obtaining a detection information table of a substation and a substation configuration description file, where the detection information table includes multiple first measurement point descriptions and the substation configuration description file includes multiple second measurement point descriptions; for each first measurement point description, if it is verified that there is no second measurement point description matching the first measurement point description in the substation configuration description file, determining multiple candidate synthetic signal templates; filtering out a matching target synthetic signal template from the multiple candidate synthetic signal templates based on the first measurement point description; determining a signal synthesis method and at least one target source signal corresponding to the first measurement point description based on the target synthetic signal template, and generating a target synthetic signal matching the first measurement point description based on the signal synthesis method and the at least one target source signal, where the target synthetic signal is used for telecontrol and detection.
[0130] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtaining a preset multiple synthetic signal templates, where each synthetic signal template has a corresponding priority; filtering out candidate synthetic signal templates belonging to the preset priority from the multiple synthetic signal templates.
[0131] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: for each candidate synthetic signal template, obtaining keywords of the synthetic signal name from the candidate synthetic signal template; comparing the first measurement point description with the keywords of each candidate synthetic signal template respectively to obtain keywords consistent with the first measurement point description, and using the candidate synthetic signal template corresponding to the keywords consistent with the first measurement point description as the target synthetic signal template matching the first measurement point description.
[0132] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtaining a specified signal synthesis method and at least one source signal name from a target synthesis signal template; determining a target source signal corresponding to each source signal name based on a substation configuration description file.
[0133] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: screening out a target measurement point description from multiple second measurement point descriptions based on at least one source signal name and the device name in each second measurement point description; querying a target source signal corresponding to each source signal name from the substation configuration description file based on the target measurement point description.
[0134] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: for each second measurement point description, verifying whether the device name in the second measurement point description matches at least one source signal name; in the case where it is verified that the device name in the second measurement point description matches at least one source signal name, using the second measurement point description as the target measurement point description.
[0135] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0136] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.
[0137] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope recorded in the present application.
[0138] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several variations and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A synthetic signal generation method, characterized in that, The method includes: Obtaining a detection information table of a substation and a substation configuration description file, where the detection information table includes a plurality of first measuring point descriptions, and the substation configuration description file includes a plurality of second measuring point descriptions; For each first measuring point description, if it is verified that there is no second measuring point description in the substation configuration description file that matches the first measuring point description, determining a plurality of candidate composite signal templates; Based on the first measuring point description, screening out a matching target composite signal template from the plurality of candidate composite signal templates; Based on the target composite signal template, determining a signal synthesis method and at least one target source signal corresponding to the first measuring point description, and generating a target composite signal that matches the first measuring point description based on the signal synthesis method and the at least one target source signal, where the target composite signal is used for telecontrol and detection.
2. The method according to claim 1, characterized in that The determining of the plurality of candidate composite signal templates includes: Obtaining a plurality of preset composite signal templates, where each composite signal template has a corresponding priority; Screening out candidate composite signal templates belonging to a preset priority from the plurality of composite signal templates.
3. The method according to claim 1, characterized in that, The screening out of a matching target composite signal template from the plurality of candidate composite signal templates based on the first measuring point description includes: For each candidate composite signal template, obtaining a keyword of the composite signal name from the candidate composite signal template; Comparing the first measuring point description with the keywords of each candidate composite signal template respectively, obtaining the keywords that are consistent with the first measuring point description, and using the candidate composite signal template corresponding to the keywords that are consistent with the first measuring point description as the target composite signal template that matches the first measuring point description.
4. The method according to claim 1, characterized in that, The determining of the signal synthesis method and at least one target source signal corresponding to the first measuring point description based on the target composite signal template includes: Obtaining a specified signal synthesis method and at least one source signal name from the target composite signal template; Based on the substation configuration description file, determining a target source signal corresponding to each source signal name.
5. The method according to claim 4, characterized in that, The determining of a target source signal corresponding to each source signal name based on the substation configuration description file includes: Based on at least one source signal name and the device name in each second measuring point description, screening out a target measuring point description from the plurality of second measuring point descriptions; Based on the target measuring point description, querying the target source signal corresponding to each source signal name from the substation configuration description file.
6. The method according to claim 5, characterized in that, The screening out of a target measuring point description from the plurality of second measuring point descriptions based on at least one source signal name and the device name in each second measuring point description includes: For each second measuring point description, verifying whether the device name in the second measuring point description matches at least one source signal name; In the case where it is verified that the device name in the second measuring point description matches at least one source signal name, using the second measuring point description as the target measuring point description.
7. A synthetic signal generating device, characterized in that, The device includes: A file acquisition module, configured to acquire a detection information table of a substation and a substation configuration description file, where the detection information table includes a plurality of first measuring point descriptions, and the substation configuration description file includes a plurality of second measuring point descriptions; A template acquisition module, configured to, for each first measuring point description, if it is verified that there is no second measuring point description matching the first measuring point description in the substation configuration description file, determine a plurality of candidate synthesized signal templates; A template screening module, configured to screen out a matching target synthesized signal template from the plurality of candidate synthesized signal templates based on the first measuring point description; A signal generation module, configured to determine a signal synthesis method and at least one target source signal corresponding to the first measuring point description based on the target synthesized signal template, and generate a target synthesized signal matching the first measuring point description based on the signal synthesis method and the at least one target source signal, where the target synthesized signal is used for telecontrol and detection; 8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.