Electronic license signing, issuing and updating method in physical isolation network environment

By building an electronic certificate service system in a physically isolated network environment, generating version information data and pushing issuance marks, combined with the update confirmation function of the user terminal, reliable issuance and update of electronic certificates is achieved, and the problem of untimely update of electronic certificates is solved. Ensure real-time data and version management.

CN119026108APending Publication Date: 2024-11-26TRAFFIC MANAGEMENT RES INST OF THE MIN OF PUBLIC SECURITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411186854.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In a physically isolated network environment, the problem of electronic certificates and licenses being unable to be updated in time has caused some user terminals to be unable to download or update to the latest version, and a large number of manual windows are required to deal with it.

Method used

By building an electronic certificate service system in the encrypted network, the version information data is generated, including the incremental version number and the first issuance time, the latest version issuance mark is pushed to the user terminal, and the update confirmation function is set on the user terminal to realize active and passive The issuance process ensures that the user terminal obtains the latest version data.

Benefits of technology

Ensure that the user terminal can obtain the latest version of electronic certificate data in real time, avoid using old version of electronic certificate data, realize real-time update of electronic certificate data, and solve the problems of inconsistent and untimely updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119026108A_ABST
    Figure CN119026108A_ABST
Patent Text Reader

Abstract

The invention provides an electronic license signing, issuing and updating method in a physical isolation network environment, which can realize reliable signing, issuing and updating of an electronic license. According to the method, an electronic license service system is constructed, and the unique version number of new version data and the first signing and issuing duration are stored in a government affair network for a long time; after the user terminal is opened each time, a first networking program is compared with the latest version stored in the electronic license service system based on the version confirmation function, then the version information of the user terminal can be determined, once the current version is not the latest version, signing, issuing and updating processes must be executed, the user terminal is prevented from using an old version license, and the user experience is improved. The real-time updating of the electronic license data is realized; according to the electronic certificate issuing and updating method, a closed-loop issuing method is adopted, active issuing and passive issuing are combined, and the real-time performance and the version of the electronic certificate are managed by adopting source data updating time, issuing time and a version number.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic certificates, and in particular to a method for issuing and updating electronic certificates in a physically isolated network environment. Background Art

[0002] In recent years, relying on the national integrated government service platform, electronic certificates have been increasingly widely used. Compared with traditional paper certificates, electronic certificates have obvious advantages. They are easy to carry, not easy to be damaged or lost, and can carry dynamic information and support real-time updates. However, in actual use, it is found that the existing electronic certificate processing methods, although they have the functions of issuance, presentation and verification, are unable to download or update to the latest version in real time due to the large number of users, the large number of terminal devices and the complex network environment.

[0003] Electronic certificate service systems are generally deployed in physically isolated network environments, with hardware and software components distributed on different network computers. Figure 1 As shown, the electronic certificate service system and the department business system are set up in an encrypted network, the government service system that provides download and update services is set up in the government network, and the terminal users work in the public network (i.e., the Internet). The three networks are physically isolated or logically isolated, and data intercommunication is achieved based on encrypted data ferry interaction technology. In the prior art, after the department business system updates the information of the electronic certificate, for example: the department business system updates the latest electronic certificate revocation information, the electronic certificate service system generates the latest version of the electronic certificate data based on the updated data, and then exchanges the latest version of the electronic certificate data across the network to the government network. The government service system will push the latest version to the user terminal in the public network, such as: electronic certificate application APP, WeChat public account platform, mini program, government service application APP, etc. The user terminal will access the government network from the public network to download and update the data.

[0004] However, because the update data of electronic certificates includes sensitive data such as privacy data, such as address and other information updates, for data security reasons, the data will not be stored in the government network for a long time. The relevant data will be temporarily stored for a certain period of time and then deleted; some more sensitive data, such as some data for government service application APP, may even be pushed only once and will not be saved in the government server. However, due to the wide distribution of terminal users and the different actual usage of each user terminal, in actual applications, some user terminals often fail to update in time or fail to update due to various reasons such as network and hardware. If there is no data available for download in the server of the government service system at this time, and you want to continue to obtain the latest version of the electronic certificate data, you can only go to the relevant window for manual processing. Due to the large-scale application of electronic certificates, a large number of manual windows are required to deal with related problems. Summary of the invention

[0005] In order to solve the problem in the prior art that electronic certificates cannot be updated in a physically isolated network environment, the present invention provides a method for issuing and updating electronic certificates in a physically isolated network environment, which can achieve reliable issuance and updating of electronic certificates.

[0006] The technical solution of the present invention is as follows: a method for issuing and updating an electronic certificate in a physically isolated network environment, characterized in that it comprises the following steps: S1: Build an electronic certificate service system in the encrypted network; Based on the electronic certificate service system, the following electronic certificate generation process is executed: a1: The departmental business system uploads the source data of the electronic certificate and the source data update time to the electronic certificate service system, and synchronizes the source data update time to the government service system in the government network, which is recorded as the comparison update time; a2: The electronic certificate service system issues an electronic certificate and generates version information data; The version information data includes: an incrementally generated version number and a first issuance time; a3: The electronic certificate service system exchanges the electronic certificate and the version information data across the network to the government service system; a4: The government service system generates a latest version issuance mark; the latest version issuance mark includes: version number and first issuance time; a5: The government service system pushes the latest version issuance mark to the corresponding user application terminal based on the identification information of the identity document; S2: Set the update confirmation function on all user terminals; The update confirmation function is used to query the latest version issuance mark when the terminal is turned on; S3: After the user terminal is opened, if no version of the electronic certificate has been downloaded in the user terminal and it is the first time to open the terminal, then execute step S4; Otherwise, execute step S5; S4: The user terminal sends a download request to the government service system; Based on the download request, the government service system confirms whether the data of the electronic certificate to be downloaded exists on the server; If yes, execute step S8 to complete the active issuance process; Otherwise, execute step S7 to complete the passive issuance process; S5: After the user terminal is connected to the Internet, an update request is sent to the government service system based on the update confirmation function; The update request includes: the current terminal electronic certificate version number of the user terminal and the terminal user's identity document identification information; The terminal user includes: a user or a user enterprise; S6: The government service system determines whether there is a latest version to be pushed to the user terminal based on the update request; If yes, the latest electronic certificate version data is obtained, and step S8 is executed to complete the active update process; If not, the government service system returns to the terminal to notify that the current version of the terminal is already the latest version; the terminal obtains the electronic certificate from its own cache and displays it; S7: The passive issuance process includes the following steps: b1: the government service system forwards the download request to the electronic certificate service system across the network; b2: The electronic certificate service system obtains the latest electronic certificate source data and the corresponding source data update time from the department business system; b3: The electronic certificate service system issues an electronic certificate and generates version information data; b4: The electronic certificate service system exchanges the electronic certificate and the version information data across the network to the government service system; and updates the comparison update time of the government service system; b5: The government service system generates a latest version issuance mark and pushes the latest version issuance mark to all user application terminals; b6: the user terminal sends a download request to the government service system, and executes step S8 to complete the passive issuance process; S8: The government service system transmits the electronic certificate stored on the server to the user terminal, and the user terminal obtains the electronic certificate after downloading.

