Electric power material reserve contract management method and device, medium and program product
Through the power material reserve contract management system with automated management and intelligent search, the problem of low manual statistics summary efficiency in the existing technology is solved, and higher data accuracy and management efficiency is achieved, and data support is provided for power material warehousing business.
Patent Information
- Application Number
- CN202411965086.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-25
AI Technical Summary
The existing technology relies on manual statistical summary in the management of power material reserve contracts, resulting in low work efficiency, low accuracy and lack of data analysis capabilities.
Provide a management system and method for power material reserve contracts, and improve the accuracy and management efficiency of data aggregation through automated management and intelligent retrieval. The specific steps include obtaining the contract to be backed up, performing summary processing and backing it up to the database, and responding to user query requests to display the target data.
It improves the summary accuracy and management efficiency of power material reserve data, and provides strong data support for power material warehousing business.
Smart Images

Figure CN119886688A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of contract management, and in particular to a management system and method for power material reserve contracts. Background Art
[0002] Power materials are various materials that are pre-stocked in the process of power production, transmission, distribution and use in order to ensure the stable operation of the power system. For example, power generation equipment, transmission equipment, distribution equipment and various power consumables. In the daily work of power material storage and logistics, by signing and executing power material reserve contracts, a solid material guarantee is provided for the power production and operation of power production operators.
[0003] Power production operators usually sign thousands of power material reserve contracts every year, involving tens of thousands of power material details. Therefore, the management of various power material reserve contracts is crucial. The signing and execution of these contracts provide a solid material guarantee for the power production and operation of power production operators. However, the current management of power material reserve contracts mostly relies on manual statistics and summaries, which has low work efficiency, low accuracy, and lack of data analysis capabilities. Summary of the invention
[0004] The present application provides a management system and method for power material reserve contracts, which improves the accuracy of power material reserve data aggregation and management efficiency through automated management and intelligent retrieval of power material reserve contracts, and provides strong data support for power material warehousing business.
[0005] According to one aspect of the present application, a method for managing a power material reserve contract is provided, the method comprising:
[0006] Based on the pre-built contract management system architecture, obtain the power material reserve contract to be backed up;
[0007] Summarize the power material reserve contracts to be backed up and the power material reserve contracts that have been backed up in the database, determine summary data, and back up the summary data and the power material reserve contracts to be backed up in the database; wherein the summary data includes at least one of the contract quantity, contract execution status, power material name, and power material quantity;
[0008] In response to a query request of the user interface, target data corresponding to the query request is determined in the database, and the target data is displayed on the user interface.
[0009] According to another aspect of the present application, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for managing a power material reserve contract as described in any embodiment of the present application.
[0010] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for managing the power material reserve contract described in any embodiment of the present application when executed.
[0011] According to another aspect of the present application, a computer program product is provided, the computer program product comprising a computer program, and the computer program, when executed by a processor, implements the method for managing the power material reserve contract described in any embodiment of the present application.
[0012] The technical solution provided by this application, based on the pre-built contract management system architecture, obtains the power material reserve contracts to be backed up; summarizes the power material reserve contracts to be backed up and the power material reserve contracts that have been backed up in the database, determines the summary data, and backs up the summary data and the power material reserve contracts to be backed up to the database; in response to the query request of the user interface, determines the target data corresponding to the query request in the database, and displays the target data on the user interface. This technical solution improves the accuracy of the summary of power material data and the management efficiency through automated management and intelligent retrieval of power material reserve contracts, and provides strong data support for the power material warehousing business.
[0013] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be 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 creative work.
[0015] Figure 1 A flowchart of a method for managing a power material reserve contract is provided for embodiment 1 of the present application.
[0016] Figure 2A flowchart of a method for managing a power material reserve contract is provided in Example 2 of the present application.
[0017] Figure 3 It is a structural diagram of equipment for implementing a method for managing a power material reserve contract in an embodiment of the present application. DETAILED DESCRIPTION
[0018] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0019] It should be noted that the terms "target", "to be backed up", "backed up", "summarized", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0020] Embodiment 1
[0021] Figure 1 This is a flowchart of a method for managing a power material reserve contract provided in Example 1 of the present application. This embodiment is applicable to the management of power material reserve contracts. The method can be executed by a power material reserve contract management device. The power material reserve contract management device can be implemented in the form of hardware and / or software. The power material reserve contract management device can be configured in a device with data processing capabilities. Figure 1 As shown, the method includes the following steps.
[0022] S110. Based on the pre-built contract management system architecture, obtain the power material reserve contract to be backed up.
[0023] Among them, the contract management system architecture can be the overall structure of the contract management system, including the relationship between software and hardware components, the division of system functions, and the way the system interacts with the external environment. For example, for a large and complex contract management system, a microservice architecture can be used to split the system into multiple small independent microservices. Each microservice communicates with each other through a lightweight communication protocol. Each microservice is responsible for a specific business function, such as a contract entry microservice, a contract approval microservice, etc. For another example, for a contract management system that needs to handle contract-related matters in real time, an event-driven architecture can be used. By publishing events in the contract management system to the event bus, each component that subscribes to related events receives and processes related events.
[0024] Among them, the power material reserve contract to be backed up may be a contract that has not been backed up in the database. In this application, the power material reserve contract can be obtained based on the contract upload instruction executed by the user in the user interface of the contract management system to perform backup processing or other processing on the power material reserve contract. Specifically, the power material reserve contract to be backed up can be stored in a preset location in the database, and the key information in the power material reserve contract to be backed up can also be extracted and stored in a preset location in the database.
[0025] Optionally, the contract management system architecture includes a presentation layer, a data layer and a business logic layer; wherein the presentation layer is used to build a user interface to obtain user query requests and display target data corresponding to the query requests; the data layer is used to store power material reserve contracts; and the business logic layer is used to summarize and retrieve power material reserve contracts stored in the database.
[0026] The presentation layer can use PyQt6 to build a user interface. Specifically, PyQt6 can be used to create appropriate interface elements such as input boxes, table controls, list controls, table styles, etc. according to actual needs.
[0027] The data layer can use the SQLite database to store and manage the power material reserve contract. Specifically, when the contract management system is started, a connection can be established with the SQLite database through the sqlite3 module to ensure that the contract management system can successfully connect to the database to obtain data.
[0028] Among them, the business logic layer can be used to process the specific business rules and processes of the contract management system, convert the operation requests initiated by the user in the presentation layer into operation instructions for the data layer, and process the data obtained from the data layer according to business needs and feed it back to the presentation layer. Specifically, in this application, the power material reserve contracts stored in the database can be summarized and retrieved.
[0029] The above technical solution adopts a layered architecture to divide the software system into multiple levels. Each level is responsible for a specific function. The layers communicate with each other through interfaces, which is conducive to the maintenance and expansion of the contract management system.
[0030] S120, summarizing the power material reserve contracts to be backed up and the power material reserve contracts that have been backed up in the database, determining summary data, and backing up the summary data and the power material reserve contracts to be backed up in the database.
[0031] The summary data includes at least one of the contract quantity, contract execution status, power material name and power material quantity.
[0032] Among them, the backed-up power material reserve contract may be a power material reserve contract that has been backed up in the database.
[0033] The summary data can be a data set obtained by statistically summarizing the key information in the power material reserve contracts to be backed up and backed up. Common summary data include the total number of contracts, the number of contracts in different execution states, the names of various power materials and their corresponding total quantities, the number of contracts involving different suppliers, etc.
[0034] Specifically, the type of summary data can be determined according to the characteristics of the contract data and business requirements. For example, the total contract amount can be calculated by traversing the contract records in the database and accumulating the values of the corresponding fields; for another example, the balance can be calculated by calculating the difference between the total contract amount and the executed quantity.
[0035] S130. In response to a query request of the user interface, determine target data corresponding to the query request in the database, and display the target data on the user interface.
[0036] The query request may be an instruction input by the user in the user interface. For example, the user may enter specific search information in the text search box of the user interface, such as "details of the power material reserve contract with contract number 12345"; for another example, the user may also select corresponding screening conditions in multiple parameter check boxes set in the user interface.
[0037] Specifically, the user enters the query request content in the corresponding input area provided by the user interface, and through the interactive mechanism of the interface, such as clicking the query button of the user interface to trigger the submit operation, the query request is sent to the business logic layer or microserver in the contract management system architecture for processing the retrieval business.
[0038] The target data can be a set of data that meets the requirements after matching and screening. For example, if a user initiates a query request to "find all power material reserve contracts signed in 2024", then all records related to power material reserve contracts signed in 2024 in the database are the target data corresponding to this query.
[0039] In the present application, the query request may be parsed first; then a database query statement, such as an SQL query statement, may be generated based on the parsed query conditions; finally, search and match operations may be performed in the database according to the query statement to determine the target data.
[0040] Optionally, in response to a query request from a user interface, target data corresponding to the query request is determined in the database, including: in response to the query request from the user interface, a search word of the query request is determined; according to the search word, the summary data and the backed-up electric power material reserve contracts in the database are traversed row by row, and matching results of each row of the database are determined respectively; according to the matching results, the target data corresponding to the search word is determined.
[0041] The search word can be a word or phrase extracted from the query request input by the user, which is an important basis for subsequently screening out target data in a massive database. For example, if a user enters a query request "find power material reserve contracts containing transformers" in the user interface of the contract management system, "transformer" is the search word for this query, and the database is searched for contract data related to it through this search word. Specifically, in this application, the search word can be extracted by performing lexical analysis and semantic understanding on the query request.
[0042] In this application, a matching operation with the search word can be performed for each row of data in the database. Taking the backed-up contract data stored in a relational database as an example, assuming that the search word is "cable", if the contract data is stored in a table named contracts, the system will check line by line whether the value of the material_name (power material name) field contains the search word "cable". For the summary data, similar matching operations are performed according to the relevant fields it contains, such as whether the material name corresponding to the field for statistical material quantity matches the search word. Finally, based on the matching results of each row, the target data corresponding to the search word is determined.
[0043] It should be noted that the same power material name may be different in different contracts, and can be matched in the database based on the fuzzy search algorithm to improve the comprehensiveness and accuracy of the search results.
[0044] Optionally, displaying the target data in the user interface includes: determining display parameters of each row in the database according to the matching results; wherein the display parameters include display and hiding; splicing the rows of data for which the display parameters are to be displayed, and displaying them in the user interface.
[0045] Among them, the display parameter can be a set value that controls whether each row of data in the database is displayed on the user interface. By assigning corresponding display parameters to each row of data, the content that needs to be displayed to the user can be filtered out according to certain rules, avoiding excessive irrelevant information from interfering with the user's viewing of key data, making the data presented in the user interface more organized and in line with query requirements.
[0046] Specifically, for a data row with a matching result of passed, the display parameter of the data row can be set to display; for a data row with a matching result of failed, the display parameter of the data row can be set to hide. Finally, the data rows with display parameters of display are spliced and converted according to the display format of the data in the user interface to be displayed in the user interface.
[0047] The embodiment of the present invention provides a method for managing electric power material reserve contracts. The method obtains electric power material reserve contracts to be backed up based on a pre-built contract management system architecture; summarizes the electric power material reserve contracts to be backed up and the backed-up electric power material reserve contracts in the database, determines the summary data, and backs up the summary data and the electric power material reserve contracts to be backed up to the database; in response to a query request from a user interface, determines in the database the target data corresponding to the query request, and displays the target data on the user interface. This technical solution improves the summary accuracy and management efficiency of electric power material data by automating the management and intelligent retrieval of electric power material reserve contracts, and provides strong data support for electric power material warehousing business.
[0048] Embodiment 2
[0049] Figure 2 This is a flow chart of a method for calibrating an overlapped area provided in the second embodiment of the present application. This embodiment is optimized based on the above embodiment, specifically, the power material reserve contracts to be backed up and the power material reserve contracts that have been backed up in the database are aggregated and the process of determining the aggregated data is optimized. Figure 2 As shown, the method of this embodiment specifically includes the following steps.
[0050] S210. Based on the pre-built contract management system architecture, obtain the power material reserve contract to be backed up.
[0051] S220, extracting the power material reserve contract to be backed up, and determining the contract data to be backed up.
[0052] The contract data to be backed up includes at least one of the contract number, contract execution status, power material name and power material quantity.
[0053] Among them, the types of contract data to be backed up can be determined in advance according to actual needs, so that the power material reserve contracts to be backed up can be extracted according to the types of data to be extracted. In addition to the contract number, contract execution status, power material name and power material quantity, the types of contract data to be backed up can also include material specifications, supplier information, purchaser information, contract signing date, contract validity period, price, etc.
[0054] In the present application, different types of data can be extracted according to their location and format in the power material reserve contract to be backed up, and regular expressions can be used to match text patterns. For example, the name and quantity of power materials can be extracted, and the format can be "material name: [name], quantity: [quantity]"; the contract data to be backed up can also be extracted by traversing paragraphs, tables and other elements in the power material reserve contract to be backed up.
[0055] After determining the contract data to be backed up, the extracted data can also be cleaned and preprocessed, such as data integrity check, data accuracy verification, data deduplication, data type conversion or data encoding, to remove invalid data and outliers in the contract data to be backed up, so as to improve the accuracy of the contract data to be backed up.
[0056] S230, traversing the backed-up contract data of the electric power material reserve contracts that have been backed up in the database, summarizing the contract data to be backed up and the backed-up contract data, determining the summary data, and backing up the summary data and the electric power material reserve contracts to be backed up into the database.
[0057] Specifically, according to the type of data that actually needs to be summarized, the corresponding backed up contract data can be extracted from the backed up power material reserve contracts, and the corresponding to-be-backed up contract data can be extracted from the to-be-backed power material reserve contracts, so as to summarize the to-be-backed up contract data and the backed up contract data to obtain summarized data.
[0058] Optionally, the contract data to be backed up and the backed up contract data are aggregated to determine the aggregated data, including: determining the contract data to be backed up and the backed up contract data in the same contract execution status; aggregating the contract data in the same contract execution status according to the name of the electric power materials to determine the aggregated data.
[0059] Among them, the contract execution status can be divided into multiple states such as unexecuted, in execution, executed, suspended and terminated. In this application, the reserve status of the power materials in the contract can be determined by the execution status of the contract. For example, if the contract execution status of a contract is executed, the power materials in the contract can be counted as reserved resources; for another example, if the contract execution status of a contract is not executed, the power materials in the contract can be counted as resources to be reserved; for another example, if the contract execution status of a contract is not executed, the power materials in the contract can be counted as ordered resources waiting to arrive.
[0060] In this application, the statistical accuracy of the same type of data can be improved by aggregating the contract data to be backed up and the backed up contract data in the same contract execution status.
[0061] Optionally, before aggregating the contract data to be backed up and the backed up contract data to determine the aggregated data, the method also includes: if there is a backed up electric power material reserve contract with the same contract number as the electric power material reserve contract to be backed up in the database, then checking the validity of the electric power material reserve contract to be backed up to determine the contract validity result; if the contract validity result is passed, then replacing the corresponding backed up electric power material reserve contract with the electric power material reserve contract to be backed up.
[0062] Among them, the contract number can be a code or identifier that uniquely identifies each power material reserve contract. In the enterprise's contract management system, the contract number usually follows certain coding rules and may contain relevant information such as the contract signing time, business type, project number, etc., to facilitate the distinction, search and management of numerous contracts. For example, a contract number may be "DLWZ20240501-001", where "DLWZ" represents the power material reserve business type, "20240501" represents the signing date, and "001" is the sequential number of such contracts signed on that day.
[0063] Among them, the validity of the contract refers to whether the contract for the reserve of backup power materials complies with relevant laws and regulations, internal corporate rules and regulations, and the conditions stipulated in the contract itself, so as to determine whether it has legal, compliant and reasonable effectiveness.
[0064] In this application, the validity result of the contract can be determined by conducting a comprehensive review of the subject information, approval process, legal and regulatory compliance, etc. of the power material reserve contract to be backed up. If the contract validity result is passed, it means that the contract to be backed up can replace the corresponding backed up contract. At this time, the corresponding update statement is used in the database to replace the data of the backed up contract with the data of the contract to be backed up. If the contract validity result is not passed, no operation is performed.
[0065] The beneficial effect of the above technical solution is that it can ensure the consistency and integrity of power material reserve contract data, especially when multiple users operate the database concurrently, avoid data conflicts and erroneous updates, and ensure the data accuracy and reliability of the contract management database.
[0066] S240, in response to the query request of the user interface, determining the target data corresponding to the query request in the database, and displaying the target data in the user interface.
[0067] The embodiment of the present invention provides a management method for power material reserve contracts. The method is based on a pre-built contract management system architecture, obtains power material reserve contracts to be backed up; extracts the power material reserve contracts to be backed up, and determines the contract data to be backed up; wherein the contract data to be backed up includes at least one of the contract number, contract execution status, power material name, and power material quantity; traverses the backed up contract data of the power material reserve contracts that have been backed up in the database, summarizes the contract data to be backed up and the backed up contract data, and determines the summary data; in response to a query request of a user interface, determines the target data corresponding to the query request in the database, and displays the target data on the user interface. This technical solution improves the efficiency and accuracy of the database's summary processing of contract data by extracting key data in the power material reserve contract.
[0068] Embodiment 3
[0069] Figure 3 A schematic diagram of a device 10 that can be used to implement an embodiment of the present application is shown. The device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0070] like Figure 3As shown, the device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0071] A number of components in the device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0072] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a management method for a power material reserve contract.
[0073] In some embodiments, the management method of the power material reserve contract may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the management method of the power material reserve contract described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the management method of the power material reserve contract in any other suitable manner (e.g., by means of firmware).
[0074] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0075] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow charts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0076] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0077] To provide interaction with a user, the systems and techniques described herein can be implemented on a device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0078] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0079] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0080] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.
[0081] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for managing a power material reserve contract, characterized in that: The method comprises: Based on the pre-built contract management system architecture, obtain the power material reserve contract to be backed up; Summarize the power material reserve contracts to be backed up and the power material reserve contracts that have been backed up in the database, determine summary data, and back up the summary data and the power material reserve contracts to be backed up into the database; wherein the summary data includes at least one of the contract quantity, contract execution status, power material name, and power material quantity; In response to a query request of the user interface, target data corresponding to the query request is determined in the database, and the target data is displayed on the user interface.
2. The method according to claim 1, characterized in that The power material reserve contracts to be backed up and the power material reserve contracts that have been backed up in the database are aggregated and processed to determine aggregated data, including: Extracting the power material reserve contract to be backed up to determine the contract data to be backed up; wherein the contract data to be backed up includes at least one of the contract number, contract execution status, power material name and power material quantity; The backed-up contract data of the backed-up power material reserve contracts in the database are traversed, the contract data to be backed up and the backed-up contract data are summarized and processed to determine the summary data.
3. The method according to claim 2, characterized in that The contract data to be backed up and the backed up contract data are aggregated to determine aggregated data, including: Determine the contract data to be backed up and the contract data that has been backed up that are in the same contract execution status; The contract data of the same contract execution status are aggregated according to the name of the power materials to determine the aggregated data.
4. The method according to claim 2, characterized in that: Before aggregating the contract data to be backed up and the backed up contract data to determine the aggregated data, the method further includes: If there is a backed-up power material reserve contract with the same contract number as the power material reserve contract to be backed up in the database, then the validity of the power material reserve contract to be backed up is checked to determine the contract validity result; If the contract validity result is passed, the backup power material reserve contract will replace the corresponding backup power material reserve contract.
5. The method according to claim 1, characterized in that In response to a query request from a user interface, determining target data corresponding to the query request in the database includes: In response to a query request from a user interface, determining a search word of the query request; According to the search word, traverse the summary data and the backed-up power material reserve contracts in the database line by line, and determine the matching results of each line of the database respectively; According to the matching result, target data corresponding to the search word is determined.
6. The method according to claim 5, characterized in that Displaying the target data on the user interface includes: Determining display parameters of each row in the database according to the matching results; wherein the display parameters include display and hiding; The rows of data displayed by the display parameters are spliced and displayed in the user interface.
7. The method according to claim 1, characterized in that The contract management system architecture includes a presentation layer, a data layer and a business logic layer; wherein, The presentation layer is used to construct a user interface to obtain a user's query request and display target data corresponding to the query request; The data layer is used to store power material reserve contracts; The business logic layer is used to aggregate and retrieve the power material reserve contracts stored in the database.
8. An electronic device, characterized in that: The device comprises: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for managing a power material reserve contract as described in any one of claims 1-7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the management method of the power material reserve contract according to any one of claims 1 to 7 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements a method for managing a power material reserve contract according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method and device for cycling backup
CN101739310A
Data interaction system of urban underground pipeline, and method thereof
CN105022769A
Overall process information management and control visualization method based on electric power material supply chain and system thereof
CN105701617A
Data backup method and cloud server
CN106502824A
Electric power project contract monitoring system and method
CN112100264A