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

CN108595396B - Automatic resume generation method and terminal - Google Patents

Automatic resume generation method and terminal Download PDF

Info

Publication number
CN108595396B
CN108595396B CN201810262634.2A CN201810262634A CN108595396B CN 108595396 B CN108595396 B CN 108595396B CN 201810262634 A CN201810262634 A CN 201810262634A CN 108595396 B CN108595396 B CN 108595396B
Authority
CN
China
Prior art keywords
resume
information
character
font
history
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.)
Active
Application number
CN201810262634.2A
Other languages
Chinese (zh)
Other versions
CN108595396A (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.)
Fujian Rongji Software Engineering Co ltd
Original Assignee
Fujian Rongji Software Engineering 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 Fujian Rongji Software Engineering Co ltd filed Critical Fujian Rongji Software Engineering Co ltd
Priority to CN201810262634.2A priority Critical patent/CN108595396B/en
Priority to CN202310932301.7A priority patent/CN116861868A/en
Publication of CN108595396A publication Critical patent/CN108595396A/en
Application granted granted Critical
Publication of CN108595396B publication Critical patent/CN108595396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/183Tabulation, i.e. one-dimensional positioning
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses an automatic generation method and a terminal of resume, which are characterized in that the width and the height of each character of various font sizes are configured; acquiring the width and the height of a resume form to be filled in; calculating the number of characters which can be displayed in each row of the resume table and the total number of rows which can be displayed in each row of the resume table according to the width and the height occupied by each character of each configured font size and the width and the height of the resume table, obtaining font data corresponding to each font size, and configuring the font data into configuration information of the corresponding font size; and acquiring the resume information, and writing the resume information into the resume form in a matching way according to the configuration information of the font size, so that subsequent manual adjustment by a large extent is not needed, the work efficiency of information input is improved, errors are not easy to occur, verification is easy, and standardization and unification of personnel file information are facilitated.

Description

Automatic resume generation method and terminal
Technical Field
The present invention relates to the field of data processing, and in particular, to a method and a terminal for automatically generating a resume.
Background
In real life, each person has own resume information, when the resume information of the person is needed to be used for filling some data, the resume information is often required to be filled into a form with a fixed size according to a certain format, and particularly, the resume is used more frequently by staff.
The content length of the resume information of each person is different, but the size of the form required to be filled is always fixed, so that the problem that resume information cannot be filled completely is easily caused, most acceptance units have certain requirements on the typesetting format of the resume in the process of filling the resume, when the resume is not in accordance with the requirements, most personnel adjust and modify a piece of resume information manually, the problem that the resume information format submitted by each person is different is possibly caused, the typesetting of the form is not uniform, sometimes the requirement of related units is not met after the adjustment is finished, repeated operation is caused, the operation is complicated, the efficiency is low, mistakes are easy to occur, and unnecessary trouble is caused to the staff filling the form.
Therefore, the current resume generation process has the following defects: if the content of the personal resume is too much, the content cannot be completely displayed in the table, the table is fixed in size, and the content of the resume needs to be manually modified or increased or decreased; manual adjustment easily causes non-uniform resume formats, cannot meet the standard of practical requirements, and needs repeated adjustment for many times, so that the efficiency is low.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the method and the terminal for automatically generating the resume are uniform in format and high in efficiency.
In order to solve the technical problems, the invention adopts the following technical scheme:
an automatic resume generation method comprises the following steps:
s1, configuring the width and the height of each character of various font sizes;
s2, acquiring the width and the height of a resume form to be filled in;
s3, calculating the number of characters which can be displayed in each row of the resume table and the total number of rows which can be displayed in each row of the resume table according to the width and the height occupied by each character of each configured font size and the width and the height of the resume table, obtaining font data corresponding to each font size, and configuring the font data into configuration information of the corresponding font size;
s4, acquiring resume information, and writing the resume information into the resume form in a matching manner according to the configuration information of the font size fonts.
In order to solve the technical problems, the invention adopts another technical scheme that:
an automatic generation terminal of a resume, comprising a first memory, a first processor and a first computer program stored on the first memory and executable on the first processor, the first processor implementing the following steps when executing the first computer program:
s1, configuring the width and the height of each character of various font sizes;
s2, acquiring the width and the height of a resume form to be filled in;
s3, calculating the number of characters which can be displayed in each row of the resume table and the total number of rows which can be displayed in each row of the resume table according to the width and the height occupied by each character of each configured font size and the width and the height of the resume table, obtaining font data corresponding to each font size, and configuring the font data into configuration information of the corresponding font size;
s4, acquiring resume information, and writing the resume information into the resume form in a matching manner according to the configuration information of the font size fonts.
The invention has the beneficial effects that: the method has the advantages that the width and the height of the resume form to be filled are calculated, the width and the height occupied by each character of each font are automatically scaled, the resume information of personnel is automatically typeset and input into resume forms with different sizes, the personnel does not need to be filled in later to carry out great manual adjustment, the work efficiency of information input is improved, errors are not easy to occur, the check is easy, and the standardization and the unification of personnel file information are facilitated.
Drawings
FIG. 1 is a flow chart of a method for automatically generating a resume according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a terminal structure for automatically generating a resume according to an embodiment of the present invention;
description of the reference numerals:
1. a terminal for automatically generating resume; 2. a memory; 3. a processor;
Detailed Description
In order to describe the technical contents, the achieved objects and effects of the present invention in detail, the following description will be made with reference to the embodiments in conjunction with the accompanying drawings.
The key concept of the invention is that the font size is automatically scaled by calculating the width and the height of the resume form to be filled in and the width and the height occupied by each character of each font, and the resume information of personnel is automatically typeset and input into resume forms with different sizes.
Referring to fig. 1, a method for automatically generating a resume includes the steps of:
s1, configuring the width and the height of each character of various font sizes;
s2, acquiring the width and the height of a resume form to be filled in;
s3, calculating the number of characters which can be displayed in each row of the resume table and the total number of rows which can be displayed in each row of the resume table according to the width and the height occupied by each character of each configured font size and the width and the height of the resume table, obtaining font data corresponding to each font size, and configuring the font data into configuration information of the corresponding font size;
s4, acquiring resume information, and writing the resume information into the resume form in a matching manner according to the configuration information of the font size fonts.
From the above description, the beneficial effects of the invention are as follows: the method has the advantages that the width and the height of the resume form to be filled are calculated, the width and the height occupied by each character of each font are automatically scaled, the resume information of personnel is automatically typeset and input into resume forms with different sizes, the personnel does not need to be filled in later to carry out great manual adjustment, the work efficiency of information input is improved, errors are not easy to occur, the check is easy, and the standardization and the unification of personnel file information are facilitated.
Further, in step S4, the writing the history information into the resume table according to the configuration information of the font size font specifically includes:
s41, receiving the determined fonts, and selecting the determined fonts with the largest sizes as the selected font sizes;
s42, rearranging the resume information according to the configuration information of the selected font size font, and determining the total line number of the resume information after rearranging;
s43, judging whether the total line number of the rearranged history information is larger than the total line number which can be displayed in the resume form by the selected font size, if so, selecting a font with one smaller line number, and returning to the step S42; otherwise, filling the resume form with the rearranged resume information.
From the above description, it is known that, when the history information is rearranged according to the configuration information of the font size from large to small, by comparing the total number of lines of the rearranged history information with the total number of lines that the selected font size can be displayed in the resume table, it can be more simply and accurately determined whether the rearranged history information can be filled in the resume table.
Further, the step S42 of rearranging the history information according to the configuration information of the selected font size font specifically includes:
s421, determining the number N of resume characters of resume information which can be displayed by each row of the selected font size font in the resume table, wherein the number N of resume characters of resume information which can be displayed by each row of the resume table=the number of characters which can be displayed by each row of the selected font size font in the resume table-the number of resume time period characters of resume information-the number of interval characters, and a first counting variable n=0 is set, and the resume information comprises resume time periods and resume contents;
s422, subtracting N from the number of history content characters of the history information, n=n+1;
s423, judging whether the character number of the history content of the history information is larger than 0, if so, displaying the history content part of the history information in a line feed mode from the n+1th character, spacing M spaces from the line feed mode, wherein M=the character number of the history time period of the history information plus the number of the interval characters, and returning to the step S422; if not, finishing the rearrangement of the resume information.
From the description, the definition of the format and line feed display typesetting of the resume information can display the resume information in the same format, M spaces are arranged at the line head, the resume information is more beautiful, the personnel file information is more standardized and unified, and the total line number which can be displayed in the resume form of the selected font size font is automatically calculated through the line feed typesetting of the self-adaptive resume content, so that the working efficiency of recording the resume information is improved.
Further, in the step S423, displaying the history content part of the history information by line feed from the n×n+1 character further includes:
presetting special characters, if the n+1th character is the preset special character, then
S4231, intercepting the last L characters in the previous row, and setting l=1;
s4232, judging whether the last L character in the intercepted previous line is the special character, if not, taking the last L character in the intercepted previous line as the first character after line feed, setting n=n+N-L, and adding L to the number of the history content characters of the history information; if yes, l=l+1 is set, and the procedure returns to step S4232.
From the above description, it can be seen that by comparing the first character after line feed with the preset special character, it is determined that the first character after line feed is not the special character, so that ambiguity of history information caused by the first character as the special character is avoided, and the appearance and standardization of the resume form are facilitated.
Further, the obtaining history information in step S4 specifically includes:
and retrieving the resume information from the database, automatically arranging the retrieved resume information according to the sequence of time periods, and adding the personal learning or training experience as supplementary information of the resume information after the resume information if the personal learning or training experience exists in the resume time period of the resume information.
As is clear from the above description, the personal learning or training history existing in the history period of the history information is added as the supplementary information of the history information, and the problem that when the history information is rearranged, the personal learning or training history period overlaps with the history period of the history information, and thus, the sequence is wrong when the history information is rearranged is solved.
Referring to fig. 2, an automatically generated terminal of a resume includes a first memory, a first processor, and a first computer program stored in the first memory and capable of running on the first processor, wherein the first processor implements the following steps when executing the first computer program:
s1, configuring the width and the height of each character of various font sizes;
s2, acquiring the width and the height of a resume form to be filled in;
s3, calculating the number of characters which can be displayed in each row of the resume table and the total number of rows which can be displayed in each row of the resume table according to the width and the height occupied by each character of each configured font size and the width and the height of the resume table, obtaining font data corresponding to each font size, and configuring the font data into configuration information of the corresponding font size;
s4, acquiring resume information, and writing the resume information into the resume form in a matching manner according to the configuration information of the font size fonts.
From the above description, the beneficial effects of the invention are as follows: the method has the advantages that the width and the height of the resume form to be filled are calculated, the width and the height occupied by each character of each font are automatically scaled, the resume information of personnel is automatically typeset and input into resume forms with different sizes, the personnel does not need to be filled in later to carry out great manual adjustment, the work efficiency of information input is improved, errors are not easy to occur, the check is easy, and the standardization and the unification of personnel file information are facilitated.
Further, in step S4, the writing the history information into the resume table according to the configuration information of the font size font specifically includes:
s41, receiving the determined fonts, and selecting the determined fonts with the largest sizes as the selected font sizes;
s42, rearranging the resume information according to the configuration information of the selected font size font, and determining the total line number of the resume information after rearranging;
s43, judging whether the total line number of the rearranged history information is larger than the total line number which can be displayed in the resume form by the selected font size, if so, selecting a font with one smaller line number, and returning to the step S42; otherwise, filling the resume form with the rearranged resume information.
From the above description, it is known that, when the history information is rearranged according to the configuration information of the font size from large to small, by comparing the total number of lines of the rearranged history information with the total number of lines that the selected font size can be displayed in the resume table, it can be more simply and accurately determined whether the rearranged history information can be filled in the resume table.
Further, the step S42 of rearranging the history information according to the configuration information of the selected font size font specifically includes:
s421, determining the number N of resume characters of resume information which can be displayed by each row of the selected font size font in the resume table, wherein the number N of resume characters of resume information which can be displayed by each row of the resume table=the number of characters which can be displayed by each row of the selected font size font in the resume table-the number of resume time period characters of resume information-the number of interval characters, and a first counting variable n=0 is set, and the resume information comprises resume time periods and resume contents;
s422, subtracting N from the number of history content characters of the history information, n=n+1;
s423, judging whether the character number of the history content of the history information is larger than 0, if so, displaying the history content part of the history information in a line feed mode from the n+1th character, spacing M spaces from the line feed mode, wherein M=the character number of the history time period of the history information plus the number of the interval characters, and returning to the step S422; if not, finishing the rearrangement of the resume information.
From the description, the definition of the format and line feed display typesetting of the resume information can display the resume information in the same format, M spaces are arranged at the line head, the resume information is more beautiful, the personnel file information is more standardized and unified, and the total line number which can be displayed in the resume form of the selected font size font is automatically calculated through the line feed typesetting of the self-adaptive resume content, so that the working efficiency of recording the resume information is improved.
Further, in the step S423, displaying the history content part of the history information by line feed from the n×n+1 character further includes:
presetting special characters, if the n+1th character is the preset special character, then
S4231, intercepting the last L characters in the previous row, and setting l=1;
s4232, judging whether the last L character in the intercepted previous line is the special character, if not, taking the last L character in the intercepted previous line as the first character after line feed, setting n=n+N-L, and adding L to the number of the history content characters of the history information; if yes, l=l+1 is set, and the procedure returns to step S4232.
From the above description, it can be seen that by comparing the first character after line feed with the preset special character, it is determined that the first character after line feed is not the special character, so that ambiguity of history information caused by the first character as the special character is avoided, and the appearance and standardization of the resume form are facilitated.
Further, the obtaining history information in step S4 specifically includes:
and retrieving the resume information from the database, automatically arranging the retrieved resume information according to the sequence of time periods, and adding the personal learning or training experience as supplementary information of the resume information after the resume information if the personal learning or training experience exists in the resume time period of the resume information.
As is clear from the above description, the personal learning or training history existing in the history period of the history information is added as the supplementary information of the history information, and the problem that when the history information is rearranged, the personal learning or training history period overlaps with the history period of the history information, and thus, the sequence is wrong when the history information is rearranged is solved. Referring to fig. 1, a first embodiment of the present invention is as follows:
an automatic resume generation method comprises the following steps:
s1, configuring the width and the height of each character of various font sizes;
s2, acquiring the width and the height of a resume form to be filled in;
s3, calculating the number of characters which can be displayed in each row of the resume table and the total number of rows which can be displayed in each row of the resume table according to the width and the height occupied by each character of each configured font size and the width and the height of the resume table, obtaining font data corresponding to each font size, and configuring the font data into configuration information of the corresponding font size;
for example: a 10pt font, displaying the line number character= (width-margin of table)/character width of the 10pt font, and rounding down;
total line number= (high-line space of table)/character height of 10pt font, and rounding down;
the number of characters is based on English characters, and each Chinese is equal to two English characters.
S4, acquiring resume information, and writing the resume information into the resume form in a matching manner according to the configuration information of the font size fonts.
The acquisition history information specifically includes:
inquiring personnel needing to generate the resume form, retrieving the resume information of the personnel needing to generate the resume form from a database or manually inputting the resume information of the personnel needing to generate the resume form, automatically arranging the retrieved resume information according to the sequence of time periods, and if personal learning or training experience exists in the resume time periods of the resume information, taking the personal learning or training experience as supplementary information of the resume information, typesetting according to a preset typesetting format, and adding the supplementary information after the resume information, for example: the learning time period is in the corresponding resume time period and then adds a period before resume content;
for example: 2001.09-2005.10;
2003.07-2004.01 are participating in learning shifts;
the result after the rearrangement is:
2001.09--2005.10*********************;
(periods 2003.07-2004.01 participate in study);
the resume format and resume supplementary style can be set by the user, and the typesetting rules can be set by the user, so that the application requirements of different scenes of the user are met.
The writing the resume information in the resume form in a matching way specifically comprises the following steps:
s41, receiving the determined fonts, and selecting the determined fonts with the largest sizes as the selected font sizes;
s42, rearranging the resume information according to the configuration information of the selected font size font, and determining the total line number of the resume information after rearranging;
the rearranging the resume information according to the configuration information of the selected font size font specifically comprises:
s421, determining the number N of resume characters of resume information that can be displayed by each line of the resume table for the selected font size, where n=the number of resume characters of resume information that can be displayed by each line of the resume table for the selected font size, i.e. the number of characters that can be displayed by each line of the resume table for the resume time period of the resume information, i.e. the number of interval characters, and setting a first count variable n=0, where the resume information includes a resume time period and resume content, and the format of the resume information is: a history period + a spacer + a history content, the history period being separated by two english '-'s, the spacer being a space of a certain length, for example:
2001.09--2003.10*****************************************;
s422, subtracting N from the number of history content characters of the history information, n=n+1;
s423, judging whether the character number of the history content of the history information is larger than 0, if so, displaying the history content part of the history information by line feed from the n+1th character, wherein the line feed is displayed in a hanging and retracting mode, in the paragraph format, the first line text of the paragraph is not changed, but the text except the first line is retracted for a certain distance, the second line and the subsequent line of the paragraph are retracted more than the first line, the hanging and retracting mode adopted by the application is blank retraction, the number of retracted blanks is M blank, M=the character number of the history time period of the history information+the number of interval characters, and returning to the step S422; if not, finishing the rearrangement of the resume information.
The step S423 of displaying the history content of the history information in a line from the n+1th character further includes:
presetting special characters, which may be special punctuation marks or certain specific words, if the n+1th character in step S423 is the preset special character
S4231, intercepting the last L characters in the previous row, and setting l=1;
s4232, judging whether the last L character in the intercepted previous line is the special character, if not, taking the last L character in the intercepted previous line as the first character after line feed, setting n=n+N-L, and adding L to the number of the history content characters of the history information; if yes, setting l=l+1, and returning to step S4232;
for example,' is a preset special character, and the history information is:
2001.03—2004.06********************************************
,**************************************;
the history information after the rearrangement is:
2001.03—2004.06*******************************************
*,**************************************;
s43, judging whether the total line number of the rearranged history information is larger than the total line number which can be displayed in the resume form by the selected font size, if so, selecting a font with one smaller line number, and returning to the step S42; otherwise, filling the resume form with the rearranged resume information.
Referring to fig. 2, a second embodiment of the present invention is as follows:
an automatically generated terminal 1 of a resume comprising a first memory 2, a first processor 3 and a first computer program stored on said first memory 2 and executable on said first processor 3, said first processor implementing the following steps when executing said first computer program:
s1, configuring the width and the height of each character of various font sizes;
s2, acquiring the width and the height of a resume form to be filled in;
s3, calculating the number of characters which can be displayed in each row of the resume table and the total number of rows which can be displayed in each row of the resume table according to the width and the height occupied by each character of each configured font size and the width and the height of the resume table, obtaining font data corresponding to each font size, and configuring the font data into configuration information of the corresponding font size;
for example: a 10pt font, displaying the line number character= (width-margin of table)/character width of the 10pt font, and rounding down;
total line number= (high-line space of table)/character height of 10pt font, and rounding down;
the number of characters is based on English characters, and each Chinese is equal to two English characters.
S4, acquiring resume information, and writing the resume information into the resume form in a matching manner according to the configuration information of the font size fonts.
The acquisition history information specifically includes:
inquiring personnel needing to generate the resume form, retrieving the resume information of the personnel needing to generate the resume form from a database or manually inputting the resume information of the personnel needing to generate the resume form, automatically arranging the retrieved resume information according to the sequence of time periods, and if personal learning or training experience exists in the resume time periods of the resume information, taking the personal learning or training experience as supplementary information of the resume information, typesetting according to a preset typesetting format, and adding the supplementary information after the resume information, for example: the learning time period is in the corresponding resume time period and then adds a period before resume content;
for example: 2001.09-2005.10;
2003.07-2004.01 are participating in learning shifts;
the result after the rearrangement is:
2001.09--2005.10*********************;
(periods 2003.07-2004.01 participate in study);
the resume format and resume supplementary style can be set by the user, and the typesetting rules can be set by the user, so that the application requirements of different scenes of the user are met.
The writing the resume information in the resume form in a matching way specifically comprises the following steps:
s41, receiving the determined fonts, and selecting the determined fonts with the largest sizes as the selected font sizes;
s42, rearranging the resume information according to the configuration information of the selected font size font, and determining the total line number of the resume information after rearranging;
the rearranging the resume information according to the configuration information of the selected font size font specifically comprises:
s421, determining the number N of resume characters of resume information that can be displayed by each line of the resume table for the selected font size, where n=the number of resume characters of resume information that can be displayed by each line of the resume table for the selected font size, i.e. the number of characters that can be displayed by each line of the resume table for the resume time period of the resume information, i.e. the number of interval characters, and setting a first count variable n=0, where the resume information includes a resume time period and resume content, and the format of the resume information is: a history period + a spacer + a history content, the history period being separated by two english '-'s, the spacer being a space of a certain length, for example:
2001.09--2003.10*****************************************;
s422, subtracting N from the number of history content characters of the history information, n=n+1;
s423, judging whether the character number of the history content of the history information is larger than 0, if so, displaying the history content part of the history information by line feed from the n+1th character, wherein the line feed is displayed in a hanging and retracting mode, in the paragraph format, the first line text of the paragraph is not changed, but the text except the first line is retracted for a certain distance, the second line and the subsequent line of the paragraph are retracted more than the first line, the hanging and retracting mode adopted by the application is blank retraction, the number of retracted blanks is M blank, M=the character number of the history time period of the history information+the number of interval characters, and returning to the step S422; if not, finishing the rearrangement of the resume information.
The step S423 of displaying the history content of the history information in a line from the n+1th character further includes:
presetting special characters, which may be special punctuation marks or certain specific words, if the n+1th character in step S423 is the preset special character
S4231, intercepting the last L characters in the previous row, and setting l=1;
s4232, judging whether the last L character in the intercepted previous line is the special character, if not, taking the last L character in the intercepted previous line as the first character after line feed, setting n=n+N-L, and adding L to the number of the history content characters of the history information; if yes, setting l=l+1, and returning to step S4232;
for example,' is a preset special character, and the history information is:
2001.03—2004.06********************************************
,**************************************;
the history information after the rearrangement is:
2001.03—2004.06*******************************************
*,**************************************;
s43, judging whether the total line number of the rearranged history information is larger than the total line number which can be displayed in the resume form by the selected font size, if so, selecting a font with one smaller line number, and returning to the step S42; otherwise, filling the resume form with the rearranged resume information.
In summary, according to the automatic generation method and terminal for resume provided by the invention, through calculating the width and height of resume forms to be filled, the width and height occupied by each character of each font are calculated, whether the line head is a preset special character is judged, whether personal learning or training experience exists in the history time period of the history information is judged, the font size is automatically scaled, the history information of personnel is automatically typeset and input into resume forms with different sizes, the personnel is not required to be filled in later, the manual adjustment is greatly carried out, the work efficiency of information input is improved, errors are not easy to occur, the verification is easy, and the standardization and unification of personnel file information are facilitated.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent changes made by the specification and drawings of the present invention, or direct or indirect application in the relevant art, are included in the scope of the present invention.

Claims (2)

1. The automatic resume generation method is characterized by comprising the following steps:
s1, configuring the width and the height of each character of various font sizes;
s2, acquiring the width and the height of a resume form to be filled in;
s3, calculating the number of characters which can be displayed in each row of the resume table and the total number of rows which can be displayed in each row of the resume table according to the width and the height occupied by each character of each configured font size and the width and the height of the resume table, obtaining font data corresponding to each font size, and configuring the font data into configuration information of the corresponding font size;
s4, acquiring resume information, and writing the resume information into the resume form in a matching way according to the configuration information of the font size font;
the obtaining history information in step S4 specifically includes:
retrieving the resume information from the database, automatically arranging the retrieved resume information according to the sequence of time periods, and adding the personal learning or training experience as supplementary information of the resume information after the resume information if the personal learning or training experience exists in the resume time period of the resume information;
in step S4, the writing the history information into the resume table according to the configuration information of the font size font specifically includes:
s41, receiving the determined fonts, and selecting the determined fonts with the largest sizes as the selected font sizes;
s42, rearranging the resume information according to the configuration information of the selected font size font, and determining the total line number of the resume information after rearranging;
s43, judging whether the total line number of the rearranged history information is larger than the total line number which can be displayed in the resume form by the selected font size, if so, selecting a font with one smaller line number, and returning to the step S42; otherwise, filling the resume form with the rearranged resume information;
the step S42 of rearranging the history information according to the configuration information of the selected font size specifically includes:
s421, determining the number N of resume characters of resume information which can be displayed by each row of the selected font size font in the resume table, wherein the number N of resume characters of resume information which can be displayed by each row of the resume table=the number of characters which can be displayed by each row of the selected font size font in the resume table-the number of resume time period characters of resume information-the number of interval characters, and a first counting variable n=0 is set, and the resume information comprises resume time periods and resume contents;
s422, subtracting N from the number of history content characters of the history information, n=n+1;
s423, judging whether the character number of the history content of the history information is larger than 0, if so, displaying the history content part of the history information in a line feed mode from the n+1th character, spacing M spaces from the line feed mode, wherein M=the character number of the history time period of the history information plus the number of the interval characters, and returning to the step S422; if not, finishing the rearrangement of the resume information;
the step S423 of displaying the history content of the history information in a line from the n+1th character further includes:
presetting special characters, if the n+1th character is the preset special character, then
S4231, intercepting the last L characters in the previous row, and setting l=1;
s4232, judging whether the last L character in the intercepted previous line is the special character, if not, taking the last L character in the intercepted previous line as the first character after line feed, setting n=n+N-L, and adding L to the number of the history content characters of the history information; if yes, l=l+1 is set, and the procedure returns to step S4232.
2. An automatically generated terminal of a resume comprising a first memory, a first processor and a first computer program stored on the first memory and executable on the first processor, characterized in that the first processor implements the following steps when executing the first computer program:
s1, configuring the width and the height of each character of various font sizes;
s2, acquiring the width and the height of a resume form to be filled in;
s3, calculating the number of characters which can be displayed in each row of the resume table and the total number of rows which can be displayed in each row of the resume table according to the width and the height occupied by each character of each configured font size and the width and the height of the resume table, obtaining font data corresponding to each font size, and configuring the font data into configuration information of the corresponding font size;
s4, acquiring resume information, and writing the resume information into the resume form in a matching way according to the configuration information of the font size font;
the obtaining history information in step S4 specifically includes:
retrieving the resume information from the database, automatically arranging the retrieved resume information according to the sequence of time periods, and adding the personal learning or training experience as supplementary information of the resume information after the resume information if the personal learning or training experience exists in the resume time period of the resume information;
in step S4, the writing the history information into the resume table according to the configuration information of the font size font specifically includes:
s41, receiving the determined fonts, and selecting the determined fonts with the largest sizes as the selected font sizes;
s42, rearranging the resume information according to the configuration information of the selected font size font, and determining the total line number of the resume information after rearranging;
s43, judging whether the total line number of the rearranged history information is larger than the total line number which can be displayed in the resume form by the selected font size, if so, selecting a font with one smaller line number, and returning to the step S42; otherwise, filling the resume form with the rearranged resume information;
the step S42 of rearranging the history information according to the configuration information of the selected font size specifically includes:
s421, determining the number N of resume characters of resume information which can be displayed by each row of the selected font size font in the resume table, wherein the number N of resume characters of resume information which can be displayed by each row of the resume table=the number of characters which can be displayed by each row of the selected font size font in the resume table-the number of resume time period characters of resume information-the number of interval characters, and a first counting variable n=0 is set, and the resume information comprises resume time periods and resume contents;
s422, subtracting N from the number of history content characters of the history information, n=n+1;
s423, judging whether the character number of the history content of the history information is larger than 0, if so, displaying the history content part of the history information in a line feed mode from the n+1th character, spacing M spaces from the line feed mode, wherein M=the character number of the history time period of the history information plus the number of the interval characters, and returning to the step S422; if not, finishing the rearrangement of the resume information;
the step S423 of displaying the history content of the history information in a line from the n+1th character further includes:
presetting special characters, if the n+1th character is the preset special character, then
S4231, intercepting the last L characters in the previous row, and setting l=1;
s4232, judging whether the last L character in the intercepted previous line is the special character, if not, taking the last L character in the intercepted previous line as the first character after line feed, setting n=n+N-L, and adding L to the number of the history content characters of the history information; if yes, l=l+1 is set, and the procedure returns to step S4232.
CN201810262634.2A 2018-03-28 2018-03-28 Automatic resume generation method and terminal Active CN108595396B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810262634.2A CN108595396B (en) 2018-03-28 2018-03-28 Automatic resume generation method and terminal
CN202310932301.7A CN116861868A (en) 2018-03-28 2018-03-28 Resume generation method and terminal based on automatic typesetting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810262634.2A CN108595396B (en) 2018-03-28 2018-03-28 Automatic resume generation method and terminal

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202310932301.7A Division CN116861868A (en) 2018-03-28 2018-03-28 Resume generation method and terminal based on automatic typesetting

