Electronic seal stamping method and device, storage medium and server

Through the risk control model, the risk level is evaluated and the authorization strategy is dynamically adjusted. Combined with the use of blockchain and physical key devices, the operational efficiency and security risks caused by frequent identity verification are solved, and efficient and secure electronic seal plus Covering process.

CN119293867AActive Publication Date: 2025-01-10YGSOFT INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411359325.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-01-10
Estimated Expiration
2044-09-27

AI Technical Summary

Technical Problem

Under the demand for large-scale document stamping, frequent identity verification processes lead to inefficiency in operation, and the loose authorization mechanism increases security risks, threatening the authenticity and legal effectiveness of document content.

Method used

A pre-trained risk control model is used to evaluate the stamped environmental data, dynamically adjust the authorization strategy according to the risk level, exempt authentication and authorization at low risk, and authenticate at medium and high risk, and query and stamp electronic seal through the blockchain system. , use entity key devices for verification in high-risk scenarios.

Benefits of technology

Effectively identify and prevent security threats, simplify processes, improve processing efficiency, ensure operational security, ensure the authenticity and immutability of seals, reduce labor costs, and improve automation level.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119293867A_ABST
    Figure CN119293867A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an electronic seal stamping method and device, a storage medium and a server, and relates to the field of information safety. According to the application, the stamping environment data is analyzed by using the pre-trained risk control model, the risk level is evaluated in real time, and potential security threats and non-compliance operations are effectively identified and prevented. The mechanism ensures that the electronic seal is used under strict monitoring, and the risk of misoperation and illegal use is reduced. And dynamically adjusting the authorization strategy according to the risk level. In a low-risk scene, the stamping operation is directly and quickly executed according to the authentication-free authorization rule, so that the process is greatly simplified, and the processing efficiency is improved. And in a medium-high risk scene, the authenticity of the user identity is ensured through proper identity verification measures, the operation safety is further ensured, unnecessary tedious steps are avoided, and good user experience is kept.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security, and in particular to an electronic seal affixing method, device, storage medium and server. Background Art

[0002] With the acceleration of the digitalization process, the application scope of electronic seals is becoming increasingly extensive, and they have shown significant advantages in improving the efficiency and convenience of document processing. However, before officially applying electronic seals to documents, the system's strict user identity verification procedures are a key link in ensuring the authenticity and legality of transactions. When faced with the need to stamp large-scale documents, frequent identity verification processes have undoubtedly become a major bottleneck restricting operational efficiency, increasing the user's time cost and the system's processing burden.

[0003] In response to this problem, if a one-time authorization mechanism is simply adopted to allow users to use electronic seals without restrictions within a specific period of time, although it can improve operational efficiency to a certain extent, it will inevitably cause deep concerns about security. This loose control method may weaken the fine management of seal usage rights, increase the risk of unauthorized access or abuse of seals, and thus threaten the authenticity and legal effect of document content. Summary of the invention

[0004] The embodiment of the present application provides a method, device, storage medium and server for stamping an electronic seal, which can solve the problem of low accuracy of long-term prediction results of offline training models in the prior art. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for stamping an electronic seal, the method comprising:

[0006] When receiving a user's request for stamping a format file, collecting the user's stamping environment data; the stamping request carries the identification of the target electronic seal;

[0007] Using a pre-trained risk control model to process the stamping environment data to obtain a risk level;

[0008] When the risk level is a low risk level, judging whether the user has the right to use the target electronic seal according to the user's authentication-free authorization rule, and if so, obtaining a pre-stored authorization code associated with the user, querying the target electronic seal in the blockchain system according to the authorization code, and stamping the queried target electronic seal on the format file;

[0009] When the risk level is a medium risk level, the user is authenticated, and after the authentication is passed, the target electronic seal is queried in the blockchain system, and the queried target electronic seal is stamped on the format file;

[0010] When the risk level is a high risk level, the user is prompted to insert a physical key device. After a communication connection with the physical key device is established, the user's identity is authenticated. After the authentication is passed, the target electronic seal is read in the physical key device, and the read target electronic seal is stamped on the layout file.

