Substation name processing method and device, storage medium and computer program product
By generating candidate substation names and providing name editing interfaces, combining consistency matching and standardized verification, the problem of difficult to unify name duplication and naming specifications in traditional substation name management methods is solved, and efficient and accurate name management is achieved.
Patent Information
- Application Number
- CN202411599947.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-04-01
AI Technical Summary
Traditional substation name management methods rely on manual operations and simple database records, which easily leads to duplication of names, difficulty in unification of naming specifications, inefficient and error-prone.
By generating candidate substation names, a name editing interface is provided based on the attribute information of the target substation and the naming preferences of the manager, allowing the manager to select, modify or add names, and perform consistency matching and normative verification.
It realizes the standardization and uniqueness of substation names, improves the efficiency and accuracy of name management, and reduces manual errors and management complexity.
Smart Images

Figure CN119739758A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power technology, and in particular to a method, device, storage medium and computer program product for processing a substation name. Background Art
[0002] In the rapidly developing power industry, with the continuous expansion of the power grid scale and the sharp increase in the number of substations, the generation and management of substation names has become particularly important.
[0003] The traditional method mainly relies on manual operation and simple database records. This method is prone to name duplication due to manual statistics, resulting in management confusion. Secondly, different personnel or units may adopt different naming habits, and it is difficult to unify the naming standards, which increases the complexity of subsequent management. Finally, the traditional method lacks intelligent recommendation and verification mechanisms, making the entire process inefficient and error-prone. Summary of the invention
[0004] Based on this, it is necessary to provide a substation name processing method, device, storage medium computer program product to address the above technical problems, which can facilitate the substation name processing process.
[0005] In a first aspect, the present application provides a method for processing a substation name, the method comprising:
[0006] In the case where the target substation data needs to be stored, at least one candidate substation name for the target substation is generated according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation;
[0007] Outputting a name editing interface to the management party; wherein the name editing interface includes at least one candidate substation name;
[0008] In response to the name processing operation of the management party on the name editing interface, a target substation name for the target substation is determined.
[0009] In one embodiment, at least one candidate substation name for the target substation is generated according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation, including:
[0010] The naming preference of the management party is determined based on the name operation records of the historical substations by the management party of the target substation; wherein the naming preference includes a naming combination method and a preference character; according to the naming combination method, the naming combination elements are extracted from the attribute information of the target substation; according to the preference characters and the extracted naming combination elements, at least one candidate substation name for the target substation is generated.
[0011] In one of the embodiments, in response to a name processing operation performed by the management party on the name editing interface, determining a target substation name for the target substation includes any of the following:
[0012] In response to the management party's name selection operation on each candidate substation name on the name editing interface, the candidate substation name selected by the management party is used as the target substation name for the target substation; in response to the management party's name modification operation on any candidate substation name on the name editing interface, the modified candidate substation name is used as the target substation name for the target substation; in response to the management party's name addition operation in the name editing interface, the newly added substation name is used as the target substation name for the target substation.
[0013] In one embodiment, it also includes:
[0014] The target substation name is matched with the substation names stored in the database for consistency; if there is a substation name matching the target substation name in the database, a name duplicate reminder message is output to the management party; in response to the management party's operation on the name duplicate reminder message, the operation of outputting the name editing interface to the management party is returned.
[0015] In one embodiment, it also includes:
[0016] Perform compliance verification on the target substation name; if the compliance verification fails, output a verification failure reminder message to the management party; wherein the verification failure reminder message includes the naming convention and the elements in the target substation name that do not comply with the compliance verification; in response to the management party's operation on the verification failure reminder message, return to execute the operation of outputting the name editing interface to the management party.
[0017] In one of the embodiments, the target substation name of the target substation is associated with the data to be stored and stored.
[0018] In a second aspect, the present application also provides a substation name processing device, the device comprising:
[0019] A candidate generation module is used to generate at least one candidate substation name for the target substation according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation when it is necessary to store the target substation data;
[0020] An interface output module, used to output a name editing interface to the management party; wherein the name editing interface includes at least one candidate substation name;
[0021] The name determination module is used to determine the target substation name for the target substation in response to the name processing operation of the management party on the name editing interface.
[0022] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0023] In the case where the target substation data needs to be stored, at least one candidate substation name for the target substation is generated according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation;
[0024] Outputting a name editing interface to the management party; wherein the name editing interface includes at least one candidate substation name;
[0025] In response to the name processing operation of the management party on the name editing interface, a target substation name for the target substation is determined.
[0026] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0027] In the case where the target substation data needs to be stored, at least one candidate substation name for the target substation is generated according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation;
[0028] Outputting a name editing interface to the management party; wherein the name editing interface includes at least one candidate substation name;
[0029] In response to the name processing operation of the management party on the name editing interface, a target substation name for the target substation is determined.
[0030] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0031] In the case where the target substation data needs to be stored, at least one candidate substation name for the target substation is generated according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation;
[0032] Outputting a name editing interface to the management party; wherein the name editing interface includes at least one candidate substation name;
[0033] In response to the name processing operation of the management party on the name editing interface, a target substation name for the target substation is determined.
[0034] The above-mentioned substation name processing method, device, storage medium computer program product generates at least one candidate substation name for the target substation according to the attribute information of the target substation and the name operation record of the historical substation by the management party who manages the target substation, thereby providing a basis for the standardization of the substation name; further, by outputting a name editing interface to the management party, a premise is provided for obtaining the target substation data and determining the target substation name; finally, according to the name processing operation of the management party on the name editing interface, the target substation name for the target substation is determined. This scheme realizes the standardization of each candidate substation name by introducing the attribute information of the target substation and the name operation record of the historical substation by the management party who manages the target substation; further, by outputting a name editing interface including at least one candidate substation name to the management party, it provides the management party with an idea of processing the substation name, and finally realizes the convenience of the substation name processing process. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 An application environment diagram of a substation name processing method provided in an embodiment of the present application;
[0037] Figure 2 A schematic diagram of a process of substation name processing provided in an embodiment of the present application;
[0038] Figure 3 A schematic diagram of a process for generating candidate substation names provided in an embodiment of the present application;
[0039] Figure 4 A schematic diagram of a process for determining a target substation name provided in an embodiment of the present application;
[0040] Figure 5 A flowchart of another method for processing a substation name provided in an embodiment of the present application;
[0041] Figure 6 A structural block diagram of a substation name processing device provided in an embodiment of the present application;
[0042] Figure 7 This is a diagram of the internal structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with 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.
[0044] The substation name processing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment 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 it can be placed on the cloud or other network servers. The management party can input the target substation data and name and other information through the terminal 102; then, the server 104 can provide the management party with information such as the name of the candidate substation, and obtain the target substation name of the target substation and other information through the terminal 102, so as to realize the processing of the target substation name. Among them, the terminal 102 can be but not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0045] In an exemplary embodiment, Figure 2 As shown, a substation name processing method is provided, which is applied to Figure 1 Taking the server 104 in the example as an example, the following steps may be included:
[0046] S201, when it is necessary to store target substation data, generate at least one candidate substation name for the target substation according to attribute information of the target substation and a record of historical substation name operations by a management party that manages the target substation.
[0047] Among them, the target substation data may include but is not limited to the attribute information of the target substation and the name of the target substation; optionally, the attribute information of the target substation may include but is not limited to the geographical location of the target substation, the capacity of the target substation, the voltage level of the target substation, the construction time of the target substation, the target substation number and the unit to which the target substation belongs.
[0048] Exemplarily, natural language processing technology, data mining algorithms and other tools can be used to extract the attribute information of the target substation and the content of the name operation records of the historical substations by the management of the target substation to obtain useful information, such as naming preferences; further, at least one candidate substation name for the target substation can be generated based on the useful information obtained.
[0049] S202, outputting a name editing interface to the management party.
[0050] The name editing interface includes at least one candidate substation name.
[0051] Exemplarily, a name editing interface can be output to the administrator through terminal 102 so that the administrator can easily input, edit and select the name of the target substation; optionally, the name editing interface may include a basic information substation area and a name editing substation of the target substation; the basic information substation area of the target substation allows the administrator to fill in the basic information of the target substation, such as the geographical location of the target substation, the capacity of the target substation, the voltage level of the target substation, the construction time of the target substation, the target substation number and the unit to which the target substation belongs; the name editing substation allows the administrator to select and edit the names of the candidate substations; wherein the name editing substation may include a scrollable list box for displaying the generated candidate substation names, and may also include a refresh button for refreshing the names of each candidate substation.
[0052] S203: In response to the name processing operation of the management party on the name editing interface, determine the target substation name for the target substation.
[0053] The name processing operation may include but is not limited to a name selection operation, a name modification operation, and a name addition operation.
[0054] Exemplarily, the manager can enter the target substation data through the name editing interface in the terminal 102. Accordingly, the manager can obtain the name determined by the manager for the target substation based on the name processing operation on the name editing interface. If the name passes the consistency matching and standardization verification, the name can be determined as the target substation name for the target substation.
[0055] The above-mentioned substation name processing method generates at least one candidate substation name for the target substation according to the attribute information of the target substation and the name operation record of the historical substation by the management party who manages the target substation, which provides a basis for the standardization of the substation name; further, by outputting the name editing interface to the management party, it provides a premise for obtaining the target substation data and determining the target substation name; finally, according to the name processing operation of the management party on the name editing interface, the target substation name for the target substation is determined. This scheme realizes the standardization of the names of each candidate substation by introducing the attribute information of the target substation and the name operation record of the historical substation by the management party who manages the target substation; further, by outputting the name editing interface including at least one candidate substation name to the management party, it provides the management party with an idea of processing the substation name, and finally realizes the convenience of the substation name processing process.
[0056] Based on the above embodiment, the present application embodiment explains the above embodiment S201 in detail. Specifically, the present application embodiment involves a process of generating at least one candidate substation name for a target substation, such as Figure 3 As shown, the specific steps include:
[0057] S301, determining the naming preference of the management party according to the management party's name operation records of the historical substations.
[0058] The naming preference may include but is not limited to a naming combination method and a preferred character; optionally, the naming combination method refers to a combination method between various name combination elements.
[0059] Exemplarily, the name operation records of historical substations by the management party of the target substation can be cleaned to ensure the accuracy and completeness of the data; further, the names of historical substations in the name operation records can be analyzed; optionally, the name combination elements, such as geographical location, capacity, voltage level, construction time, number and affiliated unit, can be split; further, the name combination elements and the combination methods of the name combination elements can be counted to determine the naming combination methods and preferred characters commonly used by the management party when naming.
[0060] S302: extracting naming combination elements from the attribute information of the target substation according to the naming combination method.
[0061] Exemplarily, the naming combination elements commonly used by the management party in naming are determined according to the naming combination methods commonly used by the management party in naming; further, the naming combination elements commonly used by the management party in naming can be extracted from the attribute information of the target substation. For example, if the naming combination method commonly used by the management party in naming is affiliated unit-geographic location-capacity-number, then the affiliated unit of the target substation, the geographical location of the target substation, and the capacity of the target substation can be extracted from the attribute information of the target substation.
[0062] S303: Generate at least one candidate substation name for the target substation according to the preferred characters and the extracted naming combination elements.
[0063] Exemplarily, the preferred characters commonly used by the management when naming and the naming combination elements extracted from the attribute information of the target substation can be randomly combined and sorted, or the preferred characters commonly used by the management when naming can be randomly combined and sorted, and the preferred characters after each combination and sorting and the naming combination elements extracted from the attribute information of the target substation can be combined to finally generate at least one candidate substation name for the target substation.
[0064] In the embodiment of the present application, by introducing the naming preference of the management party, the process of generating the candidate substation names is rationalized and the process of the management party processing the target substation name is facilitated.
[0065] Based on the above embodiment, the present application embodiment explains the above embodiment S203 in detail. Specifically, the present application embodiment involves a process of determining the target substation name for the target substation, such as Figure 4 As shown, the specific steps include:
[0066] S401, in response to the management party's name selection operation on each candidate substation name on the name editing interface, the candidate substation name selected by the management party is used as a target substation name for a target substation.
[0067] Exemplarily, the manager can select each candidate substation name through the name editing interface in the terminal 102; then, after the manager completes the name selection operation for the candidate substation name, the terminal 102 will send a corresponding instruction to the server 104; then, the server 104 can directly use the candidate substation name selected by the manager as the target substation name for the target substation according to the received instruction.
[0068] S402, in response to the management party's name modification operation on any candidate substation name on the name editing interface, using the modified candidate substation name as a target substation name for the target substation.
[0069] Exemplarily, the administrator can edit the name of each candidate substation through the name editing interface in the terminal 102; then, after the administrator completes the name editing operation on the candidate substation name, the terminal 102 will send a corresponding instruction to the server 104; then, the server 104 can directly use the modified candidate substation name as the target substation name for the target substation according to the received instruction.
[0070] S403, in response to the name adding operation of the management party in the name editing interface, the newly added substation name is used as the target substation name for the target substation.
[0071] Exemplarily, the administrator can add a new substation name in the name editing interface in the terminal 102; then, after the administrator completes the name adding operation, the terminal 102 will send a corresponding instruction to the server 104; then, the server 104 can directly use the newly added substation name as the target substation name for the target substation according to the received instruction.
[0072] In the embodiment of the present application, by subdividing the name processing operation into a name selection operation, a name modification operation and a name addition operation, a diversified determination process of the target substation name is achieved.
[0073] Based on the above embodiment, the embodiment of the present application explains in detail the process of determining the target substation name for the target substation, which specifically includes the following steps:
[0074] The target substation name is matched with the substation names stored in the database for consistency; if there is a substation name matching the target substation name in the database, a name duplicate reminder message is output to the management party; in response to the management party's operation on the name duplicate reminder message, the operation of outputting the name editing interface to the management party is returned.
[0075] Exemplarily, a SELECT query can be executed on the database to check whether the target substation name field is the same as the substation name field stored in the database to complete a consistency match; if a substation name matching the target substation name exists in the database, it proves that the name is duplicated, the target substation name is invalid, and the name needs to be reprocessed, that is, a name duplication reminder message can be output to the management party, and after the management party responds to the name duplication reminder message, it returns to execute the operation of outputting the name editing interface to the management party; if a substation name matching the target substation name does not exist in the database, it proves that the target substation name can be used for subsequent operations.
[0076] In the embodiment of the present application, by introducing consistency matching, the uniqueness of the name of each substation is guaranteed, and the management of each substation is facilitated.
[0077] On the basis of the above-mentioned embodiment, the embodiment of the present application explains in detail the process of determining the target substation name for the target substation, which specifically includes the following steps:
[0078] Perform compliance verification on the target substation name; if the compliance verification fails, output a verification failure reminder message to the management party; in response to the management party's operation on the verification failure reminder message, return to execute the operation of outputting the name editing interface to the management party.
[0079] The verification failure reminder message includes the naming specifications and the elements in the target substation name that do not comply with the standardization verification; optionally, the naming specifications may include but are not limited to character set restrictions (such as only allowing letters, numbers and underscores), length restrictions, whether special characters are allowed, whether a specific prefix or suffix must be included, etc.
[0080] Exemplarily, based on the naming convention, each naming combination element in the target substation name can be verified for compliance; if each naming combination element in the target substation name complies with the naming convention, the compliance verification is judged to have passed; if any naming combination element does not comply with the naming convention, the compliance verification is judged to have failed, and a verification failure reminder message is output to the management party, and after the management party responds to the verification failure reminder message, the operation of outputting the name editing interface to the management party is returned.
[0081] It should be noted that after the target substation name passes the consistency matching and normative verification, it is proved that the target substation name is valid, that is, the target substation name of the target substation can be associated with the data to be stored. Optionally, the target substation name of the target substation and the target substation data can be associated (that is, the data belonging to the target substation together) and stored together in the database.
[0082] In the embodiment of the present application, by introducing normative verification, the standardization and uniformity of the substation name are ensured, and the processing process of the substation name is standardized.
[0083] Based on the above embodiment, this embodiment provides an optional example of a method for processing a substation name. Figure 5 As shown, the specific implementation process is as follows:
[0084] S501, when it is necessary to store the target substation data, determine the naming preference of the management party according to the name operation records of the historical substations by the management party managing the target substation.
[0085] Among them, the naming preference includes the naming combination method and the preferred characters.
[0086] S502: extracting naming combination elements from the attribute information of the target substation according to the naming combination method.
[0087] S503: Generate at least one candidate substation name for the target substation according to the preferred characters and the extracted naming combination elements.
[0088] S504, outputting a name editing interface to the management party.
[0089] The name editing interface includes at least one candidate substation name.
[0090] S505: In response to the name processing operation of the management party on the name editing interface, determine the target substation name for the target substation.
[0091] Exemplarily, in response to the management party's name selection operation on each candidate substation name on the name editing interface, the candidate substation name selected by the management party is used as the target substation name for the target substation; in response to the management party's name modification operation on any candidate substation name on the name editing interface, the modified candidate substation name is used as the target substation name for the target substation; in response to the management party's name addition operation in the name editing interface, the newly added substation name is used as the target substation name for the target substation.
[0092] Optionally, the target substation name is matched with the substation names stored in the database for consistency; if there is a substation name matching the target substation name in the database, a name duplicate reminder message is output to the management party; in response to the management party's operation on the name duplicate reminder message, the operation of outputting the name editing interface to the management party is returned.
[0093] Optionally, a compliance verification is performed on the target substation name; if the compliance verification fails, a verification failure reminder message is output to the management party; wherein the verification failure reminder message includes the naming convention and elements in the target substation name that do not comply with the compliance verification; in response to the management party's operation on the verification failure reminder message, the operation of outputting the name editing interface to the management party is returned.
[0094] Furthermore, the target substation name of the target substation is associated with the data to be stored and stored.
[0095] The specific process of S501-S505 can refer to the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0096] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0097] Based on the same inventive concept, the embodiment of the present application also provides a substation name processing device for implementing the substation name processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more substation name processing device embodiments provided below can refer to the limitations of the substation name processing method above, and will not be repeated here.
[0098] In an exemplary embodiment, Figure 6 As shown, a substation name processing device 1 is provided, comprising: a candidate generation module 10, an interface output module 20 and a name determination module 30, wherein:
[0099] The candidate generation module 10 is used to generate at least one candidate substation name for the target substation according to the attribute information of the target substation and the name operation record of the historical substation by the management party of the target substation when the target substation data needs to be stored.
[0100] The interface output module 20 is used to output a name editing interface to the management party; wherein the name editing interface includes at least one candidate substation name.
[0101] The name determination module 30 is used to determine the target substation name for the target substation in response to the name processing operation of the management party on the name editing interface.
[0102] In one embodiment, the candidate generation module 10 is specifically used for:
[0103] The naming preference of the management party is determined based on the name operation records of the historical substations by the management party of the target substation; wherein the naming preference includes a naming combination method and a preference character; according to the naming combination method, the naming combination elements are extracted from the attribute information of the target substation; according to the preference characters and the extracted naming combination elements, at least one candidate substation name for the target substation is generated.
[0104] In one embodiment, the name determination module 30 is specifically used to:
[0105] In response to the management party's name selection operation on each candidate substation name on the name editing interface, the candidate substation name selected by the management party is used as the target substation name for the target substation; in response to the management party's name modification operation on any candidate substation name on the name editing interface, the modified candidate substation name is used as the target substation name for the target substation; in response to the management party's name addition operation in the name editing interface, the newly added substation name is used as the target substation name for the target substation.
[0106] In one embodiment, the substation name processing device 1 specifically further includes:
[0107] A matching module is used to match the target substation name with the substation names stored in the database for consistency; when there is a substation name matching the target substation name in the database, a name duplication reminder message is output to the management party; in response to the management party's operation on the name duplication reminder message, the operation of outputting the name editing interface to the management party is returned.
[0108] In one embodiment, the substation name processing device 1 specifically further includes:
[0109] A verification module is used to perform compliance verification on the target substation name; if the compliance verification fails, a verification failure reminder message is output to the management party; wherein the verification failure reminder message includes the naming convention and the elements in the target substation name that do not comply with the compliance verification; in response to the management party's operation on the verification failure reminder message, the operation of outputting the name editing interface to the management party is returned.
[0110] In one embodiment, the substation name processing device 1 specifically further includes:
[0111] The storage module is used to associate and store the target substation name of the target substation with the data to be stored.
[0112] Each module in the above-mentioned substation name processing device can be implemented in whole or in part by software, hardware or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0113] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 7As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. 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. 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 database of the computer device is used to store target substation data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a substation name processing method is implemented.
[0114] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0115] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0116] In the case where the target substation data needs to be stored, at least one candidate substation name for the target substation is generated according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation;
[0117] Outputting a name editing interface to the management party; wherein the name editing interface includes at least one candidate substation name;
[0118] In response to the name processing operation of the management party on the name editing interface, a target substation name for the target substation is determined.
[0119] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0120] The naming preference of the management party is determined based on the name operation records of the historical substations by the management party of the target substation; wherein the naming preference includes a naming combination method and a preference character; according to the naming combination method, the naming combination elements are extracted from the attribute information of the target substation; according to the preference characters and the extracted naming combination elements, at least one candidate substation name for the target substation is generated.
[0121] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0122] In response to the management party's name selection operation on each candidate substation name on the name editing interface, the candidate substation name selected by the management party is used as the target substation name for the target substation; in response to the management party's name modification operation on any candidate substation name on the name editing interface, the modified candidate substation name is used as the target substation name for the target substation; in response to the management party's name addition operation in the name editing interface, the newly added substation name is used as the target substation name for the target substation.
[0123] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0124] The target substation name is matched with the substation names stored in the database for consistency; if there is a substation name matching the target substation name in the database, a name duplicate reminder message is output to the management party; in response to the management party's operation on the name duplicate reminder message, the operation of outputting the name editing interface to the management party is returned.
[0125] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0126] Perform compliance verification on the target substation name; if the compliance verification fails, output a verification failure reminder message to the management party; wherein the verification failure reminder message includes the naming convention and the elements in the target substation name that do not comply with the compliance verification; in response to the management party's operation on the verification failure reminder message, return to execute the operation of outputting the name editing interface to the management party.
[0127] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0128] The target substation name of the target substation is associated with the data to be stored and stored.
[0129] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0130] In the case where the target substation data needs to be stored, at least one candidate substation name for the target substation is generated according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation;
[0131] Outputting a name editing interface to the management party; wherein the name editing interface includes at least one candidate substation name;
[0132] In response to the name processing operation of the management party on the name editing interface, a target substation name for the target substation is determined.
[0133] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0134] The naming preference of the management party is determined based on the name operation records of the historical substations by the management party of the target substation; wherein the naming preference includes a naming combination method and a preference character; according to the naming combination method, the naming combination elements are extracted from the attribute information of the target substation; according to the preference characters and the extracted naming combination elements, at least one candidate substation name for the target substation is generated.
[0135] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0136] In response to the management party's name selection operation on each candidate substation name on the name editing interface, the candidate substation name selected by the management party is used as the target substation name for the target substation; in response to the management party's name modification operation on any candidate substation name on the name editing interface, the modified candidate substation name is used as the target substation name for the target substation; in response to the management party's name addition operation in the name editing interface, the newly added substation name is used as the target substation name for the target substation.
[0137] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0138] The target substation name is matched with the substation names stored in the database for consistency; if there is a substation name matching the target substation name in the database, a name duplicate reminder message is output to the management party; in response to the management party's operation on the name duplicate reminder message, the operation of outputting the name editing interface to the management party is returned.
[0139] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0140] Perform compliance verification on the target substation name; if the compliance verification fails, output a verification failure reminder message to the management party; wherein the verification failure reminder message includes the naming convention and the elements in the target substation name that do not comply with the compliance verification; in response to the management party's operation on the verification failure reminder message, return to execute the operation of outputting the name editing interface to the management party.
[0141] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0142] The target substation name of the target substation is associated with the data to be stored and stored.
[0143] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0144] In the case where the target substation data needs to be stored, at least one candidate substation name for the target substation is generated according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation;
[0145] Outputting a name editing interface to the management party; wherein the name editing interface includes at least one candidate substation name;
[0146] In response to the name processing operation of the management party on the name editing interface, a target substation name for the target substation is determined.
[0147] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0148] The naming preference of the management party is determined based on the name operation records of the historical substations by the management party of the target substation; wherein the naming preference includes a naming combination method and a preference character; according to the naming combination method, the naming combination elements are extracted from the attribute information of the target substation; according to the preference characters and the extracted naming combination elements, at least one candidate substation name for the target substation is generated.
[0149] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0150] In response to the management party's name selection operation on each candidate substation name on the name editing interface, the candidate substation name selected by the management party is used as the target substation name for the target substation; in response to the management party's name modification operation on any candidate substation name on the name editing interface, the modified candidate substation name is used as the target substation name for the target substation; in response to the management party's name addition operation in the name editing interface, the newly added substation name is used as the target substation name for the target substation.
[0151] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0152] The target substation name is matched with the substation names stored in the database for consistency; if there is a substation name matching the target substation name in the database, a name duplicate reminder message is output to the management party; in response to the management party's operation on the name duplicate reminder message, the operation of outputting the name editing interface to the management party is returned.
[0153] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0154] Perform compliance verification on the target substation name; if the compliance verification fails, output a verification failure reminder message to the management party; wherein the verification failure reminder message includes the naming convention and the elements in the target substation name that do not comply with the compliance verification; in response to the management party's operation on the verification failure reminder message, return to execute the operation of outputting the name editing interface to the management party.
[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0156] The target substation name of the target substation is associated with the data to be stored and stored.
[0157] It should be noted that the information (including but not limited to device information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0158] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0159] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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, they should be considered to be within the scope of this specification.
[0160] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for processing a substation name, characterized in that: The method comprises: In the case where the target substation data needs to be stored, generating at least one candidate substation name for the target substation according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation; Outputting a name editing interface to the management party; wherein the name editing interface includes the at least one candidate substation name; In response to the name processing operation of the management party on the name editing interface, a target substation name for the target substation is determined.
2. The method according to claim 1, characterized in that The step of generating at least one candidate substation name for the target substation according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation comprises: Determine the naming preference of the management party according to the name operation record of the historical substation by the management party managing the target substation; wherein the naming preference includes the naming combination mode and the preferred characters; According to the naming combination mode, extracting naming combination elements from the attribute information of the target substation; At least one candidate substation name for the target substation is generated according to the preferred characters and the extracted naming combination elements.
3. The method according to claim 1, characterized in that The determining of the target substation name for the target substation in response to the name processing operation of the management party on the name editing interface includes any of the following: In response to the management party's name selection operation on each candidate substation name on the name editing interface, using the candidate substation name selected by the management party as a target substation name for the target substation; In response to the management party modifying the name of any candidate substation on the name editing interface, using the modified candidate substation name as the target substation name for the target substation; In response to the management party's name adding operation in the name editing interface, the newly added substation name is used as the target substation name for the target substation.
4. The method according to claim 1, characterized in that: The method further comprises: Match the target substation name with the substation names stored in the database for consistency; If there is a substation name matching the target substation name in the database, output a name duplication reminder message to the management party; In response to the management party's operation on the name repeat reminder message, returning to execute the operation of outputting a name editing interface to the management party.
5. The method according to claim 1, characterized in that The method further comprises: Performing normative verification on the target substation name; In the case where the normative verification fails, a verification failure reminder message is output to the management party; wherein the verification failure reminder message includes the naming specification and the elements in the target substation name that do not comply with the normative verification; In response to the management party's operation on the verification failure reminder message, returning to execute the operation of outputting a name editing interface to the management party.
6. The method according to claim 1, characterized in that The method further includes: storing the target substation name of the target substation in association with the data to be stored.
7. A substation name processing device, characterized in that: The device comprises: A candidate generation module, used to generate at least one candidate substation name for the target substation according to the attribute information of the target substation and the name operation record of the historical substation by the management party managing the target substation when it is necessary to store the target substation data; An interface output module, configured to output a name editing interface to the management party; wherein the name editing interface includes the at least one candidate substation name; The name determination module is used to determine the target substation name for the target substation in response to the name processing operation of the management party on the name editing interface.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: 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 a 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 a processor, the steps of the method according to any one of claims 1 to 6 are implemented.