Publications (2)

Publication Number Publication Date
CN108595396A CN108595396A (en) 2018-09-28
CN108595396B true CN108595396B (en) 2023-08-04

Family

ID=63623787

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810262634.2A Active CN108595396B (en) 2018-03-28 2018-03-28 Automatic resume generation method and terminal
CN202310932301.7A Pending CN116861868A (en) 2018-03-28 2018-03-28 Resume generation method and terminal based on automatic typesetting

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202310932301.7A Pending CN116861868A (en) 2018-03-28 2018-03-28 Resume generation method and terminal based on automatic typesetting

Country Status (1)

Country Link
CN (2) CN108595396B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109872604A (en) * 2019-04-12 2019-06-11 郑州铁路职业技术学院 A kind of module combined resume making teaching method
CN110263315B (en) * 2019-06-21 2023-06-09 上海才贝信息科技有限公司 Resume typesetting editing method and device
CN110390324A (en) * 2019-07-27 2019-10-29 苏州过来人科技有限公司 A kind of resume printed page analysis algorithm merging vision and text feature

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1149345A (en) * 1994-04-01 1997-05-07 惠普公司 Font manager with selective access of installed fonts
US6324554B1 (en) * 1984-11-14 2001-11-27 Canon Kabushiki Kaisha Character processing apparatus
CN1336603A (en) * 2000-07-28 2002-02-20 西门子公司 Method for outputing table and device thereof
CN1766919A (en) * 2005-11-22 2006-05-03 王宝山 Resume making and issuing system
CN101207742A (en) * 2007-12-25 2008-06-25 深圳市同洲电子股份有限公司 Method and device for paging of display contents and digital television receiving device
CN102693217A (en) * 2012-05-15 2012-09-26 中国人民解放军91550部队 Automatic layout method by table font and paper size analysis
CN104050532A (en) * 2014-06-19 2014-09-17 高海逵 Resume generating method and resume generating system
CN105279139A (en) * 2015-11-30 2016-01-27 中国建设银行股份有限公司 Form information display rule configuration and calculation method and system
CN106708491A (en) * 2015-11-17 2017-05-24 北京国双科技有限公司 Html-format mail generation method and device
CN107145584A (en) * 2017-05-10 2017-09-08 西南科技大学 A kind of resume analytic method based on n gram models
CN107172476A (en) * 2017-06-09 2017-09-15 创视未来科技(深圳)有限公司 A kind of system and implementation method of interactive script recorded video resume
CN107392143A (en) * 2017-07-20 2017-11-24 中国科学院软件研究所 A kind of resume accurate Analysis method based on SVM text classifications

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060074909A1 (en) * 2004-09-28 2006-04-06 Bradley Fredericks Automated resume evaluation system
US20120131487A1 (en) * 2010-11-19 2012-05-24 Kathleen Ann Leonard Analysis, visualization and display of curriculum vitae data

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6324554B1 (en) * 1984-11-14 2001-11-27 Canon Kabushiki Kaisha Character processing apparatus
CN1149345A (en) * 1994-04-01 1997-05-07 惠普公司 Font manager with selective access of installed fonts
CN1336603A (en) * 2000-07-28 2002-02-20 西门子公司 Method for outputing table and device thereof
CN1766919A (en) * 2005-11-22 2006-05-03 王宝山 Resume making and issuing system
CN101207742A (en) * 2007-12-25 2008-06-25 深圳市同洲电子股份有限公司 Method and device for paging of display contents and digital television receiving device
CN102693217A (en) * 2012-05-15 2012-09-26 中国人民解放军91550部队 Automatic layout method by table font and paper size analysis
CN104050532A (en) * 2014-06-19 2014-09-17 高海逵 Resume generating method and resume generating system
CN106708491A (en) * 2015-11-17 2017-05-24 北京国双科技有限公司 Html-format mail generation method and device
CN105279139A (en) * 2015-11-30 2016-01-27 中国建设银行股份有限公司 Form information display rule configuration and calculation method and system
CN107145584A (en) * 2017-05-10 2017-09-08 西南科技大学 A kind of resume analytic method based on n gram models
CN107172476A (en) * 2017-06-09 2017-09-15 创视未来科技(深圳)有限公司 A kind of system and implementation method of interactive script recorded video resume
CN107392143A (en) * 2017-07-20 2017-11-24 中国科学院软件研究所 A kind of resume accurate Analysis method based on SVM text classifications