[0011] In a second aspect, an embodiment of the present application provides a device for stamping an electronic seal, the device comprising:

[0012] A collection unit, configured to collect the user's seal environment data upon receiving a user's seal request for a format file; the seal request carries an identifier of a target electronic seal;

[0013] An evaluation unit, used to process the stamping environment data using a pre-trained risk control model to obtain a risk level;

[0014] A stamping unit, configured to, when the risk level is a low risk level, determine whether the user has the right to use the target electronic seal according to the user's authentication-free authorization rule, and if so, obtain a pre-stored authorization code associated with the user, query the target electronic seal in the blockchain system according to the authorization code, and stamp the queried target electronic seal on the format file;

[0015] When the risk level is a medium risk level, the user is authenticated, and after the authentication is passed, the target electronic seal is queried in the blockchain system, and the queried target electronic seal is stamped on the format file;

[0016] When the risk level is a high risk level, the user is prompted to insert a physical key device. After a communication connection with the physical key device is established, the user's identity is authenticated. After the authentication is passed, the target electronic seal is read in the physical key device, and the read target electronic seal is stamped on the layout file.

[0017] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.

[0018] In a fourth aspect, an embodiment of the present application provides a server, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.

[0019] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:

[0020] The pre-trained risk control model is used to analyze the stamping environment data, assess the risk level in real time, and effectively identify and prevent potential security threats and non-compliant operations. This mechanism ensures that the use of electronic seals is carried out under strict supervision, reducing the risk of misoperation and illegal use.

[0021] Dynamically adjust the authorization strategy according to the risk level. In low-risk scenarios, the stamping operation is quickly performed based on the authentication-free authorization rules, which greatly simplifies the process and improves processing efficiency. In medium and high-risk scenarios, appropriate identity verification measures are used to ensure the authenticity of the user's identity, further ensuring the security of the operation, while avoiding unnecessary cumbersome steps and maintaining a good user experience.

[0022] By querying and stamping the target electronic seal through the blockchain system, not only the authenticity and non-tamperability of the seal are ensured, but also the traceability of operation records is achieved, providing strong technical support for subsequent audits and supervision.

[0023] Throughout the entire process, except for high-risk scenarios where users may be required to insert physical key devices, most operations are automated, reducing the need for manual review and intervention, lowering labor costs, and improving the level of automation in business processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0025] Figure 1 It is a schematic diagram of the network architecture provided by the embodiment of the present application;

[0026] Figure 2 It is a flowchart of a method for stamping an electronic seal provided in an embodiment of the present application;

[0027] Figure 3 It is a structural schematic diagram of a stamping device for an electronic seal provided in the present application;

[0028] Figure 4 It is a structural diagram of a server provided by this application. DETAILED DESCRIPTION

[0029] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

[0030] It should be noted that the electronic seal stamping method provided in the present application is generally executed by a server, and correspondingly, the electronic seal stamping device is generally set in the server.

[0031] Figure 1 An exemplary system architecture that can be applied to the electronic seal affixing method or the electronic seal affixing device of the present application is shown.

[0032] like Figure 1 As shown, the system architecture may include: a terminal device 101 and a server 102. The terminal device 101 and the server 102 may communicate via a network, and the network is used as a medium for providing communication links between the above-mentioned units. The network may include various types of wired communication links or wireless communication links, for example: a wired communication link includes an optical fiber, a twisted pair or a coaxial cable, etc., and a wireless communication link includes a Bluetooth communication link, a wireless fidelity (WIreless-FIdelity, Wi-Fi) communication link or a microwave communication link, etc.

[0033] Among them, the terminal device 101 displays the layout file, and when the layout file needs to be stamped with a target electronic seal, it sends a stamping request to the server 102, and the server 102 executes the stamping method of the present application in response to the stamping request.

[0034] It should be noted that the terminal device 101 and the server 102 can be hardware or software. When the terminal device 101 and the server 102 are hardware, they can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When the terminal device 101 and the server 102 are software, they can be implemented as multiple software or software modules (for example, to provide distributed services), or as a single software or software module, which is not specifically limited here.

