Online certificate editing method and system

Through the deep integration of responsive layout and Fabric.js library, the problems of cumbersome and low efficiency of traditional certificate production are solved, and the efficiency, flexibility and environmental protection characteristics of online certificate editing are realized. They are suitable for diverse scenarios and lowered technical thresholds and paper Consumption.

CN119089061APending Publication Date: 2024-12-06INSPUR SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411029677.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The production process of traditional paper certificates is cumbersome, costly, low efficiency and limited personalized customization, making it difficult to adapt to the fast-paced online environment.

Method used

The online certificate editing method and system adopts responsive layout, and builds an online editing environment through intelligent template upload and preprocessing, deep integration of the Fabric.js library, providing drag and drop functions, custom variables and font editing areas, combining code compression and resource laziness Loading and caching strategies for quick editing and multiple export formats.

Benefits of technology

It greatly lowers the technical threshold, improves the user experience, is easy to operate, flexible and efficient, supports multi-terminal use, reduces paper consumption, and adapts to the trend of digital transformation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089061A_ABST
    Figure CN119089061A_ABST
Patent Text Reader

Abstract

The invention particularly relates to an online certificate editing method and system. According to the online certificate editing method and system, a user uploads a certificate template picture, automatically detects image quality and previews the image in real time, so that the user can conveniently confirm whether the uploaded template picture is correct or not; according to the method, a Web version certificate online editing environment is constructed, a user edits certificate content, selects needed variables and drags the variables to a designated position of a picture, the font style of the selected variables is comprehensively customized, and a certificate diagram is stored and exported so as to meet the requirements of different application scenes; a historical version backtracking function of user certificate editing is provided, so that wrong operation can be revoked conveniently or a previous design state can be recovered conveniently; and by adopting a performance optimization and compatibility technology, the page loading speed and the editing fluency are improved. According to the online certificate editing method and system, the operation is simple, flexible and efficient, any software does not need to be downloaded and installed, the technical threshold is greatly reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of graphics processing technology, and in particular to an online certificate editing method and system. Background Art

[0002] In the current wave of digitalization, the popularity of online activities has grown rapidly, including a variety of online competitions, contests, training courses, and virtual meetings. These activities often require the issuance of certificates to participants in recognition of their achievements or participation, as a recognition and encouragement of their efforts. However, the traditional paper certificate production process is cumbersome, requiring not only professional design skills, but also printing, mailing and other links, which is not only costly, but also time-consuming and labor-intensive, and difficult to adapt to the fast-paced online environment.

[0003] In order to solve the problems of complex operation, high cost, low efficiency and limited personalized customization in the traditional certificate production process, the present invention proposes an online certificate editing method and system. Summary of the invention

[0004] In order to overcome the defects of the prior art, the present invention provides a simple and efficient online certificate editing method and system.

[0005] The present invention is achieved through the following technical solutions:

[0006] An online certificate editing method that uses a responsive layout to ensure that users can get a consistent editing experience on desktop and mobile terminals; at the same time, code compression, resource lazy loading and caching strategy technology are used to improve page loading speed and editing fluency;

[0007] The following steps are involved:

[0008] Step S1: Upload and preprocess smart templates

[0009] The user uploads the certificate template image. After uploading, the system automatically performs image quality detection to ensure that the image resolution and size are suitable for editing, and optimizes the image to reduce noise. At the same time, a real-time preview of the uploaded template is realized so that the user can confirm whether the uploaded template image is correct.

[0010] In step S1, after the user uploads the picture and edits the content, the picture and content are security checked to prevent malicious code injection or data leakage;

[0011] If the security check fails, the saving or generation of the image and edited content is blocked, and a security warning is issued to the user.

[0012] Step S2: Build a Web-based certificate online editing environment

[0013] Deeply integrate the Fabric.js library to build an online editing environment:

[0014] First, create an image editing area. The uploaded images are automatically parsed by the Fabric.js library and converted into Canvas elements that can be operated in a web environment. The editing area supports drag and drop.

[0015] Then, load the variable library and provide custom variable functions;

[0016] Finally, create a font editing area and provide a real-time preview function to improve the editing experience;

[0017] In step S2, the variable library contains commonly used certificate variables, including but not limited to name, date, score, ranking and competition event; the custom variable function allows the user to enter a custom variable name and description, and select a default display format.

[0018] In step S2, the font editing area provides general settings including font name, size, thickness and tilt to meet the user's needs for fine adjustment of font style; after the user adjusts the settings, the editing area immediately displays the effect to enhance the editing experience.

[0019] Step S3: Editing operation and real-time feedback

[0020] The user edits the certificate content, selects the required variable from the preset variable library, and drags it to the specified position of the picture; then, the user fully customizes the font style of the selected variable in the font editing area, including but not limited to selecting the font name, modifying the font size, whether it is italicized, bold, underlined, and font color;

[0021] In step S3, the user expands the font library by himself, and the font names are customized to preset some commonly used commercially available fonts, which are sufficient to meet the user's needs.

[0022] At the same time, undo and redo functions are provided so that users can correct mistakes or try other editing effects, greatly improving editing efficiency and satisfaction.

[0023] In step S3, when the user moves the variable position or adjusts the font attributes, the certificate content is rendered in real time with the help of Canvas technology.

[0024] Step S4: Save and export

[0025] After the user completes editing, click the Save button to record the font style attributes of all variables on the image and the precise coordinate position of each variable on the image in JSON format, which is convenient for subsequent editing and batch generation of export certificate images;

[0026] When exporting certificate images, multiple export formats are provided, such as PNG, JPEG, PDF, etc., to meet the needs of different application scenarios;

[0027] Step S5: Historical version management

[0028] Provide users with the historical version backtracking function of certificate editing, which makes it easy to undo erroneous operations or restore to the previous design status.

[0029] An online certificate editing system that uses a responsive layout to ensure that users can get a consistent editing experience on both desktop and mobile terminals. At the same time, it uses code compression, resource lazy loading and caching strategy technology to improve page loading speed and editing fluency.

[0030] It includes intelligent template management module, online editing environment building module, online editing module, certificate image export module and history version management module;

[0031] The smart template management module is used to implement smart template uploading and preprocessing;

[0032] The user uploads the certificate template image. After uploading, the system automatically performs image quality detection to ensure that the image resolution and size are suitable for editing, and optimizes the image to reduce noise. At the same time, a real-time preview of the uploaded template is realized so that the user can confirm whether the uploaded template image is correct.

[0033] After the user uploads the picture and edits the content, the intelligent template management module performs security verification on the picture and content to prevent malicious code injection or data leakage;

[0034] If the security check fails, the saving or generation of the image and edited content is blocked, and a security warning is issued to the user.

[0035] The online editing environment construction module is deeply integrated with the Fabric.js library to build an online editing environment for the Web version of the certificate;

[0036] First, create an image editing area. The uploaded images are automatically parsed by the Fabric.js library and converted into Canvas elements that can be operated in a web environment. The editing area supports drag and drop.

[0037] Then, load the variable library and provide custom variable functions;

[0038] Finally, create a font editing area and provide a real-time preview function to improve the editing experience;

[0039] The variable library contains commonly used certificate variables, including but not limited to name, date, score, ranking and competition event; the custom variable function allows users to enter a custom variable name and description, and select a default display format.

[0040] The font editing area provides general settings including font name, size, thickness and tilt to meet the user's needs for fine-tuning the font style; after the user adjusts the settings, the editing area immediately displays the effect, improving the editing experience.

[0041] The online editing module is used to implement editing operations and real-time feedback;

[0042] The user edits the certificate content, selects the required variable from the preset variable library, and drags it to the specified position of the picture; then, the user fully customizes the font style of the selected variable in the font editing area, including but not limited to selecting the font name, modifying the font size, whether it is italicized, bold, underlined, and font color;

[0043] In the online editing module, users can expand the font library by themselves, and the font names are customized to preset some commonly used commercially available fonts, which are sufficient to meet user needs.