[0007] It is further characterized by: In the electronic certificate service system, the new version data is cached in a download queue, and each time a new version of the new version data is generated, the updated data overwrites the previous version; the user terminal only obtains the latest version of the new version data each time; In step S6, it is determined whether there is an updated version that needs to be pushed to the user terminal, which specifically includes the following steps: c1: the government service system receives the update request sent by the user terminal; reads the current terminal electronic certificate version number of the user terminal and the identity document identification information of the user; and reads the version number and the first issuance time in the latest version issuance mark stored in the government service system; c2: the government service system sends service interface parameters to the electronic certificate service system and calls the user interface of the electronic certificate service system; the service interface parameters include: the current terminal electronic certificate version number, the comparison update time and the terminal user identity document identification information; c3: performing a comparison operation in the government service system according to the identification information of the terminal user's identity document; The comparison operation includes: Compare the current terminal electronic certificate version number with the version number in the latest version issuance mark; Compare the update time for comparison with the first issuance time in the latest version issuance mark; According to the comparison results, the following situations are handled: Case 1: If the current terminal electronic certificate version number is lower than the version number in the latest version issuance mark, continue to compare the comparison update time with the first issuance time in the latest version issuance mark; If the comparison update time is greater than the first issuance time in the latest version issuance mark, it means that the latest electronic certificate data exists in the department business system, and it is necessary to access the department business system to obtain the latest version of the electronic certificate data; If the update time for comparison is equal to the first issuance time in the latest version issuance mark, it means that the version in the latest version issuance mark is the latest version, and the version stored in the government service system is directly used as the latest version for download; Case 2: If the current terminal electronic certificate version number is equal to the version number in the latest version issuance mark, continue to compare the comparison update time with the first issuance time in the latest version issuance mark; If the update time for comparison is equal to the first issuance time in the latest version issuance mark, it means that the version in the latest version issuance mark is the latest version, and the version in the government affairs system is the same as the version currently used by the end user, then the end user does not need to update the version of the electronic certificate; If the comparison update time is greater than the first issuance time in the latest version issuance mark, it means that the latest electronic certificate data exists in the department business system, and it is necessary to access the department business system to obtain the latest version of the electronic certificate data; Case 3: Other cases are considered abnormal and no action is taken. The end user does not need to update the version of the electronic certificate. The user terminals include: electronic certificate application APP, WeChat public account platform, mini program, government service application APP and other government service platforms; In the active update process, the updated data is based on the incremental update method and only updates the changed data, rather than the entire license data; The government service system stores the source data of the electronic certificate in the following ways: Method 1: Deleting the data of the electronic certificate that exceeds the preset storage time; Method 2: For sensitive data, only push it, and delete it directly after pushing it once without saving it; It also includes: passive update operations; In the update operation, if it is determined that the version in the latest version issuance mark is the latest version, but there is no electronic certificate data for download in the government affairs system, the passive update operation is performed: d1: the government service system forwards the passive update request to the electronic certificate service system across the network; The passive update request includes: the version in the latest version issuance mark is the latest version and the terminal user's identity document identification information; d2: Based on the identification information of the terminal user's identity document, the electronic certificate service system exchanges the electronic certificate and the version information data across the network to the government service system; d3: The government service system generates a latest version issuance mark and pushes the latest version issuance mark to all user application terminals; d4: the user terminal sends a download request to the government service system to complete the download; d5: The government affairs system directly deletes the sensitive data according to the data nature of the original data of the electronic certificate, and saves the non-sensitive data for a preset time.

[0008] The present application provides a method for issuing and updating electronic certificates in a physically isolated network environment. By constructing an electronic certificate service system, the unique version number of the new version data and the time of the first issuance are stored in the government network for a long time. Because this data does not involve sensitive data, it can be stored for a long time, ensuring that the user terminal can obtain the latest version information in real time every time, and ensuring that the user terminal can actively initiate a passive issuance and update process; the present application adds a version confirmation function in the user terminal. Each time the user terminal is turned on and connected to the Internet, the first program is to compare the latest version stored in the electronic certificate service system based on the version confirmation function, so that the version information of the user terminal can be determined. Once the current version is not the latest version, the issuance and update process must be executed, avoiding the user terminal from using the old version of the certificate and realizing the real-time update of the electronic certificate data; compared with the prior art, the electronic certificate issuance and update method of the present application adopts a closed-loop issuance method, combining active issuance and passive issuance, and uses the source data update time, issuance time and version number to manage the real-time and version of the electronic certificate, effectively solving the problem of inconsistent and untimely updates of electronic certificates caused by frequent changes in the source data of electronic certificates in a physically isolated network environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a schematic diagram of a physically isolated network environment in the prior art; Figure 2 This is a schematic diagram of the process of active issuance and active update of electronic certificates in this application; Figure 3 Schematic diagram of the passive issuance and passive update process of electronic certificates in this application Figure 4 This is a flowchart of the electronic certificate issuance and update method in this application; Figure 5 Flowchart for the active issuance of electronic certificates; Figure 6 Flowchart for passive issuance of electronic certificates; Figure 7 Updated the sequence diagram for the electronic certificate version; Figure 8 This is a synchronization sequence diagram for electronic certificate versions. DETAILED DESCRIPTION

[0010] In this application, the departmental business system generally refers to the system deployed in the intranet to handle business, which is usually operated by staff and is also the source of electronic certificate source data; usually, the departmental business system will update the information of the electronic certificate based on the actual application of the electronic certificate, such as electronic certificate violation points deduction, or revocation and other operations, which will cause the update of the electronic certificate; or when the electronic certificate changes due to relevant regulations, all electronic certificates of the same type will be updated at the same time; based on the number of users of electronic certificates, the amount of data every day is very large. In order to maintain the real-time nature of the data, there will be multiple different versions of the electronic certificate information for the same user every day.

[0011] User terminals are set up on the Internet to provide services to end users; user terminals include: electronic certificate application APP, WeChat public account platform, mini-programs, government service application APP and other government service platforms. User terminals include two major types: one is to display the electronic certificate information to the electronic certificate holder, such as: electronic certificate application APP, and the other is to allow electronic certificate holders to handle electronic certificate related matters. Window application, such as: government service application APP or other government service platforms. Regardless of whether the electronic certificate or the government service window is based on different technologies, there are many terminal implementation methods, such as: a special APP, public account or mini-program installed on a mobile phone or tablet, or it may be a PC-side business system front-end program of a manual window.

[0012] The government service system generally refers to the backend of various government APP systems deployed in the government network, which provides background services for various window programs in the public network and is generally maintained by staff.

[0013] In this application, data downloads by user terminals include two types: issuance and update. Issuance means that no version of the electronic certificate data exists in the cache of the user terminal, for example, when the mobile phone installs the APP for the first time, the user terminal needs to directly download the latest version of the electronic certificate data; update means that a version of the electronic certificate data is stored in the cache of the user terminal. When an updated version of the data appears, the user terminal needs to confirm whether the locally cached data is the latest version. If not, the locally cached data needs to be updated to the latest version.

[0014] like Figure 2~Figure 8 As shown, the present application includes a method for issuing and updating electronic certificates in a physically isolated network environment, which includes the following steps.

[0015] S1: Build an electronic certificate service system in the encrypted network; Based on the electronic certificate service system, the following electronic certificate generation process is executed: a1: The departmental business system uploads the source data of the electronic certificate and the source data update time to the electronic certificate service system, and synchronizes the source data update time to the government service system in the government network, which is recorded as the comparison update time; a2: The electronic certificate service system issues an electronic certificate and generates version information data; The version information data includes: the incrementally generated version number and the first issuance time; a3: The electronic certificate service system exchanges the electronic certificate and version information data across the network to the government service system; Usually, the government service system temporarily saves the received electronic certificate data to the server for data storage according to the preset time period, but does not save the data of higher level. After pushing it once, it will be deleted within the specified time. a4: The government service system generates the latest version issuance mark; the latest version issuance mark includes: version number and first issuance time; a5: Based on the identification information of the identity document, the government service system pushes the latest version of the issuance mark to the corresponding user application terminal.

[0016] In this application, the source data update time is synchronized to the electronic certificate service system and the government service system at the same time. The source data update time synchronized to the government service system is used as the reference update time to compare the first issuance time sent by the electronic certificate service system to the government system. In a normal process, the first issuance time is later than the reference update time. If the first issuance time is earlier than the reference update time, it indicates that the version of the electronic certificate generated by the electronic certificate service system is suspected to be abnormal.

[0017] In the electronic certificate service system, the new version data is cached in the download queue. Each time a new version data is generated, the updated data overwrites the previous version; the user terminal only obtains the latest version data each time.

[0018] The source data of electronic certificates in the government service system can be stored in the following ways: Method 1: Delete the data of the electronic certificate that exceeds the preset storage time; Method 2: For sensitive data, only push it, and delete it directly after pushing it once without saving it.

[0019] In order to ensure data security, data related to electronic certificates cannot be stored in the government network all the time. Therefore, different types of data are processed differently in the government service system according to the security requirements of different data.

[0020] S2: Set the update confirmation function on all user terminals; The update confirmation function is used to query the latest issued version issuance mark when the terminal is turned on.

[0021] S3: After the user terminal is opened, if no version of the electronic certificate has been downloaded in the user terminal and it is the first time to open the electronic certificate, then execute step S4; Otherwise, execute step S5.

[0022] Usually, an electronic certificate is displayed in various user terminals according to usage requirements. Once the electronic certificate data is updated, the latest version of the data needs to be displayed synchronously on all terminals in real time. For example, if an electronic certificate is revoked, all user terminals that need to display the electronic certificate information need to be updated to the latest status in real time at the same time.

[0023] In this method, two methods are used to ensure that the data on various types of user terminals keep displaying the latest data in real time. The first method is active push, as shown in steps a1 to a5. When the department business system updates the electronic certificate source data, it will be actively pushed to all user terminals based on the identity document identification information through the government service system. If the user terminal is online at this time and receives the push, it will request the government service system to download the data, and complete the issuance or update process of the electronic certificate data in real time.

[0024] However, because there are many types of user terminals, it cannot be ensured that all user terminals can be online in real time, nor can it be guaranteed that all user terminals can safely complete data downloading at one time. At the same time, because the source data storage time of electronic certificates in the government service system is also different, in order to ensure that all terminals can obtain the latest version of data information as soon as possible after going online, this method is based on the update confirmation function on all user terminals to ensure that once the user terminal is connected to the Internet, the first operation after opening is to confirm the version with the government service system, obtain the latest version of data information, and then carry out the data issuance or update process.