[0035] Various communication client applications can be installed on the terminal device of the present application, such as: video recording applications, video playback applications, voice interaction applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0036] The terminal device can be hardware or software. When the terminal device is hardware, it can be various terminal devices with a display screen, including but not limited to smart phones, tablet computers, laptops, and desktop computers. When the terminal device is software, it can be installed in the terminal devices listed above. It can be implemented as multiple software or software modules (for example: used to provide distributed services), or it can be implemented as a single software or software module, which is not specifically limited here.

[0037] When the terminal device is hardware, a display device and a camera may be installed thereon. The display device may be any device capable of realizing a display function, and the camera is used to collect video streams; for example, the display device may be a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink screen, a liquid crystal display (LCD), a plasma display panel (PDP), etc. The user may use the display device on the terminal device to view displayed text, pictures, videos and other information.

[0038] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be used as required.

[0039] The following will be combined with the attached Figure 2 , the electronic seal stamping method provided in the embodiment of the present application is described in detail. Among them, the electronic seal stamping device in the embodiment of the present application can be Figure 1 The server shown.

[0040] See also Figure 2 , which is a flow chart of a method for stamping an electronic seal according to an embodiment of the present application. Figure 2 As shown, the method of the embodiment of the present application may include the following steps:

[0041] S201. When receiving a user's request for stamping a format file, collecting the user's stamping environment data.

[0042] Among them, the data collection module built into or called by the server should be able to capture the network requests and related metadata issued by the user device in real time. These data include but are not limited to the User-Agent in the HTTP request header (used to identify the device type and operating system), X-Forwarded-For (used to identify the original IP address if it passes through a proxy), Referer (used to track the source of the request), etc. If the user device supports GPS or network positioning, the server can obtain approximate geographic location information through IP address resolution services (such as IPinfo, MaxMind, etc.). For more precise positioning needs, the user device may need to provide location information directly. The server records the exact timestamp of the request arrival for subsequent analysis of user behavior patterns and operation frequencies. Although it is difficult to directly obtain the system environment parameters of the user's device, the server can infer the browser type, version and operating system that the user may use by analyzing the User-Agent string.

[0043] In some embodiments of the present application, the stamping environment data includes: user behavior data, file content data of the format file, file type data and user history security data.

[0044] Among them, user behavior data records a series of actions taken by users during the operation process, such as login time, operation frequency, IP address changes, etc. These data help identify abnormal behavior patterns, such as multiple attempts to stamp in a short period of time, frequent logins from different locations, etc., which may be potential security risks. The system can adjust the risk level in real time by analyzing user behavior data and require users to perform additional identity verification when necessary.

[0045] The file content data is the core part of the format file, which contains the specific content and format information of the file. During the stamping process, the system may need to check whether the file content meets specific requirements (such as file type, size limit, sensitive word detection, etc.) to ensure the legality and security of the file content. In addition, for some sensitive files, the system may need to use encryption, watermarking and other technical means to protect the file content from being illegally copied or tampered with.

[0046] File type data refers to the format and type information of a file, such as PDF, Word, image, etc. Different file types may require different processing methods and security policies. Based on the file type data, the system can automatically select the appropriate stamping tool and method to ensure the accuracy and consistency of the stamping operation. At the same time, for some file types that do not support direct stamping, the system can prompt the user to convert or take other measures.

[0047] User historical security data records the user's past operation records and security behaviors, such as successful or failed login attempts, illegal operation records, and security training completion status. These data help the system fully understand the user's security awareness and behavior habits. By analyzing the user's historical security data, the system can conduct risk assessment and classification management for users, and provide different security policies and permission settings for users of different risk levels. At the same time, the system can also make dynamic adjustments based on the user's historical performance to deal with potential security threats.

[0048] S202: Use the pre-trained risk control model to process the stamping environment data to obtain the risk level.

[0049] Among them, the risk control model used by the server may be built based on logistic regression, random forest, gradient boosting tree (GBDT) or deep learning algorithms (such as neural networks). The choice of model depends on the characteristics of the data and the expected accuracy and recall. Before the environmental data is input into the model, feature engineering processing is required, including data cleaning (removing noise and outliers), feature selection (retaining features that contribute to risk assessment), feature scaling (such as normalization, standardization), etc. Model training uses a large amount of historical data, including known security incidents and normal operation data. By iteratively optimizing the algorithm and adjusting the model parameters, the model can accurately identify potential security threats. In order to improve the transparency and interpretability of the model, technologies such as LIME (local interpretability model-agnostic explanation) may be used to explain the model output to help understand which features contribute most to the risk assessment results.

[0050] In some embodiments of the present application, multiple data points are collected, and the multiple data points are clustered based on the K-means clustering algorithm to obtain K clusters. The distance from each data point to the center of the cluster to which it belongs is calculated. When the data point with a distance greater than a threshold is marked as abnormal, the data point with abnormal marking is used to generate a sample data set using a logistic regression model and the clustered data points, and then the sample data set is used to train the risk control model. The threshold is equal to the average value of the distance plus twice the standard deviation.

[0051] Among them, user behavior (login location, IP address, device type, login time, etc.), file content (confidentiality, seal person, seal type, etc.), business type (important financial documents, ordinary documents, etc.) and historical data (user historical seal behavior, historical security events, etc.) are collected. Duplicate data, missing values, outliers, etc. are processed to ensure data quality. Labels for working hours and non-working hours are extracted from login time. File content data (such as confidentiality, seal type) are converted into numerical or categorical labels. The behavior frequency, number of events, etc. in the historical data are counted and converted into features that can be understood by the model.

[0052] Use business knowledge, the Elbow Method, or the Silhouette Score to determine the number of clusters (K value). The choice of K value should be based on the characteristics of the data and business needs. Apply the K-means clustering algorithm to cluster the data and assign the data points to K clusters so that the similarity of data points within the same cluster is high, while the similarity of data points between different clusters is low. Calculate the distance from each data point to the center of its cluster. Set a threshold (such as the mean of all distances plus twice the standard deviation) and mark data points whose distance exceeds this threshold as abnormal. Identify a subset of abnormal features from the clustering algorithm, use this subset as an additional feature, input it into the logistic regression model, and train the logistic regression model.

[0053] Model training:

[0054] A. Perform data segmentation and divide the dataset into training set and test set to evaluate model performance.

[0055] B. Feature scaling, standardizing the features.

[0056] C. Select the logistic regression model and use the training data set to train the model.

[0057] Model evaluation and validation:

[0058] A. Use the test data set to evaluate model performance. Common indicators include accuracy, AUC, etc.

[0059] Model deployment:

[0060] A. Deploy the trained model to the electronic signature processing system to evaluate the transaction risk of electronic signatures in real time. Set the risk score threshold and implement the corresponding signature authorization strategy based on the risk score.

[0061] B. Update the model regularly and continuously optimize it to ensure that the model can adapt to new business data changes.

[0062] When a signature request occurs, the intelligent risk control model analyzes the risk level of the signature request and outputs the probability of abnormal transactions. The example is as follows:

[0063] fraud: 0-normal transaction, 1-abnormal transaction

[0064] fraud_probability: predicted probability

[0065] According to the output abnormal transaction probability, use the formula: risk score = abnormal transaction prediction probability * 100 to obtain the score of the risk control model.

[0066] Through the above steps, we can effectively use the K-means clustering algorithm and logistic regression classification model to train the risk model to improve the risk assessment ability of trading behavior.

[0067] S203. When the risk level is a low risk level, determine whether the user has the right to use the target electronic seal according to the user's authentication-free authorization rules. If yes, obtain a pre-stored authorization code associated with the user, query the target electronic seal in the blockchain system according to the authorization code, and stamp the queried target electronic seal on the layout file.

