CN-122028071-A - Smart electric meter eSIM seed number batch downloading method, medium and terminal
Abstract
The invention is suitable for the technical field of intelligent electric meters, and relates to a method, a medium and a terminal for downloading eSIM seed numbers of intelligent electric meters in batches, wherein the method comprises the steps of constructing and maintaining a seed number database containing a plurality of eSIM seed number link addresses; the method comprises the steps of establishing a batch downloading channel for a plurality of smart electric meters to be downloaded, establishing communication connection with an eSIM chip of the smart electric meters, responding to a downloading request of any one of the smart electric meters, distributing an unoccupied eSIM seed number link address from a seed number database through an atomic operation, marking the link address as a locking state, establishing communication with a DP+ server of an operator based on the distributed eSIM seed number link address, downloading a seed number configuration file into the eSIM chip of the smart electric meters, and updating the state of the corresponding eSIM seed number link address in the seed number database at different stages of the downloading process. The invention realizes the batch reliable downloading of the seed number of the eSIM of the intelligent electric meter.
Inventors
- ZHANG LIN
- JIN HU
- LIU WEI
- ZHANG YU
- HE ZHULI
- LI JUN
- TIAN ZHONGPING
Assignees
- 威胜集团有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260129
Claims (10)
- 1. The intelligent ammeter eSIM seed number batch downloading method is characterized by comprising the following steps of: s10, constructing and maintaining a seed number database containing a plurality of eSIM seed number link addresses; s20, establishing a batch downloading channel for a plurality of intelligent electric meters to be downloaded, and establishing communication connection with an eSIM chip of the intelligent electric meters; s30, responding to a download request of any intelligent ammeter, distributing an unoccupied eSIM seed number link address from the seed number database through an atomic operation, and marking the link address as a locking state; S40, establishing communication with a DP+ server of an operator based on the allocated eSIM seed number link address, and downloading a corresponding seed number configuration file to an eSIM chip of a corresponding intelligent electric meter; S50, in different stages of the downloading process, updating the state of the corresponding eSIM seed number link address in the seed number database, marking the seed number as an allocated state if the downloading is successful, and modifying the seed number as a state bound with a specific intelligent ammeter or a state unlocked according to a time node when the downloading is failed; and S60, repeating the steps S30 to S50 until batch downloading of the eSIM seed numbers of all the intelligent electric meters is completed.
- 2. The method for batch downloading of smart meter eSIM seed numbers according to claim 1, wherein the downloading requests of the plurality of smart meters are processed in parallel by one or more threads, and each thread independently executes S30 to S50, so as to realize batch concurrent downloading.
- 3. The method according to claim 2, wherein in S50, the failure condition includes a failure occurring before the seed number configuration file has been successfully written to the smart meter eSIM chip and a failure occurring after the seed number configuration file has been successfully written to the smart meter eSIM chip.
- 4. The method for batch downloading of eSIM seed numbers of smart meters according to claim 3, wherein if a failure occurs before writing into the chip, the locking state of the link address of the eSIM seed number is released so that the linked address can be reassigned.
- 5. The smart meter eSIM seed number batch downloading method according to claim 3, wherein if the failure occurs after writing into the chip, the state of the eSIM seed number link address is modified to be uniquely bound with the current smart meter.
- 6. The method for batch downloading of eSIM seed numbers of smart electric meters according to claim 1, further comprising step S70 of checking the downloading accuracy by querying ICCID numbers of said eSIM chips after the downloading is completed.
- 7. The smart meter eSIM seed number batch download method of claim 1, wherein the verification process queries the ICCID number via sgp.22 protocol.
- 8. The method for batch downloading of smart meter eSIM seed numbers according to claim 1, wherein the interface for establishing communication connection with the eSIM chip of the smart meter is one or more of an existing infrared communication interface, an RS485 communication interface or a USB interface of the 4G module of the smart meter.
- 9. A computer readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.
- 10. An electronic terminal is characterized by comprising a processor and a memory; the memory is configured to store a computer program, and the processor is configured to execute the computer program stored in the memory, to cause the terminal to perform the method according to any one of claims 1 to 8.
Description
Smart electric meter eSIM seed number batch downloading method, medium and terminal Technical Field The invention belongs to the technical field of intelligent electric meters, and particularly relates to a method, medium and terminal for downloading eSIM seed numbers of intelligent electric meters in batches. Background Along with the increasing use of the eSIM technology on electronic products, all power companies in the world also gradually require that a 4G module on a smart meter has an eSIM function, but before the use, the eSIM function of the 4G module on the smart meter needs to preset a seed number when an eSIM card leaves a factory in a factory, so that the power company can have an initial flow number to connect with an SM-dp+ server of a telecom operator when the service number is downloaded. Because the SM-DP+ server downloads the SGP.22 protocol specification of the GSMA followed by the Profile configuration file of the seed number, each seed number needs to have uniqueness in the same area, the seed number is downloaded from the DP+ server of the operator through a unique link address, and the intelligent meter performs the operation of downloading and presetting the seed numbers of the eSIM one by one in the actual production process. The existing method for downloading the seed numbers of the eSIM is to input an independent link address of each seed number on an interface of the electric energy meter through software provided by an operator after the electric energy meter is connected with a communication channel, communicate with a DP+ server of a provider, preset seed number related data into a 4G module of the intelligent electric energy meter, and not have the possibility of actual operation of a production line of the intelligent electric energy meter because the process of the method needs continuous interaction and large data volume, and cannot download in batches. The patent application with the publication number of CN117915297A provides a method, a device, an electronic device and a storage medium for eSIM remote configuration, wherein the method comprises the steps of receiving a call request sent by an eSIM product terminal; the method comprises the steps of receiving a calling request, receiving an eSIM card terminal, receiving a calling request, wherein the calling request comprises calling mode information and/or seed number resource information, carrying out identity authentication and authentication on the SIM card terminal in response to the calling request, and sending seed number configuration data corresponding to the calling request to the eSIM product terminal based on the calling mode information and/or the seed number resource information under the condition that the identity authentication and the authentication are completed. The mode of downloading the seed number in the patent application is consistent with the prior art, batch downloading of the seed number cannot be realized, and the defects same as the prior art exist. Therefore, how to provide a method for downloading the eSIM seed number of the smart meter in batches to improve the production efficiency of the smart meter is a problem to be solved by those skilled in the art. Disclosure of Invention Aiming at the defects of the prior art, the invention aims to provide a method for downloading the smart electric meter eSIM seed numbers in batches, so as to solve the problem that the production efficiency of the smart electric meter is reduced because the smart electric meter eSIM seed numbers cannot be downloaded in batches in the prior art. In addition, the invention also provides a batch downloading medium and a terminal for the smart electric meter eSIM seed numbers. In order to solve the technical problems, the invention adopts the following technical scheme: In a first aspect, the invention provides a method for downloading smart electric meter eSIM seed numbers in batches, which comprises the following steps: s10, constructing and maintaining a seed number database containing a plurality of eSIM seed number link addresses; s20, establishing a batch downloading channel for a plurality of intelligent electric meters to be downloaded, and establishing communication connection with an eSIM chip of the intelligent electric meters; s30, responding to a download request of any intelligent ammeter, distributing an unoccupied eSIM seed number link address from the seed number database through an atomic operation, and marking the link address as a locking state; S40, establishing communication with a DP+ server of an operator based on the allocated eSIM seed number link address, and downloading a corresponding seed number configuration file to an eSIM chip of a corresponding intelligent electric meter; S50, in different stages of the downloading process, updating the state of the corresponding eSIM seed number link address in the seed number database, marking the seed number as an allocated state if the downloa