[0044] At the same time, the online editing module also provides undo and redo functions so that users can correct mistakes or try other editing effects, which greatly improves editing efficiency and satisfaction.

[0045] When the user moves the variable position or adjusts the font attributes, the online editing module uses Canvas technology to render the certificate content in real time.

[0046] The certificate graph export module is used to save and export the certificate graph;

[0047] After the user completes editing, click the Save button to record the font style attributes of all variables on the image and the precise coordinate position of each variable on the image in JSON format, which is convenient for subsequent editing and batch generation of export certificate images;

[0048] When exporting certificate images, multiple export formats are provided, such as PNG, JPEG, PDF, etc., to meet the needs of different application scenarios;

[0049] The historical version management module is used to provide users with a historical version backtracking function for certificate editing, which is convenient for undoing erroneous operations or restoring to a previous design state.

[0050] The beneficial effects of the present invention are as follows: the online certificate editing method and system are easy to operate, flexible and efficient, and do not require downloading and installing any software, which greatly reduces the technical threshold and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0052] Attached Figure 1 Schematic diagram of the online certificate editing method of the present invention. DETAILED DESCRIPTION

[0053] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0054] To ensure the good performance of the system on various mainstream browsers (Chrome, Firefox, Safari, Edge) and operating systems (Windows, macOS, iOS, Android), this online certificate editing method adopts a responsive layout to ensure that users can get a consistent editing experience on desktop and mobile terminals; at the same time, through code compression, resource lazy loading and caching strategy technology, it can improve page loading speed and editing fluency.

[0055] The following steps are involved:

[0056] Step S1: Upload and preprocess smart templates

[0057] The user uploads the certificate template image. After uploading, the system automatically performs image quality detection to ensure that the image resolution and size are suitable for editing, and optimizes the image to reduce noise. At the same time, a real-time preview of the uploaded template is realized so that the user can confirm whether the uploaded template image is correct.

[0058] In step S1, after the user uploads the picture and edits the content, the picture and content are security checked to prevent malicious code injection or data leakage;

[0059] If the security check fails, the saving or generation of the image and edited content is blocked, and a security warning is issued to the user.

[0060] Step S2: Build a Web-based certificate online editing environment

[0061] Deeply integrate the Fabric.js library to build an online editing environment, and use the Fabric.js library to load images into the online editing environment;

[0062] The Fabric library is used to implement graphical operations for editing functions, including but not limited to text input, image insertion, and layout adjustment; it allows users to perform fine-tuning operations such as zooming, translating, and rotating images through interactive controls.

[0063] First, create an image editing area. The uploaded images are automatically parsed by the Fabric.js library and converted into Canvas elements that can be operated in a web environment. The editing area supports drag and drop.

[0064] Then, the variable library is loaded and the custom variable function is provided, allowing users to customize variable names;

[0065] Finally, create a font editing area and provide a real-time preview function to improve the editing experience;

[0066] In step S2, the variable library contains commonly used certificate variables, including but not limited to name, date, score, ranking and competition event; the custom variable function allows the user to enter a custom variable name and description, and select a default display format.

[0067] In step S2, the font editing area provides general settings including font name, size, thickness and tilt to meet the user's needs for fine adjustment of font style; after the user adjusts the settings, the editing area immediately displays the effect to enhance the editing experience.

[0068] Step S3: Editing operation and real-time feedback

[0069] The user edits the certificate content, selects the required variable from the preset variable library, and drags it to the specified position of the picture; then, the user fully customizes the font style of the selected variable in the font editing area, including but not limited to selecting the font name, modifying the font size, whether it is italicized, bold, underlined, and font color;

[0070] In step S3, the user expands the font library by himself, and the font names are customized to preset some commonly used commercially available fonts, which are sufficient to meet the user's needs.

[0071] At the same time, undo and redo functions are provided so that users can correct mistakes or try other editing effects, greatly improving editing efficiency and satisfaction.

[0072] In step S3, when the user moves the variable position or adjusts the font attributes, the Canvas technology is used to render the certificate content in real time, including the drawing and combination of elements such as text, pictures, and backgrounds; so that the editing area can immediately reflect these changes, achieving a what-you-see-is-what-you-get editing experience.

