CN111046640A - Dynamic generation method and device of certification document - Google Patents

Dynamic generation method and device of certification document Download PDF

Info

Publication number
CN111046640A
CN111046640A CN201911098482.8A CN201911098482A CN111046640A CN 111046640 A CN111046640 A CN 111046640A CN 201911098482 A CN201911098482 A CN 201911098482A CN 111046640 A CN111046640 A CN 111046640A
Authority
CN
China
Prior art keywords
certification
content
information
target
user
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.)
Granted
Application number
CN201911098482.8A
Other languages
Chinese (zh)
Other versions
CN111046640B (en
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN201911098482.8A priority Critical patent/CN111046640B/en
Publication of CN111046640A publication Critical patent/CN111046640A/en
Application granted granted Critical
Publication of CN111046640B publication Critical patent/CN111046640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/105Human resources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the application provides a method and a device for dynamically generating a certificate, wherein the method comprises the following steps: receiving certification request information sent by a user, wherein the certification request information comprises certification type information, external information of certification content and a user identifier; determining a corresponding initial certification template according to the certification type information, and setting the external information of the certification content at a set position of the initial certification template to obtain a target certification template; obtaining target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification; replacing the content type feature words of the target certification template according to the target content to obtain a target certification file; according to the method and the device, the content information needing to be called and displayed in the certification file can be flexibly configured on line, the certification template is dynamically generated, the requirements of different users for applying and printing different types of certification files are met, and the personnel office efficiency is improved.

Description

Dynamic generation method and device of certification document
Technical Field
The application relates to the field of data processing, in particular to a method and a device for dynamically generating a certificate.
Background
The human resources field relates to a great variety of personal certificates, and the display rules need to be changed continuously according to the change of business requirements, and the display rules have high flexibility and complicated and changeable related styles, and require that corresponding programs have strong logic processing capability and quick adaptability.
The inventor finds that the existing certification document generating method cannot meet the requirement of flexible and rapid change personnel certification printing, the existing method generally develops a specific program for a specific rule, and the program cannot rapidly adapt to the continuous change of personnel certification elements and templates. Due to the rapid change of the relevant rules, code logic optimization is needed to realize different personnel certificate printing. In the existing method, the personnel certificates are printed and solidified in the codes, and when relevant rules change, technical personnel need to modify the codes to realize logic change under the condition of fully knowing the rules, so that not only can software not quickly respond to the change of the requirements, but also a great deal of labor and financial cost is spent on the change of the codes.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a method and a device for dynamically generating the certification document, which can flexibly configure the content information needing to be called and displayed in the certification document on line, dynamically generate the certification template, meet the requirements of different users on application and printing of different types of certification documents, and improve the personnel office efficiency.
In order to solve at least one of the above problems, the present application provides the following technical solutions:
in a first aspect, the present application provides a method for dynamically generating a certificate, including:
receiving certification request information sent by a user, wherein the certification request information comprises certification type information, certification content information and a user identifier;
determining a corresponding initial certification template according to the certification type information, and setting the certification content information at a set position of the initial certification template to obtain a target certification template, wherein the certification content information is a text containing content type feature words;
obtaining target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification;
and obtaining a target certification file according to the target content and the target certification template.
Further, before the receiving the certification request information sent by the user, the method includes:
receiving a certification opening request sent by a user, and returning pre-stored certification content information and certification type information, so that the user selects the certification content information, the arrangement sequence of each piece of certification content information and the certification type information, and generates the certification request information.
Further, after the returning of the pre-stored attestation content information, the method includes:
receiving proving content modification information sent by a user, modifying content type characteristic words in the pre-stored proving content information and fixed texts associated with the content type characteristic words according to the proving content modification information, and updating the proving content information.
Further, the setting the certification content information at the set position of the initial certification template to obtain a target certification template includes:
and sequentially inserting the text containing the content type characteristic words of each certification content information into a set insertion position of the initial text in the initial certification template according to the arrangement sequence of each certification content information in the certification request information to obtain the target certification template.
Further, the obtaining, according to the content type feature word and the user identifier, target content corresponding to the user and the content type feature word from a preset database includes:
obtaining a second database access path according to the user identification and the first database access path having a preset corresponding relation with the content type characteristic word;
and executing corresponding database query operation on the preset database according to the second database access path, and setting a query result of the database query operation as the target content.
Further, before obtaining a second database access path according to the first database access path corresponding to the content type feature word and the user identifier, the method includes:
judging whether a preset starting identifier and a preset terminating identifier exist in the target certification template or not;
and if the content type characteristic word exists, setting the text between the starting identifier and the ending identifier as the content type characteristic word.
Further, obtaining a target certification document according to the target content and the target certification template includes:
and replacing the content type characteristic words in the target certification template with the corresponding target content to obtain the target certification file.
In a second aspect, the present application provides a method for dynamically generating a certificate, including:
sending a certification opening request to a server, and receiving and displaying pre-stored certification content information and certification type information returned by the server;
receiving a certification content information selection instruction and a certification type information selection instruction sent by a user, and generating certification request information;
and sending the certification request information to the server so that the server determines a corresponding initial certification template according to the certification type information in the certification request information after receiving the certification request information, sets the certification content information containing the content type characteristic words in the certification request information at a set position of the initial certification template to obtain a target certification template, further obtains target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification of the user, and obtains a target certification file according to the target content and the target certification template.
Further, before the receiving of the instruction for selecting the content information for certification sent by the user, the method includes:
and generating certification content modification information according to the modification of the content type characteristic words in the certification content information and the fixed texts associated with the content type characteristic words by the user, and sending the certification content modification information to the server, so that the server modifies the content type characteristic words in the pre-stored certification content information and the fixed texts associated with the content type characteristic words according to the certification content modification information, and updates the certification content information.
In a third aspect, the present application provides an apparatus for dynamically generating a manifest file, including:
the system comprises a certification request information receiving module, a certification request information receiving module and a certification processing module, wherein the certification request information receiving module is used for receiving certification request information sent by a user, and the certification request information comprises certification type information, certification content information and a user identifier;
the target certification template generating module is used for determining a corresponding initial certification template according to the certification type information and setting the certification content information at a set position of the initial certification template to obtain a target certification template, wherein the certification content information is a text containing content type feature words;
the target content determining module is used for obtaining target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification;
and the target certification file generating module is used for obtaining a target certification file according to the target content and the target certification template.
Further, still include:
and the selection information providing unit is used for receiving the certification making request sent by the user, returning pre-stored certification content information and certification type information so that the user selects the certification content information, the arrangement sequence of each piece of certification content information and the certification type information, and generating the certification request information.
Further, still include:
and the proving content information modifying unit is used for receiving proving content modifying information sent by a user, modifying the content type characteristic words in the pre-stored proving content information and the fixed texts associated with the content type characteristic words according to the proving content modifying information, and updating the proving content information.
Further, the target proof template generation module comprises:
and the content information inserting unit is used for sequentially inserting the text containing the content type characteristic words of each piece of certification content information to the set insertion position of the initial text in the initial certification template according to the arrangement sequence of each piece of certification content information in the certification request information to obtain the target certification template.
Further, the target content determination module includes:
the database access path determining unit is used for obtaining a second database access path according to the user identification and a first database access path which has a preset corresponding relation with the content type characteristic word;
and the database query result acquisition unit is used for executing corresponding database query operation on the preset database according to the second database access path and setting the query result of the database query operation as the target content.
Further, still include:
an identifier judging unit, configured to judge whether a preset start identifier and a preset end identifier exist in the target certification template;
and the content type characteristic word determining unit is used for setting a group of texts between the starting identifier and the ending identifier as the content type characteristic words if the target certification template is judged to have the preset starting identifier and the preset ending identifier.
Further, the target credential generation module includes:
and the content type characteristic word replacing unit is used for replacing the content type characteristic words in the target certification template with the corresponding target content to obtain the target certification file.
In a fourth aspect, the present application provides an apparatus for dynamically generating a certificate, including:
the certification issuing request sending module is used for sending a certification issuing request to the server and receiving and displaying pre-stored certification content information and certification type information returned by the server;
the certification request information generating module is used for receiving a certification content information selecting instruction and a certification type information selecting instruction sent by a user and generating certification request information;
the certification request information sending module is used for sending the certification request information to the server so that the server determines a corresponding initial certification template according to certification type information in the certification request information after receiving the certification request information, sets certification content information containing content type characteristic words in the certification request information at a set position of the initial certification template to obtain a target certification template, further obtains target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and user identification of the user, and obtains a target certification file according to the target content and the target certification template.
Further, still include:
and the proving content information modifying unit is used for generating proving content modifying information according to the modification of the content type characteristic words in the proving content information and the fixed texts associated with the content type characteristic words by the user, and sending the proving content modifying information to the server, so that the server modifies the content type characteristic words in the pre-stored proving content information and the fixed texts associated with the content type characteristic words according to the proving content modifying information, and updates the proving content information.
In a fifth aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the dynamic generation method of the certificate when executing the program.
In a sixth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for dynamically generating a credential.
According to the technical scheme, the method and the device for dynamically generating the certification document are provided, after the server receives certification request information sent by a user, a corresponding initial certification template is called according to the certification type information selected by the user in the certification request information, and the certification content information selected by the user in the certification request information is arranged at a set position in the initial certification template, so that a target certification template is dynamically generated, wherein the certification content information contains content type characteristic words, then the server obtains target contents corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words in the target certification template and a user identifier of the user, and obtains a final target certification document according to the target contents and the target certification template, wherein the certification content information of the method and the device can be flexibly configured by the user, and the target certification template is dynamically generated according to the target certification template, so that the requirements of different users on application and printing of different types of certification documents can be met, and the personnel office efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for dynamically generating a credential in an embodiment of the present application;
FIG. 2 is a second flowchart illustrating a dynamic credential generation method according to an embodiment of the present application;
FIG. 3 is a third flowchart illustrating a method for dynamically generating a certification documentation in an embodiment of the present application;
FIG. 4 is a fourth flowchart illustrating a dynamic credential generation method according to an embodiment of the present application;
FIG. 5 is a diagram showing one of the structures of the dynamic credential generation apparatus in the embodiment of the present application;
FIG. 6 is a second block diagram of a dynamic credential generation device in an embodiment of the present application;
FIG. 7 is a third block diagram of a dynamic credential generation apparatus in an embodiment of the present application;
FIG. 8 is a fourth block diagram of a certificate dynamic generation apparatus according to an embodiment of the present application;
FIG. 9 is a fifth block diagram of a certificate dynamic generation apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Considering that the existing certification document generation method can not meet the requirement of flexible and fast-changing personnel certification printing, the existing method generally develops a specific program for a specific rule, and the program can not be fast adapted to the continuous change of personnel certification elements and templates. Due to the rapid change of the relevant rules, code logic optimization is needed to realize different personnel certificate printing. The prior method prints and solidifies the personal certificates in the codes, when the related rules change, technicians need to modify the codes under the condition of fully knowing the rules to realize logic change, thus not only leading software not to quickly respond to the change of the requirement, but also leading the change of the codes to cost a great deal of manpower and financial cost, the application provides a method and a device for dynamically generating the certification document, after receiving certification request information sent by a user through a server, calling a corresponding initial certification template according to the certification type information selected by the user in the certification request information, and setting the certification content information selected by the user in the certification request information at a set position in the initial certification template so as to dynamically generate a target certification template, wherein the certification content information contains content type characteristic words, and then the server obtains target contents corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words in the target certification template and the user identification of the user, and obtains a final target certification document according to the target contents and the target certification template.
In order to flexibly configure content information to be called and displayed in a certificate and dynamically generate a certificate template, meet the requirements of different users for applying and printing different types of certificates, and improve the efficiency of personnel working, the present application provides an embodiment of a method for dynamically generating a certificate, an execution subject is a server, and referring to fig. 1, the method for dynamically generating a certificate specifically includes the following contents:
step S101: receiving certification request information sent by a user, wherein the certification request information comprises certification type information, certification content information and a user identifier.
It can be understood that the user may be a company employee who needs to make a certification document, the user needs to generate the certification request information before sending the certification request information to the server through the client, specifically, the user sends a certification making request to the server through the client, and the server returns at least one piece of pre-stored certification content information and certification type information to the client after receiving the certification making request, so as to be selected by the user.
Optionally, the certification content information may be a text containing content type feature words, each piece of certification content information represents a type of information that may be displayed on a certification document, such as an employee basic information type, an employee post information type, and an employee income information type, and the user may select at least one piece of certification content information that needs to be displayed in the certification document from the received certification content information returned by the server.
Optionally, the content type feature words are fixed texts that are set in advance, such as "[ staff name ]", "[ gender ]" and "[ department in which ]", and corresponding query operations can be performed in a preset database by the content type feature words, for example, name information of the user can be queried in the preset database according to the content type feature word "[ staff name ]".
Alternatively, the certification type information may be various types of text capable of characterizing the certification document, such as "income certification", "on-duty certification", and "work certification", and the user may select each certification type information returned by the server and determine the final certification type information.
Step S102: and determining a corresponding initial certification template according to the certification type information, and setting the certification content information at a set position of the initial certification template to obtain a target certification template, wherein the certification content information is a text containing content type feature words.
It can be understood that different initial certification modules are prestored in the server, each initial certification module corresponds to different certification type information, and the initial certification module may include a certification document title, a fixed statement, a drop, a seal, and a remark text corresponding to the certification type information, for example, in an initial certification template of an income certification type, the title of the certification document is "income certification", and the fixed statement includes "the annual employee salary income specifically: "the fallen money is" human resources department ", the seal is a seal picture special for the personal identification, and the remarked text is" this identification is special for the personal loan of the employees ".
It can be understood that, in the text of the initial certification template, not only the fixed sentence is included, but also a position indication for text insertion is preset, for example, in the fixed sentence "staff salary income in this year" specifically: "a position mark is set after the employee income information is inserted, and the total income of the last half year is as follows: total income of [1-6 months ], total income of the next half year is: [ total revenue of 7-12 months ] ", after inserting all the certification content information contained in the certification request information sent by the user into the corresponding initial certification template, obtaining a target certification template, wherein the target certification template is dynamically generated according to the selection of the user for each certification content information, thereby being capable of meeting different requirements of different users.
Step S103: and obtaining target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification.
It can be understood that the certification request information sent by the user further includes a user identifier corresponding to the user, for example, a unique identifier code is assigned to the user according to the user's time of employment, the target certification template includes certification content information selected by the user, each piece of the certification content information includes a fixed content type feature word, the content type feature word can perform a corresponding query operation in a preset database, and a corresponding target content can be obtained according to the content type feature word and the user identifier, for example, name information of the user can be queried in the preset database according to the content type feature word "[ employee name ]" and the user identifier "20190101456" to obtain name information of the user, that is, target content corresponding to the content type feature word.
Step S104: and obtaining a target certification file according to the target content and the target certification template.
It can be understood that the target certification template is dynamically generated according to the self-service selection of the user, each content type feature word is unique uncertain variable information in the target certification template, and a final target certification file containing all specific content information to be displayed can be obtained by combining the obtained target content in the preset database corresponding to the content type feature word.
As can be seen from the above description, in the method for dynamically generating a certification document according to the embodiment of the present application, after receiving certification request information sent by a user, a server invokes a corresponding initial certification template according to certification type information selected by the user in the certification request information, and sets certification content information selected by the user in the certification request information at a set position in the initial certification template, so as to dynamically generate a target certification template, where the certification content information includes content type feature words, and then the server obtains target contents corresponding to the user and the content type feature words from a preset database according to each content type feature word in the target certification template and a user identifier of the user, and obtains a final target certification document according to the target contents and the target certification template, where the certification content information of the present application can be flexibly configured by the user, and the target certification template is dynamically generated according to the target certification template, so that the requirements of different users on application and printing of different types of certification documents can be met, and the personnel office efficiency is improved.
In order to provide the user with the selection of each certification content information and the selection of the arrangement order, in an embodiment of the method for dynamically generating a certification document in the present application, the following contents may be further specifically included: receiving a certification opening request sent by a user, and returning pre-stored certification content information and certification type information, so that the user selects the certification content information, the arrangement sequence of each piece of certification content information and the certification type information, and generates the certification request information.
Optionally, the certification content information may be a text including content type feature words, each piece of certification content information represents an information type that can be displayed on a certification document, for example, a staff basic information type, a staff post information type, and a staff income information type, after receiving each piece of certification content information returned by the server, the user may select at least one piece of certification content information that is required to be displayed in the certification document from the received certification content information, and when the user selects a plurality of pieces of certification content information that are required to be displayed, the user may specify a sequence of displaying the plurality of pieces of certification content information at the same time.
For example, after the user sends a certification issuing request, the server returns three pieces of pre-stored certification content information to the client of the user, which are respectively employee basic information: "I am: [ employee name ], [ gender ], [ identification number ], ", employee post information: "work in [ the division ] of the company [ the branch office ] so far [ the time of entry ] and employee income information: "the total income of the inventor in the last half year is: the total income of [1-6 months ], the total income of this year in the next half of the year is: the total income of [7-12 months ] ", the user selects two pieces of certification content information to be displayed (for example, employee basic information and employee income information are selected) by checking on the client, and the sequence of checking can be used as the sequence of displaying the two pieces of certification content information.
Alternatively, the certification type information may be various types of text capable of characterizing the certification document, such as "income certification", "on-duty certification", and "work certification", and the user may select each certification type information returned by the server and determine the final certification type information.
In order to enable a user to flexibly configure and modify the certification content information when selecting the certification content information, in an embodiment of the dynamic generation method of the certification file of the present application, the following contents may be further specifically included: receiving proving content modification information sent by a user, modifying content type characteristic words in the pre-stored proving content information and fixed texts associated with the content type characteristic words according to the proving content modification information, and updating the proving content information.
Optionally, it can be known from the above description that various pieces of certification content information returned by the server and received by the user are pre-stored by the server, and the data format of the various pieces of certification content information is a text format, so that the user can perform text modification on each piece of received certification content information on the client, specifically, the user can perform text modification on a content type feature word in the certification content information and a fixed text associated with the content type feature word, for example, to "himself: the names of the employees, the sexes and the identity card numbers are modified into the following names: [ employee name ], gender: [ sex ], identity card number is: [ identification number ] ", or modified to" oneself: the system comprises a server, a client and a server, wherein the server comprises a plurality of types of content information, wherein the types of the content information comprise [ employee names ], [ ages ], [ sexualities ], [ identities ], [ identity numbers ] ", and the number of the identity card is larger than the number of the identity card, the newly added content type feature words only need to be in a preset association relation with a specific database query operation, and when the server returns various pieces of certification content information, all optional content type feature words corresponding to the certification content information can be returned to the client for display so as to be selected by a user.
In order to dynamically generate the target certification template, in an embodiment of the method for dynamically generating a certification document of the present application, the following contents may be further included: and sequentially inserting the text containing the content type characteristic words of each certification content information into a set insertion position of the initial text in the initial certification template according to the arrangement sequence of each certification content information in the certification request information to obtain the target certification template.
It can be understood that different initial certification modules are prestored in the server, each initial certification module corresponds to different certification type information, the text of the initial certification template not only includes the fixed statement, but also is preset with a position mark for text insertion, for example, a position mark is arranged at the first blank character of the text part for inserting corresponding certification content information, for example, according to the employee basic information and employee income information selected by the user in the certification request information and the display sequence of the employee basic information and the employee income information, employee basic information is inserted in sequence: "I am: the total income of the first half year of [ employee name ], [ sex ], [ identity card number ] "and employee income information" is: total income of [1-6 months ], total income of the next half year is: [ total revenue in 7-12 months ] ", after inserting all the certification content information contained in the certification request information sent by the user into the corresponding initial certification templates in sequence, obtaining a target certification template, wherein the target certification template is dynamically generated according to the selection of the user for each certification content information, thereby being capable of meeting different requirements of different users.
In order to accurately obtain target content corresponding to each content type feature word in the target certification template, in an embodiment of the certification document dynamic generation method of the present application, referring to fig. 2, the following contents may also be specifically included:
step S201: and obtaining a second database access path according to the user identification and the first database access path having a preset corresponding relation with the content type characteristic word.
Step S202: and executing corresponding database query operation on the preset database according to the second database access path, and setting a query result of the database query operation as the target content.
Optionally, the content type feature word is a preset fixed text, such as "[ staff name ]", "[ gender ]" and "[ department ]", and a corresponding query operation can be performed in a preset database by the content type feature word, for example, the content type feature word "[ staff name ]" is pre-corresponding to a first database access path "https:// www.abc.com/database/name", and a second database access path "https:// www.abc.com/database/name/id ═ 201901014567" is obtained after the user identifier is combined, and name information of the user can be queried in the preset database according to the second database access path, and the obtained query result is the target content corresponding to the content type feature word.
In order to accurately extract each content type feature word in the target certification template, in an embodiment of the dynamic generation method of the certification document of the present application, referring to fig. 3, the following contents may also be specifically included:
step S301: and judging whether a preset starting identifier and a preset ending identifier exist in the target certification template.
Step S302: and if the content type characteristic word exists, setting the text between the starting identifier and the ending identifier as the content type characteristic word.
Optionally, before searching for the target content corresponding to the content type feature words, all the content type feature words need to be identified from the target certification template, in order to improve the accuracy and efficiency of recognition, the content type characteristic words are not only text words when being preset, specific symbols may be added at both ends of the text word as identifiers for subsequent recognition, for example a start identifier "[" is added before the text word, adding a termination identifier "]" after the text literal, by scanning through all characters in the target proof template if the start identifier and the termination identifier match, thereby determining whether the content type feature word exists, and setting a text between a set of the start identifier and the end identifier as the content type feature word.
In order to generate a final target certification document according to target content corresponding to the content type feature words, in an embodiment of the certification document dynamic generation method of the present application, the following content may be further included: and replacing the content type characteristic words in the target certification template with the corresponding target content to obtain the target certification file.
Optionally, after the target content corresponding to the content type feature word is queried, the content type feature word in the target certification template may be replaced with the corresponding target content in a text replacement manner, so as to obtain the target certification file containing specific information that all users need to show.
In order to flexibly configure content information to be called and displayed in a certificate and dynamically generate a certificate template, so as to meet the requirements of different users on applying and printing different types of certificates and improve the efficiency of personnel working, the present application provides an embodiment of a method for dynamically generating a certificate, an execution main body is a client, and referring to fig. 4, the method for dynamically generating a certificate specifically includes the following contents:
step S401: and sending a certification opening request to a server, and receiving and displaying pre-stored certification content information and certification type information returned by the server.
Step S402: receiving a certification content information selection instruction and a certification type information selection instruction sent by a user, and generating certification request information.
It can be understood that the user may be a company employee who needs to open a certification document, the user sends a certification opening request to the server through the client, and the server returns at least one piece of pre-stored certification content information and certification type information to the client after receiving the certification opening request, so as to be selected by the user.
Specifically, the certification content information may be a text containing content type feature words, each piece of certification content information represents a type of information that may be displayed on a certification document, such as a staff basic information type, a staff position information type, and a staff income information type, and the user may select at least one piece of certification content information that needs to be displayed in the certification document from the received certification content information returned by the server.
Specifically, the certification type information may be various types of texts capable of characterizing the certification document, such as "income certification", "on-duty certification", and "work certification", and the user may select each piece of certification type information returned by the server and determine the final certification type information.
Optionally, the certification request information is generated according to the user's selection of each certification content information, selection of each certification type information, and the user's own user identifier.
Step S403: and sending the certification request information to the server so that the server determines a corresponding initial certification template according to the certification type information in the certification request information after receiving the certification request information, sets the certification content information containing the content type characteristic words in the certification request information at a set position of the initial certification template to obtain a target certification template, further obtains target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification of the user, and obtains a target certification file according to the target content and the target certification template.
It can be understood that different initial certification modules are prestored in the server, each initial certification module corresponds to different certification type information, and the initial certification module may include a certification document title, a fixed statement, a drop, a seal, and a remark text corresponding to the certification type information, for example, in an initial certification template of an income certification type, the title of the certification document is "income certification", and the fixed statement includes "the annual employee salary income specifically: "the fallen money is" human resources department ", the seal is a seal picture special for the personal identification, and the remarked text is" this identification is special for the personal loan of the employees ".
It can be understood that, in the text of the initial certification template, not only the fixed sentence is included, but also a position indication for text insertion is preset, for example, in the fixed sentence "staff salary income in this year" specifically: "a position mark is set after the employee income information is inserted, and the total income of the last half year is as follows: total income of [1-6 months ], total income of the next half year is: [ total revenue of 7-12 months ] ", after inserting all the certification content information contained in the certification request information sent by the user into the corresponding initial certification template, obtaining a target certification template, wherein the target certification template is dynamically generated according to the selection of the user for each certification content information, thereby being capable of meeting different requirements of different users.
It can be understood that the certification request information sent by the user further includes a user identifier corresponding to the user, for example, a unique identifier code is assigned to the user according to the user's time of employment, the target certification template includes certification content information selected by the user, each piece of the certification content information includes a fixed content type feature word, the content type feature word can perform a corresponding query operation in a preset database, and a corresponding target content can be obtained according to the content type feature word and the user identifier, for example, name information of the user can be queried in the preset database according to the content type feature word "[ employee name ]" and the user identifier "20190101456" to obtain name information of the user, that is, target content corresponding to the content type feature word.
It can be understood that the target certification template is dynamically generated according to the self-service selection of the user, each content type feature word is unique uncertain variable information in the target certification template, and a final target certification file containing all specific content information to be displayed can be obtained by combining the obtained target content in the preset database corresponding to the content type feature word.
As can be seen from the above description, the dynamic generation method of the certification document provided in this embodiment of the present application can send a certification making request to a server, receive and display pre-stored certification content information and certification type information returned by the server, sequentially provide a user to select, configure, and modify each piece of certification content information and certification type information, receive a certification content information selection instruction and a certification type information selection instruction sent by the user, and generate certification request information, so that after receiving the certification request information sent by the user, the server invokes a corresponding initial certification template according to the certification type information selected by the user in the certification request information, and sets the certification content information selected by the user in the certification request information at a set position in the initial certification template, thereby dynamically generating a target certification template, where the certification content information includes content type feature words, and then the server obtains target contents corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words in the target certification template and the user identification of the user, and obtains a final target certification document according to the target contents and the target certification template.
In order to enable a user to flexibly configure and modify the certification content information, in an embodiment of the dynamic generation method of the certification document of the present application, the following contents may be further specifically included: and generating certification content modification information according to the modification of the content type characteristic words in the certification content information and the fixed texts associated with the content type characteristic words by the user, and sending the certification content modification information to the server, so that the server modifies the content type characteristic words in the pre-stored certification content information and the fixed texts associated with the content type characteristic words according to the certification content modification information, and updates the certification content information.
Optionally, it can be known from the above description that various pieces of certification content information returned by the server and received by the user are pre-stored by the server, and the data format of the various pieces of certification content information is a text format, so that the user can perform text modification on each piece of received certification content information on the client, specifically, the user can perform text modification on a content type feature word in the certification content information and a fixed text associated with the content type feature word, for example, to "himself: the names of the employees, the sexes and the identity card numbers are modified into the following names: [ employee name ], gender: [ sex ], identity card number is: [ identification number ] ", or modified to" oneself: the system comprises a server, a client and a server, wherein the server comprises a plurality of types of content information, wherein the types of the content information comprise [ employee names ], [ ages ], [ sexualities ], [ identities ], [ identity numbers ] ", and the number of the identity card is larger than the number of the identity card, the newly added content type feature words only need to be in a preset association relation with a specific database query operation, and when the server returns various pieces of certification content information, all optional content type feature words corresponding to the certification content information can be returned to the client for display so as to be selected by a user.
In order to flexibly configure content information to be called and displayed in a certificate and dynamically generate a certificate template, so as to meet the application and printing requirements of different users on different types of certificates, and improve the efficiency of personnel working, the present application provides an embodiment of a dynamic certificate generation apparatus for implementing all or part of the contents of the dynamic certificate generation method, which is arranged at a server side, and referring to fig. 5, the dynamic certificate generation apparatus specifically includes the following contents:
the certification request information receiving module 10 is configured to receive certification request information sent by a user, where the certification request information includes certification type information, certification content information, and a user identifier.
And the target certification template generating module 20 is configured to determine a corresponding initial certification template according to the certification type information, and set the certification content information at a set position of the initial certification template to obtain a target certification template, where the certification content information is a text including content type feature words.
And the target content determining module 30 is configured to obtain target content corresponding to the user and the content type feature words from a preset database according to the content type feature words and the user identifier.
And the target certification file generating module 40 is configured to obtain a target certification file according to the target content and the target certification template.
As can be seen from the above description, the dynamic generation apparatus for certification documentation provided in this application embodiment can dynamically generate a target certification template by using a server to receive certification request information sent by a user, invoking a corresponding initial certification template according to the certification type information selected by the user in the certification request information, and setting certification content information selected by the user in the certification request information at a set position in the initial certification template, where the certification content information includes content type feature words, and then the server obtains target contents corresponding to the user and the content type feature words from a preset database according to each content type feature word in the target certification template and a user identifier of the user, and obtains a final target certification documentation according to the target contents and the target certification template, where the certification content information of this application can be flexibly configured by the user, and the target certification template is dynamically generated according to the target certification template, so that the requirements of different users on application and printing of different types of certification documents can be met, and the personnel office efficiency is improved.
In order to provide the user with the selection of each certification content information and the selection of the arrangement order, in an embodiment of the dynamic generation apparatus for certification documents of the present application, the following contents are further specifically included: and the selection information providing unit is used for receiving the certification making request sent by the user, returning pre-stored certification content information and certification type information so that the user selects the certification content information, the arrangement sequence of each piece of certification content information and the certification type information, and generating the certification request information.
In order to enable a user to flexibly configure and modify the certification content information when selecting the certification content information, an embodiment of the dynamic certification file generating device of the present application further includes the following contents: and the proving content information modifying unit is used for receiving proving content modifying information sent by a user, modifying the content type characteristic words in the pre-stored proving content information and the fixed texts associated with the content type characteristic words according to the proving content modifying information, and updating the proving content information.
In order to dynamically generate a target certification template, in an embodiment of the dynamic certification document generating apparatus of the present application, referring to fig. 6, the target certification template generating module 20 includes:
a content information inserting unit 21, configured to sequentially insert, according to the arrangement order of each piece of certification content information in the certification request information, a text that includes content type feature words of each piece of certification content information to a set insertion position of an initial text in the initial certification template, so as to obtain the target certification template.
In order to accurately obtain target content corresponding to each content type feature word in the target certification template, in an embodiment of the certification document dynamic generation apparatus of the present application, referring to fig. 7, the target content determination module 30 includes:
and the database access path determining unit 31 is configured to obtain a second database access path according to the user identifier and the first database access path having a preset corresponding relationship with the content type feature word.
A database query result obtaining unit 32, configured to perform a corresponding database query operation on the preset database according to the second database access path, and set a query result of the database query operation as the target content.
In order to accurately extract each content type feature word in the target certification template, in an embodiment of the dynamic certification document generating apparatus of the present application, the following contents are further included:
and the identifier judging unit is used for judging whether a preset starting identifier and a preset ending identifier exist in the target certification template.
And the content type characteristic word determining unit is used for setting a group of texts between the starting identifier and the ending identifier as the content type characteristic words if the target certification template is judged to have the preset starting identifier and the preset ending identifier.
In order to generate a final target certification document according to the target content corresponding to the content type feature words, in an embodiment of the dynamic certification document generating apparatus of the present application, referring to fig. 8, the target certification document generating module 40 includes:
a content type feature word replacing unit 41, configured to replace the content type feature word in the target certification template with the corresponding target content, so as to obtain the target certification file.
In order to flexibly configure content information to be called and displayed in a certificate and dynamically generate a certificate template, so as to meet the application and printing requirements of different users on different types of certificates, and improve the efficiency of personnel working, the present application provides an embodiment of a dynamic certificate generation apparatus for implementing all or part of the contents of the dynamic certificate generation method, which is arranged at a client, and referring to fig. 9, the dynamic certificate generation apparatus specifically includes the following contents:
the certification issuing request sending module 50 is configured to send a certification issuing request to a server, and receive and display pre-stored certification content information and certification type information returned by the server.
And the certification request information generating module 60 is configured to receive a certification content information selecting instruction and a certification type information selecting instruction sent by a user, and generate certification request information.
A certification request information sending module 70, configured to send the certification request information to the server, so that after the server receives the certification request information, a corresponding initial certification template is determined according to certification type information in the certification request information, and certification content information including content type feature words in the certification request information is set at a set position of the initial certification template, so as to obtain a target certification template, and further, according to the content type feature words and a user identifier of the user, target content corresponding to the user and the content type feature words is obtained from a preset database, and according to the target content and the target certification template, a target certification file is obtained.
As can be seen from the above description, the dynamic generation apparatus for certification documentation provided in this embodiment of the present application is capable of sending a certification making request to a server, receiving and displaying pre-stored certification content information and certification type information returned by the server, sequentially providing for a user to select, configure, and modify each certification content information and certification type information, receiving a certification content information selection instruction and a certification type information selection instruction sent by the user, and generating certification request information, so that after receiving the certification request information sent by the user, the server invokes a corresponding initial certification template according to the certification type information selected by the user in the certification request information, and sets the certification content information selected by the user in the certification request information at a set position in the initial certification template, thereby dynamically generating a target certification template, where the certification content information includes content type feature words, and then the server obtains target contents corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words in the target certification template and the user identification of the user, and obtains a final target certification document according to the target contents and the target certification template.
In order to enable a user to flexibly configure and modify the certification content information, in an embodiment of the dynamic certification document generating apparatus of the present application, the apparatus further includes: and the proving content information modifying unit is used for generating proving content modifying information according to the modification of the content type characteristic words in the proving content information and the fixed texts associated with the content type characteristic words by the user, and sending the proving content modifying information to the server, so that the server modifies the content type characteristic words in the pre-stored proving content information and the fixed texts associated with the content type characteristic words according to the proving content modifying information, and updates the proving content information.
An embodiment of the present application further provides a specific implementation manner of an electronic device, which is capable of implementing all steps in the dynamic generation method of a credential in the foregoing embodiment, and with reference to fig. 10, the electronic device specifically includes the following contents:
a processor (processor)601, a memory (memory)602, a communication interface (communications interface)603, and a bus 604;
the processor 601, the memory 602 and the communication interface 603 complete mutual communication through the bus 604; the communication interface 603 is used for realizing information transmission among a dynamic generation device of the certification document, an online service system, client equipment and other participating mechanisms;
the processor 601 is configured to call a computer program in the memory 602, and the processor implements all the steps of the dynamic generation method of the credential in the above embodiments when executing the computer program, for example, the processor implements the following steps when executing the computer program:
step S102: and determining a corresponding initial certification template according to the certification type information, and setting the certification content information at a set position of the initial certification template to obtain a target certification template, wherein the certification content information is a text containing content type feature words.
Step S103: and obtaining target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification.
Step S104: and obtaining a target certification file according to the target content and the target certification template.
As can be seen from the above description, in the electronic device provided in the embodiment of the present application, after receiving the certification request information sent by the user, the server may invoke a corresponding initial certification template according to the certification type information selected by the user in the certification request information, and set the certification content information selected by the user in the certification request information at a set position in the initial certification template, so as to dynamically generate a target certification template, where the certification content information includes content type feature words, and then the server obtains target contents corresponding to the user and the content type feature words from a preset database according to each content type feature word in the target certification template and the user identifier of the user, and obtains a final target certification file according to the target contents and the target certification template, where the certification content information of the present application may be flexibly configured by the user, and the target certification template is dynamically generated according to the target certification template, so that the requirements of different users on application and printing of different types of certification documents can be met, and the personnel office efficiency is improved.
Embodiments of the present application further provide a computer-readable storage medium capable of implementing all steps in the dynamic generation method of a document in the foregoing embodiments, where the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements all steps of the dynamic generation method of a document in the foregoing embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
step S102: and determining a corresponding initial certification template according to the certification type information, and setting the certification content information at a set position of the initial certification template to obtain a target certification template, wherein the certification content information is a text containing content type feature words.
Step S103: and obtaining target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification.
Step S104: and obtaining a target certification file according to the target content and the target certification template.
As can be seen from the above description, the computer-readable storage medium provided in this application embodiment can call, after receiving the certification request information sent by the user, the corresponding initial certification template according to the certification type information selected by the user in the certification request information, and set the certification content information selected by the user in the certification request information at the set position in the initial certification template, so as to dynamically generate the target certification template, where the certification content information includes content type feature words, and then the server obtains, according to each content type feature word in the target certification template and the user identifier of the user, the target content corresponding to the user and the content type feature words from the preset database, and obtains the final target certification file according to the target content and the target certification template, where the certification content information of this application can be flexibly configured by the user, and the target certification template is dynamically generated according to the target certification template, so that the requirements of different users on application and printing of different types of certification documents can be met, and the personnel office efficiency is improved.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Although the present application provides method steps as described in an embodiment or flowchart, additional or fewer steps may be included based on conventional or non-inventive efforts. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects.
The embodiments of this specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The described embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and variations to the embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present specification should be included in the scope of the claims of the embodiments of the present specification.

Claims (20)

1. A method for dynamically generating a credential, the method comprising:
receiving certification request information sent by a user, wherein the certification request information comprises certification type information, certification content information and a user identifier;
determining a corresponding initial certification template according to the certification type information, and setting the certification content information at a set position of the initial certification template to obtain a target certification template, wherein the certification content information is a text containing content type feature words;
obtaining target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification;
and obtaining a target certification file according to the target content and the target certification template.
2. The method for dynamically generating certification documentation according to claim 1 wherein prior to receiving certification request information from a user, comprising:
receiving a certification opening request sent by a user, and returning pre-stored certification content information and certification type information, so that the user selects the certification content information, the arrangement sequence of each piece of certification content information and the certification type information, and generates the certification request information.
3. The method of claim 2, wherein after returning pre-stored credential content information, comprising:
receiving proving content modification information sent by a user, modifying content type characteristic words in the pre-stored proving content information and fixed texts associated with the content type characteristic words according to the proving content modification information, and updating the proving content information.
4. The dynamic generation method of certification documentation according to claim 1 wherein said setting said certification content information at a set location of said initial certification template to obtain a target certification template comprises:
and sequentially inserting the text containing the content type characteristic words of each certification content information into a set insertion position of the initial text in the initial certification template according to the arrangement sequence of each certification content information in the certification request information to obtain the target certification template.
5. The method for dynamically generating a certification document according to claim 1, wherein the obtaining of the target content corresponding to the user and the content type feature words from a preset database according to the content type feature words and the user identifier comprises:
obtaining a second database access path according to the user identification and the first database access path having a preset corresponding relation with the content type characteristic word;
and executing corresponding database query operation on the preset database according to the second database access path, and setting a query result of the database query operation as the target content.
6. The method for dynamically generating a certification document according to claim 5, wherein before obtaining a second database access path according to the first database access path corresponding to the content type feature word and the user identifier, the method comprises:
judging whether a preset starting identifier and a preset terminating identifier exist in the target certification template or not;
and if the content type characteristic word exists, setting the text between the starting identifier and the ending identifier as the content type characteristic word.
7. The dynamic generation method of a certification document according to claim 1, wherein the obtaining of the target certification document according to the target content and the target certification template comprises:
and replacing the content type characteristic words in the target certification template with the corresponding target content to obtain the target certification file.
8. A method for dynamically generating a credential, the method comprising:
sending a certification opening request to a server, and receiving and displaying pre-stored certification content information and certification type information returned by the server;
receiving a certification content information selection instruction and a certification type information selection instruction sent by a user, and generating certification request information;
and sending the certification request information to the server so that the server determines a corresponding initial certification template according to the certification type information in the certification request information after receiving the certification request information, sets the certification content information containing the content type characteristic words in the certification request information at a set position of the initial certification template to obtain a target certification template, further obtains target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification of the user, and obtains a target certification file according to the target content and the target certification template.
9. The dynamic generation method of certification documentation according to claim 8, wherein prior to said receiving of a certification content information selection instruction sent by a user, comprising:
and generating certification content modification information according to the modification of the content type characteristic words in the certification content information and the fixed texts associated with the content type characteristic words by the user, and sending the certification content modification information to the server, so that the server modifies the content type characteristic words in the pre-stored certification content information and the fixed texts associated with the content type characteristic words according to the certification content modification information, and updates the certification content information.
10. An apparatus for dynamically generating a credential, comprising:
the system comprises a certification request information receiving module, a certification request information receiving module and a certification processing module, wherein the certification request information receiving module is used for receiving certification request information sent by a user, and the certification request information comprises certification type information, certification content information and a user identifier;
the target certification template generating module is used for determining a corresponding initial certification template according to the certification type information and setting the certification content information at a set position of the initial certification template to obtain a target certification template, wherein the certification content information is a text containing content type feature words;
the target content determining module is used for obtaining target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and the user identification;
and the target certification file generating module is used for obtaining a target certification file according to the target content and the target certification template.
11. The apparatus for dynamically generating a credential as defined in claim 10 further comprising:
and the selection information providing unit is used for receiving the certification making request sent by the user, returning pre-stored certification content information and certification type information so that the user selects the certification content information, the arrangement sequence of each piece of certification content information and the certification type information, and generating the certification request information.
12. The apparatus for dynamically generating a credential as defined in claim 11 further comprising:
and the proving content information modifying unit is used for receiving proving content modifying information sent by a user, modifying the content type characteristic words in the pre-stored proving content information and the fixed texts associated with the content type characteristic words according to the proving content modifying information, and updating the proving content information.
13. The apparatus according to claim 10, wherein the target certification template generating module comprises:
and the content information inserting unit is used for sequentially inserting the text containing the content type characteristic words of each piece of certification content information to the set insertion position of the initial text in the initial certification template according to the arrangement sequence of each piece of certification content information in the certification request information to obtain the target certification template.
14. The apparatus for dynamically generating a manifest file as recited in claim 10, wherein said target content determining module comprises:
the database access path determining unit is used for obtaining a second database access path according to the user identification and a first database access path which has a preset corresponding relation with the content type characteristic word;
and the database query result acquisition unit is used for executing corresponding database query operation on the preset database according to the second database access path and setting the query result of the database query operation as the target content.
15. The apparatus for dynamically generating a credential as defined in claim 14 further comprising:
an identifier judging unit, configured to judge whether a preset start identifier and a preset end identifier exist in the target certification template;
and the content type characteristic word determining unit is used for setting a group of texts between the starting identifier and the ending identifier as the content type characteristic words if the target certification template is judged to have the preset starting identifier and the preset ending identifier.
16. The apparatus according to claim 10, wherein the target credential generation module comprises:
and the content type characteristic word replacing unit is used for replacing the content type characteristic words in the target certification template with the corresponding target content to obtain the target certification file.
17. An apparatus for dynamically generating a credential, comprising:
the certification issuing request sending module is used for sending a certification issuing request to the server and receiving and displaying pre-stored certification content information and certification type information returned by the server;
the certification request information generating module is used for receiving a certification content information selecting instruction and a certification type information selecting instruction sent by a user and generating certification request information;
the certification request information sending module is used for sending the certification request information to the server so that the server determines a corresponding initial certification template according to certification type information in the certification request information after receiving the certification request information, sets certification content information containing content type characteristic words in the certification request information at a set position of the initial certification template to obtain a target certification template, further obtains target content corresponding to the user and the content type characteristic words from a preset database according to the content type characteristic words and user identification of the user, and obtains a target certification file according to the target content and the target certification template.
18. The apparatus for dynamically generating a credential as defined in claim 17 further comprising:
and the proving content information modifying unit is used for generating proving content modifying information according to the modification of the content type characteristic words in the proving content information and the fixed texts associated with the content type characteristic words by the user, and sending the proving content modifying information to the server, so that the server modifies the content type characteristic words in the pre-stored proving content information and the fixed texts associated with the content type characteristic words according to the proving content modifying information, and updates the proving content information.
19. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method for dynamically generating a credential of any one of claims 1 to 9 are implemented when the program is executed by the processor.
20. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for the dynamic generation of a certification document according to any one of claims 1 to 9.
CN201911098482.8A 2019-11-12 2019-11-12 Dynamic generation method and device for certificate Active CN111046640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911098482.8A CN111046640B (en) 2019-11-12 2019-11-12 Dynamic generation method and device for certificate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911098482.8A CN111046640B (en) 2019-11-12 2019-11-12 Dynamic generation method and device for certificate

Publications (2)

Publication Number Publication Date
CN111046640A true CN111046640A (en) 2020-04-21
CN111046640B CN111046640B (en) 2023-06-06

Family

ID=70232413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911098482.8A Active CN111046640B (en) 2019-11-12 2019-11-12 Dynamic generation method and device for certificate

Country Status (1)

Country Link
CN (1) CN111046640B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651130A (en) * 2020-05-28 2020-09-11 深圳市商汤科技有限公司 File printing method, device, system, electronic equipment and storage medium
CN112241555A (en) * 2020-10-22 2021-01-19 浪潮云信息技术股份公司 Online opening system and method suitable for multi-class electronic certificate
CN115205416A (en) * 2022-08-12 2022-10-18 广州鼎甲计算机科技有限公司 Image generation method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038114A (en) * 2017-10-17 2018-05-15 广东欧珀移动通信有限公司 A kind of path query method, terminal, computer-readable recording medium
CN109063164A (en) * 2018-08-15 2018-12-21 百卓网络科技有限公司 A kind of intelligent answer method based on deep learning
CN109739886A (en) * 2018-12-17 2019-05-10 景安大数据科技有限公司 A kind of registered permanent residence nullify prove issue method and device thereof
CN109816563A (en) * 2019-01-03 2019-05-28 深圳壹账通智能科技有限公司 Electronic contract template circulation method, apparatus, computer equipment and storage medium
CN110134930A (en) * 2019-04-17 2019-08-16 深圳壹账通智能科技有限公司 Electronic contract management method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108038114A (en) * 2017-10-17 2018-05-15 广东欧珀移动通信有限公司 A kind of path query method, terminal, computer-readable recording medium
CN109063164A (en) * 2018-08-15 2018-12-21 百卓网络科技有限公司 A kind of intelligent answer method based on deep learning
CN109739886A (en) * 2018-12-17 2019-05-10 景安大数据科技有限公司 A kind of registered permanent residence nullify prove issue method and device thereof
CN109816563A (en) * 2019-01-03 2019-05-28 深圳壹账通智能科技有限公司 Electronic contract template circulation method, apparatus, computer equipment and storage medium
CN110134930A (en) * 2019-04-17 2019-08-16 深圳壹账通智能科技有限公司 Electronic contract management method, device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651130A (en) * 2020-05-28 2020-09-11 深圳市商汤科技有限公司 File printing method, device, system, electronic equipment and storage medium
CN112241555A (en) * 2020-10-22 2021-01-19 浪潮云信息技术股份公司 Online opening system and method suitable for multi-class electronic certificate
CN115205416A (en) * 2022-08-12 2022-10-18 广州鼎甲计算机科技有限公司 Image generation method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111046640B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
JP6682638B2 (en) Information input method, information input device, and information input system
CN111046640A (en) Dynamic generation method and device of certification document
CN111125496B (en) Price query method, device and system
CN111880813B (en) Method for realizing android card UI (user interface) and storage medium
CN110806866A (en) Generation method and device of front-end management system
CN111435367A (en) Knowledge graph construction method, system, equipment and storage medium
US11494552B2 (en) System and method for implementing smart business intelligence testing tools
CN113377372A (en) Business rule analysis method and device, computer equipment and storage medium
CN110109981B (en) Information display method and device for work queue, computer equipment and storage medium
CN108196921B (en) Document development method and device, computer equipment and storage medium
CN111026963A (en) Data query method and device, and configuration information setting method and device
JP2008269515A (en) Method for dynamically generating image layout by parameter
CN115113870A (en) Webpage form generation method and device, electronic equipment and readable storage medium
CN110781191B (en) Processing method of layout data and server
CN114217795A (en) Page generation method and device, electronic equipment and readable storage medium
CN113689198A (en) Project file generation method and device, storage medium and terminal equipment
CN111310434B (en) Text generation method and device, electronic equipment and storage medium
CN113947297A (en) Formula conversion method and system based on template variables
CN113468258A (en) Heterogeneous data conversion method and device and storage medium
CN112905178A (en) Method, device, equipment and medium for generating business function page
CN112130850A (en) Method and device for realizing functions in application program
CN111553136A (en) Method and device for generating demonstration document template and electronic equipment
CN114282510B (en) Document generation method and device, storage medium and electronic equipment
CN116166617B (en) Catalog generation method and device for combined open format document OFD
JP2014059666A (en) Task input screen customization system

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220913

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant