[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113947649A - Electronic certificate generation method, electronic certificate generation equipment and storage medium - Google Patents

Electronic certificate generation method, electronic certificate generation equipment and storage medium Download PDF

Info

Publication number
CN113947649A
CN113947649A CN202111235571.XA CN202111235571A CN113947649A CN 113947649 A CN113947649 A CN 113947649A CN 202111235571 A CN202111235571 A CN 202111235571A CN 113947649 A CN113947649 A CN 113947649A
Authority
CN
China
Prior art keywords
certificate
information
electronic certificate
examination
electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111235571.XA
Other languages
Chinese (zh)
Inventor
谭伟
黄波
田陈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Huagong Zhiyun Technology Co ltd
Original Assignee
Wuhan Huagong Zhiyun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Huagong Zhiyun Technology Co ltd filed Critical Wuhan Huagong Zhiyun Technology Co ltd
Priority to CN202111235571.XA priority Critical patent/CN113947649A/en
Publication of CN113947649A publication Critical patent/CN113947649A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an electronic certificate generating method, electronic certificate generating equipment and a storage medium, wherein the method comprises the following steps: acquiring examination information of a user, and judging whether an electronic certificate needs to be generated according to the examination information of the user; when the electronic certificate is judged to need to be generated, generating a unique certificate number, and generating an electronic certificate base map and certificate information according to the certificate number and the examination information of the user; and filling the certificate information into the electronic certificate base map to generate the electronic certificate. The invention can avoid the certificate from being forged, is simple and convenient, does not need manual operation, and is suitable for scenes needing to generate electronic certificates in batches.

Description

Electronic certificate generation method, electronic certificate generation equipment and storage medium
Technical Field
The invention relates to the technical field of online education, in particular to an electronic certificate generation method, electronic certificate generation equipment and a storage medium.
Background
Generally, examination passes through issued paper certificates, and is easy to lose, and with the rise of the domestic internet education industry, the popularization of online education and learning examination is realized, and the online examination and the generation of corresponding electronic certificates are particularly important.
The existing electronic certificate generation method generally fills the information of students into a pre-made electronic certificate base map one by background workers, needs to consume a large amount of manpower and material resources, is not only inconvenient to generate, but also is easy to forge.
Disclosure of Invention
The present invention is directed to overcome the above technical deficiencies, and provides a method, a device and a storage medium for generating an electronic certificate, which solve the technical problem of inconvenience in generating an electronic certificate in the prior art.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides an electronic certificate generating method, including the following steps:
acquiring examination information of a user, and judging whether an electronic certificate needs to be generated according to the examination information of the user;
when the electronic certificate is judged to need to be generated, generating a unique certificate number, and generating an electronic certificate base map and certificate information according to the certificate number and the examination information of the user;
and filling the certificate information into the electronic certificate base map to generate the electronic certificate.
Preferably, in the electronic certificate generation method, the examination information of the user at least includes a user name, an identification number, an electronic photograph, examination report time, an examination subject, and an examination result of the user.
Preferably, in the electronic certificate generation method, the acquiring test information of the user and determining whether the electronic certificate needs to be generated according to the test information of the user specifically includes:
acquiring examination information of a user, judging whether the examination of the user is qualified according to qualified scores corresponding to the examination subjects and the examination scores of the user, and judging whether an electronic certificate needs to be generated according to a judgment result.
Preferably, in the electronic certificate generating method, the certificate information at least includes a certificate two-dimensional code, certificate issuing time, a certificate chinese name, and a certificate english name.
Preferably, in the electronic certificate generation method, when it is determined that an electronic certificate needs to be generated, generating a unique certificate number, and generating an electronic certificate base map and certificate information according to the certificate number and test information of a user specifically includes:
when the electronic certificate is judged to need to be generated, generating a unique certificate number;
generating the certificate two-dimensional code according to the identity card number and the certificate number;
and generating an electronic certificate base map, certificate issuing time, a certificate Chinese name and a certificate English name according to the examination reporting time and the examination subjects.
Preferably, in the electronic certificate generation method, the filling the certificate information into the electronic certificate base map to generate an electronic certificate specifically includes:
acquiring a position and position configuration information of the certificate information to be filled in the electronic certificate base map;
according to the electronic certificate base map and the position configuration information, configuring the certificate information and the examination information to generate an information picture corresponding to the position configuration information;
and filling the information picture to a corresponding position in the electronic certificate base map to generate the electronic certificate.
Preferably, in the electronic certificate generating method, the position configuration information at least includes content of a position to be filled, a size and a color of a font, certificate information of a current position to be filled, and whether the current position needs to be rewarded.
Preferably, in the electronic certificate generating method, the certificate information is configured by using a PHP drawing technique to generate an information picture corresponding to the position configuration information.
In a second aspect, the present invention further provides an electronic certificate generating apparatus, including: a processor and a memory;
the memory has stored thereon a computer readable program executable by the processor;
the processor, when executing the computer readable program, implements the steps in the electronic certificate generation method as described above.
In a third aspect, the present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps in the electronic certificate generation method as described above.
Compared with the prior art, the electronic certificate generation method, the electronic certificate generation equipment and the electronic certificate generation storage medium provided by the invention have the advantages that whether the examination of the user is qualified or not is judged according to the examination information of the user, the electronic certificate is required to be generated if the examination of the user is qualified, the electronic certificate base map and the certificate information are generated according to the examination information of the user and the certificate number after the unique certificate number is generated, the certificate can be prevented from being forged, the certificate information is filled into the electronic certificate base map, the electronic certificate can be generated in batch, the method, the equipment and the storage medium are simple and convenient, manual operation is not required, and the method, the equipment and the storage medium are suitable for scenes in which the electronic certificate is required to be generated in batch.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of a method for generating an electronic certificate according to the present invention;
FIG. 2 is a block diagram of an electronic certificate generating apparatus according to a preferred embodiment of the present invention;
fig. 3 is a schematic diagram of an operating environment of the electronic certificate generating program according to the preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, a method for generating an electronic certificate according to an embodiment of the present invention includes the following steps:
s100, acquiring examination information of a user, and judging whether an electronic certificate needs to be generated according to the examination information of the user;
s200, when the electronic certificate is judged to need to be generated, generating a unique certificate number, and generating an electronic certificate base map and certificate information according to the certificate number and the examination information of the user;
s300, filling the certificate information into the electronic certificate base map to generate an electronic certificate.
In the embodiment, whether the examination of the user is qualified or not is judged according to the examination information of the user, if so, an electronic certificate needs to be generated, then, after a unique certificate number is generated, an electronic certificate base map and certificate information are generated according to the examination information and the certificate number of the user, further, the certificate can be prevented from being forged, and then, the certificate information is filled into the electronic certificate base map, so that the batch generation of the electronic certificates can be performed.
In the step S100, the examination information of the user at least includes a user name, an identification number, an electronic photograph, an examination subject, examination report time, and an examination result of the user, and in this embodiment, it is determined whether an electronic certificate needs to be generated according to the examination result of the user. Specifically, the step S100 specifically includes:
acquiring examination information of a user, judging whether the examination of the user is qualified according to qualified scores corresponding to the examination subjects and the examination scores of the user, and judging whether an electronic certificate needs to be generated according to a judgment result.
In the embodiment, when the background clicks to generate the certificate, the name, the identification number, the electronic photo and the examination subject of the user are acquired, then the examination score corresponding to the examination subject is inquired according to the name or the identification number of the user, then the examination score of the user is compared with the qualified score corresponding to the examination subject, if the examination score reaches the qualified score, the electronic certificate is generated, and otherwise, the electronic certificate is not generated.
The step S200 is to achieve the acquisition of the electronic certificate base map and the certificate information, so as to facilitate the generation of the subsequent electronic certificate. Specifically, the certificate information at least includes a certificate two-dimensional code, certificate issuing time, a certificate Chinese name and a certificate English name. The certificate two-dimensional code is used for achieving an anti-counterfeiting function, and the certificate is prevented from being forged. In a preferred embodiment, the step S200 specifically includes:
when the electronic certificate is judged to need to be generated, generating a unique certificate number;
generating the certificate two-dimensional code according to the identity card number and the certificate number;
and generating an electronic certificate base map, certificate issuing time, a certificate Chinese name and a certificate English name according to the examination reporting time and the examination subjects.
In this embodiment, a unique certificate number is first generated, where the certificate number is used as an identification number of a certificate, where the certificate number may be generated according to a numbering rule preset in the background, and the number of each electronic certificate is unique, which may prevent counterfeiting. And then in order to further prevent counterfeiting and conveniently identify the authenticity of the certificate, a certificate two-dimensional code is generated according to the identity card number and the certificate number, and the identity card number and the certificate number are unique numbers, so that the certificate two-dimensional code generated by combining the identity card number and the certificate number has extremely high anti-counterfeiting capacity. Furthermore, because the examination reporting time is different and the versions of the electronic certificate may be different, for example, in different examination reporting time periods, some examination platforms issue a plurality of different certificate versions, so to avoid confusion, the print versions of the user's examination need to be determined according to the examination reporting time, and the display effect and the characters of each print version are different. And finally, generating certificate issuing time, a certificate Chinese name and a certificate English name according to the examination subjects so as to generate the certificate.
The step S300 is to generate an electronic certificate according to the certificate information. Specifically, the step S300 specifically includes:
acquiring a position and position configuration information of the certificate information to be filled in the electronic certificate base map;
according to the electronic certificate base map and the position configuration information, configuring the certificate information to generate an information picture corresponding to the position configuration information;
and filling the information picture to a corresponding position in the electronic certificate base map to generate the electronic certificate.
In this embodiment, each electronic certificate base map is reserved with a blank for filling in certificate information and examination information, for example, a name, a certificate number, a certificate two-dimensional code, certificate issuing time, a certificate chinese name, a certificate english name, and the like of a blank filling user are reserved, and therefore, each electronic certificate base map corresponds to specific position configuration information, where the position configuration information at least includes content to be filled in a position, a size and a color of a font, certificate information to be filled in a current position, and whether a current position needs to be changed. Therefore, the content to be filled in corresponding to the position and the format of the content can be generated in advance through the position configuration information, and the examination and certification information of the trainee can be displayed accurately and beautifully. In this embodiment, the PHP drawing technology is used to configure the certificate information to generate an information picture corresponding to the position configuration information, and the PHP drawing technology is used to process each certificate information into a picture format, and then the picture is attached to the electronic certificate base map, so that the electronic certificate can be generated.
Based on the above electronic certificate generation method, please refer to fig. 2, an embodiment of the present invention further provides an electronic certificate generation apparatus 400, which includes:
the examination information acquiring module 410 is configured to acquire examination information of a user, and determine whether an electronic certificate needs to be generated according to the examination information of the user;
the certificate information generating module 420 is configured to generate a unique certificate number when it is determined that an electronic certificate needs to be generated, and generate an electronic certificate base map and certificate information according to the certificate number and test information of a user;
the certificate generating module 430 is configured to fill the certificate information into the electronic certificate base map to generate an electronic certificate.
In the embodiment, whether the examination of the user is qualified or not is judged according to the examination information of the user, if so, an electronic certificate needs to be generated, then, after a unique certificate number is generated, an electronic certificate base map and certificate information are generated according to the examination information and the certificate number of the user, further, the certificate can be prevented from being forged, and then, the certificate information is filled into the electronic certificate base map, so that the batch generation of the electronic certificates can be performed.
Since the electronic certificate generation method has been described in detail above, and the electronic certificate generation apparatus also has the technical effects that the electronic certificate generation method has, the details are not repeated herein.
As shown in fig. 3, based on the above-mentioned electronic certificate generating method, the present invention also provides an electronic certificate generating device, which may be a computing device such as a mobile terminal, a desktop computer, a notebook computer, a palm computer, and a server. The electronic certificate generating apparatus comprises a processor 10, a memory 20 and a display 30. Fig. 3 shows only some of the components of the electronic certificate generating apparatus, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The storage 20 may be an internal storage unit of the electronic certificate generating apparatus in some embodiments, for example, a hard disk or a memory of the electronic certificate generating apparatus. The memory 20 may also be an external storage device of the electronic certificate generating apparatus in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the electronic certificate generating apparatus. Further, the memory 20 may also include both an internal storage unit of the electronic certificate generating apparatus and an external storage apparatus. The memory 20 is used for storing application software installed in the electronic certificate generating apparatus and various types of data, such as program codes of the installed electronic certificate generating apparatus. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores an electronic certificate generating program 40, and the electronic certificate generating program 40 can be executed by the processor 10, so as to implement the electronic certificate generating method according to the embodiments of the present application.
The processor 10 may be, in some embodiments, a Central Processing Unit (CPU), a microprocessor or other data Processing chip, and is configured to execute program codes stored in the memory 20 or process data, such as executing the electronic certificate generating method.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 30 is used for displaying information at the electronic certificate generating apparatus and for displaying a visual user interface. The components 10-30 of the electronic certificate generating apparatus communicate with each other via a system bus.
In one embodiment, the steps in the electronic certificate generation method described above are implemented when the processor 10 executes the electronic certificate generation program 40 in the memory 20.
In summary, according to the electronic certificate generation method, the electronic certificate generation device and the electronic certificate generation storage medium provided by the invention, whether the examination of the user is qualified or not is judged according to the examination information of the user, if the examination is qualified, the electronic certificate is required to be generated, then, after a unique certificate number is generated, the electronic certificate base map and the certificate information are generated according to the examination information and the certificate number of the user, further, the certificate can be prevented from being forged, and then, the certificate information is filled into the electronic certificate base map, so that the electronic certificate can be generated in batch.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention. Any other corresponding changes and modifications made according to the technical idea of the present invention should be included in the protection scope of the claims of the present invention.

Claims (10)

1. An electronic certificate generation method, characterized by comprising the steps of:
acquiring examination information of a user, and judging whether an electronic certificate needs to be generated according to the examination information of the user;
when the electronic certificate is judged to need to be generated, generating a unique certificate number, and generating an electronic certificate base map and certificate information according to the certificate number and the examination information of the user;
and filling the certificate information into the electronic certificate base map to generate the electronic certificate.
2. The electronic certificate generation method as claimed in claim 1, wherein the examination information of the user includes at least a user name, an identification number, an electronic photograph, a time of examination, an examination subject, and an examination score of the user.
3. The method of generating an electronic certificate according to claim 2, wherein the obtaining test information of the user and determining whether the electronic certificate needs to be generated according to the test information of the user specifically includes:
acquiring examination information of a user, judging whether the examination of the user is qualified according to qualified scores corresponding to the examination subjects and the examination scores of the user, and judging whether an electronic certificate needs to be generated according to a judgment result.
4. The method according to claim 2, wherein the certificate information includes at least a certificate two-dimensional code, a certificate issuing time, a certificate chinese name, and a certificate english name.
5. The method according to claim 4, wherein the generating an unique certificate number when it is determined that the electronic certificate needs to be generated, and the generating an electronic certificate base map and certificate information according to the certificate number and test information of the user specifically includes:
when the electronic certificate is judged to need to be generated, generating a unique certificate number;
generating the certificate two-dimensional code according to the identity card number and the certificate number;
and generating an electronic certificate base map, certificate issuing time, a certificate Chinese name and a certificate English name according to the examination reporting time and the examination subjects.
6. The method according to claim 5, wherein the filling the certificate information into the electronic certificate base map to generate an electronic certificate specifically includes:
acquiring a position and position configuration information of the certificate information to be filled in the electronic certificate base map;
according to the electronic certificate base map and the position configuration information, configuring the certificate information and the examination information to generate an information picture corresponding to the position configuration information;
and filling the information picture to a corresponding position in the electronic certificate base map to generate the electronic certificate.
7. The method as claimed in claim 6, wherein the location configuration information at least includes content to be filled in the location, size and color of font, certificate information to be filled in the current location, and whether the current location needs to be wrapped.
8. The method according to claim 6, wherein the certificate information is configured by a PHP drawing technique to generate an information picture corresponding to the position configuration information.
9. An electronic certificate generating apparatus, characterized by comprising: a processor and a memory;
the memory has stored thereon a computer readable program executable by the processor;
the processor, when executing the computer readable program, implements the steps in the method of identity card verification according to any of claims 1-8.
10. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the method for authenticating an identity of any one of claims 1-8.
CN202111235571.XA 2021-10-22 2021-10-22 Electronic certificate generation method, electronic certificate generation equipment and storage medium Pending CN113947649A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111235571.XA CN113947649A (en) 2021-10-22 2021-10-22 Electronic certificate generation method, electronic certificate generation equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111235571.XA CN113947649A (en) 2021-10-22 2021-10-22 Electronic certificate generation method, electronic certificate generation equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113947649A true CN113947649A (en) 2022-01-18

Family

ID=79332471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111235571.XA Pending CN113947649A (en) 2021-10-22 2021-10-22 Electronic certificate generation method, electronic certificate generation equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113947649A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547155A (en) * 2003-12-03 2004-11-17 禄 郑 Certificate code false proofing method
CN107180332A (en) * 2016-03-11 2017-09-19 北大方正集团有限公司 Digital certificates generation method and digital certificates generation system
US20200287891A1 (en) * 2018-01-12 2020-09-10 Alibaba Group Holding Limited Electronic certificate transmission method, apparatus and device
CN112199933A (en) * 2020-10-27 2021-01-08 冠群信息技术(南京)有限公司 License template-based format conversion method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547155A (en) * 2003-12-03 2004-11-17 禄 郑 Certificate code false proofing method
CN107180332A (en) * 2016-03-11 2017-09-19 北大方正集团有限公司 Digital certificates generation method and digital certificates generation system
US20200287891A1 (en) * 2018-01-12 2020-09-10 Alibaba Group Holding Limited Electronic certificate transmission method, apparatus and device
CN112199933A (en) * 2020-10-27 2021-01-08 冠群信息技术(南京)有限公司 License template-based format conversion method

Similar Documents

Publication Publication Date Title
CN107463348B (en) Method and system for realizing Web end custom format printing based on B/S architecture
WO2019071662A1 (en) Electronic device, bill information identification method, and computer readable storage medium
CN109753968A (en) Generation method, device, equipment and the medium of character recognition model
WO2018090641A1 (en) Method, apparatus and device for identifying insurance policy number, and computer-readable storage medium
CN103731403B (en) A kind of identifying code generates system and method
CN112541443B (en) Invoice information extraction method, invoice information extraction device, computer equipment and storage medium
CN113158634A (en) Batch data reporting method, device, equipment and computer readable storage medium
CN111259888A (en) Image-based information comparison method and device and computer-readable storage medium
CN112132016B (en) Bill information extraction method and device and electronic equipment
CN113703781A (en) Storage system interface generation method and device, electronic equipment and readable storage medium
CN111985194A (en) Data storage method and device, electronic equipment and storage medium
CN114880238A (en) Mobile terminal interface testing method, device, equipment and storage medium
CN113947649A (en) Electronic certificate generation method, electronic certificate generation equipment and storage medium
EP3842964A3 (en) Display verification method and apparatus for browser, computer device and storage medium
CN112527280A (en) Interface display method and device, server and readable storage medium
CN110263310B (en) Data graph generation method and device and computer readable storage medium
CN112560855A (en) Image information extraction method and device, electronic equipment and storage medium
CN114186540B (en) Mail content intelligent filling method, device, electronic device and storage medium
CN115016754B (en) Method, device, electronic device and medium for synchronous display of pages between devices
CN115758013A (en) Intelligent visual office method and device
CN116226563A (en) Rich text editing method, rich text editing device, electronic equipment and computer readable storage medium
CN113221888B (en) License plate number management system test method and device, electronic equipment and storage medium
CN116542221A (en) PDF file analysis preview method, device, equipment and storage medium
CN112631573B (en) Component adding method, device, equipment and computer readable storage medium
CN110851803B (en) System and method for registering user information in batch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination