Power supply enterprise data tamper-proofing circulation method and device and storage medium
By using the relay station network in the power supply enterprise to encode, encrypt and decrypt data, and using multiple independent clients to store encrypted text, the problems of data tampering and forgery in the existing technology are solved, and the security and fault tolerance of the data are improved.
Patent Information
- Application Number
- CN202410736061.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-07
AI Technical Summary
The existing technology relies on encryption algorithms and keys in power supply enterprise data processing, which are easily cracked, resulting in a high risk of data tampering and forgery. Moreover, the encryption rules can be cracked, making it difficult to effectively prevent tampering.
Using a relay station network, multiple independent clients perform data encoding, encryption and decryption, and use a unique encryption algorithm to encrypt the data to form encrypted text and send it in bulk. The client performs storage and verification to ensure the security and integrity of the data. .
It effectively reduces the probability of data leakage, improves data security and fault tolerance, enhances the variability of encryption rules, prevents data tampering and forgery, and meets the work needs of power supply enterprises and users.
Smart Images

Figure CN118784273A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing of power supply enterprises, and in particular to a method, device and storage medium for tamper-proof circulation of data of power supply enterprises. Background Art
[0002] At present, there are many distribution areas in power supply enterprises and they are widely distributed. During the operation process, data interaction and circulation often occur within each area and between each area. The data of power supply enterprises need to be operated and forwarded by multiple parties, and there are many fraud risks in this process. Power supply enterprises have many production and business links, including metering, sampling, sample preparation and testing, etc. The front-end equipment involved is of different types and deployed in a scattered manner. The relevant data are often independent of each other and have large differences in architecture. It is necessary to use ETL (Extract-Transform-Load, data warehouse technology) program to integrate the data sources of these separated basic business links, and finally store them in a formal data warehouse to provide a basis for subsequent data analysis and business management. In view of the security issues of power supply enterprise data, the more common technical solution is to predefine the encryption algorithm and key in the front-end equipment during the deployment stage, encrypt the original data after it is generated, and save the encryption result together with the original data in the local data warehouse, and verify it during the data extraction process of the ETL program.
[0003] In order to solve the above technical problems, the first existing technical solution obtains the to-be-encrypted field of the power plant fuel data, performs multi-layer nested encryption on the to-be-encrypted field to obtain ciphertext, obtains the process parameters of the multi-layer nested encryption, and generates an identification code according to the process parameters of the multi-layer nested encryption; receives the ciphertext and identification code sent by the database server, obtains the process parameters of the multi-layer nested encryption of the ciphertext according to the identification code, decrypts the ciphertext according to the process parameters of the multi-layer nested encryption of the ciphertext, obtains the decryption result and sends it to the database server; the decryption result is used to trigger the database server to verify whether the power plant fuel data has been tampered with according to the decryption result. It can effectively prevent the occurrence of relevant practitioners cracking the preset encryption algorithm and tampering with and forging data, while reducing the dependence on the industrial control program of the front-end equipment and enhancing the adaptability to complex business environments.
[0004] In addition, the second existing technical solution connects the collection device with the target device to be collected, collects remote data through a physical interface, and encrypts the relevant data to form fingerprint data, data private key and data ciphertext, which are transmitted to the storage module of the cloud platform data center for storage. When the user uses the relevant data, data comparison can be performed online to prevent human tampering with the real data. Once the collection device and the target device are bound, any physical disconnection requires manual authorization before it can be used again. If data modification occurs during the data collection process, the existing data collection process will be canceled and the original version of the target data on the target device will be re-uploaded, thereby solving the problem of unauthorized tampering with detection data and data falsification.
[0005] However, existing technical solutions still rely solely on encryption algorithms and keys when solving technical problems, allowing relevant personnel to crack and obtain encryption rules through long-term observation of data, thereby bypassing protection and tampering with data, or using relatively identical plaintext and ciphertext fragments to splice and reorganize data, posing a greater security risk to the data. Summary of the invention
[0006] In order to solve at least one of the technical problems existing in the prior art to a certain extent, the object of the present invention is to provide a method, device and storage medium for tamper-proof circulation of data in a power supply enterprise.
[0007] The first technical solution adopted by the present invention is:
[0008] A method for preventing data from being tampered with and circulating in a power supply enterprise comprises the following steps:
[0009] Build a data circulation network: divide multiple data circulation areas based on the data circulation range of the power supply enterprise, build relay stations in the data circulation area, and each relay station is matched with multiple clients;
[0010] Data generation and recording: The client can automatically record the operation process and results of the power supply enterprise or user on the client to form corresponding data; after completing the operation, the client encodes the generated data to obtain encoded data; the client transmits the encoded data to the matching relay station through the network, and transmits it to other relay stations through the matching relay station;
[0011] Data tamper-proof encryption: After receiving the coded data, all relay stations use their own loaded encryption algorithms to encrypt the coded data to form encrypted text; the encrypted text is sent to the client through the relay station group, and the client stores the received encrypted text;
[0012] Data access and verification: The client can actively send access request information to the relay station that matches it. The relay station that receives the request information is the first-level relay station, and the other relay stations are second-level relay stations. The first-level relay station automatically verifies the client's authority and exchanges the access request information with all second-level relay stations; the second-level relay station searches for the corresponding encrypted text in multiple clients that match it based on the access request information, decrypts and compares the multiple encrypted texts searched, and outputs the relay station coded data; the first-level relay station receives the relay station coded data and compares and analyzes all the relay station coded data, selects the relay station coded data with the highest repetition rate as the access result, and sends it to the client that actively sends the access request information;
[0013] Display of access results: After the client receives the access results sent by the first-level relay station, it displays them in a read-only manner and retains the access results by downloading or printing.
[0014] Furthermore, each relay station has an independent digital number, and the power supply enterprise or user can log in to the client through a preset login method;
[0015] The preset login methods include: entering a password, swiping a card, fingerprint recognition or face recognition, and the client is a program installed in a self-service terminal, an electric energy meter or an electric power device.
[0016] Furthermore, in the step of generating and recording the data, the operation process and operation results of the power supply enterprise or the user on the client automatically recorded by the client include: the user's self-service payment process and payment results, the power consumption query process and power consumption, the power equipment maintenance process and the power equipment operation status;
[0017] Encoding the formed data refers to associating the client information and the characteristic information generated by the client during the operation with the data.
[0018] Furthermore, in the step of tamper-proof encryption of the data, a different encryption algorithm is loaded in each relay station. The relay station uses its own encryption algorithm to encrypt the encoded data and form an encrypted text, which is then sent to multiple clients that match the relay station.
[0019] Furthermore, in the step of accessing and verifying the data, the access request information includes the client code, operation code, operation date and authority key;
[0020] After receiving the access request information, the relay station automatically upgrades to a first-level relay station. The first-level relay station can obtain master control authority. The first-level relay station can supervise and remotely control the response process of the second-level relay station based on the master control authority. The first-level relay station authenticates the access request information and sends the authenticated access request information to the second-level relay station. The second-level relay station can only respond to the authenticated access request information.
[0021] Furthermore, the master control authority is set in the relay station in a dormant manner, and the master control authority set in all relay stations will be updated synchronously.
[0022] Furthermore, in the step of displaying the access results, the client deletes the displayed access results after completing the display of the access results.
[0023] Furthermore, the relay station is a macro base station.
[0024] The second technical solution adopted by the present invention is:
[0025] A data tamper-proof circulation device for a power supply enterprise, comprising:
[0026] at least one processor;
[0027] at least one memory for storing at least one program;
[0028] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.
[0029] The third technical solution adopted by the present invention is:
[0030] A computer-readable storage medium stores a program executable by a processor, wherein the program executable by the processor is used to execute the method described above when executed by the processor.
[0031] The beneficial effects of the present invention include:
[0032] (1) The present invention utilizes a relay station to encode and encrypt and decrypt data generated during the operation of the power supply system. Similarly, multiple independent clients are used to store the encrypted coded data, thereby achieving the effect of independent data storage and encryption and decryption services, effectively reducing the probability of data leakage and improving the security of the power supply system operation data.
[0033] (2) The present invention uses the encrypted text stored in multiple clients as the stub of the power supply system operation data, and uses the data stub stored in most clients as the basis during the query and retrieval process, effectively isolating the impact of tampered data and abnormal data on the results, thereby improving the fault tolerance and accuracy of the power supply system operation data, and being able to better meet the work needs of power supply companies and users.
[0034] (3) The present invention uses multiple relay stations and multiple encryption methods to generate encrypted text for the same coded data, which increases the difficulty of cracking the encrypted text and greatly enhances the variability of the encryption rules. Compared with the prior art, it can effectively prevent relevant practitioners from cracking the preset encryption algorithm and tampering with and forging data. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments of the present invention or the drawings of related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 It is a flow chart of a method for tamper-proof circulation of data of a power supply enterprise in an embodiment of the present invention;
[0037] Figure 2 It is a data circulation diagram of a method for tamper-proofing the circulation of data of a power supply enterprise in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0039] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0040] In the description of the present invention, the meaning of "several" is one or more, the meaning of "more" is two or more, and the meanings of "greater than", "less than", "exceed" and the like are understood as not including the number itself, and the meanings of "above", "below", "within" and the like are understood as including the number itself. If there is a description of the first and the second, it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. In addition, "and / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship.
[0041] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0042] like Figure 1 and Figure 2 As shown, this embodiment provides a method for tamper-proofing data circulation of a power supply enterprise, comprising the following steps:
[0043] S1. Build a data circulation network.
[0044] Divide multiple data circulation areas based on the data circulation scope of the power supply enterprise. For example, a province is used as the data circulation scope of the power supply enterprise, and then the scope covered by each city is used as a data circulation area. Build relay stations in the data circulation area, each relay station matches multiple clients, and each relay station has an independent digital number. A client is bound to the information of a power supply enterprise or a user, and the power supply enterprise or user can log in to the client through the set login method.
[0045] Specifically, the functions of the relay station include: receiving access request information from the client and responding based on the access request information, receiving data transmitted by the client and encrypting or decrypting the data, and automatically sending encrypted data to the client in batches; the number of relay stations can be one or more, and the number and distribution of relay stations must meet the needs of power supply companies or users for data interaction with relay stations based on the network.
[0046] As an optional implementation, the power supply enterprise or user logs into the client in step S1 by entering a password, swiping a card, fingerprint recognition or face recognition. The client is a program installed in the self-service terminal, power meter and power equipment.
[0047] S2. Generation and recording of data.
[0048] The client can automatically record the operation process and results of the power supply company or user on the client and form corresponding data. After completing the operation, the client encodes the formed data and obtains the encoded data. The client transmits the encoded data to the matching relay station through the network, and then transmits it to other relay stations through the matching relay station.
[0049] As an optional implementation, the operation process and operation results automatically recorded by the client in step S2 include: the user's self-service payment process and payment results, the power consumption query process and power consumption, the power equipment maintenance process and the power equipment operation status. Encoding the formed data refers to associating the client information and the characteristic information generated by the client during the operation with the data. The client information refers to the client code. A client can only have one code. The characteristic information generated by the client during the operation includes the operation code and the operation date. The operation code corresponds to the type of operation. One operation code corresponds to one type of operation. The operation date is the time point when the operation occurs.
[0050] S3. Anti-tampering encryption of data.
[0051] After receiving the coded data, all relay stations use their own loaded encryption algorithms to encrypt the coded data to form encrypted text; the encrypted text is sent to the client through the relay station group, and the client stores the received encrypted text.
[0052] As an optional implementation, in step S3, each relay station loads a different encryption algorithm, and the relay station uses its own encryption algorithm to encrypt the encoded data and form an encrypted text, which is then sent to multiple clients that match the relay station.
[0053] S4. Data access and verification.
[0054] The client can send access request information to its matching relay station. The relay station that receives the access request information is the first-level relay station, and the other relay stations are second-level relay stations. The first-level relay station automatically reviews the client's permissions. When the client's permissions do not meet the access requirements, the first-level relay station rejects the client's access request and makes a text prompt. When the client's permissions meet the access requirements, the first-level relay station will exchange the access request information among all second-level relay stations. The second-level relay station searches for the corresponding encrypted text in multiple clients that match it based on the access request information. The second-level relay station decrypts and compares the multiple encrypted texts searched. If the multiple encoded data decrypted by the second-level relay station are the same, the second-level relay station will integrate the multiple encoded data and output the relay station encoded data.
[0055] It should be noted that the unified integration method is to select one from multiple identical coding data as the relay station coding data for output; if individual abnormal coding data appears in the multiple coding data after decryption by the secondary relay station, the abnormal coding data is deleted and the other identical coding data are unified and integrated before outputting the relay station coding data. In addition, abnormal coding data is coding data that is significantly different from other coding data; if several abnormal coding data appear in the multiple coding data after decryption by the secondary relay station, and the number of several abnormal coding data exceeds one-third of the number of multiple coding data, the secondary relay station does not output the relay station coding data, the primary relay station receives all relay station coding data output by the secondary relay station and compares and analyzes all relay station coding data, selects the relay station coding data with the highest repetition rate as the access result, and the primary relay station sends the access result to the client.
[0056] As an optional implementation, the access request information in step S4 includes the client code, operation code, operation date and authority key.
[0057] As an optional implementation method, the initial permission setting of the relay station is a secondary relay station. The secondary relay station can only set ordinary permissions. The secondary relay station can only passively send, receive and search data. The relay station automatically upgrades to a primary relay station after receiving the access request information. The primary relay station can obtain the master control permission. The master control permission can suppress the ordinary permission when it takes effect. The master control permission automatically enters the dormant state after completing the data access and verification process and releases the suppression of the ordinary permission. At this time, the ordinary permission takes effect, and the primary relay station will be downgraded to a secondary relay station again. The primary relay station can supervise and remotely control the response process of the secondary relay station based on the master control permission. The first-level relay station can only review the client's permissions and make a decision after obtaining authorization from the main control. When the client's permissions are reviewed, the first-level relay station authenticates the access request information and sends the authenticated access request information to the second-level relay station. The process of the first-level relay station authenticating the access request information is to add an authentication credential to the access request information, where the authentication credential is an independent key or independent code generated by the second-level relay station to upgrade the first-level relay station. The second-level relay station can only respond to the authenticated access request information. The second-level relay station completes the search, decryption and output process based on the authenticated access request information under the monitoring and remote control of the first-level relay station.
[0058] It should be noted that when two relay stations are upgraded to first-level relay stations, the two first-level intermediate stations will be independent of each other and no data interaction process will occur. The master control permissions of the two first-level relay stations will take effect in sequence according to the unique digital numbering sequence of the relay stations. When the digital number of one first-level relay station is greater than the digital number of another relay station, the master control permission of one first-level relay station will take effect first. After the data access and verification process of one first-level relay station is completed, the master control permission of the other first-level relay station will take effect. The master control permission is set in the relay station in a dormant manner. When the relay station is upgraded to a first-level relay station, the master control permission is awakened and the ordinary permission is suppressed. The suppressed ordinary permission will become invalid. When the master control permission is dormant, the ordinary permission will take effect.
[0059] S5. Display of access results.
[0060] After receiving the access result sent by the first-level relay station, the client displays it in a read-only manner and retains the access result by downloading or printing.
[0061] As an optional implementation, in step S5, the client deletes the displayed result after completing the display of the access result, so as to avoid the access result from conflicting with the encrypted text stored in the client and affecting the relay station's search for the encrypted text.
[0062] As an optional implementation method, the master control authority set in all relay stations will be updated synchronously. The relay station is a macro base station, and the macro base station can execute the above process steps.
[0063] In some implementation processes of the present application, the encryption algorithm loaded in the relay station includes two parts: a master key and a temporary key. The master key is a fixed key, and there is a one-to-one correspondence between the master key and the relay station. The temporary key is generated based on the operation sequence. A temporary key list is backed up in the relay station. Each time the relay station encrypts, it randomly selects a temporary key. The relay station combines the selected temporary key with the master key and encrypts the encoded data to generate encrypted text.
[0064] It should be noted that there are two ways to generate master keys and temporary keys, using random numbers and using passwords. Random numbers must have the property of not being inferable. Generally speaking, we need to use a pseudo-random generator to generate them. We can use java.security.SecureRandom to generate cryptographically secure random numbers. A password is a password that humans can remember. In order to ensure that the key generated by the password cannot be cracked by brute force, the password needs to be salted. Simply put, a random number is added to the password, and then the hash calculation is performed on the added number. The calculated result can be used as the master key or temporary key. In order to ensure the security of the key, we need to update the key from time to time. The general practice is to use the current key as a baseline value and calculate the new key through a specific algorithm. For example, the number of bytes of the reference value is N. When calculating the new key, a group of random numbers is first generated, and then the random number is used to perform a modulo operation on N, and the result is used as the N+1th character of the new key. The first N characters of the new key use the reversed reference value, and then the random number is used to perform a modulo operation on the N+2th character of the new key, and the result is used as the N+2th character of the new key. Then the random number is used to perform a modulo operation on the N+2th character of the new key, and the result is used as the N+3th character of the new key. Repeat the above steps until the last character of the new key is obtained. The specific total number of characters of the new key can be set according to needs. The more characters, the more difficult it is to crack.
[0065] The temporary key list can use the key KEK to encrypt the temporary key and save it. The temporary keys in the temporary key list do not need to be particularly secure because the previous keys cannot be restored even if they are stolen. We only need to save the keys that encrypt these keys.
[0066] This embodiment also provides a data tamper-proof circulation device for a power supply enterprise, including:
[0067] at least one processor;
[0068] at least one memory for storing at least one program;
[0069] When the at least one program is executed by the at least one processor, the at least one processor implements Figure 1 The method shown.
[0070] A power supply enterprise data tamper-proof circulation device of this embodiment can execute a power supply enterprise data tamper-proof circulation method provided by the method embodiment of the present invention, can execute any combination of implementation steps of the method embodiment, and has the corresponding functions and beneficial effects of the method.
[0071] The present application also discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes Figure 1 The method shown.
[0072] This embodiment also provides a storage medium storing instructions or programs that can execute a method for tamper-proof circulation of data in a power supply enterprise provided by the method embodiment of the present invention. When the instructions or programs are run, any combination of implementation steps of the method embodiment can be executed, and the corresponding functions and beneficial effects of the method can be obtained.
[0073] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0074] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0075] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0076] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0077] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0078] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0079] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0080] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0081] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A method for tamper-proofing the circulation of data in a power supply enterprise. It is characterized in that The following steps are involved: Build a data circulation network: divide multiple data circulation areas based on the data circulation range of the power supply enterprise, build relay stations in the data circulation area, and each relay station is matched with multiple clients; Data generation and recording: The client automatically records the operation process and results of the power supply enterprise or user at the client to form corresponding data; After completing the operation, the client encodes the formed data to obtain encoded data; the client transmits the encoded data to a matching relay station through the network, and transmits the encoded data to other relay stations through the matching relay station; Data tamper-proof encryption: After receiving the coded data, all relay stations use their own loaded encryption algorithms to encrypt the coded data to form encrypted text; the encrypted text is sent to the client through the relay station group, and the client stores the received encrypted text; Data access and verification: The client actively sends access request information to the relay station that matches it. The relay station that receives the access request information is the first-level relay station, and the other relay stations are second-level relay stations. The first-level relay station automatically verifies the client's authority and exchanges the access request information with all second-level relay stations; the second-level relay station searches for the corresponding encrypted text in multiple clients that match it based on the access request information, decrypts and compares the multiple encrypted texts searched, and outputs the relay station coded data; the first-level relay station receives the relay station coded data and compares and analyzes all the relay station coded data, selects the relay station coded data with the highest repetition rate as the access result, and sends it to the client that actively sends the access request information; Display of access results: After the client receives the access results sent by the first-level relay station, it displays them in a read-only manner and retains the access results by downloading or printing.
2. A method for preventing data tampering in a power supply enterprise according to claim 1, It is characterized in that Each relay station has an independent digital number, and power supply companies or users can log in to the client through the preset login method; The preset login methods include: entering a password, swiping a card, fingerprint recognition or face recognition.
3. A method for preventing data tampering in a power supply enterprise according to claim 1, It is characterized in that In the step of generating and recording the data, the operation process and operation results of the power supply enterprise or the user on the client automatically recorded by the client include: the user's self-service payment process and payment results, the power consumption query process and power consumption, the power equipment maintenance process and the power equipment operation status; Encoding the formed data refers to associating the client information and the characteristic information generated by the client during the operation with the data.
4. A method for preventing data tampering in a power supply enterprise according to claim 1, It is characterized in that In the step of tamper-proof encryption of the data, each relay station loads a different encryption algorithm. The relay station uses its own encryption algorithm to encrypt the encoded data and form an encrypted text, which is then sent to multiple clients that match the relay station.
5. A method for preventing power supply enterprise data from being tampered with according to claim 1, It is characterized in that In the step of accessing and verifying the data, the access request information includes the client code, operation code, operation date and authority key; After receiving the access request information, the relay station automatically upgrades to a first-level relay station. The first-level relay station can obtain master control authority. The first-level relay station can supervise and remotely control the response process of the second-level relay station based on the master control authority. The first-level relay station authenticates the access request information and sends the authenticated access request information to the second-level relay station. The second-level relay station can only respond to the authenticated access request information.
6. A method for preventing data from being tampered with and circulating in a power supply enterprise according to claim 5, It is characterized in that The master control authority is set in the relay station in a dormant manner, and the master control authority set in all relay stations will be updated synchronously.
7. A method for preventing data from being tampered with and circulating in a power supply enterprise according to claim 1, It is characterized in that In the step of displaying the access results, the client deletes the displayed access results after completing the display of the access results.
8. A method for preventing data from being tampered with and circulating in a power supply enterprise according to any one of claims 1 to 7, It is characterized in that The relay station is a macro base station.
9. A data tamper-proof circulation device for power supply enterprises, It is characterized in that include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 8.
10. A computer-readable storage medium having a program executable by a processor stored therein, It is characterized in that The processor-executable program is used to perform the method according to any one of claims 1 to 8 when executed by the processor.
Citation Information
Patent Citations
Important experimental data tamper-proof monitoring control system and use method therefor
CN105631358A
Blockchain-based tamper-resistant electronic medical record system
CN108881175A
Data security management system, method, equipment and medium
CN116633583A
Vehicle sensitive data encryption method, vehicle sensitive data decryption method, vehicle sensitive data encryption and decryption method, client, server, vehicle sensitive data encryption and decryption system, vehicle sensitive data encryption and decryption equipment and medium
CN117395042A
Black box data access method based on blockchain and cloud storage
WO2022261958A1