Also Published As

Publication number Publication date
CN116861868A (en) 2023-10-10
CN108595396A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
KR0163178B1 (en) Method and apparatus for encoding and decoding chinese characters
CN108595396B (en) Automatic resume generation method and terminal
US8028230B2 (en) Contextual input method
US20140176564A1 (en) Chinese Character Constructing Method and Device, Character Constructing Method and Device, and Font Library Building Method
US4990903A (en) Method for storing Chinese character description information in a character generating apparatus
KR100704093B1 (en) Component-based, adaptive stroke-order system
US8429517B1 (en) Generating and rendering a template for a pre-defined layout
CN105844679B (en) Complicated braille dot pattern is drawn and the method and device of embedded text input
CN104851333A (en) Copybook generating device and copybook imitating device equipped with same
US20070262991A1 (en) Arabic input output method and font model
KR20010089339A (en) Keyboard input devices, methods and systems
CN113436298B (en) Method and device for automatically generating Chinese character stroke order animation and related components thereof
KR101777521B1 (en) Method and Apparatus for generating font for changing font's style
CN111159979A (en) Method and program for generating pdf document by integrating dynamic data
US20020085018A1 (en) Method for reducing chinese character font in real-time
CN110077138A (en) Polymorphic jet printing method for high parsing ink jet numbering machine
CN109815461B (en) Method for editing form
KR20180088087A (en) Apparatus and method for generating fonts by METAFONT using outline fonts
CN112817505A (en) Software information interface display method and device, storage medium and equipment
US20150212729A1 (en) Method for Inputting Chinese in Electronic Device
CN107203311B (en) Display method and device of multi-language menu
CN112181231A (en) Blackboard writing input method, system and device
CN106776489B (en) Electronic document display method and system of display device
CN110852037B (en) Picture word stock calling method
JPH01262149A (en) Document output device having dot-character font forming function

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
GR01 Patent grant
GR01 Patent grant