[0068] Among them, when the risk control model determines that the risk level is low, the server will first retrieve and parse the current user's authorization-free authentication rules from the database. The authorization-free authentication rules should clearly specify the effective time range, business type, approval link, unit type and other conditions. The server checks whether the current time is within the effective time range specified by the user's authorization-free rules. If the current time is not within this range, the stamping request is rejected and the user is prompted that the authorization-free rule has expired.

[0069] The server then verifies whether the business type in the current stamping request matches the business type specified in the user's authorization-free rules. At the same time, it checks whether the approval process in the request also meets the approval process requirements specified in the rules. The server verifies whether the unit type involved in the request is consistent with the unit type specified in the user's authorization-free rules.

[0070] If all the above conditions are met, that is, the current time is within the valid time range, and the business type, approval link, and unit type all match the user's authorization-free rules, the server considers that the user has the authority to use the electronic seal without authentication. The server then obtains the authorization code of the split screen when the user authenticates for the first time, and uses the authorization code to query the detailed information of the target electronic seal from the blockchain. Once the seal information is verified, the server will perform the stamping operation and stamp the electronic seal on the layout file in the form of a digital signature.

[0071] In some embodiments of the present application, the authorization-free authentication rules are refined to include multiple specific conditions, which together determine whether the user can perform the stamping operation without additional identity verification. The following is a detailed explanation of these authorization-free authentication rules:

[0072] The current date is within the preset effective date range:

[0073] This condition requires the system to check whether the current date is within the effective date range specified in the rule. For example, the rule may stipulate that from a certain year, month, and date to another year, month, and date, the user enjoys authorization-free privileges during this period. If the current date is not within this range, the user needs to authenticate.

[0074] Whether the current approval link is the preset approval link:

[0075] The approval process usually includes multiple links, each of which has specific responsible persons and authority requirements. This condition requires the system to verify whether the current approval link is a link preset in the rules that allows unauthorized operations. If the current link is not within the preset range, the user needs to follow the normal approval process for identity authentication.

[0076] The current service type is the preset service type:

[0077] Different business types may involve different security requirements and operation processes. This condition ensures that only certain types of business allow users to perform unauthorized operations. The system needs to verify whether the currently requested business type matches the business type preset in the rule.

[0078] The current units are the preset units:

[0079] In some cases, authorization-free permissions may be limited to users in a specific unit or department. This condition requires the system to check whether the user initiating the request belongs to the unit or department preset in the rule. If the user's unit does not meet the requirements, identity verification is required.

[0080] The application ID currently used by the user's device is the preset application ID:

[0081] To ensure the security of operations, the system may restrict requests initiated through specific applications or channels to be exempt from authorization. This condition requires the system to verify whether the application ID currently used by the user's device is consistent with the application ID preset in the rule. This helps prevent unauthorized third-party applications or scripts from simulating user operations.

[0082] In actual applications, these authorization-free authentication rules can be flexibly configured according to the specific needs and security policies of the organization. When the user initiates a stamping request, the system will automatically check whether all these rules are met. Only when all conditions are met will the system allow the user to perform the authentication-free stamping operation and record the corresponding operation log for subsequent audit and tracking.

[0083] In addition, to further improve the security and flexibility of the system, users can also regularly review and update authorization-free authentication rules to adapt to new trends in business changes and security threats.

[0084] S204. When the risk level is a medium risk level, the user's identity is authenticated. After the authentication is passed, the target electronic seal is queried in the blockchain system, and the queried target electronic seal is stamped on the layout file.

[0085] Among them, the server supports multi-factor authentication mechanisms, such as combining username and password, SMS verification code, email verification or biometric technology (such as fingerprint, facial recognition) for identity authentication. During the verification process, the server should ensure that all sensitive information is transmitted through an encrypted channel. The server creates a unique session identifier (Session ID) for each authenticated user and verifies the validity of the identifier in subsequent requests. The session identifier should be updated regularly or expired to prevent session hijacking attacks. After the identity authentication is passed, the server stamps the electronic seal on the layout file according to the process in S203

[0086] S205. When the risk level is high, the user is prompted to insert the physical key device. After the communication connection with the physical key device is established, the user's identity is authenticated. After the authentication is passed, the target electronic seal is read from the physical key device, and the read target electronic seal is stamped on the format file.

[0087] Among them, the server establishes a communication connection with the physical key device through a USB interface or network protocol (such as PC / SC, FIDO2, etc.). During the communication process, the server should verify the authenticity and legality of the device to prevent man-in-the-middle attacks. The physical key device has a built-in private key for signing the electronic seal. The server sends the data to be signed (such as the hash value of the layout file) to the device, the device uses the private key to sign, and returns the signature result to the server. The server verifies the signature result using the public key stored in the blockchain to ensure the authenticity and integrity of the signature. After the verification is passed, the server stamps the electronic seal on the layout file in the form of a digital signature.

[0088] In some embodiments of the present application, before S201, the method further includes:

[0089] Authenticate the user for the first time;

[0090] After the first verification is passed, the authorization code of the target electronic seal is queried in the blockchain system;

[0091] Configure authorization-free authentication rules for the user.

[0092] The user submits a login request and provides a username and password (or other authentication methods, such as biometrics, dynamic tokens, SMS, etc.). The system verifies whether the identity information submitted by the user is valid and accurate. If the identity authentication fails, the user is denied access and a corresponding prompt is given; if the authentication is successful, the subsequent steps are continued.

[0093] After identity authentication is passed, the system needs to confirm whether the user has the right to use the target electronic seal. This can be achieved by querying the authorization code of the target electronic seal in the blockchain system, because the blockchain is tamper-proof and transparent, and is suitable for storing and verifying such sensitive information. The system initiates a query request in the blockchain system based on the target electronic seal ID requested by the user. The blockchain system returns the authorization code of the target electronic seal and its related information (such as authorization time, authorized user, etc.). The system verifies whether the user matches the authorization information recorded in the blockchain. If it matches, the user is allowed to perform subsequent operations; if it does not match, the user access is denied and a corresponding prompt is given. In order to improve user experience and efficiency, this application configures authorization-free authentication rules for specific users or specific scenarios to ensure that these users or scenarios can skip the above-mentioned identity authentication and authorization code query steps when specific conditions are met.

[0094] System administrators configure authorization-free authentication rules for users or scenarios based on business needs and security policies. These rules may include user level, operation time, operation location, operation type, and other factors. When a user initiates a request, the system first checks whether the authorization-free authentication rules are met. If they are met, the identity authentication and authorization code query steps are skipped directly; if not, verification and query are performed according to the normal process.

[0095] In some embodiments of the present application, the risk level is represented by a risk score. When the risk score output by the risk control model is less than a preset first threshold, the business or transaction is considered to be low risk. When the risk score is between the first threshold and the second threshold, the business or transaction is classified as medium risk. When the risk score is greater than the second threshold, the business or transaction is considered to be high risk, for example: the first threshold is 60 points and the second threshold is 80 points.

[0096] The embodiments of the present application specifically include the following beneficial effects when stamping the format file with an electronic seal:

[0097] The pre-trained risk control model is used to analyze the stamping environment data, assess the risk level in real time, and effectively identify and prevent potential security threats and non-compliant operations. This mechanism ensures that the use of electronic seals is carried out under strict supervision, reducing the risk of misoperation and illegal use.

[0098] Dynamically adjust the authorization strategy according to the risk level. In low-risk scenarios, the stamping operation is quickly performed based on the authentication-free authorization rules, which greatly simplifies the process and improves processing efficiency. In medium and high-risk scenarios, appropriate identity verification measures are used to ensure the authenticity of the user's identity, further ensuring the security of the operation, while avoiding unnecessary cumbersome steps and maintaining a good user experience.

[0099] By querying and stamping the target electronic seal through the blockchain system, not only the authenticity and non-tamperability of the seal are ensured, but also the traceability of operation records is achieved, providing strong technical support for subsequent audits and supervision.