[0025] S4: The user terminal sends a download request to the government service system; Based on the download request, the government service system confirms whether the data of the electronic certificate to be downloaded exists on the server; If yes, execute step S8 to complete the active issuance process; Otherwise, execute step S7 to complete the passive issuance process.

[0026] S5: After the user terminal is connected to the Internet, it sends an update request to the government service system based on the update confirmation function; The update request includes: the current terminal electronic certificate version number of the user terminal and the terminal user's identity document identification information; End users include: users or using enterprises.

[0027] S6: The government service system determines whether there is a latest version that needs to be pushed to the user terminal based on the update request; If yes, the latest electronic certificate version data is obtained, and step S8 is executed to complete the active update process; If not, the government service system returns to the terminal to notify that the current version of the terminal is already the latest version; the terminal obtains the electronic certificate from its own cache and displays it.

[0028] S7: The passive issuance process includes the following steps: b1: The government service system forwards the download request to the electronic certificate service system across the network; b2: The electronic certificate service system obtains the latest electronic certificate source data and the corresponding source data update time from the department business system; b3: The electronic certificate service system issues electronic certificates and generates version information data; b4: The electronic certificate service system exchanges the electronic certificate and version information data across the network to the government service system; and updates the update time for comparison in the government service system; b5: The government service system generates the latest version issuance mark and pushes the latest version issuance mark to all user application terminals; b6: The user terminal sends a download request to the government service system, executes step S8, and completes the passive issuance process.

[0029] S8: The government service system transmits the electronic certificate stored in the server to the user terminal, and the user terminal obtains the electronic certificate after downloading.

[0030] The issuance in this application includes: Figure 5 The active issuance shown and Figure 6 There are two forms of passive issuance as shown. When the latest version of the electronic certificate data is still stored in the government service system, the user terminal can directly download the data from the government service system after sending a download request to the government service system, which is an active issuance process. When the user terminal sends a download request to the government service system, due to various reasons, there is no electronic certificate data available for download in the government service system. At this time, the government service system needs to continue to apply to the electronic certificate service system to generate the latest version of the electronic certificate data, and then the user terminal will issue and download it.

[0031] Figure 4 This is a flowchart of the issuance and update method of the electronic certificate for this application. Figure 2 and Figure 3 Active issuance / update and passive issuance / update are combined to form a closed-loop issuance method. Figure 2 SS1~SS4, Figure 3 SS1~SS6 in the diagram are used to mark the sequence of specific steps in the two processes.

[0032] Compared with the prior art, this method uses the update time, the issuance time and the version number in the latest issuance mark stored in the government service system to manage the real-time and version of the electronic certificate, effectively solving the problem of inconsistent and untimely updates of electronic certificates caused by frequent changes in the source data of electronic certificates in a physically isolated network environment. In this application, on the one hand, when the electronic certificate needs to be updated due to changes in user business data, the electronic certificate will be automatically issued and the update mark will be pushed. The electronic certificate cached locally by the user has a clear version number and issuance time, and is compared with the version number and issuance time of the latest record in the database when used. If it is inconsistent, it will be automatically reissued. Through closed-loop verification and updating, the user's electronic certificate is ensured to be reliably updated. On the other hand, after the electronic certificate is updated, it is cached in the download queue, and multiple updates will overwrite the previous version. The user obtains the latest version on demand, which will not cause frequent updates of the user's terminal electronic certificate. At the same time, in the active update process, the update data only updates the changed data based on the incremental update method, rather than the entire certificate data. In the specific implementation, the part that needs to be updated is identified based on the total difference comparison algorithm of the prior art, which can significantly reduce the data transmission volume and processing time.

[0033] In step S6, it is determined whether there is an updated version that needs to be pushed to the user terminal, which specifically includes the following steps: c1: The government service system receives an update request sent by the user terminal; reads the current terminal electronic certificate version number and the user's identity document identification information of the user terminal; and reads the version number and first issuance time in the latest version issuance mark stored in the government service system; c2: The government service system sends service interface parameters to the electronic certificate service system and calls the user interface of the electronic certificate service system; the service interface parameters include: the current terminal electronic certificate version number, the comparison update time, and the terminal user's identity document identification information; c3: According to the identification information of the terminal user's identity document, a comparison operation is performed in the government service system to confirm the data of the latest version of the electronic certificate corresponding to the identification information of the terminal user's identity document; The comparison operation includes: Compare the current terminal electronic certificate version number with the version number in the latest version issuance mark; Compare the update time with the first issuance time in the latest version issuance mark; According to the comparison results, the following processing is performed: Case 1: If the current terminal electronic certificate version number is lower than the version number in the latest version issuance mark, continue to compare the update time with the first issuance time in the latest version issuance mark; If the update time for comparison is greater than the first issuance time in the latest version issuance mark, it means that the latest electronic certificate data exists in the department business system, and you need to access the department business system to obtain the latest version of the electronic certificate data; If the update time for comparison is equal to the first issuance time in the latest version issuance mark, it means that the version in the latest version issuance mark is the latest version, and the version stored in the government service system is directly used as the latest version for download; Case 2: If the current terminal electronic certificate version number is equal to the version number in the latest version issuance mark, continue to compare the update time with the first issuance time in the latest version issuance mark; If the update time for comparison is equal to the first issuance time in the latest version issuance mark, it means that the version in the latest version issuance mark is the latest version, and the version in the government affairs system is the same as the version currently used by the end user, then the end user does not need to update the version of the electronic certificate; If the update time for comparison is greater than the first issuance time in the latest version issuance mark, it means that the latest electronic certificate data exists in the department business system, and you need to access the department business system to obtain the latest version of the electronic certificate data; Case 3: Other cases are considered abnormal and no action is taken. The end user does not need to update the version of the electronic certificate.

[0034] In actual applications, the data corresponding to the identification information of each terminal user's identity document may be updated frequently, so the first issuance time and version in the current latest issuance mark may not be the latest version. If the terminal user only downloads according to the information pushed in the latest issuance mark, it will cause the terminal user to download frequently, which will lead to excessive server load. In order to reduce the server load, the update download program in this method uses four time tags: the current terminal electronic certificate version number, the comparison update time saved in the government service system, and the version number and first issuance time in the latest issuance mark to confirm the latest version of the electronic certificate data. The latest version of the electronic certificate data has the following situations: 1) The version in the latest version issuance mark is not the latest version. You need to access the department business system to obtain the latest version of the electronic certificate data, such as Figure 7 As shown; 2) End users do not need to update the version of electronic certificates; 3) The version in the latest version issuance mark is the latest version. The version stored in the government service system is used as the latest version for downloading, such as Figure 8 As shown; 4) The version in the latest version issuance mark is the latest version, but the data has been deleted in the government system, so the government system needs to apply for the latest version from the electronic certificate service system again, that is, a passive update operation needs to be performed.

[0035] Perform a passive update operation, which includes the following steps: d1: The government service system forwards the passive update request across the network to the electronic certificate service system; The passive update request includes: the version in the latest version issuance mark is the latest version and the terminal user's identity document identification information; d2: Based on the identification information of the terminal user's identity document, the electronic certificate service system exchanges the electronic certificate and version information data across the network to the government service system; d3: The government service system generates the latest version issuance mark and pushes the latest version issuance mark to all user application terminals; d4: The user terminal sends a download request to the government service system to complete the download; d5: Based on the data nature of the original data of the electronic certificate, the government affairs system will directly delete the sensitive data and save the non-sensitive data for a preset time.

[0036] In actual applications, the identification information of each terminal user's identity document will correspond to multiple versions of user terminals at the same time. This method can complete the asynchronous update of multiple terminals.

[0037] The reliable update method of electronic certificates also includes the following multi-terminal version synchronization method.

[0038] The user terminal opens the electronic certificate, and the terminal requests the government service system. The request includes the first version number of the terminal and the identity document identification information of the user / enterprise. The first version number of the terminal is used to identify the version number of the current terminal electronic certificate; The government service system uses the identity document identification information of the person / enterprise to query whether the server has a new version push mark.

[0039] If so, the government service system obtains the new version of the electronic certificate and returns it to the terminal.

[0040] If not, the government service system returns the latest version to the terminal, and the terminal obtains the electronic certificate from the local cache and displays it.

[0041] The implementation method of the update confirmation function on each user terminal is based on the existing technology implementation corresponding to each terminal. The specific technical implementation of version detection and dynamic permission control for each user terminal involves multiple key steps and components. The following takes a mobile phone terminal as an example to illustrate the detailed implementation scheme: 1. Version detection method 1. Version detection trigger mechanism Detection at startup: The mobile terminal automatically detects whether the current application version is consistent with the latest version on the server each time it is started.

[0042] Regular testing: Set a reasonable testing cycle (such as daily, weekly, or triggered by user behavior) and perform version testing regularly.

[0043] Detection before specific operations: Before accessing sensitive data (such as certificate information) or performing key operations, trigger version detection to ensure the security of the application.

[0044] 2. Obtaining version information Server communication: Interact with the server through the API interface to obtain the latest version information and update content description.

[0045] Local caching: Cache the obtained version information locally to reduce dependence on the server and shorten user waiting time.

[0046] 3. Version comparison algorithm Version number parsing: Parse the version number into a comparable numeric value or string format.

[0047] Comparison logic: Compare the parsed version number to determine whether the current version is lower than the latest version.

[0048] 2. Permission Control Method 1. Permission management strategy Default permission settings: Define the default permission settings in the app, including which operations require which permissions.

[0049] Version difference permission adjustment: Dynamically adjust the application's permission settings based on version detection results and predefined permission adjustment policies.

[0050] 2. Permission Control Component Permission control module: responsible for loading, verifying and adjusting permissions.

[0051] 3. Permission adjustment logic Sensitive data access control: Automatically restrict access to sensitive data (such as certificate information) when version inconsistencies are detected.

[0052] Functionality restriction prompt: Displays functionality restriction prompts to users and guides them to update the version.

[0053] In actual applications, when the electronic certificate service system handles massive notification pushes, it can adopt the "intelligent cache and hierarchical retransmission mechanism" to address the problem of network and device offline. This mechanism first analyzes the importance and timeliness of the notification, and combines the user's historical online mode to assign a dynamic time to live (TTL) and retransmission priority to each notification. The electronic certificate service system stores notifications of offline devices in a distributed cache and uses a prediction algorithm to estimate the time window when the user may be online. When the device is detected to be back online, the electronic certificate service system will adaptively adjust the retransmission strategy according to the current network quality and device status, select the optimal push protocol, dynamically adjust the push rate and batch size, and ensure that important notifications are delivered first. This method also supports incremental updates and differentiated pushes in weak network environments, and only transmits the changed part of the notification content, significantly improving the push efficiency and reliability under unstable network conditions. It solves the problem of device offline and optimizes the utilization of network resources, improving the overall user experience.

Claims

1. A method for issuing and updating electronic certificates in a physically isolated network environment, characterized in that: It includes the following steps: S1: Build an electronic certificate service system in the encrypted network; Based on the electronic certificate service system, the following electronic certificate generation process is executed: a1: The departmental business system uploads the source data of the electronic certificate and the source data update time to the electronic certificate service system, and synchronizes the source data update time to the government service system in the government network, which is recorded as the comparison update time; a2: The electronic certificate service system issues an electronic certificate and generates version information data; The version information data includes: an incrementally generated version number and a first issuance time; a3: The electronic certificate service system exchanges the electronic certificate and the version information data across the network to the government service system; a4: The government service system generates a latest version issuance mark; the latest version issuance mark includes: version number and first issuance time; a5: The government service system pushes the latest version issuance mark to the corresponding user application terminal based on the identification information of the identity document; S2: Set the update confirmation function on all user terminals; The update confirmation function is used to query the latest version issuance mark when the terminal is turned on; S3: After the user terminal is opened, if no version of the electronic certificate has been downloaded in the user terminal and it is the first time to open the terminal, then execute step S4; Otherwise, execute step S5; S4: The user terminal sends a download request to the government service system; Based on the download request, the government service system confirms whether the data of the electronic certificate to be downloaded exists on the server; If yes, execute step S8 to complete the active issuance process; Otherwise, execute step S7 to complete the passive issuance process; S5: After the user terminal is connected to the Internet, an update request is sent to the government service system based on the update confirmation function; The update request includes: the current terminal electronic certificate version number of the user terminal and the terminal user's identity document identification information; The terminal user includes: a user or a user enterprise; S6: The government service system determines whether there is a latest version to be pushed to the user terminal based on the update request; If yes, the latest electronic certificate version data is obtained, and step S8 is executed to complete the active update process; If not, the government service system returns to the terminal to notify that the current version of the terminal is already the latest version; the terminal obtains the electronic certificate from its own cache and displays it; S7: The passive issuance process includes the following steps: b1: the government service system forwards the download request to the electronic certificate service system across the network; b2: The electronic certificate service system obtains the latest electronic certificate source data and the corresponding source data update time from the department business system; b3: The electronic certificate service system issues an electronic certificate and generates version information data; b4: The electronic certificate service system exchanges the electronic certificate and the version information data across the network to the government service system; and updates the comparison update time of the government service system; b5: The government service system generates a latest version issuance mark and pushes the latest version issuance mark to all user application terminals; b6: the user terminal sends a download request to the government service system, and executes step S8 to complete the passive issuance process; S8: The government service system transmits the electronic certificate stored on the server to the user terminal, and the user terminal obtains the electronic certificate after downloading.

2. According to the method for issuing and updating electronic certificates in a physically isolated network environment as described in claim 1, it is characterized by: In the electronic certificate service system, the new version data is cached in a download queue, and each time new version data is generated, the updated data overwrites the previous version; the user terminal only obtains the latest version of the new version data each time.

3. According to the method for issuing and updating electronic certificates in a physically isolated network environment as described in claim 1, it is characterized by: In step S6, it is determined whether there is an updated version that needs to be pushed to the user terminal, which specifically includes the following steps: c1: the government service system receives the update request sent by the user terminal; reads the current terminal electronic certificate version number of the user terminal and the identity document identification information of the user; and reads the version number and the first issuance time in the latest version issuance mark stored in the government service system; c2: the government service system sends service interface parameters to the electronic certificate service system and calls the user interface of the electronic certificate service system; the service interface parameters include: the current terminal electronic certificate version number, the comparison update time and the terminal user identity document identification information; c3: performing a comparison operation in the government service system according to the identification information of the terminal user's identity document; The comparison operation includes: Compare the current terminal electronic certificate version number with the version number in the latest version issuance mark; Compare the update time for comparison with the first issuance time in the latest version issuance mark; According to the comparison results, the following situations are handled: Case 1: If the current terminal electronic certificate version number is lower than the version number in the latest version issuance mark, continue to compare the comparison update time with the first issuance time in the latest version issuance mark; If the comparison update time is greater than the first issuance time in the latest version issuance mark, it means that the latest electronic certificate data exists in the department business system, and it is necessary to access the department business system to obtain the latest version of the electronic certificate data; If the update time for comparison is equal to the first issuance time in the latest version issuance mark, it means that the version in the latest version issuance mark is the latest version, and the version stored in the government service system is directly used as the latest version for download; Case 2: If the current terminal electronic certificate version number is equal to the version number in the latest version issuance mark, continue to compare the comparison update time with the first issuance time in the latest version issuance mark; If the update time for comparison is equal to the first issuance time in the latest version issuance mark, it means that the version in the latest version issuance mark is the latest version, and the version in the government affairs system is the same as the version currently used by the end user, then the end user does not need to update the version of the electronic certificate; If the comparison update time is greater than the first issuance time in the latest version issuance mark, it means that the latest electronic certificate data exists in the department business system, and it is necessary to access the department business system to obtain the latest version of the electronic certificate data; Case 3: Other cases are considered abnormal and no action is taken. The end user does not need to update the version of the electronic certificate.

4. According to the method for issuing and updating electronic certificates in a physically isolated network environment as described in claim 1, it is characterized by: The user terminals include: electronic certificate application APP, WeChat public account platform, mini-programs, government service application APP and other government service platforms.

5. According to the method for issuing and updating electronic certificates in a physically isolated network environment as described in claim 1, it is characterized by: In the active update process, the updated data is based on the incremental update method to only update the changed data, rather than the entire license data.

6. According to the method for issuing and updating electronic certificates in a physically isolated network environment as described in claim 1, it is characterized by: The government service system stores the source data of the electronic certificate in the following ways: Method 1: Deleting the data of the electronic certificate that exceeds the preset storage time; Method 2: For sensitive data, only push it, and delete it directly after pushing it once without saving it.

7. According to the method for issuing and updating electronic certificates in a physically isolated network environment as described in claim 1, it is characterized by: It also includes: passive update operations; In the update operation, if it is determined that the version in the latest version issuance mark is the latest version, but there is no electronic certificate data for download in the government affairs system, the passive update operation is performed: d1: the government service system forwards the passive update request to the electronic certificate service system across the network; The passive update request includes: the version in the latest version issuance mark is the latest version and the terminal user's identity document identification information; d2: Based on the identification information of the terminal user's identity document, the electronic certificate service system exchanges the electronic certificate and the version information data across the network to the government service system; d3: The government service system generates a latest version issuance mark and pushes the latest version issuance mark to all user application terminals; d4: the user terminal sends a download request to the government service system to complete the download; d5: The government affairs system directly deletes the sensitive data according to the data nature of the original data of the electronic certificate, and saves the non-sensitive data for a preset time.