[0073] Fabric and Canvas are powerful JavaScript libraries that allow developers to create interactive graphical user interfaces directly on web pages, achieving rich visual effects and dynamic editing functions. Through the online platform built with these technologies, users can complete the certificate design work that originally required professional software in a browser with just a few simple steps.

[0074] Step S4: Save and export

[0075] After the user completes editing, click the Save button to record the font style attributes of all variables on the image and the precise coordinate position of each variable on the image in JSON format, which is convenient for subsequent editing and batch generation of export certificate images;

[0076] When exporting certificate images, multiple export formats are provided, such as PNG, JPEG, PDF, etc., to meet the needs of different application scenarios;

[0077] Step S5: Historical version management

[0078] Provide users with the historical version backtracking function of certificate editing, which makes it easy to undo erroneous operations or restore to the previous design status.

[0079] To ensure the good performance of the system on various mainstream browsers (Chrome, Firefox, Safari, Edge) and operating systems (Windows, macOS, iOS, Android), the online certificate editing system adopts a responsive layout to ensure that users can get a consistent editing experience on desktop and mobile terminals; at the same time, it adopts code compression, resource lazy loading and caching strategy technology to improve page loading speed and editing fluency.

[0080] It includes intelligent template management module, online editing environment building module, online editing module, certificate image export module and history version management module;

[0081] The smart template management module is used to implement smart template uploading and preprocessing;

[0082] The user uploads the certificate template image. After uploading, the system automatically performs image quality detection to ensure that the image resolution and size are suitable for editing, and optimizes the image to reduce noise. At the same time, a real-time preview of the uploaded template is realized so that the user can confirm whether the uploaded template image is correct.

[0083] After the user uploads the picture and edits the content, the intelligent template management module performs security verification on the picture and content to prevent malicious code injection or data leakage;

[0084] If the security check fails, the saving or generation of the image and edited content is blocked, and a security warning is issued to the user.

[0085] The online editing environment construction module is deeply integrated with the Fabric.js library to build an online editing environment for the Web version of the certificate;

[0086] The online editing environment construction module uses the Fabric.js library to load images into the online editing environment; the Fabric library is used to implement graphical operations of editing functions, including but not limited to text input, image insertion and layout adjustment; and allows users to perform fine-tuning operations such as zooming, translating and rotating images through interactive controls.

[0087] First, create an image editing area. The uploaded images are automatically parsed by the Fabric.js library and converted into Canvas elements that can be operated in a web environment. The editing area supports drag and drop.

[0088] Then, the variable library is loaded and the custom variable function is provided, allowing users to customize variable names;

[0089] Finally, create a font editing area and provide a real-time preview function to improve the editing experience;

[0090] The variable library contains commonly used certificate variables, including but not limited to name, date, score, ranking and competition event; the custom variable function allows users to enter a custom variable name and description, and select a default display format.

[0091] The font editing area provides general settings including font name, size, thickness and tilt to meet the user's needs for fine-tuning the font style; after the user adjusts the settings, the editing area immediately displays the effect, improving the editing experience.

[0092] The online editing module is used to implement editing operations and real-time feedback;

[0093] The user edits the certificate content, selects the required variable from the preset variable library, and drags it to the specified position of the picture; then, the user fully customizes the font style of the selected variable in the font editing area, including but not limited to selecting the font name, modifying the font size, whether it is italicized, bold, underlined, and font color;

[0094] In the online editing module, users can expand the font library by themselves, and the font names are customized to preset some commonly used commercially available fonts, which are sufficient to meet user needs.

[0095] At the same time, the online editing module also provides undo and redo functions so that users can correct mistakes or try other editing effects, which greatly improves editing efficiency and satisfaction.

[0096] When the user moves the variable position or adjusts the font attributes, the online editing module uses Canvas technology to render the certificate content in real time.

[0097] The certificate graph export module is used to save and export the certificate graph;