[0100] Throughout the entire process, except for high-risk scenarios where users may be required to insert physical key devices, most operations are automated, reducing the need for manual review and intervention, lowering labor costs, and improving the level of automation in business processing.

[0101] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0102] See also Figure 3, which shows a schematic diagram of the structure of an electronic seal stamping device provided by an exemplary embodiment of the present application, hereinafter referred to as device 3. The device 3 can be implemented as all or part of the server through software, hardware or a combination of both. The device 3 includes: a collection unit 301, an evaluation unit 302, and a stamping unit 303.

[0103] A collection unit, configured to collect the user's seal environment data upon receiving a user's seal request for a format file; the seal request carries an identifier of a target electronic seal;

[0104] An evaluation unit, used to process the stamping environment data using a pre-trained risk control model to obtain a risk level;

[0105] A stamping unit, configured to, when the risk level is a low risk level, determine whether the user has the right to use the target electronic seal according to the user's authentication-free authorization rule, and if so, obtain a pre-stored authorization code associated with the user, query the target electronic seal in the blockchain system according to the authorization code, and stamp the queried target electronic seal on the format file;

[0106] When the risk level is a medium risk level, the user is authenticated, and after the authentication is passed, the target electronic seal is queried in the blockchain system, and the queried target electronic seal is stamped on the format file;

[0107] When the risk level is a high risk level, the user is prompted to insert a physical key device. After a communication connection with the physical key device is established, the user's identity is authenticated. After the authentication is passed, the target electronic seal is read in the physical key device, and the read target electronic seal is stamped on the layout file.

[0108] In one or more possible embodiments, it further includes:

[0109] Configuration unit, used to authenticate the user for the first time;

[0110] When the initial identity verification is passed, the authorization code of the target electronic seal is queried in the blockchain system;

[0111] Configure authorization-free authentication rules for the user.

[0112] In one or more possible embodiments, it further includes:

[0113] The training unit is used to train the above risk model using the K-mean clustering algorithm and the logistic regression classification model.

[0114] In one or more possible embodiments, the authentication-free authorization rule includes:

[0115] The current date is within the preset effective date range;

[0116] Whether the current approval link is the preset approval link;

[0117] The current business type is the preset business type;

[0118] The current unit is the preset unit; and

[0119] The application ID currently used by the user device is the preset application ID.

[0120] In one or more possible embodiments, the stamping environment data includes: user behavior data, file content data of the format file, file type data and user history security data.

[0121] In one or more possible embodiments, the risk control model outputs a risk score;

[0122] When the risk score is less than the first threshold, it is determined to be a low risk level;

[0123] When the risk score is between the first threshold and the second threshold, it is determined to be a medium risk level;

[0124] When the risk score is greater than the second threshold, it is determined to be a high risk level.

[0125] In one or more possible embodiments, the user identity is verified by SMS verification.

[0126] It should be noted that the device 3 provided in the above embodiment only uses the division of the above functional modules as an example when executing the electronic seal stamping method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the above functions. In addition, the electronic seal stamping device provided in the above embodiment and the electronic seal stamping method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

[0127] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0128] The present application also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded and executed by a processor as described above. Figure 2 The method steps of the embodiment shown in the figure can be found in the specific implementation process. Figure 2 The specific description of the illustrated embodiment will not be repeated here.

[0129] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the electronic seal stamping method described in the above embodiments.

[0130] See also Figure 4 , which is a schematic diagram of the structure of a server provided in the embodiment of the present application. Figure 4 As shown, the server 400 may include: at least one processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .

[0131] The communication bus 402 is used to realize the connection and communication between these components.

[0132] The user interface 403 may include a display screen (Display) and a camera (Camera), and the optional user interface 403 may also include a standard wired interface and a wireless interface.

[0133] The network interface 404 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0134] Among them, the processor 401 may include one or more processing cores. The processor 401 uses various interfaces and lines to connect various parts within the entire server 400, and executes various functions and processes data of the server 400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the processor 401 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 401 can integrate one or more combinations of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 401, and it can be implemented by a single chip.

[0135] Among them, the memory 405 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 405 includes a non-transitory computer-readable storage medium. The memory 405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 405 may optionally be at least one storage device located away from the aforementioned processor 401. As Figure 4 As shown, the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program.

[0136] exist Figure 4 In the server 400 shown in FIG. 1 , the user interface 403 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 401 can be used to call the application stored in the memory 405 and specifically execute the following steps: Figure 2 The specific process can be referred to Figure 2 As shown, no further description is given here.

[0137] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0138] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A method for stamping an electronic seal, characterized in that: include: When receiving a user's request for stamping a format file, collecting the user's stamping environment data; The stamping request carries the identification of the target electronic seal; Using a pre-trained risk control model to process the stamping environment data to obtain a risk level; When the risk level is a low risk level, judging whether the user has the right to use the target electronic seal according to the user's authentication-free authorization rule, and if so, obtaining a pre-stored authorization code associated with the user, querying the target electronic seal in the blockchain system according to the authorization code, and stamping the queried target electronic seal on the format file; When the risk level is a medium risk level, the user is authenticated, and after the authentication is passed, the target electronic seal is queried in the blockchain system, and the queried target electronic seal is stamped on the format file; When the risk level is a high risk level, the user is prompted to insert a physical key device. After a communication connection with the physical key device is established, the user's identity is authenticated. After the authentication is passed, the target electronic seal is read in the physical key device, and the read target electronic seal is stamped on the layout file.

2. The method according to claim 1, characterized in that When receiving a user's request for stamping a format file, before collecting the user's stamping environment data, the method further includes: Authenticate the user for the first time; When the initial identity verification is passed, the authorization code of the target electronic seal is queried in the blockchain system; Configure authorization-free authentication rules for the user.

3. The method according to claim 1, characterized in that Also includes: The above risk model is trained using K-mean clustering algorithm and logistic regression classification model.

4. The method according to claim 1, characterized in that: The authentication-free authorization rules include: The current date is within the preset effective date range; Whether the current approval link is the preset approval link; The current business type is the preset business type; The current unit is the preset unit; and The application ID currently used by the user device is the preset application ID.

5. The method according to claim 1, characterized in that The stamping environment data includes: user behavior data, file content data of the format file, file type data and user history security data.

6. The method according to claim 1, characterized in that The risk control model outputs a risk score; When the risk score is less than the first threshold, it is determined to be a low risk level; When the risk score is between the first threshold and the second threshold, it is determined to be a medium risk level; When the risk score is greater than the second threshold, it is determined to be a high risk level.

7. The method according to claim 1, characterized in that Verify user identity through SMS verification.

8. An electronic seal stamping device, characterized in that: include: A collection unit, configured to collect the user's seal environment data upon receiving a user's seal request for a format file; The stamping request carries the identification of the target electronic seal; An evaluation unit, used to process the stamping environment data using a pre-trained risk control model to obtain a risk level; A stamping unit, for determining whether the user has the right to use the target electronic seal according to the user's authentication-free authorization rule when the risk level is a low risk level, and if so, obtaining a pre-stored authorization code associated with the user, querying the target electronic seal in the blockchain system according to the authorization code, and stamping the queried target electronic seal on the format file; When the risk level is a medium risk level, the user is authenticated, and after the authentication is passed, the target electronic seal is queried in the blockchain system, and the queried target electronic seal is stamped on the format file; When the risk level is a high risk level, the user is prompted to insert a physical key device. After a communication connection with the physical key device is established, the user's identity is authenticated. After the authentication is passed, the target electronic seal is read in the physical key device, and the read target electronic seal is stamped on the layout file.

9. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 7.

10. A server, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for monitoring electronic lading bills, electronic equipment and storage medium

    CN112766699A

  • Electronic signature method and device, storage medium and computer equipment

    CN115688066A

  • User identity verification method and device, electronic equipment and computer storage medium

    CN117688539A

  • Smart home remote monitoring data sharing authentication system with multi-level verification

    CN118590245A

  • Electronic document verification system and method

    WO2010143001A1