CN113268306A - Resume parsing interface calling method and device and computer storage medium - Google Patents
Resume parsing interface calling method and device and computer storage medium Download PDFInfo
- Publication number
- CN113268306A CN113268306A CN202110639428.0A CN202110639428A CN113268306A CN 113268306 A CN113268306 A CN 113268306A CN 202110639428 A CN202110639428 A CN 202110639428A CN 113268306 A CN113268306 A CN 113268306A
- Authority
- CN
- China
- Prior art keywords
- resume
- field
- target
- field attribute
- attribute
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000013507 mapping Methods 0.000 claims abstract description 54
- 235000006719 Cassia obtusifolia Nutrition 0.000 claims description 6
- 235000014552 Cassia tora Nutrition 0.000 claims description 6
- 244000201986 Cassia tora Species 0.000 claims description 6
- 238000000586 desensitisation Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 239000000284 extract Substances 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a resume parsing interface calling method, a resume parsing interface calling device and a computer storage medium, which are used for realizing convenient extension of the resume parsing interface. The embodiment of the application comprises the following steps: the method comprises the steps of configuring a mapping relation between a first resume field attribute corresponding to a user program and a second resume field attribute corresponding to any target resume analysis interface, extracting a target resume field corresponding to the second resume field attribute having the mapping relation with the first resume field attribute according to the pre-configured mapping relation after receiving a resume analysis result returned by the target resume analysis interface, and displaying the target resume field on a front-end page.
Description
Technical Field
The embodiment of the application relates to the field of data processing, in particular to a resume parsing interface calling method and device and a computer storage medium.
Background
The user needs to check the resume of the applicant, and the resume analysis interface is matched with the front-end user program, so the user can generally call the resume analysis interface in the front-end user program to analyze the resume, the resume analysis interface can extract key contents in the resume, and the front-end user program displays the extracted key contents to the user, thereby facilitating the user to check the resume.
The resume parsing interface can be a resume parsing interface which is independently developed, or a resume parsing interface provided by a third-party resume parsing interface service provider. However, the current technology only supports the call of a single resume analysis interface, that is, only the resume analysis interface configured for the front-end user program in advance can be called, if other resume analysis interfaces need to be called, the front-end user program needs to be modified, and the previous configuration is modified into a new configuration, so as to realize the call of the front-end user program to the new resume analysis interface. Obviously, the operation of the method is very complicated, program codes need to be modified, and extension of a resume parsing interface is inconvenient. Moreover, the extension of the resume analysis interface is extremely inconvenient, and the user program at the front end can only call the single resume analysis interface, namely, either the interface A or the interface B can only be called, so that the selection of the call of the resume analysis interface is limited, the user is inconvenient to use the user program at the front end, and the user experience is influenced.
Disclosure of Invention
The embodiment of the application provides a resume parsing interface calling method and device and a computer storage medium, which are used for realizing convenient extension of the resume parsing interface.
A first aspect of an embodiment of the present application provides a resume parsing interface calling method, where the method is applied to a resume parsing interface calling device, and the method includes:
running a user program, wherein the user program comprises a front-end page;
configuring a mapping relation between a first resume field attribute corresponding to the user program and a second resume field attribute corresponding to any one target resume analysis interface;
receiving a resume analysis result returned by the target resume analysis interface, wherein the resume analysis result comprises a plurality of resume field attributes and a resume field corresponding to each resume field attribute;
determining a second resume field attribute having the mapping relation with the first resume field attribute from the plurality of resume field attributes, and extracting a target resume field corresponding to the second resume field attribute;
and determining the target resume field as the resume field corresponding to the first resume field attribute, and displaying the target resume field in the front-end page.
A second aspect of the present application provides a resume parsing interface calling apparatus, where the apparatus includes:
the running unit is used for running a user program, and the user program comprises a front-end page;
the configuration unit is used for configuring the mapping relation between the first resume field attribute corresponding to the user program and the second resume field attribute corresponding to any target resume analysis interface;
the receiving unit is used for receiving the resume analysis result returned by the target resume analysis interface, and the resume analysis result comprises a plurality of resume field attributes and resume fields corresponding to each resume field attribute;
the extracting unit is used for determining a second resume field attribute having the mapping relation with the first resume field attribute from the plurality of resume field attributes and extracting a target resume field corresponding to the second resume field attribute;
and the display unit is used for determining the target resume field as the resume field corresponding to the first resume field attribute and displaying the target resume field in the front-end page.
A third aspect of embodiments of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the method of the foregoing first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method of the first aspect.
According to the technical scheme, the embodiment of the application has the following advantages:
in the embodiment of the application, the mapping relationship between the first resume field attribute corresponding to the user program and the second resume field attribute corresponding to any one target resume parsing interface can be configured, after receiving the resume parsing result returned by the target resume parsing interface, the target resume field corresponding to the second resume field attribute having a mapping relation with the first resume field attribute can be extracted according to the pre-configured mapping relation, and the target resume field is displayed on the front-end page, therefore, when any resume parsing interface needs to be called, the user only needs to configure the mapping relation, the method can easily realize the calling of the resume parsing interface, so that a user can conveniently and compatibly use a plurality of resume parsing service providers without modifying codes of user programs, the operation of the user is greatly reduced, and the convenient expansion of the resume parsing interface can be realized.
Drawings
FIG. 1 is a schematic flow chart illustrating a resume parsing interface invoking method in an embodiment of the present application;
FIG. 2 is another schematic flow chart illustrating a resume parsing interface invoking method according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a mapping relationship between a first resume field attribute and a second resume field attribute in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a resume parsing interface invoking device in an embodiment of the present application;
fig. 5 is another schematic structural diagram of a resume parsing interface invoking device in the embodiment of the present application.
Detailed Description
The embodiment of the application provides a resume parsing interface calling method and device and a computer storage medium, which are used for realizing convenient extension of the resume parsing interface.
Referring to fig. 1, an embodiment of a resume parsing interface calling method in the embodiment of the present application includes:
101. operating a user program;
the method of the embodiment can be applied to a resume parsing interface calling device, and the device can be any computer equipment with certain computing capability. When the resume needs to be checked and analyzed, a user can open a corresponding user program on the device, the resume analysis interface calling device runs the user program and displays a front-end page of the user program, the user program can provide functions of the resume checking and the resume analysis, the front-end page is used for providing a function of man-machine interaction, namely the user can input an instruction of the resume analysis interface calling device in the front-end page, and the resume analysis interface calling device can present information to the user in the front-end page. For example, a user may upload an original resume in a front-end page and input an analysis instruction for the original resume, and then the resume analysis interface invoking device executes corresponding processing based on the instruction of the user and presents a processing result of the original resume on the front-end page, so that the user can see the processing result of the instruction on the front-end page, and human-computer interaction based on the front-end page is realized.
102. Configuring a mapping relation between a first resume field attribute corresponding to a user program and a second resume field attribute corresponding to any one target resume analysis interface;
in this embodiment, the resume field attribute refers to data for describing a resume field, i.e., an element in a resume. For example, the resume fields in the original resume include "wangxing", "32 years of age", "harbin university of science and engineering", "software engineering", etc., and the attributes of the resume fields corresponding to the resume fields are "name", "age", "university" and "professional", respectively.
Therefore, the first resume field attribute corresponding to the user program refers to the resume field attribute corresponding to the resume field that needs to be displayed when the front-end page displays the processing result of the original resume. The second resume field attribute corresponding to any target resume parsing interface refers to the resume field attribute corresponding to the resume field in the parsing result of the target resume parsing interface on the original resume.
And the resume parsing interface calling device configures a mapping relation between the first resume field attribute and a second resume field attribute corresponding to any one target resume parsing interface so as to execute processing operation on the original resume in subsequent steps according to the mapping relation.
103. Receiving a resume analysis result returned by the target resume analysis interface;
in this embodiment, the resume parsing interface calling device responds to an instruction of a user to parse an original resume, and may call any target resume parsing interface, where the target resume parsing interface may parse the original resume and return a resume parsing result to the resume parsing interface calling device, and the resume parsing result includes a plurality of resume field attributes and a resume field corresponding to each resume field attribute. As can be seen from the explanation of the second resume field attribute, the plurality of resume field attributes in the resume parsing result naturally also include the second resume field attribute.
104. Determining a second resume field attribute having a mapping relation with the first resume field attribute from the plurality of resume field attributes, and extracting a target resume field corresponding to the second resume field attribute;
after the resume analysis result is obtained, a second resume field attribute having a mapping relation with the first resume field attribute is determined from the plurality of resume field attributes of the resume analysis result, and a target resume field corresponding to the second resume field attribute is extracted.
For example, the target resume analysis interface a is a resume analysis interface provided by a resume analysis interface service provider a, where the second resume field attribute corresponding to the target resume analysis interface a includes "name 1", "age 1" and "graduate entities 1", and then the first resume field attribute corresponding to the user program may be configured to be "name", "age" and "graduate entities" according to the second resume field attribute corresponding to the target resume analysis interface a, and the mapping relationship between the second resume field attribute corresponding to the target resume analysis interface a and the first resume field attribute, that is, the mapping relationship is respectively established between "name 1" and "name", "age 1" and "age", "graduate entities 1" and "graduate entities". After receiving the resume analysis result returned by the target resume analysis interface a, if the resume analysis result returned by the target resume analysis interface a is "name 1: wangming "," age 1: age 32 "," graduate events 1: the university of Harbin's rational worker ' determines a second resume field attribute having the mapping relation with the first resume field attribute from the plurality of resume field attributes of the resume parsing result, and extracts a target resume field corresponding to the second resume field attribute, namely extracts the target resume fields of Wangming, 32 years old and the university of Harbin ' to obtain.
105. Determining the target resume field as the resume field corresponding to the first resume field attribute, and displaying the target resume field in the front-end page;
after the target resume field corresponding to the second resume field attribute is extracted and obtained, the target resume field is determined to be the resume field corresponding to the first resume field attribute, and the target resume field is displayed in the front-end page.
For example, following the above example, after the target resume fields of "wangxueming", "32 years old" and "university of haglabs" are extracted and obtained, the target resume fields are determined as resume fields corresponding to the first resume field attribute, that is, the second resume field attribute "name 1" corresponding to "wangxing" has a mapping relationship with the first resume field attribute "name", the target resume field "wangxing" is determined as a resume field corresponding to the first resume field attribute "name", and so on, other target resume fields may be determined as resume fields corresponding to other first resume field attributes according to the mapping relationship. Finally, the front page may display the target resume fields of "Wangxueming" for "name", "32 years" for "age", and "Harbin university of Manifeng" for "graduate organizations".
In this embodiment, the mapping relationship between the first resume field attribute corresponding to the user program and the second resume field attribute corresponding to any one target resume parsing interface can be configured, after receiving the resume parsing result returned by the target resume parsing interface, the target resume field corresponding to the second resume field attribute having a mapping relation with the first resume field attribute can be extracted according to the pre-configured mapping relation, and the target resume field is displayed on the front-end page, therefore, when any resume parsing interface needs to be called, the user only needs to configure the mapping relation, the method can easily realize the calling of the resume parsing interface, so that a user can conveniently and compatibly use a plurality of resume parsing service providers without modifying codes of user programs, the operation of the user is greatly reduced, and the convenient expansion of the resume parsing interface can be realized.
The embodiments of the present application will be described in further detail below on the basis of the aforementioned embodiment shown in fig. 1. Referring to fig. 2, another embodiment of the resume parsing interface invoking method in the embodiment of the present application includes:
201. operating a user program;
in this embodiment, the front page of the user program may receive an instruction input by the user. In one embodiment, a user may upload an original resume in a front-end page and input an analysis instruction for the original resume, and the resume analysis interface calling device receives the original resume uploaded by the user, and in a subsequent step, in response to the analysis instruction input by the user, calls a target resume analysis interface to analyze the original resume so as to obtain a resume analysis result of the original resume.
The format of the original resume uploaded by the user can be any data format, and document formats such as doc, docx, html, pdf, xls, xlsx, mht, rtf, wps, mime, eml, txt, msg and the like are supported, and picture formats such as jpg, jpeg, png, bmp, gif and the like are supported.
For example, the front-end page may be provided with a resume uploading button and a resume parsing button, and when the user clicks the resume uploading button, the front-end page may pop up a dialog box, and the user selects the original resume to be uploaded in the dialog box to confirm the uploading. After the resume is uploaded, the user can click the resume parsing button to input one or more resume parsing instructions for the uploaded original resumes, and the resume parsing interface calling device responds to the instructions in the subsequent steps to execute operations related to resume parsing.
202. Configuring a mapping relation between a first resume field attribute corresponding to a user program and a second resume field attribute corresponding to any one target resume analysis interface;
in this embodiment, the user may select any one of the target resume parsing interfaces to establish the mapping relationship between the attributes of the resume fields. Because the interface document of the target resume parsing interface provides the service of the target resume parsing interface and the description of the function of the target resume parsing interface, the resume parsing interface calling device obtains the interface document of the target resume parsing interface, so that the second resume field attribute can be determined according to the interface document of the target resume parsing interface, the first resume field attribute can be determined according to the second resume field attribute, and the mapping relation between the first resume field attribute and the second resume field attribute is configured.
For example, there are a target resume parsing interface a provided by the resume parsing interface service provider a, a target resume parsing interface B provided by the resume parsing interface service provider B, and a target resume parsing interface C provided by the resume parsing interface service provider C, where the second resume field attribute corresponding to the target resume parsing interface a includes "name 1", "age 1", "graduate instatations 1"; the second resume field attribute corresponding to the target resume parsing interface B includes "name 2", "age 2", "graduate entries 2"; the second resume field attribute corresponding to the target resume parsing interface C includes "name 3", "age 3", and "graduate entries 3". The resume parsing interface calling device may configure a first resume field attribute according to a second resume field attribute corresponding to any one target resume parsing interface, and configure a mapping relationship between the first resume field attribute and the second resume field attribute, as shown in fig. 3, the mapping relationships between the first resume field attribute and second resume field attributes corresponding to the target resume parsing interface a, the target resume parsing interface B, and the target resume parsing interface C may be respectively configured, where "name", "age", and "summary entities" are respectively the first resume field attribute.
It should be noted that "name", "age", "summary entities" shown in fig. 3 are only exemplary listed first resume field attributes, and actually the first resume field attribute may include any one or more resume field attributes, and the example shown in fig. 3 is not limiting.
203. Receiving a resume analysis result returned by the target resume analysis interface;
in this embodiment, the target resume parsing interface may return the resume parsing result in any data exchange format, for example, return the resume parsing result in a data exchange format such as extensible markup language (XML), yaml (yet anyermarkup language), and the like. Preferably, the target resume parsing interface can return the resume parsing result in JSON format, which is JSON to be a JSON Object resume (JavaScript Object Notation), and is a lightweight data exchange format. It stores and represents data in a text format that is completely independent of the programming language, based on a subset of ECMAScript (js specification set by the european computer association). The compact and clear hierarchy makes JSON an ideal data exchange language. The data in the JSON format is easy to read and write by people, is easy to analyze and generate by machines, and can effectively improve the network transmission efficiency.
204. Determining a second resume field attribute having a mapping relation with the first resume field attribute from the plurality of resume field attributes, and extracting a target resume field corresponding to the second resume field attribute;
in this embodiment, after receiving the resume parsing result, the resume parsing interface calling device replaces a second resume field attribute having a mapping relationship with the first resume field attribute in the resume parsing result with the first resume field attribute to obtain a parsing result processing file, where the first resume field attribute in the parsing result processing file corresponds to the target resume field, so as to extract the target resume field from the parsing result processing file.
For example, the resume parsing result returned by the target resume parsing interface is "name 1: wangming "," age 1: age 32 "," graduate events 1: the Harbin university of Jakob, because the mapping relation between the first resume field attribute and the second resume field attribute is the mapping between "name" and "name 1", the mapping between "age" and "age 1", the mapping between "graduate instances" and "graduate instances 1", the second resume field attribute having the mapping relation with the first resume field attribute in the resume analysis result is replaced by the first resume field attribute, and the obtained analysis result processing file is "name: wangming "," age: age 32 "," graduate events: harbin university of science, the first resume field attribute in the parse result processing file corresponds to the target resume field.
In a preferred embodiment, in order to adapt the data format of the parsing result processing file to the resume parsing interface calling device, so as to facilitate the resume parsing interface calling device to store and display the parsing result processing file, after the parsing result processing file is obtained, format conversion may be performed on the parsing result processing file, the parsing result processing file is converted into a JavaBean object, and the JavaBean object is converted into the data format preset by the user program. The data format preset by the user program is a data format suitable for data storage and data display of the resume parsing interface calling device, and can be determined according to the actual operation condition and the use performance of the resume parsing interface calling device.
205. Configuring the resume field corresponding to the first resume field attribute into a privacy field;
in this embodiment, to avoid information leakage related to personal privacy in the analysis result processing file, the resume analysis interface calling device may configure the resume field corresponding to the first resume field attribute as the privacy field, and perform information privacy processing on the privacy field in subsequent steps to protect personal privacy information security.
206. Determining the target resume field as the resume field corresponding to the first resume field attribute, and displaying the target resume field in the front-end page;
in this embodiment, the front page may display only the target resume field, or may display the first resume field attribute and the corresponding target resume field at the same time. For example, the front page may only display the name field "wangming", or may simultaneously display the name field attribute and the corresponding name field, that is, display "name: wangxuiming.
After the resume field corresponding to the first resume field attribute is configured as the privacy field, the target resume field corresponds to the first resume field attribute, and therefore the target resume field can be determined to be the privacy field, and information privacy processing is further performed on the target resume field.
The preset desensitization rule can be operations of hiding, replacing, rearranging, encrypting, truncating, masking and the like on the private data in the target resume field, and the user can also customize the desensitization rule according to an expected desensitization algorithm. For example, one way of desensitizing a mobile phone number may be to display the middle 4 digits of the mobile phone number as an "x" number in CSS style; for the electronic mailbox, irrelevant characters can be added into the electronic mailbox field, so that the junk mail robot is confused, and personal privacy information is protected. Among them, the CSS style, i.e., Cascading Style Sheets (CSSs), is a computer language used to express file styles. The CSS style can not only statically modify the web page, but also dynamically format each element of the web page in cooperation with various scripting languages. The CSS style can accurately control the typesetting of element positions in the webpage at a pixel level, supports almost all font and font size styles and has the capability of editing webpage objects and model styles.
In a more preferred embodiment, whether to configure the privacy field can be determined according to the difference of the user roles, for example, if the user role is a personnel manager of a person-using unit, the contact way can be kept secret without being used as the privacy field because the personnel manager needs to contact an applicant to reserve an interview; if the user is only a department manager, the appointment interview can be executed by the personnel manager, and the department manager does not need to personally reserve the interview, so that the department manager does not need to know the contact way of the applicant, and the contact way is kept secret as a privacy field under the condition.
Therefore, in this preferred embodiment, the resume parsing interface invoking device may obtain a login account for logging in the user program, and determine whether the login account has an authority to view the resume field corresponding to the first resume field attribute, and if not, configure the resume field corresponding to the first resume field attribute as the privacy field. The permission for viewing the resume field corresponding to the first resume field attribute can be determined according to the role of the user of the login account, for example, when the role of the user is a staff manager, the login account can configure the permission; if the role of the user is not a personnel manager, the login account of the user is not configured with the authority.
In the embodiment, the resume parsing interface can be easily called without modifying codes of user programs, so that the operation of users is greatly reduced, the resume parsing interface can be conveniently expanded, privacy fields in the resume can be processed and displayed in a confidential mode, leakage of personal privacy information is avoided, and personal privacy data safety is protected.
The above description is given on the resume parsing interface calling method in the embodiment of the present application, and referring to fig. 4, the resume parsing interface calling device in the embodiment of the present application is described below, where an embodiment of the resume parsing interface calling device in the embodiment of the present application includes:
an operation unit 401, configured to operate a user program, where the user program includes a front-end page;
a configuration unit 402, configured to configure a mapping relationship between a first resume field attribute corresponding to the user program and a second resume field attribute corresponding to any one target resume parsing interface;
a receiving unit 403, configured to receive a resume parsing result returned by the target resume parsing interface, where the resume parsing result includes multiple resume field attributes and a resume field corresponding to each resume field attribute;
an extracting unit 404, configured to determine, from the plurality of resume field attributes, a second resume field attribute having a mapping relationship with the first resume field attribute, and extract a target resume field corresponding to the second resume field attribute;
the display unit 405 is configured to determine the target resume field as the resume field corresponding to the first resume field attribute, and display the target resume field in the front-end page.
In a preferred implementation manner of this embodiment, the configuring unit 402 is further configured to configure a resume field corresponding to the first resume field attribute as a privacy field;
the display unit 405 is specifically configured to determine that the target resume field is a privacy field; desensitizing the target resume field according to a preset desensitization rule to obtain a desensitized target resume field; desensitized target resume fields are displayed in the front page.
In a preferred embodiment of this embodiment, the configuration unit 402 is specifically configured to acquire a login account for logging in a user program, and determine whether the login account has a right to view a resume field corresponding to a first resume field attribute; and if not, configuring the resume field corresponding to the first resume field attribute as the privacy field.
In a preferred implementation manner of this embodiment, the extracting unit 404 is specifically configured to replace a second resume field attribute having a mapping relationship with a first resume field attribute in the resume parsing result with the first resume field attribute to obtain a parsing result processing file, where the first resume field attribute in the parsing result processing file corresponds to a target resume field; and extracting the target resume field from the analysis result processing file.
In a preferred implementation manner of this embodiment, the extracting unit 404 is further configured to perform format conversion on the parsing result processing file, convert the parsing result processing file into a JavaBean object, and convert the JavaBean object into a data format preset by a user program.
In a preferred implementation manner of this embodiment, the configuration unit 402 is specifically configured to obtain an interface document of a target resume parsing interface, and determine a second resume field attribute according to the interface document of the target resume parsing interface; determining a first resume field attribute according to the second resume field attribute; and configuring the mapping relation between the first resume field attribute and the second resume field attribute.
In a preferred implementation manner of this embodiment, the receiving unit 403 is specifically configured to receive an original resume uploaded by a user through a front-end page; and calling the target resume analysis interface to analyze the original resume to obtain a resume analysis result of the original resume returned by the target resume analysis interface.
In this embodiment, the operations performed by each unit in the resume parsing interface calling device are similar to those described in the embodiments shown in fig. 1 to fig. 2, and are not described again here.
In this embodiment, the configuration unit 402 configures a mapping relationship between a first resume field attribute corresponding to the user program and a second resume field attribute corresponding to any one target resume parsing interface, after the receiving unit 403 receives the resume parsing result returned by the target resume parsing interface, the extracting unit 404 may extract a target resume field corresponding to a second resume field attribute having a mapping relationship with the first resume field attribute according to a pre-configured mapping relationship, and the displaying unit 405 displays the target resume field on the front page, and thus, when any resume parsing interface needs to be called, the user only needs to configure the mapping relation, the method can easily realize the calling of the resume parsing interface without modifying the codes of the user program, greatly reduces the operation of the user, and can realize convenient and fast expansion of the resume parsing interface.
Referring to fig. 5, a resume parsing interface calling device in an embodiment of the present application is described below, where an embodiment of the resume parsing interface calling device in the embodiment of the present application includes:
the resume parsing interface calling device 500 may include one or more Central Processing Units (CPUs) 501 and a memory 505, where one or more applications or data are stored in the memory 505.
The resume parsing interface invocation means 500 may also include one or more power supplies 502, one or more wired or wireless network interfaces 503, one or more input-output interfaces 504, and/or one or more operating systems, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The central processing unit 501 may perform the operations performed by the resume parsing interface calling device in the embodiments shown in fig. 1 to fig. 2, which are not described herein again.
An embodiment of the present application further provides a computer storage medium, where one embodiment includes: the computer storage medium stores instructions that, when executed on a computer, cause the computer to perform the operations performed by the resume parsing interface invoking device in the embodiments of fig. 1-2.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
Claims (10)
1. A resume parsing interface calling method is applied to a resume parsing interface calling device, and comprises the following steps:
running a user program, wherein the user program comprises a front-end page;
configuring a mapping relation between a first resume field attribute corresponding to the user program and a second resume field attribute corresponding to any one target resume analysis interface;
receiving a resume analysis result returned by the target resume analysis interface, wherein the resume analysis result comprises a plurality of resume field attributes and a resume field corresponding to each resume field attribute;
determining a second resume field attribute having the mapping relation with the first resume field attribute from the plurality of resume field attributes, and extracting a target resume field corresponding to the second resume field attribute;
and determining the target resume field as the resume field corresponding to the first resume field attribute, and displaying the target resume field in the front-end page.
2. The method of claim 1, further comprising:
configuring the resume field corresponding to the first resume field attribute into a privacy field;
the displaying the target resume field in the front-end page includes:
determining the target resume field as a privacy field;
desensitizing the target resume field according to a preset desensitization rule to obtain a desensitized target resume field;
displaying the desensitized target resume field in the front page.
3. The method according to claim 2, wherein configuring the resume field corresponding to the first resume field attribute as a privacy field comprises:
acquiring a login account for logging in the user program, and judging whether the login account has the authority of checking the resume field corresponding to the first resume field attribute;
and if not, configuring the resume field corresponding to the first resume field attribute as a privacy field.
4. The method according to claim 1, wherein the determining a second resume field attribute having the mapping relationship with the first resume field attribute from the plurality of resume field attributes, and extracting a target resume field corresponding to the second resume field attribute comprises:
replacing a second resume field attribute having the mapping relation with the first resume field attribute in the resume analysis result with the first resume field attribute to obtain an analysis result processing file, wherein the first resume field attribute in the analysis result processing file corresponds to the target resume field;
and extracting the target resume field from the analysis result processing file.
5. The method of claim 4, wherein after obtaining the parsing result processing file, the method further comprises:
and carrying out format conversion on the analysis result processing file, converting the analysis result processing file into a JavaBean object, and converting the JavaBean object into a data format preset by the user program.
6. The method according to claim 1, wherein the configuring the mapping relationship between the first resume field attribute corresponding to the user program and the second resume field attribute corresponding to any one target resume parsing interface comprises:
obtaining an interface document of the target resume analysis interface, and determining the second resume field attribute according to the interface document of the target resume analysis interface;
determining the first resume field attribute according to the second resume field attribute;
and configuring the mapping relation between the first resume field attribute and the second resume field attribute.
7. The method according to any one of claims 1 to 6, wherein the receiving the resume parsing result returned by the target resume parsing interface comprises:
receiving an original resume uploaded by a user through the front-end page;
and calling the target resume analysis interface to analyze the original resume, and obtaining a resume analysis result of the original resume returned by the target resume analysis interface.
8. A resume parsing interface invocation mechanism, said mechanism comprising:
the running unit is used for running a user program, and the user program comprises a front-end page;
the configuration unit is used for configuring the mapping relation between the first resume field attribute corresponding to the user program and the second resume field attribute corresponding to any target resume analysis interface;
the receiving unit is used for receiving the resume analysis result returned by the target resume analysis interface, and the resume analysis result comprises a plurality of resume field attributes and resume fields corresponding to each resume field attribute;
the extracting unit is used for determining a second resume field attribute having the mapping relation with the first resume field attribute from the plurality of resume field attributes and extracting a target resume field corresponding to the second resume field attribute;
and the display unit is used for determining the target resume field as the resume field corresponding to the first resume field attribute and displaying the target resume field in the front-end page.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110639428.0A CN113268306B (en) | 2021-06-08 | 2021-06-08 | Resume analysis interface calling method and device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110639428.0A CN113268306B (en) | 2021-06-08 | 2021-06-08 | Resume analysis interface calling method and device and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113268306A true CN113268306A (en) | 2021-08-17 |
CN113268306B CN113268306B (en) | 2024-03-19 |
Family
ID=77234671
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110639428.0A Active CN113268306B (en) | 2021-06-08 | 2021-06-08 | Resume analysis interface calling method and device and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113268306B (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040230900A1 (en) * | 2003-05-16 | 2004-11-18 | Microsoft Corporation | Declarative mechanism for defining a hierarchy of objects |
US20090204888A1 (en) * | 2008-01-24 | 2009-08-13 | Canon Kabushiki Kaisha | Document processing apparatus, document processing method, and storage medium |
WO2018033063A1 (en) * | 2016-08-16 | 2018-02-22 | 中兴通讯股份有限公司 | Interface file parsing method and apparatus |
CN108388622A (en) * | 2018-02-12 | 2018-08-10 | 平安科技(深圳)有限公司 | Api interface dynamic creation method, device, computer equipment and storage medium |
CN108932294A (en) * | 2018-05-31 | 2018-12-04 | 平安科技(深圳)有限公司 | Resume data processing method, device, equipment and storage medium based on index |
CN108984625A (en) * | 2018-06-19 | 2018-12-11 | 平安科技(深圳)有限公司 | Information filtering method, device, computer equipment and storage medium |
CN109086046A (en) * | 2018-08-02 | 2018-12-25 | 中国建设银行股份有限公司 | A kind of front-end code automatic generation method and system based on interface specification document |
CN109460220A (en) * | 2018-10-19 | 2019-03-12 | 泰康保险集团股份有限公司 | The predefined code generating method of message, device, electronic equipment and storage medium |
CN110377560A (en) * | 2019-07-18 | 2019-10-25 | 中科鼎富(北京)科技发展有限公司 | A kind of structural method and device of biographic information |
CN110610196A (en) * | 2019-08-14 | 2019-12-24 | 平安科技(深圳)有限公司 | Desensitization method, system, computer device and computer-readable storage medium |
CN110647350A (en) * | 2019-08-30 | 2020-01-03 | 深圳壹账通智能科技有限公司 | Interface document generation method and device, computer equipment and storage medium |
CN111241270A (en) * | 2018-11-12 | 2020-06-05 | 马上消费金融股份有限公司 | Resume processing method and device |
CN111737969A (en) * | 2020-07-27 | 2020-10-02 | 北森云计算有限公司 | Resume parsing method and system based on deep learning |
CN112114787A (en) * | 2020-09-27 | 2020-12-22 | 睿视(苏州)视频科技有限公司 | Report generation method and device and storage medium |
-
2021
- 2021-06-08 CN CN202110639428.0A patent/CN113268306B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040230900A1 (en) * | 2003-05-16 | 2004-11-18 | Microsoft Corporation | Declarative mechanism for defining a hierarchy of objects |
US20090204888A1 (en) * | 2008-01-24 | 2009-08-13 | Canon Kabushiki Kaisha | Document processing apparatus, document processing method, and storage medium |
WO2018033063A1 (en) * | 2016-08-16 | 2018-02-22 | 中兴通讯股份有限公司 | Interface file parsing method and apparatus |
CN108388622A (en) * | 2018-02-12 | 2018-08-10 | 平安科技(深圳)有限公司 | Api interface dynamic creation method, device, computer equipment and storage medium |
CN108932294A (en) * | 2018-05-31 | 2018-12-04 | 平安科技(深圳)有限公司 | Resume data processing method, device, equipment and storage medium based on index |
CN108984625A (en) * | 2018-06-19 | 2018-12-11 | 平安科技(深圳)有限公司 | Information filtering method, device, computer equipment and storage medium |
CN109086046A (en) * | 2018-08-02 | 2018-12-25 | 中国建设银行股份有限公司 | A kind of front-end code automatic generation method and system based on interface specification document |
CN109460220A (en) * | 2018-10-19 | 2019-03-12 | 泰康保险集团股份有限公司 | The predefined code generating method of message, device, electronic equipment and storage medium |
CN111241270A (en) * | 2018-11-12 | 2020-06-05 | 马上消费金融股份有限公司 | Resume processing method and device |
CN110377560A (en) * | 2019-07-18 | 2019-10-25 | 中科鼎富(北京)科技发展有限公司 | A kind of structural method and device of biographic information |
CN110610196A (en) * | 2019-08-14 | 2019-12-24 | 平安科技(深圳)有限公司 | Desensitization method, system, computer device and computer-readable storage medium |
CN110647350A (en) * | 2019-08-30 | 2020-01-03 | 深圳壹账通智能科技有限公司 | Interface document generation method and device, computer equipment and storage medium |
CN111737969A (en) * | 2020-07-27 | 2020-10-02 | 北森云计算有限公司 | Resume parsing method and system based on deep learning |
CN112114787A (en) * | 2020-09-27 | 2020-12-22 | 睿视(苏州)视频科技有限公司 | Report generation method and device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113268306B (en) | 2024-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10726195B2 (en) | Filtered stylesheets | |
CN108829727B (en) | Data storage method and device, computer equipment and storage medium | |
CN109725901B (en) | Front-end code development method, device, equipment and computer storage medium | |
US10277702B2 (en) | Method and apparatus for accessing an enterprise resource planning system via a mobile device | |
WO2019134340A1 (en) | Salary calculation method, application server, and computer readable storage medium | |
US20190370314A1 (en) | Method, device, and system for transmitting information | |
WO2015000259A1 (en) | Method and apparatus for establishing huge character library, and character display method and apparatus | |
US10147071B2 (en) | Visual representation of an email chain | |
CN111881650A (en) | PDF document generation method and device and electronic equipment | |
CN111683098A (en) | Anti-crawler method and device, electronic equipment and storage medium | |
WO2023092580A1 (en) | Page display method and apparatus, storage medium, and electronic device | |
CN113220273A (en) | Micro front-end application resource processing method, device, equipment and medium | |
WO2023169215A1 (en) | Page display method and apparatus, storage medium and electronic device | |
CN109614592B (en) | Text processing method and device, storage medium and electronic equipment | |
CN113268306B (en) | Resume analysis interface calling method and device and computer storage medium | |
CN111198738A (en) | Mobile terminal page display method and device and electronic equipment | |
CN116049114A (en) | Processing method, processor and storage medium for internationalization log | |
CN115509668A (en) | Method, device and equipment for constructing front-end page analytic framework and storage medium | |
EP2354941B1 (en) | Mainframe injection component and method for manipulating data packets communicated between emulators and mainframes | |
CN112199335A (en) | Generation method and generation system of operation log | |
CN114443990A (en) | URL (Uniform resource locator) normalization method and device | |
CN112486484A (en) | Webpage version generation method and device | |
CN111026317A (en) | Method, device and storage medium for determining user operation | |
JP4740425B2 (en) | Character code input support system, character code input support program | |
US8291311B2 (en) | Web display program conversion system, web display program conversion method and program for converting web display program |
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 |