[0098] After the user completes editing, click the Save button to record the font style attributes of all variables on the image and the precise coordinate position of each variable on the image in JSON format, which is convenient for subsequent editing and batch generation of export certificate images;

[0099] When exporting certificate images, multiple export formats are provided, such as PNG, JPEG, PDF, etc., to meet the needs of different application scenarios;

[0100] The historical version management module is used to provide users with a historical version backtracking function for certificate editing, which is convenient for undoing erroneous operations or restoring to a previous design state.

[0101] A highlight of this online certificate editing method and system is its intuitive and easy-to-use interface design. Users can easily upload their own certificate background images or choose from a variety of preset templates provided by the platform, and then freely add and adjust variable information such as name, score, and ranking by dragging and dropping. In addition, the system also supports customization of details such as font style, color, and border to ensure that each certificate can reflect a unique style and professional texture. The entire process does not require the download and installation of any software, which greatly reduces the technical threshold. Even non-design professionals can create high-quality personalized certificates in a short period of time.

[0102] The online certificate editing method and system has a wide range of applications, not only limited to academic competitions and professional skills certification, but also suitable for various scenarios such as online marathons, programming challenges, and online course completion certificates. Educational institutions can use this to quickly issue graduation certificates and honorary certificates; companies can efficiently manage internal training certifications and enhance employees' sense of belonging and achievement; social groups can also issue certificates of appreciation to volunteers immediately after holding various public welfare activities, thereby enhancing the overall experience and influence of the activities.

[0103] More importantly, this online editing technology also actively responds to green environmental protection initiatives. Compared with traditional paper certificates, the issuance of electronic certificates not only significantly reduces paper consumption and carbon emissions, but also conforms to the trend of global digital transformation and reflects the commitment to sustainable development. In addition, electronic certificates are easy to store, retrieve and share, and winners can easily add them to their resumes or social media to increase recognition and display opportunities.

[0104] In short, the online certificate editing solution based on Fabric and Canvas, with its high efficiency, flexibility and environmental protection, is becoming a new bridge connecting online activities and honor certification, greatly enriching the recognition forms in the digital age and promoting the value recognition and achievement display of various organizations and individuals.

[0105] The above is a detailed introduction to an online certificate editing method and system in an example of the present invention. This section uses specific examples to illustrate the principles and implementation methods of the invention. The above examples are only used to help understand the core idea of ​​the present invention. Without departing from the principles of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

Claims

1. An online certificate editing method, characterized in that: Adopt responsive layout to ensure that users can get a consistent editing experience on desktop and mobile terminals; at the same time, through code compression, resource lazy loading and caching strategy technology, improve page loading speed and editing fluency; The following steps are involved: Step S1: Upload and preprocess smart templates The user uploads the certificate template image. After uploading, the system automatically performs image quality detection to ensure that the image resolution and size are suitable for editing, and optimizes the image to reduce noise. At the same time, a real-time preview of the uploaded template is realized so that the user can confirm whether the uploaded template image is correct. Step S2: Build a Web-based certificate online editing environment Deeply integrate the Fabric.js library to build an online editing environment: First, create an image editing area. The uploaded images are automatically parsed by the Fabric.js library and converted into Canvas elements that can be operated in a web environment. The editing area supports drag and drop. Then, load the variable library and provide custom variable functions; Finally, create a font editing area and provide a real-time preview function to improve the editing experience; Step S3: Editing operation and real-time feedback The user edits the certificate content, selects the required variable from the preset variable library, and drags it to the specified position of the picture; then, the user fully customizes the font style of the selected variable in the font editing area, including but not limited to selecting the font name, modifying the font size, whether it is italicized, bold, underlined, and font color; Step S4: Save and export After the user completes editing, click the Save button to record the font style attributes of all variables on the image and the precise coordinate position of each variable on the image in JSON format, which is convenient for subsequent editing and batch generation of export certificate images; When exporting certificate images, PNG, JPEG and PDF formats are supported; Step S5: Historical version management Provide users with the historical version backtracking function of certificate editing, which makes it easy to undo erroneous operations or restore to the previous design status.

