Remote setting method and system for rate period parameters of electric energy meter
Through the marketing business application system and the electricity consumption information collection system, the electricity price period adjustment plan is generated, combined with the encryption judgment of the front machine cluster and the key deposition, the efficient remote setting of the electricity meter fee period parameters is realized, and the problems of low success rate and task congestion in the existing technology are solved.
Patent Information
- Application Number
- CN202510341913.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-21
- Publication Date
- 2025-06-10
AI Technical Summary
When the existing technology is remotely adjusting the electricity meter fee rate, the success rate is low and the accuracy rate is low, resulting in tight working time for electricity price adjustment and heavy tasks, and congested tasks in the front-end machine of the electricity information collection system, affecting the normal execution of other acquisition tasks.
The marketing business application system obtains user information for the electricity price to be adjusted and generates user scope; the electricity consumption information collection system obtains electricity price period information and generates a fee time period parameter adjustment plan. Then, the rate period parameter setting platform generates tasks according to the plan, and issues tasks to the acquisition terminal through the regulation server cluster. The front-mounted machine cluster performs encryption judgment and key deposition to ensure the safe issuance of power meter identity authentication and rate period parameters.
The success rate and accuracy rate of remote setting of electricity meter rate period parameters are improved, the time and task burden of electricity price adjustment work is reduced, and task congestion and communication channel occupation problems in the electricity use information collection system are avoided.
Smart Images

Figure CN120128618A_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to the field of remote communication control technology, and more specifically, to a method and system for remotely setting the rate period parameters of an electric energy meter. Background Art
[0002] In recent years, in order to improve the power supply and demand situation, promote the consumption of new energy, further guide power users to adjust their electricity loads, play the role of peak shaving and valley filling, and promote the construction of a new power system with new energy as the main body, policies have been issued to adjust the time-of-use electricity prices for users such as "industrial and commercial users, users who have switched from coal to electricity, and residential electric heating users". Facing the situation of tight time between the issuance time and the implementation time of the electricity price policy document, heavy work tasks for adjusting the time period of the electric energy meter, diverse versions of the electric energy meter, and shortage of personnel, remotely implementing the adjustment of the rate period of the electric energy meter through the power consumption information collection system has become a trend.
[0003] The prior art determines the range of users whose electric energy meter rate periods need to be adjusted according to the electricity price policy document, generates a time period adjustment plan in the power consumption information collection system, remotely issues the time period to the user's electric energy meter through the system, and uses a handheld computer to adjust the time period on-site for the electric energy meter with a failed download, and replaces the electric energy meter for those with a failed on-site adjustment.
[0004] However, there are still existing problems such as low remote download efficiency, low success rate, and low accuracy rate. The electricity price adjustment work has a tight time limit and heavy tasks. A large number of penetration tasks in a short period of time will cause congestion of the front-end tasks of the power consumption information collection system; it will also occupy the communication channel of the concentrator for a long time, resulting in the inability to normally execute other load curve and event collection tasks of the concentrator for the electric energy meter. Summary of the Invention
[0005] According to an embodiment of the present invention, a remote setting solution for the rate period parameters of an electric energy meter is provided. This solution solves the technical problem of low success rate in remotely adjusting the rate period of an electric energy meter in the prior art when facing a short execution cycle of the time-of-use electricity price policy and a large number of executing users.
[0006] In a first aspect of the present invention, a method for remotely setting the rate period parameters of an electric energy meter is provided. The method includes:
[0007] Step 1: The marketing business application system obtains the user information of the electricity price to be adjusted and generates the range of users with the electricity price to be adjusted.
[0008] Step 2: The power consumption information collection system obtains the electricity price period information and generates a rate period parameter adjustment plan according to the electric energy meters corresponding to the range of users with the electricity price to be adjusted.
[0009] Step 3: The rate period parameter setting platform generates a task according to the rate period parameter adjustment plan, and issues the task to the corresponding acquisition terminal through the control server cluster.
[0010] Step 4: In response to the task issuance, the front-end computer cluster reads the encryption status of the corresponding acquisition terminal, determines whether the acquisition terminal enables ESAM encryption. If so, it performs session negotiation processing on the encrypted acquisition terminal, and executes Step 5 after the session negotiation passes; otherwise, it executes Step 5.
[0011] Step 6: The front-end computer cluster performs encryption judgment on the electricity meter. For the unencrypted electricity meter, the front-end computer cluster calls the encryption machine cluster to download the key to it, and executes Step 6; for the encrypted electricity meter, it executes Step 6.
[0012] Step 7: Perform electricity meter identity authentication according to the protocol that the electricity meter conforms to. For the electricity meter that passes the identity authentication, obtain the rate period parameters for the operation of the electricity meter according to its current operation period information, and issue the rate period parameters that are not in operation.
[0013] In the second aspect of the present invention, a remote setting system for electricity meter rate period parameters is provided. The system includes:
[0014] The marketing business application system is used to obtain user information of the electricity price to be adjusted and generate a user range of the electricity price to be adjusted.
[0015] The electricity consumption information acquisition system is used to obtain electricity price period information and generate a rate period parameter adjustment plan according to the electricity meters corresponding to the user range of the electricity price to be adjusted.
[0016] The rate period parameter setting platform is used to generate a task according to the rate period parameter adjustment plan, and issue the task to the corresponding acquisition terminal through the control server cluster.
[0017] In response to the task issuance, the front-end computer cluster is used to read the encryption status of the corresponding acquisition terminal, determine whether the acquisition terminal enables ESAM encryption. If so, it performs session negotiation processing on the encrypted acquisition terminal, and performs encryption judgment on the electricity meter after the session negotiation passes; otherwise, it directly performs encryption judgment on the electricity meter; in the encryption judgment, for the unencrypted electricity meter, the front-end computer cluster calls the encryption machine cluster to download the key to it.
[0018] The encryption machine cluster is used to perform electricity meter identity authentication according to the protocol that the electricity meter conforms to.
[0019] The control server cluster is used to, for the electricity meter that passes the identity authentication, obtain the rate period parameters for the operation of the electricity meter according to its current operation period information, and issue the rate period parameters that are not in operation.
[0020] In a third aspect of the present invention, an electronic device is provided. The electronic device includes at least one processor; and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the method of the first aspect of the present invention.
[0021] In a fourth aspect of the present invention, a non-transitory computer-readable storage medium storing computer instructions is provided, and the computer instructions are used to cause a computer to execute the method of the first aspect of the present invention.
[0022] It should be understood that the content described in the summary of the invention is not intended to limit the key or important features of the embodiments of the present invention, nor to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In conjunction with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages and aspects of the embodiments of the present invention will become more apparent. In the drawings, the same or similar reference numerals denote the same or similar elements, where:
[0024] Figure 1 A flowchart showing a method for remotely setting power meter rate period parameters according to an embodiment of the present invention is shown;
[0025] Figure 2 A flowchart showing key download according to an embodiment of the present invention is shown;
[0026] Figure 3 A flowchart showing power meter identity authentication according to an embodiment of the present invention is shown;
[0027] Figure 4 A block diagram showing a remote setting system for power meter rate period parameters according to an embodiment of the present invention is shown;
[0028] Figure 5 A block diagram showing an exemplary electronic device capable of implementing the embodiments of the present invention is shown;
[0029] Among them, 500 is an electronic device, 501 is a computing unit, 502 is a ROM, 503 is a RAM, 504 is a bus, 505 is an I / O interface, 506 is an input unit, 507 is an output unit, 508 is a storage unit, and 509 is a communication unit. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0030] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0031] In addition, the term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after.
[0032] Embodiment 1:
[0033] Figure 1 The flowchart of the remote setting method for the rate period parameters of the electricity meter in the embodiment of the present invention is shown.
[0034] The method includes:
[0035] S101. The marketing business application system obtains the user information of the users whose electricity prices need to be adjusted, and generates the user scope of the electricity prices to be adjusted, including: screening users according to the user information in the marketing business application system according to the policy implementation scope required in the policy document , For example: the implementation scope of a certain temporary peak electricity price policy is all users implementing the peak-valley electricity price policy (excluding residential electric heating and electricity consumption for electrified railway traction with special national regulations, etc.). All users implementing the peak-valley electricity price policy are screened according to the user electricity price code and industry classification, and users of types such as residential electric heating and electricity consumption for electrified railway traction with special national regulations are excluded to generate the user scope of the electricity prices to be adjusted.
[0036] In this embodiment, the user information of the users whose electricity prices need to be adjusted includes: user type, user electricity price code, and industry classification.
[0037] In this embodiment, the user scope of the users whose electricity prices need to be adjusted is the user scope of the adjusted electricity prices associated with user numbers, user names, user addresses, metering point numbers, etc.
[0038] S102. The electricity consumption information collection system obtains the electricity price period information, and generates a rate period parameter adjustment plan according to the electricity meters corresponding to the user scope of the electricity prices to be adjusted.
[0039] In this embodiment, the electricity consumption information collection system is a system for collecting, transmitting, and monitoring electric energy data. In order to adapt to different electric energy meters, the electricity consumption information collection system compiles a scheme template for adjusting the rate period parameters for each electric energy meter in the system. The scheme template includes: "meter protocol", "daily period splitting rule", and "filling rule".
[0040] Specifically, the scheme template of the rate period parameters is compiled according to the meter protocol. Each protocol is a scheme. For example: according to the user's electric energy meter protocol, the DL / T 645-2007 protocol or the DL / T 698-2017 protocol can be selected. The daily period can be selected to be split and distributed or not split and distributed. The filling rule can be selected as period table + daily period + time zone, period table + daily period, daily period + time zone, or no filling; for example: for the electric energy meter with the DL / T 645-2007 protocol, the DL / T 645-2007 protocol electric energy meter can be selected, split and distributed, and the supplementary rule is daily period + time zone.
[0041] In this embodiment, the electricity price period information is required according to the policy document.
[0042] In this embodiment, the rate period parameter adjustment scheme includes: scheme name, number of annual time zones, number of daily period tables, number of daily periods, number of rates, time zone table switching time, daily period switching time, scheme formulation time, period information, etc.
[0043] Furthermore, the generated rate period parameter adjustment scheme is reviewed by the upper-level personnel. After confirmation that it is correct, it is approved. After approval, the electricity price can be distributed.
[0044] Generate a rate period parameter adjustment scheme according to the electric energy meters corresponding to the user scope of the electricity price to be adjusted. The scheme can be directly called when distributing, avoiding input errors caused by repetitive manual input of information such as time zones and periods; it can also strictly generate a scheme for the users to be adjusted according to the requirements, avoiding misoperation of distributing to users outside the adjustment scope; at the same time, after generating the scheme, the distribution task can be directly distributed according to the configured scheme, with higher efficiency.
[0045] S103. The rate period parameter setting platform generates a task according to the rate period parameter adjustment scheme and distributes the task to the corresponding collection terminal through the control server cluster.
[0046] In this embodiment, the task sequentially includes: number of time zone periods, spare set of time zone tables, spare set of daily period tables, spare set of time zone table switching time, spare set of daily period switching time, etc.
[0047] In this embodiment, the task is sent to the corresponding acquisition terminal through the regulation server cluster, including: the regulation server cluster performs batch processing on the task, sends the task to all the acquisition terminals in parallel in the task, establishes a separate message queue for each terminal to form a separate task flow, and performs Flink stream processing on each task flow.
[0048] In this embodiment, the Flink stream processing includes: executing the task for each electricity meter in each terminal, and after the task execution of the current electricity meter ends, jumping to the next electricity meter of the current terminal to continue executing the task until all the electricity meters of the current terminal are traversed.
[0049] This step adopts the big data Flink stream processing technology. The tasks sent to each terminal are independent of each other, that is, each terminal forms a task flow. According to the written program and judgment logic in the big data, tasks that conform to each electricity meter are sent, and the execution speed of the task flow of one terminal does not affect the task flow of other terminals.
[0050] S104. In response to the task being sent, the front-end computer cluster reads the encryption status of the corresponding acquisition terminal, determines whether the acquisition terminal enables ESAM (the essence of the Embedded Secure Access Module is a CPU card chip encapsulated in DIP or SOP chip). If so, perform session negotiation processing on the encrypted acquisition terminal, and execute step S105 after the session negotiation passes; otherwise, execute step S105.
[0051] Specifically, ESAM is a hardware chip, and the interactive message is encrypted and decrypted through the ESAM chip; the acquisition terminal includes a concentrator and a conversion acquisition terminal.
[0052] In this embodiment, the front-end computer cluster reads the encryption status of the corresponding acquisition terminal automatically before setting the rate period parameters.
[0053] In this embodiment, the session negotiation processing for the encrypted acquisition terminal includes:
[0054] The front-end computer cluster generates a session negotiation message and sends it to the encryption machine cluster.
[0055] After receiving the session negotiation message, the encryption machine cluster calls the encryption machine function to encrypt the session negotiation message and sends the encrypted message to the acquisition terminal.
[0056] The acquisition terminal responds to the encrypted message, decrypts the encrypted message according to the ESAM encryption chip, and returns an answer message encrypted by the ESAM encryption chip to the front-end computer cluster. If the answer message is correct, the session negotiation passes; otherwise, the session negotiation fails.
[0057] In this embodiment, if the acquisition terminal enables ESAM encryption, the front-end computer cluster automatically initiates session negotiation commands 0AF012 and 0AF006. After the session negotiation is passed, it will jump to step S105; if the acquisition terminal does not enable ESAM encryption, it will directly jump to the electric energy meter encryption judgment link without performing session negotiation processing.
[0058] Performing identity authentication on the electric energy meter through session negotiation can ensure encrypted transmission of messages between the master station and the electric energy meter. Even if the message is intercepted, it cannot be deciphered, ensuring the security of communication between the master station and the electric energy meter. In addition, with double encryption of the electric energy meter and the terminal, in addition to the identity authentication of the electric energy meter, the terminal also needs encrypted identity authentication, which can further ensure the security of data transmission under double encryption.
[0059] S105. The front-end computer cluster performs encryption judgment on the electric energy meter. For an unencrypted electric energy meter, the front-end computer cluster calls the encryption machine cluster to perform key download on it and executes step S106; for an encrypted electric energy meter, step S106 is executed.
[0060] In this embodiment, as Figure 2 shown, the front-end computer cluster calling the encryption machine cluster to perform key download on it includes:
[0061] S201. The front-end computer cluster reads the information of the unencrypted electric energy meter, generates a call command, and sends it to the encryption machine cluster.
[0062] In this embodiment, the information of the unencrypted electric energy meter includes: COS version, chip serial number, symmetric key version, certificate status, certificate, and meter number information.
[0063] S202. In response to the call command, the encryption machine cluster calls the session negotiation machine function, establishes an application connection message, and sends it to the unencrypted electric energy meter for session negotiation verification. After the session negotiation verification is passed, the front-end computer cluster calls the encryption machine cluster to generate a session key and sends it to the electric energy meter.
[0064] Specifically, the session key is generated by the front-end computer cluster calling the encryption machine after the session negotiation successfully establishes a connection.
[0065] After the electric energy meter receives the session key, the front-end computer cluster calls the encryption machine cluster to encrypt the ESAM data through the transfer encryption authorization function and the secure transmission encryption function, and organizes a key update message to send it to the electric energy meter.
[0066] Specifically, organizing the key update message and sending it to the electric energy meter (i.e., key download) is initiated by the front-end computer cluster.
[0067] In this embodiment, after the electric energy meter receives the session key, the counter value is incremented by 1 (the initial counter value is 0). The counter is used to record the number of times the key of the electric energy meter is modified. When modifying the key state of the electric energy meter, the electric energy meter needs to judge the version of the key and the value of the counter. Only when the key version received by the electric energy meter is greater than the current key version of the electric energy meter and the value of the counter is greater than 0, can the electric energy meter encrypt successfully and change from the public key state to the private key state. After the electric energy meter becomes a private key, the counter is incremented by 1 for each encryption operation.
[0068] During the process of sending the time period, the detection cipher machine in the encryption machine cluster is called to remotely download the key to the electric energy meter; this solves the problem that although the early smart electric energy meters had ESAM modules, they did not have a key detection system, and the electric energy meters were still operating in the public key state without encrypting the transmitted data, resulting in the need for on-site adjustment or meter replacement when adjusting the rate time period.
[0069] S106. Perform identity authentication on the electric energy meter according to the protocol that the electric energy meter conforms to. For the electric energy meters that pass the identity authentication, obtain the rate time period parameters of the electric energy meter's operation according to its current operation time period information, and send the rate time period parameters that are not in operation.
[0070] In this embodiment, the current operation time period information includes: the current operation time period of Bit0 of the operation type in the operation status word 3 of the electric energy meter. Among them, the operation status word 3 indicates that the electric energy meter is in the third quadrant operation state (that is, the voltage is negative and the current is positive, indicating that the electric energy meter is feeding back active power to the power grid).
[0071] In this embodiment, as Figure 3 shown, the identity authentication of the electric energy meter according to the protocol that the electric energy meter conforms to includes:
[0072] S301. Judge whether the electric energy meter conforms to the 645 protocol. If so, the front-end computer cluster reads the meter number of the electric energy meter as the encryption dispersion factor for identity authentication of the electric energy meter. Otherwise, the front-end computer cluster reads the address of the electric energy meter as the encryption dispersion factor for identity authentication of the electric energy meter.
[0073] In this embodiment, when the electric energy meter is a 645 protocol electric energy meter, the front-end computer cluster reads the meter number of the electric energy meter as the encryption dispersion factor to participate in the identity authentication of the electric energy meter; otherwise, the front-end computer cluster reads the address of the electric energy meter as the encryption dispersion factor for identity authentication of the electric energy meter. For example, when the electric energy meter is a 698 protocol electric energy meter, the front-end computer cluster reads the address of the electric energy meter as the encryption dispersion factor for identity authentication of the electric energy meter.
[0074] Specifically, the meter number of the electric energy meter refers to the unique number set when the electric energy meter leaves the factory, and its length is generally 12 bits; the encryption dispersion factor refers to an encryption algorithm.
[0075] S302. The front-end computer cluster calls the encryption machine cluster to send an identity authentication command to the electric energy meter.
[0076] S303. In response to the identity authentication command, the electric energy meter returns two encrypted signatures to the encryption machine cluster.
[0077] Among them, the two encrypted signatures are signatures used in two different steps of session key generation and identity authentication during the interaction of the electric energy meter.
[0078] S304. The encryption machine cluster authenticates the identity of the electric energy meter according to the two encrypted signatures. If both encrypted signatures are correct, the identity authentication of the electric energy meter passes; otherwise, the identity authentication of the electric energy meter fails.
[0079] Furthermore, if the identity authentication of the electric energy meter fails, the task execution of the current electric energy meter ends. Among them, when both encrypted signatures do not pass or only one encrypted signature passes, the identity authentication of the electric energy meter fails.
[0080] This step solves the problem that the meter number and meter address of the electric energy meter in the DL / T 645-2007 specification are inconsistent. First, the meter number of the electric energy meter in the DL / T 645-2007 specification is read, and then the meter number is used as the dispersion factor for identity authentication with the electric energy meter.
[0081] In this embodiment, it is judged whether the operating electricity price of the 645 specification electric energy meter being called is the first set of electricity prices or the second set of electricity prices by the current operating period of the electric energy meter operation status word 3 (operation type) Bit0, and then the rate period parameters of the electric energy meter operation are sent to the non-operating set in ciphertext mode.
[0082] Specifically, the rate period parameters of the electric energy meter operation include: time zone period number, standby set time zone table, standby set daily period table 1, standby set time zone table switching time, standby set daily period switching time.
[0083] In this step, through dual encryption authentication of terminal encryption and electric energy meter encryption, the rate period parameters first establish an application link through terminal encryption session negotiation and then perform identity authentication with the electric energy meter. Only after both encryption authentications are successful can the rate period parameters be sent. The dual encryption authentication makes the message interaction more secure.
[0084] This application provides a method and system that can improve the success rate and accuracy of remotely setting the rate period parameters of the electric energy meter, and solves the problem of the success rate of remotely adjusting the rate period of the electric energy meter in the face of a short implementation cycle and a large number of users for the time-of-use electricity price policy.
[0085] Embodiment 2:
[0086] Figure 4The flowchart of a remote setting system for the rate period parameters of an electric energy meter according to an embodiment of the present invention is shown.
[0087] The system 400 includes:
[0088] The marketing business application system 410 is used to obtain user information of the electricity price to be adjusted and generate a user range of the electricity price to be adjusted.
[0089] The electricity consumption information collection system 420 is used to obtain electricity price period information and generate a rate period parameter adjustment plan according to the electric energy meters corresponding to the user range of the electricity price to be adjusted.
[0090] The rate period parameter setting platform 430 is used to generate a task according to the rate period parameter adjustment plan and send the task to the corresponding collection terminal through the control server cluster.
[0091] In response to the task sending 440, the front-end computer cluster is used to read the encryption status of the corresponding collection terminal, determine whether the ESAM encryption of the collection terminal is enabled. If so, perform session negotiation processing on the encrypted collection terminal, and perform encryption judgment on the electric energy meter after the session negotiation passes; otherwise, directly perform encryption judgment on the electric energy meter; in the encryption judgment, for the unencrypted electric energy meter, the front-end computer cluster calls the encryption machine cluster to perform key downloading on it.
[0092] The encryption machine cluster 450 is used to perform electric energy meter identity authentication according to the protocol complied with by the electric energy meter.
[0093] The control server cluster 460 is used to obtain the rate period parameters of the operation of the electric energy meter according to its current operation period information for the electric energy meter that has passed the identity authentication, and send the rate period parameters that have not been operated.
[0094] It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to the present invention.
[0095] The above is the introduction of the method embodiments. The following is a further description of the solution of the present invention through device embodiments having the same inventive concept as the methods in the foregoing embodiments.
[0096] According to an embodiment of the present invention, the present invention also provides an electronic device and a readable storage medium.
[0097] Figure 5FIG. 0 shows a schematic block diagram of an electronic device 500 that can be used to implement embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, for example, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, for example, personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely exemplary and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0098] The electronic device 500 includes a computing unit 501 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0099] A plurality of components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a magnetic disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0100] The computing unit 501 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 executes the various methods and processes described above, such as methods S101 to S106. For example, in some embodiments, methods S101 to S106 can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 508. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of methods S101 to S106 described above can be executed. Alternatively, in other embodiments, the computing unit 501 can be configured to execute methods S101 to S106 in any other suitable manner (e.g., by means of firmware).
[0101] The various embodiments of the systems and techniques described above in this document 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 a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments 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, receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0102] The program code for implementing the methods of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing devices, such that when the program codes are executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program codes can be executed entirely on the machine, partially on the machine, as an independent software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0103] In the context of the present invention, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0104] In order to provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds 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, speech input, or tactile input).
[0105] The systems and techniques described herein can 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 having a graphical user interface or a web browser through which the user can interact with an implementation 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 can 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), and the Internet.
[0106] A computer system can include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The client-server relationship is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, can also be a server of a distributed system, or a server incorporating a blockchain.
[0107] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitations are imposed herein.
[0108] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand 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 the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for remotely setting the rate period parameters of an electric energy meter, comprising: Step 1: The marketing business application system obtains the user information of the electricity price to be adjusted and generates the user range of the electricity price to be adjusted; Step 2: The electricity consumption information collection system obtains electricity price period information and generates a rate period parameter adjustment plan based on the electric energy meter corresponding to the user range of the electricity price to be adjusted; Step 3: The rate period parameter setting platform generates tasks according to the rate period parameter adjustment plan, and sends the tasks to the corresponding collection terminals through the control server cluster; Step 4: In response to the task delivery, the front-end cluster reads the encryption status of the corresponding acquisition terminal and determines whether ESAM encryption is enabled on the acquisition terminal. If so, session negotiation is performed on the encrypted acquisition terminal. If the session negotiation is successful, step 5 is executed; otherwise, step 5 is executed. Step 5: The front-end cluster performs encryption judgment on the electric energy meter. For an unencrypted electric energy meter, the front-end cluster calls the encryption cluster to download the key and executes step 6. For an encrypted electric energy meter, execute step 6. Step 6: Perform identity authentication of the electric energy meter according to the protocol that the electric energy meter complies with. For the electric energy meter that passes the identity authentication, obtain the rate period parameters of the electric energy meter according to its current operating time period information, and issue the rate period parameters of the non-operating electric energy meter.
2. The method according to claim 1, characterized in that: The step of sending the task to the corresponding acquisition terminal by regulating the server cluster includes: The server cluster is regulated to perform batch processing on tasks, and tasks are issued to all acquisition terminals in the task in parallel. A separate message queue is established for each terminal to form a separate task flow, and Flink stream processing is performed on each task flow.
3. The method according to claim 2, characterized in that The Flink stream processing includes: Execute tasks for each electric energy meter in each terminal, and after the task execution of the current electric energy meter is completed, jump to the next electric energy meter of the current terminal to continue executing the task until all electric energy meters of the current terminal are traversed.
4. The method according to claim 1, characterized in that: The performing session negotiation processing on the encrypted acquisition terminal includes: The front-end cluster generates a session negotiation message and sends it to the encryption cluster; After receiving the session negotiation message, the encryption machine cluster calls the encryption machine function to encrypt the session negotiation message and sends the encrypted message to the collection terminal; The terminal collects the corresponding encrypted message, decrypts the encrypted message according to the ESAM encryption chip, and returns the response message encrypted by the ESAM encryption chip to the front-end cluster. If the response message is correct, the session negotiation is successful, otherwise the session negotiation fails.
5. The method according to claim 1, characterized in that The front-end cluster calls the encryption machine cluster to download the key, including: The front-end cluster reads the unencrypted information of the electric energy meter, generates a call command, and sends it to the encryption cluster; The encryption machine cluster responds to the call command, calls the session negotiation machine function, establishes an application connection message, sends it to the unencrypted electric energy meter, performs session negotiation verification, and after the session negotiation verification passes, the front-end machine cluster calls the encryption machine cluster to generate a session key and sends it to the electric energy meter; After the electric energy meter receives the session key, the front-end cluster calls the encryption cluster, encrypts the ESAM data through the encryption authorization function and the secure transmission encryption function, and organizes the key update message and sends it to the electric energy meter.
6. The method according to claim 1, characterized in that The electric energy meter identity authentication according to the protocol that the electric energy meter complies with includes: Determine whether the electric energy meter complies with the 645 protocol. If so, the front-end cluster reads the meter number of the electric energy meter as an encryption dispersion factor to authenticate the electric energy meter identity. Otherwise, the front-end cluster reads the address of the electric energy meter as an encryption dispersion factor to authenticate the electric energy meter identity. The front-end cluster calls the encryption cluster to initiate an identity authentication command to the electric energy meter; The electric energy meter responds to the identity authentication command and returns two encrypted signatures to the encryption machine cluster; The encryption machine cluster authenticates the identity of the electric energy meter according to the two encryption signatures. If both encryption signatures are correct, the electric energy meter identity authentication succeeds; otherwise, the electric energy meter identity authentication fails.
7. The method according to claim 6, characterized in that Also includes: If the identity authentication of the electric energy meter fails, the task execution of the current electric energy meter ends; Among them, when both encryption signatures fail or only one encryption signature passes, the electric energy meter identity authentication fails.
8. A remote setting system for electric energy meter rate period parameters, characterized in that: include: The marketing business application system is used to obtain the user information of the electricity price to be adjusted and generate the user range of the electricity price to be adjusted; The electricity consumption information collection system is used to obtain electricity price period information and generate a rate period parameter adjustment plan based on the electric energy meter corresponding to the user range of the electricity price to be adjusted; The rate period parameter setting platform is used to generate tasks according to the rate period parameter adjustment plan, and send the tasks to the corresponding collection terminals through the control server cluster; The front-end cluster responds to the task delivery and is used to read the encryption status of the corresponding acquisition terminal and determine whether the acquisition terminal has ESAM encryption turned on. If so, the encrypted acquisition terminal is subjected to session negotiation, and the electric energy meter is subjected to encryption judgment after the session negotiation is passed; otherwise, the electric energy meter is directly subjected to encryption judgment; in the encryption judgment, for the unencrypted electric energy meter, the front-end cluster calls the encryption cluster to download the key; The encryption machine cluster is used to authenticate the identity of the electric energy meter according to the protocol that the electric energy meter complies with; The control server cluster is used to obtain the rate period parameters of the electric energy meter that has passed the identity authentication according to its current operating time period information, and to issue the rate period parameters of the electric energy meter that is not in operation.
9. An electronic device comprising at least one processor; and a memory connected in communication with the at least one processor; characterized in that: The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.