Training certificate generation method and device, equipment and computer readable storage medium
Patent Information
- Application Number
- CN202310072590.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-13
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2043-01-13
Smart Images

Figure CN116205593B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, device and computer-readable storage medium for generating training certificates. Background Technology
[0002] Following typical social training programs, certificates are awarded to participants. These certificates usually include the participant's name, photo, training content, and the training institution's seal. The certificate issuance process typically involves the training organizer arranging for staff to collect participant photos. This collection can be done either by participants preparing photos in advance or by having photos taken on-site. The photos are then processed, the certificates are printed, and the certificates are matched with the participants' photos. The photos are then pasted onto the corresponding participants' certificates, and the official seal is affixed. Finally, the certificate content is verified, and the certificates are either distributed to participants on-site or mailed to their designated addresses.
[0003] Therefore, it is evident that the collection and verification of photo information, the matching of photo information with certificate information, and the production, stamping, and distribution of certificates all require significant manpower and time. This is especially true for short-term training programs with a large number of participants. Manually completing the certificate production and verification processes results in even lower certificate issuance efficiency, often requiring certificates to be mailed to trainees after the training, which undoubtedly further increases the manpower and mailing costs. Furthermore, manually matching photos and certificates, producing and distributing certificates under high-intensity and high-pressure work conditions is prone to errors, leading to problems such as incorrect photo pasting, low efficiency, and incorrect mailing. Summary of the Invention
[0004] To address the aforementioned technical problems, this disclosure provides a training certificate generation method, apparatus, device, and computer-readable storage medium to enable rapid certificate generation and distribution.
[0005] In a first aspect, embodiments of this disclosure provide a method for generating training certificates, the method comprising:
[0006] The entire training process is managed, and key data is collected, including training sessions, trainees for each training session, courses taught, course attendance, teaching location, instructors, and assessment results.
[0007] In response to the selection operation of the training organizer, the academic management data of the target training class is determined from the key data. The academic management data of the target training class includes at least the certificate type, courses taught, course attendance, assessment results, and actual trainees of the target training class.
[0008] Based on the academic management data of the target training courses, electronic certificates for the training are generated in batches.
[0009] Upload the electronic certificate to the training student system application server;
[0010] In response to a trainee's login, the system obtains the trainee's identity identifier and retrieves the corresponding download address for the electronic training certificate based on the identity identifier, so that the trainee can download their respective PDF electronic certificate document through the download address during or after the training.
[0011] In some embodiments, determining the academic management data of the target training course from the key data in response to the training organizer's selection operation includes:
[0012] In response to the selection process of the training organizer, the first academic management data for the target training course is determined from the key data;
[0013] The first academic affairs management data of the target training course is sent to the academic affairs management department system so that the personnel of the academic affairs management department can log in to the academic affairs management department system to review the first academic affairs management data of the target training course;
[0014] In response to the review and approval process of the academic affairs management personnel, the academic affairs management data of the target training course is determined based on the first academic affairs management data of the target training course.
[0015] In some embodiments, the step of generating electronic training certificates in batches based on the academic management data of the target training courses includes:
[0016] Based on the certificate type in the academic affairs management data of the target training course, the corresponding electronic training certificate template is retrieved;
[0017] The academic management data of the target training courses are integrated to obtain the production data of the electronic training certificates. The production data of the electronic training certificates includes the trainee's name, gender, unit, photo, course, number of class hours, teaching time, assessment score, class name, student ID and initial password.
[0018] Determine if the certificate photo is acceptable;
[0019] If the certificate photo is acceptable, an initial Word certificate file will be generated.
[0020] Convert the initial Word certificate file into a PDF data stream;
[0021] A PDF electronic certificate is generated based on the PDF data stream.
[0022] In some embodiments, determining whether the certificate photo is qualified includes:
[0023] Preprocess the certificate photo to obtain facial contour feature vector parameters;
[0024] The facial contour feature vector parameters are compared with the preset facial contour grayscale range parameters.
[0025] If the facial contour feature vector parameters are within the preset facial contour grayscale range parameters, then the certificate photo is qualified.
[0026] In some embodiments, generating a PDF electronic certificate based on the PDF data stream includes:
[0027] The PDF data stream is encrypted with a key;
[0028] The encrypted PDF data stream is electronically signed to generate a PDF electronic certificate.
[0029] In some embodiments, encrypting the PDF data stream with a key includes:
[0030] Generate a user's private key based on the trainee's student ID and initial password;
[0031] At the end of the PDF data stream, the user's private key is encrypted using the AES encryption algorithm and written into a dictionary entry to generate a certificate private key;
[0032] The server's public key information is written into the PDF data stream to determine the legitimacy of the PDF electronic certificate.
[0033] In some embodiments, the step of performing electronic signature processing on the encrypted PDF data stream to generate a PDF electronic certificate includes:
[0034] Obtain the certificate private key corresponding to the encrypted PDF data stream;
[0035] Obtain the document data stream from the encrypted PDF data stream;
[0036] The document data stream is processed serially based on the electronic signature information to obtain a signed PDF electronic certificate. The electronic signature information includes the location and area of the electronic signature, the corresponding official seal image, and the public key encryption string.
[0037] Secondly, embodiments of this disclosure provide a training certificate generation apparatus, comprising:
[0038] The training process module is used to manage the entire training process and collect key data, including training sessions, trainees for each training session, courses taught, course attendance, teaching location, instructors, and assessment results.
[0039] The training electronic certificate application module is used to respond to the selection operation of the training organizer and determine the academic management data of the target training class from the key data. The academic management data of the target training class includes at least the certificate type, courses taught, course attendance, assessment results, and actual trainees of the target training class.
[0040] The training e-certificate generation module is used to generate training e-certificates in batches based on the academic management data of the target training courses;
[0041] The training electronic certificate issuance module is used to upload the electronic certificate to the training student system application server;
[0042] The training e-certificate authentication module is used to respond to the login operation of trainees, obtain the trainee's identity identifier, and obtain the corresponding training e-certificate download address based on the identity identifier, so that the trainees can download their respective PDF e-certificate documents through the download address during or after the training.
[0043] Thirdly, embodiments of this disclosure provide an electronic device, including:
[0044] Memory;
[0045] Processor; and
[0046] Computer programs;
[0047] The computer program is stored in the memory and configured to be executed by the processor to implement the method as described in the first aspect.
[0048] Fourthly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the method as described in the first aspect.
[0049] Fifthly, embodiments of this disclosure also provide a computer program product comprising a computer program or instructions that, when executed by a processor, implement the method described in the first aspect.
[0050] Compared to existing technologies, the training certificate generation method disclosed herein has the following advantages:
[0051] This disclosure manages the entire training administration process, collects key data, and responds to the training organizer's selection operation. From this key data, it determines the administration data for the target training course. Based on this data, it generates electronic training certificates in batches and uploads them to the training student system application server. Responding to the trainee's login operation, it obtains the trainee's identity identifier and, based on that identifier, retrieves the corresponding electronic certificate download address. This allows trainees to download their respective PDF electronic certificate documents during or after training. This effectively solves problems related to the workflow of training certificate processing, difficulties in collecting, organizing, and classifying certificate photos, errors due to manual processing, long waiting times for paper certificates, and low communication efficiency. It also addresses a series of issues inherent in traditional paper certificate generation, such as high costs for manual labor, production, and mailing, low efficiency, poor information accuracy, difficulty in verification, inability to permanently store certificates, and the inability to create electronic training archives. This has profound significance and impact on improving the brand benefits of training institutions and enhancing the overall image and informatization level of the training industry. Attached Figure Description
[0052] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0053] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0054] Figure 1 A flowchart of a training certificate generation method provided in this embodiment of the disclosure;
[0055] Figure 2 A flowchart illustrating the working principle of this disclosure embodiment;
[0056] Figure 3 A flowchart of a training certificate generation method provided in another embodiment of this disclosure;
[0057] Figure 4 A flowchart of a training certificate generation method provided in another embodiment of this disclosure;
[0058] Figure 5 A schematic diagram of the structure of the training certificate generation device provided in this embodiment of the disclosure;
[0059] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0060] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0061] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0062] Existing training certificate generation solutions require significant manpower and time for processes such as collecting and verifying photo information, matching photo information with certificate information, certificate production, stamping, and distribution. This is especially true for short-term training programs with a large number of participants. Manually completing the certificate production and verification processes further reduces efficiency, often requiring certificates to be mailed to trainees after training, which undoubtedly increases labor and mailing costs. Furthermore, manually matching photos and certificates, producing and distributing them under high-intensity and high-pressure conditions is prone to errors, leading to problems such as incorrect photo pasting, low efficiency, and mailing errors.
[0063] To address this issue, this disclosure provides a method for generating training certificates, which will be described below with reference to specific embodiments.
[0064] Figure 1 This is a flowchart illustrating a training certificate generation method provided in this embodiment. This method can be applied to electronic devices and to scenarios involving the generation of training certificates. It effectively solves problems related to the workflow of training certificate processing, difficulties in collecting, organizing, and classifying certificate photos, errors due to manual processing, long waiting times for paper certificates, and low communication efficiency. It also addresses a series of problems inherent in traditional paper certificate generation, such as high costs associated with manual labor, production, and mailing, low efficiency, poor information accuracy, difficulties in verification, inability to permanently store certificates, and the inability to create electronic training archives. It is understood that the training certificate generation method provided in this embodiment can also be applied to other scenarios.
[0065] The following is combined with Figure 2 The working principle flowchart, for Figure 1 The training certificate generation method shown here is introduced. The method includes the following steps:
[0066] S101. Manage the entire training process and collect key data, including training sessions, trainees for each training session, courses taught, attendance, teaching location, instructors, and evaluation results.
[0067] like Figure 2 As shown, training organizers can log into the training management system, and the electronic devices can manage the entire training process and collect key data. This key data includes training sessions, participants for each session, courses taught, attendance records, teaching locations, instructors, and assessment results. Specifically, the electronic devices manage the entire training process and collect key data through the training process module.
[0068] S102. In response to the selection operation of the training organizer, determine the academic management data of the target training class from the key data. The academic management data of the target training class includes at least the certificate type, courses taught, course attendance, assessment results, and actual trainees of the target training class.
[0069] The training organizer selects key data, and the electronic device responds to this selection by determining the academic management data for the target training course from the key data. This academic management data includes at least the certificate type, courses taught, course attendance, assessment results, and actual trainees for the target training course. Specifically, the academic management data for the target training course is determined from the key data through the electronic training certificate application module.
[0070] S103. Based on the academic management data of the target training courses, generate electronic certificates for the training in batches.
[0071] The electronic device generates electronic training certificates in batches based on the academic management data of the target training courses. Specifically, the academic management data of the target training courses is sent to the electronic training certificate generation module, which then generates electronic training certificates in batches.
[0072] S104. Upload the electronic certificate to the training student system application server.
[0073] The electronic device uploads the electronic certificate to the training student system application server. Specifically, the training electronic certificate data is synchronized to the training student system application server through the training electronic certificate publishing module.
[0074] S105. In response to the login operation of the trainee, obtain the trainee's identity identifier, and obtain the corresponding training electronic certificate download address based on the identity identifier, so that the trainee can download their respective PDF electronic certificate documents through the download address during or after the training.
[0075] The electronic device responds to the trainee's login operation by obtaining the trainee's identity identifier and, based on the identifier, obtaining the corresponding download address for the training e-certificate. This allows the trainee to download their respective PDF e-certificate document via the download address during or after the training. Specifically, the electronic certificate authentication module obtains the trainee's identity identifier and, based on the identifier, obtains the corresponding download address for the training e-certificate, allowing the trainee to download their respective PDF e-certificate document via the download address during or after the training.
[0076] In some embodiments, the electronic certificate authentication module of the electronic device verifies the identity of the file opener based on the certificate private key entered by the student during login and the server public key, and controls PDF file operation permissions and determines file legitimacy based on the access policy provided by the HEADER area information of the PDF electronic certificate. Based on the document opener's identity, the number of authentication attempts is recorded and returned to the certificate log management storage.
[0077] Table 1 compares the training courses grouped by a sample of 200 training courses. The training courses using this certificate generation method show significantly improved efficiency, higher student satisfaction, and can greatly reduce the time costs of communication and manual sorting. It can also reduce the economic costs of printing, transporting, and mailing a large number of training certificates, thus having good social and economic benefits.
[0078] Table 1. Comparison of the effects before and after the application of the training course for 200 people.
[0079]
[0080]
[0081] Based on the comparison in Table 1, the traditional method takes 17 hours to complete when 200 people register together. It generally requires one organizer to complete the process in 2-3 working days, with a basic cost of 3,000-5,000 yuan, mainly for certificate production and mailing costs. The training certificate generation method takes only 12 minutes, generally requires no manual intervention, has zero cost, and is 100% accurate.
[0082] Compared to existing technologies, the training certificate generation method disclosed herein has the following advantages:
[0083] This disclosure manages the entire training administration process, collects key data, responds to the training organizer's selection operations, determines the administration data for the target training courses from the key data, and generates electronic training certificates in batches based on the administration data of the target training courses. The electronic certificates are then uploaded to the training student system application server. This effectively solves problems related to the business processing flow of training certificates, difficulties in collecting, organizing, and classifying certificate photos, errors due to manual processing, long waiting times for paper certificates, and low communication efficiency. It also addresses a series of problems associated with traditional paper certificate generation, such as high costs for manual labor, production, and mailing, low efficiency, poor information accuracy, difficulty in verification, inability to permanently store certificates, and inability to create electronic training archives. This has profound significance and impact on improving the brand benefits of training institutions and enhancing the overall image and informatization level of the training industry.
[0084] Figure 3 A flowchart of a training certificate generation method provided in another embodiment of this disclosure is shown below. Figure 3 As shown, the method includes the following steps:
[0085] S301. Manage the entire training process and collect key data, including training sessions, participants in each training session, courses taught, attendance, teaching location, instructors, and evaluation results.
[0086] Specifically, the implementation process and principle of S301 and S101 are the same, and will not be repeated here.
[0087] S302. In response to the selection operation of the training organizer, determine the first academic management data of the target training course from the key data.
[0088] The electronic device, in response to the training organizer's selection operation, determines the first administrative management data for the target training course from the key data. For example... Figure 2 As shown, when the training organizer selects the key data, the training electronic certificate application module of the electronic device responds to the training organizer's selection operation and determines the first academic management data of the target training class from the key data.
[0089] S303. Send the first academic affairs management data of the target training course to the academic affairs management department system so that the academic affairs management department personnel can log in to the academic affairs management department system to review the first academic affairs management data of the target training course.
[0090] The electronic device sends the first set of academic affairs management data for the target training course to the academic affairs management department system, so that personnel in the academic affairs management department can log in to the system to review the first set of academic affairs management data for the target training course. Figure 2As shown, the training electronic certificate application module sends the first academic affairs management data of the target training course to the academic affairs management department system, so that the personnel of the academic affairs management department can log in to the academic affairs management department system to review the first academic affairs management data of the target training course.
[0091] S304. In response to the review operation of the academic affairs management department personnel, determine the academic affairs management data of the target training class based on the first academic affairs management data of the target training class.
[0092] The academic affairs management department staff reviews the first set of academic affairs management data for the target training course. In response to this review, the academic affairs management data for the target training course is determined based on this first set of data. Specifically, the training electronic certificate application module, in response to the review by the academic affairs management department staff, determines the academic affairs management data for the target training course based on this first set of data.
[0093] S305. Based on the certificate type in the academic affairs management data of the target training course, call the corresponding electronic training certificate template.
[0094] The electronic device retrieves the corresponding electronic training certificate template based on the certificate type in the academic management data of the target training course. For example... Figure 2 As shown, the Word template determination unit in the training electronic certificate generation module calls the corresponding training electronic certificate template based on the certificate type in the academic affairs management data of the target training course.
[0095] S306. Integrate the academic management data of the target training course to obtain the production data of the training electronic certificate. The production data of the training electronic certificate includes the trainee's name, gender, unit, photo, course, number of class hours, teaching time, assessment score, class name, student ID and initial password.
[0096] The electronic device integrates the academic management data of the target training course to obtain the data for creating the electronic training certificate. This data includes the trainee's name, gender, organization, photo, course details, number of class hours, class time, assessment score, class name, student ID, and initial password. Figure 2 As shown, the training certificate data acquisition unit in the training electronic certificate generation module integrates the academic management data of the target training class through the database, and then obtains the student data of this training class through WEBAPI to obtain the production data of the training electronic certificate.
[0097] S307. Determine if the certificate photo is acceptable.
[0098] Electronic devices determine whether the certificate photo is acceptable. For example... Figure 2 As shown, the certificate photo compliance judgment unit in the training electronic certificate generation module determines whether the certificate photo is qualified.
[0099] S308. If the certificate photo is qualified, generate the initial Word certificate file.
[0100] If the electronic device determines that the certificate photo is acceptable, it generates an initial Word certificate file. Figure 2 As shown, the unit for generating the initial Word certificate file in the training e-certificate generation module uses the OFFICE POI component to insert the training e-certificate creation data and certificate photo into the bookmark position corresponding to the training e-certificate template to generate the initial Word certificate file.
[0101] S309. Convert the initial Word certificate file into a PDF data stream.
[0102] The electronic device converts the initial Word certificate file into a PDF data stream. Specifically, as shown... Figure 2 As shown, the training electronic certificate generation module has a unit that converts the initial Word certificate file into a PDF stream and encrypts it, which converts the initial Word certificate file into a PDF data stream.
[0103] S310. Generate a PDF electronic certificate based on the PDF data stream.
[0104] The electronic device generates a PDF electronic certificate based on the PDF data stream. Specifically, the training electronic certificate generation module generates a PDF electronic certificate based on the PDF data stream.
[0105] S311. Upload the electronic certificate to the training student system application server.
[0106] Specifically, the implementation process and principle of S311 and S104 are the same, and will not be repeated here.
[0107] S312. In response to the login operation of the trainee, obtain the trainee's identity identifier, and obtain the corresponding training electronic certificate download address based on the identity identifier, so that the trainee can download their respective PDF electronic certificate documents through the download address during or after the training.
[0108] Specifically, the implementation process and principle of S312 and S105 are the same, and will not be repeated here.
[0109] Compared to existing technologies, the training certificate generation method disclosed herein has the following advantages:
[0110] This disclosure manages the entire training administration process, collects key data, and, in response to the training organizer's selection operation, determines the first administrative management data for the target training course from the key data. This first administrative management data is then sent to the administrative management department system, allowing administrative management personnel to log in and review it. Furthermore, in response to the administrative management personnel's review, the administrative management data for the target training course is determined based on the first administrative management data. Based on the certificate type in the administrative management data, the corresponding electronic training certificate template is retrieved, and the administrative management data for the target training course is integrated to obtain the electronic training certificate creation data. This electronic training certificate creation data includes the trainee's name, gender, institution, photo, course content, number of class hours, class time, assessment score, class name, student ID, and initial password. Then, the certificate photo is judged to be qualified. If the certificate photo is qualified, a Word certificate initial file is generated, the Word certificate initial file is converted into a PDF data stream, a PDF electronic certificate is generated based on the PDF data stream, and the electronic certificate is uploaded to the training student system application server. Subsequently, in response to the trainee's login operation, the trainee's identity identifier is obtained, and the corresponding training electronic certificate download address is obtained based on the identity identifier. This allows the trainee to download their respective PDF electronic certificate document through the download address during or after training. This effectively solves the problems of training certificate work process, difficulties in collecting, organizing, and classifying certificate photos, errors in manual processing, long waiting time for paper certificates, and low efficiency in personnel communication. It also solves a series of problems in traditional paper certificate generation, such as high manual, production, and mailing costs, low efficiency, poor information accuracy, difficulty in verification, inability to permanently save, and inability to form electronic training archive history. This has profound significance and impact on improving the brand benefits of training institutions and enhancing the overall image and informatization level of the training industry.
[0111] Figure 4 A flowchart of a training certificate generation method provided in another embodiment of this disclosure is shown below. Figure 4 As shown, the method includes the following steps:
[0112] S401. Manage the entire training process and collect key data, including training sessions, participants in each training session, courses taught, attendance, teaching location, instructors, and assessment results.
[0113] Specifically, the implementation process and principle of S401 and S101 are the same, and will not be repeated here.
[0114] S402. In response to the selection operation of the training organizer, determine the academic management data of the target training class from the key data. The academic management data of the target training class includes at least the certificate type, courses taught, course attendance, assessment results, and actual trainees of the target training class.
[0115] Specifically, the implementation process and principle of S402 and S102 are the same, and will not be repeated here.
[0116] S403. Based on the certificate type in the academic affairs management data of the target training course, call the corresponding electronic training certificate template.
[0117] Specifically, the implementation process and principle of S403 and S305 are the same, and will not be repeated here.
[0118] S404. Integrate the academic management data of the target training course to obtain the production data of the training electronic certificate. The production data of the training electronic certificate includes the trainee's name, gender, unit, photo, course, number of class hours, teaching time, assessment score, class name, student ID and initial password.
[0119] Specifically, the implementation process and principle of S404 and S306 are the same, and will not be repeated here.
[0120] S405. Determine if the certificate photo is acceptable.
[0121] Specifically, the implementation process and principle of S405 and S307 are the same, and will not be repeated here.
[0122] In some embodiments, S405 includes, but is not limited to, S4051, S4052, and S4053:
[0123] S4051. Preprocess the certificate photo to obtain facial contour feature vector parameters.
[0124] S4052. Compare the facial contour feature vector parameters with the preset facial contour grayscale range parameters.
[0125] S4053. If the facial contour feature vector parameters are within the preset facial contour grayscale range parameters, then the certificate photo is qualified.
[0126] If the facial contour feature vector parameters are within the preset facial contour grayscale range parameters, the certificate photo is qualified; if the facial contour feature vector parameters are not within the preset facial contour grayscale range parameters, the certificate photo is unqualified and a new certificate photo needs to be captured.
[0127] S406. If the certificate photo is qualified, generate the initial Word certificate file.
[0128] Specifically, the implementation process and principle of S406 and S308 are the same, and will not be repeated here.
[0129] S407. Convert the initial Word certificate file into a PDF data stream.
[0130] Specifically, the implementation process and principle of S407 and S309 are the same, and will not be repeated here.
[0131] S408. Encrypt the PDF data stream with a key.
[0132] The electronic device encrypts the PDF data stream with a key.
[0133] In some embodiments, S408 includes, but is not limited to, S4081, S4082, and S4083:
[0134] S4081. Generate a user private key based on the trainee's student ID and initial password.
[0135] S4082. At the end of the PDF data stream, the user's private key is encrypted using the AES encryption algorithm and written into a dictionary entry to generate a certificate private key.
[0136] S4083. Write the server public key information into the PDF data stream to determine the legitimacy of the PDF electronic certificate.
[0137] S409. Perform electronic signature processing on the encrypted PDF data stream to generate a PDF electronic certificate.
[0138] Electronic devices perform electronic signature processing on encrypted PDF data streams to generate PDF electronic certificates. Specifically, the electronic device determines the location, area, and corresponding official seal image of the electronic signature, and then performs electronic signature processing on the encrypted PDF data stream to generate a PDF electronic certificate.
[0139] In some embodiments, S409 includes, but is not limited to, S4091, S4092, and S4093:
[0140] S4091. Obtain the certificate private key corresponding to the encrypted PDF data stream.
[0141] S4092. Obtain the document data stream of the encrypted PDF data stream.
[0142] S4093. Based on the electronic signature information, the document data stream is processed serially to obtain a signed PDF electronic certificate. The electronic signature information includes the location and area of the electronic signature, the corresponding official seal image, and the public key encryption string.
[0143] Electronic devices call the ITEXT integration component package within the standard PDF document object. Utilizing key functions of the ITEXT integration component package library, they set the signature location, region address, and signature encryption string for the PDF electronic certificate. The design logic for generating a digital signature electronic seal is as follows: obtain the certificate private key corresponding to the encrypted PDF data stream; obtain the document data stream of the encrypted PDF data stream; and serially process the digital signature document output data stream, including the specific electronic seal location, region, corresponding official seal image, public key encryption string, and other electronic seal information.
[0144] Compared to existing technologies, the training certificate generation method disclosed herein has the following advantages:
[0145] This embodiment manages the entire training administration process, collecting key data including training class number, participants, courses, attendance, location, instructors, and assessment results. Responding to the training organizer's selection operation, the administration data for the target training class is determined from this key data. This administration data includes at least the certificate type, courses, attendance, assessment results, and actual participants. Based on the certificate type in the administration data, the corresponding electronic certificate template is called, and the administration data is integrated to obtain the electronic certificate creation data. This data includes the trainee's name, gender, organization, photo, courses, class hours, class time, assessment results, class name, student ID, and initial password. Furthermore, the certificate photo is checked for compliance. If the certificate photo is qualified, a Word certificate initial file is generated, which is then converted into a PDF data stream and encrypted with a key. The encrypted PDF data stream is then electronically signed to generate a PDF electronic certificate. This effectively solves problems related to the workflow of training certificate processing, difficulties in collecting, organizing, and classifying certificate photos, errors due to manual processing, long waiting times for paper certificates, and low communication efficiency. It also addresses a series of issues inherent in traditional paper certificate generation, such as high costs for manual labor, production, and mailing, low efficiency, poor information accuracy, difficulties in verification, inability to permanently store certificates, and the inability to create electronic training archives. This has profound significance and impact on improving the brand image of training institutions and enhancing the overall image and informatization level of the training industry.
[0146] Figure 5This is a schematic diagram of the structure of a training certificate generation device provided in an embodiment of this disclosure. The training certificate generation device can be an electronic device as described in the above embodiment, or it can be a component or assembly within that electronic device. The training certificate generation device provided in this embodiment can execute the processing flow provided in the training certificate generation method embodiment, such as... Figure 5 As shown, the training certificate generation device 50 includes: a training process module 51, a training electronic certificate application module 52, a training electronic certificate generation module 53, a training electronic certificate issuance module 54, and a training electronic certificate authentication module 55. The training process module 51 manages the entire training administration process and collects key data, including training class number, participants in each training class, courses taught, class attendance, teaching location, instructors, and assessment results. The training electronic certificate application module 52 responds to the selection operation of the training organizer and determines the administrative management data of the target training class from the key data. The management data includes at least the certificate type, courses, attendance, assessment results, and actual trainees for the target training course; the training electronic certificate generation module 53 is used to generate electronic certificates for the training in batches based on the management data of the target training course; the training electronic certificate publishing module 54 is used to upload the electronic certificates to the training student system application server; the training electronic certificate authentication module 55 is used to respond to the login operation of the trainees, obtain the trainee's identity identifier, and obtain the corresponding training electronic certificate download address based on the identity identifier, so that the trainees can download their respective PDF electronic certificate documents through the download address during or after the training.
[0147] Optionally, when the training electronic certificate application module 52 determines the academic management data of the target training class from the key data in response to the selection operation of the training organizer, it is specifically used to: determine the first academic management data of the target training class from the key data in response to the selection operation of the training organizer; send the first academic management data of the target training class to the academic management department system so that the academic management department personnel can log in to the academic management department system to review the first academic management data of the target training class; and determine the academic management data of the target training class based on the first academic management data of the target training class in response to the review operation of the academic management department personnel.
[0148] Optionally, when the training e-certificate generation module 53 generates training e-certificates in batches based on the academic affairs management data of the target training class, it is specifically used for: calling the corresponding training e-certificate template based on the certificate type in the academic affairs management data of the target training class; integrating the academic affairs management data of the target training class to obtain the training e-certificate production data, which includes the trainee's name, gender, unit, photo, course, number of class hours, teaching time, assessment score, class name, student ID and initial password; determining whether the certificate photo is qualified; if the certificate photo is qualified, generating a Word certificate initial file; converting the Word certificate initial file into a PDF data stream; and generating a PDF e-certificate based on the PDF data stream.
[0149] Optionally, when the training electronic certificate generation module 53 determines whether the certificate photo is qualified, it is specifically used to: preprocess the certificate photo to obtain facial contour feature vector parameters; compare the facial contour feature vector parameters with preset facial contour grayscale range parameters; if the facial contour feature vector parameters are within the preset facial contour grayscale range parameters, then the certificate photo is qualified.
[0150] Optionally, when the training electronic certificate generation module 53 generates a PDF electronic certificate based on the PDF data stream, it is specifically used to: encrypt the PDF data stream with a key; and perform electronic signature processing on the encrypted PDF data stream.
[0151] Optionally, when the training electronic certificate generation module 53 performs key encryption on the PDF data stream, it is specifically used to: generate a user private key based on the trainee's student ID and initial password; encrypt the user private key using the AES encryption algorithm at the end of the PDF data stream and write it into a dictionary entry to generate a certificate private key; and write the server public key information into the PDF data stream to determine the legitimacy of the PDF electronic certificate.
[0152] Optionally, when the training electronic certificate generation module 53 performs electronic signature processing on the encrypted PDF data stream, it is specifically used to: obtain the certificate private key corresponding to the encrypted PDF data stream; obtain the document data stream of the encrypted PDF data stream; and perform serial processing on the document data stream based on the electronic signature information to obtain the signed PDF electronic certificate. The electronic signature information includes the location, area, corresponding official seal image, and public key encryption string of the electronic signature.
[0153] Figure 5 The training certificate generation device shown in the embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0154] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. The electronic device can be the electronic device described in the above embodiments. The electronic device provided in this embodiment of the disclosure can execute the processing flow provided in the training certificate generation method embodiment, such as... Figure 6 As shown, the electronic device 60 includes: a memory 61, a processor 62, a computer program, and a communication interface 63; wherein the computer program is stored in the memory 61 and configured to be executed by the processor 62 as described above in the training certificate generation method.
[0155] In addition, this disclosure also provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the training certificate generation method described in the above embodiments.
[0156] Furthermore, this disclosure also provides a computer program product, which includes a computer program or instructions that, when executed by a processor, implement the training certificate generation method described above.
[0157] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0158] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0159] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0160] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to:
[0161] The entire training process is managed, and key data is collected, including training sessions, trainees for each training session, courses taught, course attendance, teaching location, instructors, and assessment results.
[0162] In response to the selection operation of the training organizer, the academic management data of the target training class is determined from the key data. The academic management data of the target training class includes at least the certificate type, courses taught, course attendance, assessment results, and actual trainees of the target training class.
[0163] Based on the academic management data of the target training courses, electronic certificates for the training are generated in batches.
[0164] Upload the electronic certificate to the training student system application server;
[0165] In response to a trainee's login, the system obtains the trainee's identity identifier and retrieves the corresponding download address for the electronic training certificate based on the identity identifier, so that the trainee can download their respective PDF electronic certificate document through the download address during or after the training.
[0166] In addition, the electronic device can also perform other steps in the training certificate generation method described above.
[0167] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0168] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0169] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0170] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0171] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0172] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0173] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for generating training certificates, characterized in that, include: The entire training process is managed, and key data is collected, including training sessions, trainees for each training session, courses taught, course attendance, teaching location, instructors, and assessment results. In response to the selection operation of the training organizer, the academic management data of the target training class is determined from the key data. The academic management data of the target training class includes at least the certificate type, courses taught, course attendance, assessment results, and actual trainees of the target training class. Based on the academic management data of the target training courses, electronic certificates for the training are generated in batches. Upload the electronic certificate to the training student system application server; In response to the login operation of the trainees, the system obtains the trainee's identity identifier and obtains the corresponding training electronic certificate download address based on the identity identifier, so that the trainees can download their respective PDF electronic certificate documents through the download address during or after the training. The step of generating electronic training certificates in batches based on the academic management data of the target training courses includes: Based on the certificate type in the academic affairs management data of the target training course, the corresponding electronic training certificate template is retrieved; The academic management data of the target training courses are integrated to obtain the production data of the electronic training certificates. The production data of the electronic training certificates includes the trainee's name, gender, unit, photo, course, number of class hours, teaching time, assessment score, class name, student ID and initial password. Determine if the certificate photo is acceptable; If the certificate photo is acceptable, an initial Word certificate file will be generated. Convert the initial Word certificate file into a PDF data stream; Generate a PDF electronic certificate based on the PDF data stream; The determination of whether the certificate photo is qualified includes: Preprocess the certificate photo to obtain facial contour feature vector parameters; The facial contour feature vector parameters are compared with the preset facial contour grayscale range parameters. If the facial contour feature vector parameters are within the preset facial contour grayscale range parameters, then the certificate photo is qualified. The step of generating a PDF electronic certificate based on the PDF data stream includes: The PDF data stream is encrypted with a key; Perform electronic signature processing on the encrypted PDF data stream to generate a PDF electronic certificate; The key encryption of the PDF data stream includes: Generate a user's private key based on the trainee's student ID and initial password; At the end of the PDF data stream, the user's private key is encrypted using the AES encryption algorithm and written into a dictionary entry to generate a certificate private key; The server's public key information is written into the PDF data stream to determine the legitimacy of the PDF electronic certificate.
2. The method according to claim 1, characterized in that, The process of responding to the selection operation of the training organizer, determining the academic management data of the target training course from the key data, includes: In response to the selection process of the training organizer, the first academic management data for the target training course is determined from the key data; The first academic affairs management data of the target training course is sent to the academic affairs management department system so that the personnel of the academic affairs management department can log in to the academic affairs management department system to review the first academic affairs management data of the target training course; In response to the review and approval process of the academic affairs management personnel, the academic affairs management data of the target training course is determined based on the first academic affairs management data of the target training course.
3. The method according to claim 1, characterized in that, The step of electronically signing the encrypted PDF data stream to generate a PDF electronic certificate includes: Obtain the certificate private key corresponding to the encrypted PDF data stream; Obtain the document data stream from the encrypted PDF data stream; The document data stream is processed serially based on the electronic signature information to obtain a signed PDF electronic certificate. The electronic signature information includes the location and area of the electronic signature, the corresponding official seal image, and the public key encryption string.
4. A training certificate generation device, characterized in that, include: The training process module is used to manage the entire training process and collect key data, including training sessions, trainees for each training session, courses taught, course attendance, teaching location, instructors, and assessment results. The training electronic certificate application module is used to respond to the selection operation of the training organizer and determine the academic management data of the target training class from the key data. The academic management data of the target training class includes at least the certificate type, courses taught, course attendance, assessment results, and actual trainees of the target training class. The training e-certificate generation module is used to generate training e-certificates in batches based on the academic management data of the target training courses; The training electronic certificate issuance module is used to upload the electronic certificate to the training student system application server; The training e-certificate authentication module is used to respond to the login operation of trainees, obtain the trainee's identity identifier, and obtain the corresponding training e-certificate download address based on the identity identifier, so that the trainees can download their respective PDF e-certificate documents through the download address during or after the training. The step of generating electronic training certificates in batches based on the academic management data of the target training courses includes: Based on the certificate type in the academic affairs management data of the target training course, the corresponding electronic training certificate template is retrieved; The academic management data of the target training courses are integrated to obtain the production data of the electronic training certificates. The production data of the electronic training certificates includes the trainee's name, gender, unit, photo, course, number of class hours, teaching time, assessment score, class name, student ID and initial password. Determine if the certificate photo is acceptable; If the certificate photo is acceptable, an initial Word certificate file will be generated. Convert the initial Word certificate file into a PDF data stream; Generate a PDF electronic certificate based on the PDF data stream; The determination of whether the certificate photo is qualified includes: Preprocess the certificate photo to obtain facial contour feature vector parameters; The facial contour feature vector parameters are compared with the preset facial contour grayscale range parameters. If the facial contour feature vector parameters are within the preset facial contour grayscale range parameters, then the certificate photo is qualified. The step of generating a PDF electronic certificate based on the PDF data stream includes: The PDF data stream is encrypted with a key; Perform electronic signature processing on the encrypted PDF data stream to generate a PDF electronic certificate; The key encryption of the PDF data stream includes: Generate a user's private key based on the trainee's student ID and initial password; At the end of the PDF data stream, the user's private key is encrypted using the AES encryption algorithm and written into a dictionary entry to generate a certificate private key; The server's public key information is written into the PDF data stream to determine the legitimacy of the PDF electronic certificate.
5. An electronic device, characterized in that, include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and configured to be executed by the processor to implement the method as described in any one of claims 1-3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-3.
Citation Information
Patent Citations
Cross-platform-based smart campus system
CN113723770A
Audiver examination and talent management system and method for content auditing
CN115423659A
Digital certificate management
US20190057106A1