2. The online certificate editing method according to claim 1, characterized in that: In step S1, after the user uploads the picture and edited content, the picture and content are subjected to security verification to prevent malicious code injection or data leakage; if the security verification fails, the saving or generation of the picture and edited content is blocked, and a security warning is issued to the user.

3. The online certificate editing method according to claim 1, characterized in that: In step S2, the variable library contains commonly used certificate variables, including but not limited to name, date, score, ranking and competition event; the custom variable function allows the user to enter a custom variable name and description, and select a default display format; The font editing area provides general settings including font name, size, thickness and italicization to meet the user's needs for fine-tuning the font style; after the user adjusts the settings, the editing area immediately displays the effect to enhance the editing experience.

4. The online certificate editing method according to claim 1, characterized in that: In step S3, the user expands the font library by himself, and the font name is customized to preset commonly used fonts; At the same time, undo and redo functions are provided so that users can correct mistakes or try other editing effects.

5. The online certificate editing method according to claim 1, characterized in that: In step S3, when the user moves the variable position or adjusts the font attributes, the certificate content is rendered in real time with the help of Canvas technology.

6. An online certificate editing system, characterized by: Adopt responsive layout to ensure that users can get a consistent editing experience on desktop and mobile terminals; at the same time, adopt code compression, resource lazy loading and caching strategy technology to improve page loading speed and editing fluency; It includes intelligent template management module, online editing environment building module, online editing module, certificate image export module and historical version management module; The smart template management module is used to implement smart template uploading and preprocessing; The user uploads the certificate template image. After uploading, the system automatically performs image quality detection to ensure that the image resolution and size are suitable for editing, and optimizes the image to reduce noise. At the same time, a real-time preview of the uploaded template is realized so that the user can confirm whether the uploaded template image is correct. The online editing environment construction module is deeply integrated with the Fabric.js library to build an online editing environment for the Web version of the certificate; First, create an image editing area. The uploaded images are automatically parsed by the Fabric.js library and converted into Canvas elements that can be operated in a web environment. The editing area supports drag and drop. Then, load the variable library and provide custom variable functions; Finally, create a font editing area and provide a real-time preview function to improve the editing experience; The online editing module is used to implement editing operations and real-time feedback; The user edits the certificate content, selects the required variable from the preset variable library, and drags it to the specified position of the picture; then, the user fully customizes the font style of the selected variable in the font editing area, including but not limited to selecting the font name, modifying the font size, whether it is italicized, bold, underlined, and font color; The certificate graph export module is used to save and export the certificate graph; After the user completes editing, click the Save button to record the font style attributes of all variables on the image and the precise coordinate position of each variable on the image in JSON format, which is convenient for subsequent editing and batch generation of export certificate images; When exporting certificate images, PNG, JPEG and PDF formats are supported; The historical version management module is used to provide users with a historical version backtracking function for certificate editing, which is convenient for undoing erroneous operations or restoring to a previous design state.

7. The online certificate editing system according to claim 6, characterized in that: After the user uploads the picture and edits the content, the intelligent template management module performs security verification on the picture and content to prevent malicious code injection or data leakage; If the security check fails, the saving or generation of the image and edited content is blocked, and a security warning is issued to the user.

8. The online certificate editing system according to claim 6, characterized in that: The variable library contains commonly used certificate variables, including but not limited to name, date, score, ranking and competition event; the custom variable function allows users to enter a custom variable name and description, and select a default display format; The font editing area provides general settings including font name, size, thickness and tilt to meet the user's needs for fine-tuning the font style; after the user adjusts the settings, the editing area immediately displays the effect, improving the editing experience.

9. The online certificate editing system according to claim 6, characterized in that: In the online editing module, users can expand the font library by themselves, and customize the font names and preset common fonts to meet user needs; At the same time, the online editing module also provides undo and redo functions so that users can correct mistakes or try other editing effects.

10. The online certificate editing system according to claim 6, characterized in that: When the user moves the variable position or adjusts the font attributes, the online editing module uses Canvas technology to render the certificate content in real time.