Method and device for analyzing data based on timeliness information of applicant and electronic equipment
By setting up a message middleware and information comparison mechanism in the recruitment website, the real-time and integration problems of timely information processing for applicants are solved, real-time verification of information and the authenticity of portrait data are achieved.
Patent Information
- Application Number
- CN202411925110.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-18
AI Technical Summary
In the prior art, it is difficult to realize the real-time processing of applicant timeliness information and the integration of historical data in recruitment websites, resulting in information lag and the inability to verify the validity of predetermined information in resume information.
By setting up the upstream and downstream message middleware in the recruitment website, collecting new messages according to the preset cycle, and comparing them with the historical record information in the information portrait table, it is automatically determined whether to send timeliness information to the downstream business party for information verification.
It improves the real-time nature of data processing, realizes integration with historical record information, and verifies timely information, improves the authenticity of data in the information portrait, so that the information can be more effective in exerting its value.
Smart Images

Figure CN119848363A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, electronic device, computer-readable storage medium and computer program product for analyzing data based on candidate timeliness information. Background Art
[0002] Generally, in the field of recruitment technology, the users of recruitment websites are mainly applicants and recruiters. Applicants often upload resume information when logging into the website. The background of the recruitment website will store the resume information in the database and establish an information portrait table of the applicant based on the resume information. The information in the information portrait table is bound to the login ID of the applicant when logging into the website. The corresponding applicant information in the information portrait table can be queried based on the login ID. In daily data maintenance, there are often two ways to process the resume information uploaded by the applicant. One is to use "days" as a unit, summarize the resume information generated on the day, analyze the summarized resume information, and update part or all of the resume information to the information portrait table based on the analysis results, resulting in information lag and failure to exert the value of the information; the other is to process the resume information uploaded by the applicant in real time, but the real-time processing in the existing technology is limited to storing the collected resume information in the information portrait table, and cannot achieve integration with historical data and determine the validity of the predetermined information in the resume information. Summary of the invention
[0003] In view of this, embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for analyzing data based on applicant timeliness information, which are used to solve at least one technical problem.
[0004] An embodiment of the present application provides a method for analyzing data based on applicant timeliness information, comprising: obtaining new messages collected by an upstream message middleware according to a first preset period, wherein the new messages include timeliness information generated by applicant activities on a recruitment website, and the timeliness information includes the applicant's login information and the applicant's resume information; deserializing the bytes of the new messages currently collected to obtain a message text; extracting json field data corresponding to the timeliness information from the message text; comparing historical record information in an information portrait table based on json field values in the json field data, wherein the information portrait table stores historical record information of old users who have registered on the recruitment website, and the historical record information includes at least personal information of applicants among the old users and company information of recruiters among the old users; importing the comparison result into the json field data in the form of a json field, wherein the comparison result includes whether the applicant is a newcomer , whether the applicant's mobile phone number is valid and whether the company name appearing in the resume information is the first time; if it is determined based on the aggregated json field data that the applicant is a newcomer and the applicant's mobile phone number is valid, the personal information corresponding to the applicant in the aggregated json field data is sent to the downstream message middleware; and, if it is determined based on the aggregated json field data that the company name is the first time appearing, the company information corresponding to the company name in the aggregated json field data is sent to the downstream message middleware; new personal information and / or company information in the downstream message middleware is obtained according to a second preset period, and the currently obtained personal information and / or company information is inserted into the business party database, so that the business party verifies the validity of the applicant's personal information and company information based on the updated data in the business party database, and if the verification is valid, the personal information and company information are inserted into the information portrait table.
[0005] Optionally, according to the method of the embodiment of the present application, the value in the json field used to represent the query result is represented by 0 or 1, where 0 corresponds to no and 1 corresponds to yes, and determining whether the applicant is a newcomer and the applicant's mobile phone number is valid based on the aggregated json field data includes: using a decision tree algorithm to determine whether the key value corresponding to whether the applicant is a newcomer in the query result is 1, if it is 1, then continue to determine whether the key value corresponding to whether the applicant's mobile phone number is valid in the query result is 1, if so, determining that the applicant is a newcomer and the applicant's mobile phone number is valid.
[0006] Optionally, according to the method of the embodiment of the present application, it also includes: if it is determined based on the aggregated json field data that the applicant is not a newcomer, and the company name corresponding to the applicant appears for the first time, the company information is verified, and if the company information verification is valid, the position corresponding to the historical record information of the applicant in the information portrait table is written; optionally, according to the method of the embodiment of the present application, the fields in the json field data corresponding to the timeliness information include: primary_id, msg_time, company_name, work, among which primary_id, msg_time correspond to login information, company_name, work correspond to resume information.
[0007] Optionally, according to the method of the embodiment of the present application, the historical record information of the information portrait table is compared based on the json field value, including: querying whether there is historical record information corresponding to the field value in the information portrait table based on the field value corresponding to primary_id.
[0008] Optionally, according to the method of the embodiment of the present application, the applicant's personal information includes: the applicant's mobile phone number, the applicant's login ID, the applicant's city, and the applicant's occupation; the company information corresponding to the applicant includes the company name, company address, and the number of company employees.
[0009] The embodiment of the present application also proposes a device for analyzing data based on the timeliness information of applicants, including: a collection module, which is used to obtain new messages collected by the upstream message middleware according to a first preset period, and the new messages include the timeliness information generated by the applicant's activities on the recruitment website, and the timeliness information includes the applicant's login information and the applicant's resume information; a deserialization byte module, which is used to deserialize the bytes of the new message currently collected to obtain a message text; an extraction module, which is used to extract json field data corresponding to the timeliness information from the message text; a comparison module, which is used to compare the historical record information in the information portrait table based on the json field value in the json field data, wherein the information portrait table stores the historical record information of old users who have registered on the recruitment website, and the historical record information includes at least the personal information of the applicants among the old users and the company information of the recruiters among the old users; an import module, which is used to import the comparison result into the json field data in the form of a json field, wherein the comparison result includes the applicant whether the applicant is a newcomer, whether the applicant's mobile phone number is valid, and whether the company name appearing in the resume information appears for the first time; a first determination module, for sending the personal information corresponding to the applicant in the aggregated json field data to the downstream message middleware if it is determined that the applicant is a newcomer and the applicant's mobile phone number is valid based on the aggregated json field data; and, a second determination module, for sending the company information corresponding to the company name in the aggregated json field data to the downstream message middleware if it is determined that the company name appears for the first time based on the aggregated json field data; an insertion module, for acquiring new personal information and / or company information in the downstream message middleware according to a second preset period, and inserting the currently acquired personal information and / or company information into the business party database, so that the business party verifies the validity of the applicant's personal information and company information based on the updated data in the business party database, and if the verification is valid, inserts the personal information and company information into the information portrait table.
[0010] An embodiment of the present application provides an electronic device, which includes a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the steps of the method described above are implemented.
[0011] An embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the method described above are implemented.
[0012] An embodiment of the present application provides a computer program product, wherein the computer program product includes computer program instructions, and when the computer program instructions are executed by a processor, the steps of the method described above are implemented.
[0013] The embodiment of the present application collects new messages in the upstream message middleware according to a preset period, and cross-compares the collected new messages with the historical record information in the information portrait table, and automatically determines whether to send the timeliness information included in the new message to the downstream business party based on the comparison result. The business party verifies the validity of the information, which not only improves the real-time performance of data processing, but also achieves integration with the historical record information. Moreover, the timeliness information collected by the present application is also verified, which improves the authenticity and reliability of the data in the information portrait. In this way, users of the information portrait table can also quickly obtain new and reliable user information, thereby enabling the data to play a greater value. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following briefly introduces the drawings in the embodiments of the present application.
[0015] Figure 1 It is a schematic diagram of a system architecture of an embodiment of the present application.
[0016] Figure 2 It is a flowchart of a method for analyzing data based on applicant timeliness information according to an embodiment of the present application.
[0017] Figure 3 It is a schematic diagram of the processing process of analyzing data based on the timeliness information of applicants in an embodiment of the present application.
[0018] Figure 4 It is a schematic diagram of an information processing process in a method for analyzing data based on candidate timeliness information in an embodiment of the present application.
[0019] Figure 5 It is a diagram of the processing process of the information portrait table in the method for analyzing data based on the timeliness information of applicants in an embodiment of the present application.
[0020] Figure 6 It is a structural block diagram of a device for analyzing data based on candidate timeliness information according to an embodiment of the present application.
[0021] Figure 7 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] The principles and spirit of the present application will be described below with reference to several exemplary embodiments. It should be understood that the purpose of providing these embodiments is to make the principles and spirit of the present application clearer and more thorough, so that those skilled in the art can better understand and implement the principles and spirit of the present application. The exemplary embodiments provided herein are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments herein, all other embodiments obtained by ordinary technicians of the art without creative work are within the scope of protection of this application.
[0023] Embodiments of the present application relate to terminal devices and / or servers. Those skilled in the art will appreciate that the embodiments of the present application may be implemented as a system, apparatus, device, method, computer-readable storage medium, or computer program product. Therefore, the present disclosure may be specifically implemented in at least one of the following forms: complete hardware, complete software, or a combination of hardware and software. According to the embodiments of the present application, the present application seeks protection for a method, apparatus, electronic device, computer-readable storage medium, and computer program product for analyzing data based on applicant timeliness information. Figure 1 Schematic diagram of a system architecture of an embodiment of the present application. Figure 1 As shown, the system includes a terminal device 102 and a server 104. Among them, the terminal device 102 may include at least one of the following: a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart TV, various wearable devices, an augmented reality AR device, a virtual reality VR device, etc. A client can be installed on the terminal device 102. For example, the client can be a client that specifically performs a specific function (such as an application app), or a client with multiple application applets (different functions) embedded in it, or a client logged in through a browser. The user can operate on the terminal device 102. For example, the user can open the client installed on the terminal device 102 and input instructions through the client operation, or the user can open the browser installed on the terminal device 102 and input instructions through the browser operation. After the terminal device 102 receives the instruction input by the user, the request information containing the instruction is sent to the server 104. After receiving the request information, the server 104 performs corresponding processing and then returns the processing result information to the terminal device 102. The user instruction is completed through a series of data processing and information interaction.
[0024] In this document, terms such as first, second, third, etc. are only used to distinguish one entity (or operation) from another entity (or operation), but not to require or imply any order or relationship between these entities (or operations).
[0025] Figure 2: is a flow chart of a method for analyzing data based on candidate timeliness information according to an embodiment of the present application, the method comprising the following steps:
[0026] S101: acquiring new messages collected by the upstream message middleware according to a first preset period, the new messages including timeliness information generated by the applicant's activities on the recruitment website, the timeliness information including the applicant's login information and the applicant's resume information;
[0027] S102: Deserialize the bytes of the currently collected new message to obtain the message text;
[0028] S103: extracting JSON field data corresponding to timeliness information from the message text;
[0029] S104: comparing the historical record information in the information portrait table based on the json field value in the json field data, wherein the information portrait table stores the historical record information of old users who have registered on the recruitment website, and the historical record information at least includes the personal information of the applicants among the old users and the company information of the recruiters among the old users;
[0030] S105: importing the comparison result into the json field data in the form of a json field, wherein the comparison result includes whether the applicant is a newcomer, whether the applicant's mobile phone number is valid, and whether the company name appearing in the resume information is the first time;
[0031] S106: If it is determined based on the aggregated JSON field data that the applicant is a newcomer and the applicant's mobile phone number is valid, then the personal information corresponding to the applicant in the aggregated JSON field data is sent to the downstream message middleware; and,
[0032] S107: If it is determined according to the aggregated JSON field data that the company name appears for the first time, the company information corresponding to the company name in the aggregated JSON field data is sent to the downstream message middleware;
[0033] S108: Obtain new personal information and / or company information in the downstream message middleware according to the second preset cycle, and insert the currently acquired personal information and / or company information into the business party database, so that the business party can verify the validity of the applicant's personal information and company information based on the updated data in the business party database. If the verification is valid, the personal information and company information are inserted into the information portrait table.
[0034] According to the processing method of the embodiment of the present application, it is necessary to obtain the messages collected in the upstream message middleware according to a certain period, wherein, in some embodiments of the present application, optionally, the first preset period can be in milliseconds, for example, new messages in the upstream message middleware can be collected every 1 millisecond, thereby greatly improving the real-time nature of information processing. For the upstream message middleware in the present application, it can be Kafka message middleware, and the new messages collected in the message middleware are obtained by subscribing to the messages in the Kafka message middleware. And these new messages include the timeliness information generated by the applicant when he is active on the recruitment website, wherein the login information in the timeliness information may include the mobile phone number, login ID, login time, login name and other information entered by the applicant when logging into the recruitment website. The resume information of the applicant may include the personal information of the applicant, such as real name, age, etc., as well as the situation of the company where the applicant has worked, such as company name, company size, etc.
[0035] In order to transmit data, the recruitment website serializes the resume information uploaded by users into a byte stream. Therefore, after collecting new messages, the new messages need to be deserialized into bytes, so that the byte stream data can be restored to the original data type. After that, the JSON field corresponding to the timeliness information is extracted from the original data type, that is, the text type data.
[0036] For example, the collected new messages are deserialized as follows: primary_id20031618, msg_time2024083, company_nameXXX, work engineer; then the json field data corresponding to the timeliness information is extracted as follows: 'primary_id':'20031618'; 'msg_time':'2024083'; 'company_name':'XXX'; 'work':'engineer'; among them, the json field data corresponding to the login information is: 'primary_id':'20031618'; 'msg_time':'2024083'; the json field values corresponding to the login information are: '20031618', '2024083'; the json field data corresponding to the applicant's resume information is: 'company_name':'XXX'; 'work':'engineer'; the json field values corresponding to the applicant's resume information are: 'XXX'; 'engineer'.
[0037] Based on the obtained json field value, the historical record information in the information portrait table can be queried. For example, the historical record information can be quickly queried based on the field value '20031618' corresponding to the primary_id in the login information to determine whether the applicant is a newcomer. In addition, it is also possible to determine whether the mobile phone number is a valid mobile phone number when the timeliness information includes the mobile phone number. For example, by comparing it with any mobile phone number in the information portrait table, if it is found that the number of digits in the mobile phone number is one less than the mobile phone number recorded in the information portrait table, it can be determined that the mobile phone number is an invalid mobile phone number, otherwise it can be determined that the mobile phone number is a valid mobile phone number. In addition, the company name corresponding to 'company_name' can be compared with the historical record information in the information portrait table. If the same company name is not stored in the historical record information, it is determined that the company name appears for the first time. After obtaining the comparison result, the comparison result is imported into the json field data in the form of a json field. For example, the summarized field data is: 'Is it a newcomer': '1', 'Is the mobile phone valid: '1', 'msg_time': '2024083010:00:00', 'primary_id': '20031618' 'company_name':
[0038] 'XXX'; 'work': 'Engineer'; 'Is the company name the first time it appears': '1'
[0039] Afterwards, a message to be sent is generated according to the summarized json fields, wherein, if it is determined according to the summarized json field data that the applicant is a newcomer and the applicant's mobile phone number is valid, the personal information corresponding to the applicant in the json field data is sent to the downstream message middleware; for example: the personal information is: 'Is it a newcomer': '1', 'Is the mobile phone number valid': '1' msg_time': '20240830 10:00:00', 'primary_id': '20031618'". If it is determined according to the summarized json field data that the company name appears for the first time, the company information corresponding to the company name in the json field data is sent to the downstream message middleware, and the company information is, for example: 'company_name': 'XXX'; 'work': 'Engineer'; 'Is the company name appearing for the first time': '1'.
[0040] The downstream system checks whether there are new messages (new personal information and / or company information) in the downstream message middleware at a certain period. If there are new messages, the currently collected new messages are inserted into the business party database. The business party can get new data from the business party database. After getting the new data, for example, the applicant's mobile phone number, the business party can call the applicant to communicate, so as to determine again whether the mobile phone number is real and valid. The business party can also contact the company after getting the new company name, or check whether the company name is a real and valid name, and write the verification result to the business party database in the form of a json field. The system can pull new messages from the business party database at regular intervals to obtain verification results, and determine whether to insert personal information and company information into the information portrait table based on the verification results.
[0041] The embodiment of the present application deserializes the bytes of the collected new message into text type, obtains json field data therefrom to clarify the attributes of the information and the specific content of the information, and then queries the information portrait table according to the data in the json field format to determine whether the applicant is a newcomer, and if the applicant is a newcomer, verify the applicant's personal information in the resume information, and determine whether the company name in the resume information appears for the first time. If it appears for the first time, verify the company information appearing in the resume information. If the verification is valid, the personal information and company information are inserted into the information portrait table, thereby improving the quality of the data in the information portrait table.
[0042] In some embodiments of the present application, optionally, the "value" in the json field used to represent the query result is represented by "0" or "1", where "0" corresponds to "no" and "1" corresponds to "yes", and the determination that the applicant is a newcomer and the applicant's mobile phone number is valid based on the aggregated json field data includes:
[0043] A decision tree algorithm is used to determine whether the key value corresponding to whether the applicant is a newcomer in the query result is "1". If it is "1", then continue to determine whether the key value corresponding to whether the applicant's mobile phone number is valid in the query result is "1". If so, it is determined that the applicant is a newcomer and the applicant's mobile phone number is valid.
[0044] In the embodiment of the present application, the summarized json field includes the comparison result, and the yes and no in the comparison result are represented by "1" and "0" respectively. In this way, the system can directly use the decision tree algorithm to identify the information in the comparison result, so that the personal information can be automatically sent to the downstream message middleware when the preset conditions are met.
[0045] In some embodiments of the present application, optionally, it also includes: if it is determined based on the aggregated json field data that the applicant is not a newcomer, and the company name corresponding to the applicant appears for the first time, the company information is verified, and if the company information is verified to be valid, the location corresponding to the historical record information of the applicant in the information portrait table is written; and the recommended position of the applicant is regenerated based on the company information in the updated information portrait table.
[0046] In some implementations of the present application, optionally, based on the aggregated json field data, it can be determined that the applicant is not a newcomer, and the company name in the applicant's resume information appears for the first time, then the data corresponding to the company information in the json field data can be sent to the downstream message middleware, and after being inserted into the business party database, the business party personnel verify the validity of the company information, and if the company information is valid, insert the company information into the corresponding position in the information portrait table, where the corresponding position refers to the position where the applicant's information is recorded, and then the system can regenerate the recommended position based on the applicant's updated company information. For example, by analyzing the company information, it is found that the company where the applicant works is becoming less and less famous, and the position is also declining, which means that the applicant's work ability is not outstanding enough. Therefore, positions with fewer job requirements in the same type of work can be recommended to the applicant.
[0047] In some embodiments of the present application, optionally, the fields in the json field data corresponding to the timeliness information include: primary_id, msg_time, company_name, work, wherein primary_id and msg_time correspond to login information, and company_name and work correspond to resume information.
[0048] In some embodiments of the present application, optionally, the historical record information of the information portrait table is compared based on the JSON field value, including:
[0049] Based on the field value corresponding to primary_id, query whether there is historical record information corresponding to the field value in the information portrait table.
[0050] In the embodiment of the present application, primary_id is the login ID of the applicant when logging into the recruitment website. The applicant information or recruiter information recorded in the information portrait table uses the login id as the identity identifier. Therefore, the historical record information can be quickly compared through the login ID to improve the comparison efficiency.
[0051] In some embodiments of the present application, optionally, the applicant's personal information includes: the applicant's mobile phone number, the applicant's login ID, the applicant's city, and the applicant's occupation; the company information corresponding to the applicant includes the company name, company address, and the number of company employees.
[0052] The above describes the implementation methods and advantages of the embodiments of the present application through multiple embodiments. The following describes the specific processing process of the embodiments of the present application in detail with reference to specific examples.
[0053] Figure 3 It is a schematic diagram of the processing process of analyzing data based on the timeliness information of applicants in an embodiment of the present application. Figure 4 It is a schematic diagram of an information processing process in a method for analyzing data based on candidate timeliness information in an embodiment of the present application.
[0054] Combination Figure 3 and Figure 4 As shown, the information processing process in the method for analyzing data based on the timeliness information of applicants in this application includes the following steps:
[0055] Step 1: Use Java or other programming languages to listen to messages in the upstream middleware (for example, open source Kafka) and obtain new message events in milliseconds.
[0056] Step 2: After getting the new message, deserialize the bytes into text type and parse out the JSON field data. The parsed JSON field data includes primary_id, msg_time, company_name, work fields and corresponding field values.
[0057] Step 3: Query the information portrait table system through primary_id to obtain the information corresponding to this primary_id; summarize the information corresponding to primary_id and the parsed information to obtain the following information: {'Is it a newcomer': '1', Is the mobile phone valid: '1', 'msg_time': '20240830 10:00:00', 'primary_id': '100…', 'Has there been any product purchases in the past': 1', 'City': 'Shanghai', 'Occupation': 'Engineer', 'Have you clicked on ads': 'Yes', 'Is the company an old customer': '1', 'Company address': 'Shanghai', 'Scale', '100 people'};
[0058] Step 4: Process the data according to the obtained JSON summary information;
[0059] First: Use the decision tree algorithm to determine whether the mobile phone number is valid. If it is invalid, discard it. If it is valid, determine whether it is a new user. If it is a new user, generate a message to be sent {'primary_id':'100...', 'Recommend career guidance and job recommendation':'Yes', 'City':'Shanghai', 'Occupation':'Engineer'},
[0060] Second: Determine whether the company is a new user. If it is a new user, 'Is the company an old customer': 'New / Old', 'Company Address': 'Shanghai', 'Scale', '100 people' {'Company Name': 'Company Name', 'Is the company an old customer': 'New / Old', 'Company Address': 'Shanghai', 'Scale', '100 people'}.
[0061] Step 5: Send the generated message in the form of two json fields to the subsequent processing tracking system, {'primary_id':'100...', 'Recommend career guidance and job recommendation':'Yes', 'City':'Shanghai', 'Occupation':'Engineer'} and {'Company name':'Company name', 'Is the company an old customer':'New / Old', 'Company address':'Shanghai', 'Scale','100 people'}
[0062] The above process is similar to Figure 3 The processing steps in App, web, etc. correspond to real-time information flow and real-time information processing systems. In addition, Figure 3 In the processing process shown, the real-time information processing system will send the processed message to the downstream message middleware. The message in the downstream message middleware flows to the business party. After the business party verifies the message, it sends the message to the information portrait table. At the same time, when the real-time information processing system processes the information, it processes it in combination with the information in the information portrait table.
[0063] Figure 5 This is a process for processing the information portrait table in a method for analyzing data based on the timeliness information of applicants in an embodiment of the present application. Figure 5 As shown, the processing process includes the following steps:
[0064] Step 1: Use open source database storage (such as open source systems such as StarRocks) to create a new information portrait table (information dimension table) dim_info_total. The table fields are as follows:
[0065] {primary_id,log_time,value_level,value_type,company_names,company_count,related_person,show_times,is_used}.
[0066] Step 2: Use Java or other programming languages to monitor messages in the upstream middleware (such as open source Kafka) and obtain new message events in milliseconds.
[0067] Step 3: Monitor messages in the downstream consumer middleware (open source Kafka, etc. can be used) and obtain new message events in milliseconds.
[0068] Step 4: Serialize the newly acquired message, parse out the primary_id, log_time, company_name, and work fields, parse the downstream user message, and parse out {'primary_id': 'valid', 'Is the company valid': 'valid', 'Can be promoted': 'yes'}.
[0069] Step 5: Insert the obtained primary_id and company information into the information table for subsequent use.
[0070] In summary, when a real-time computing platform is processing a large amount of data association, the offline data may be too large and the processing delay may increase. The method for analyzing data based on the timeliness information of applicants proposed in the embodiment of the present application adjusts the time width of historical data to achieve timely processing of valid messages and timely discard of historical invalid data, thereby ensuring the timeliness and quality of the data and effectively improving the accuracy of the data by verifying the validity of the data.
[0071] Corresponding to the method embodiment of the present application, the present application also provides a device for analyzing data based on the timeliness information of applicants, such as Figure 6 As shown, the device 100 for analyzing data based on the timeliness information of applicants includes:
[0072] The collection module 110 is used to obtain new messages collected by the upstream message middleware according to a first preset period, wherein the new messages include timeliness information generated by the applicant's activities on the recruitment website, and the timeliness information includes the applicant's login information and the applicant's resume information;
[0073] The deserialization byte module 120 is used to deserialize the bytes of the new message currently collected to obtain the message text;
[0074] An extraction module 130, used to extract JSON field data corresponding to timeliness information from the message text;
[0075] A comparison module 140 is used to compare the historical record information in the information portrait table based on the JSON field value in the JSON field data, wherein the information portrait table stores the historical record information of old users who have registered on the recruitment website, and the historical record information at least includes the personal information of the applicants among the old users and the company information of the recruiters among the old users;
[0076] An import module 150, for importing the comparison result into json field data in the form of json field, wherein the comparison result includes whether the applicant is a newcomer, whether the applicant's mobile phone number is valid, and whether the company name appearing in the resume information appears for the first time;
[0077] The first determination module 160 is used to send the personal information corresponding to the applicant in the aggregated JSON field data to the downstream message middleware if it is determined that the applicant is a newcomer and the applicant's mobile phone number is valid according to the aggregated JSON field data; and
[0078] A second determination module 170 is configured to send the company information corresponding to the company name in the aggregated JSON field data to the downstream message middleware if it is determined that the company name appears for the first time according to the aggregated JSON field data;
[0079] Insertion module 180 is used to obtain new personal information and / or company information in the downstream message middleware according to the second preset cycle, and insert the currently obtained personal information and / or company information into the business party database, so that the business party can verify the validity of the applicant's personal information and company information based on the updated data in the business party database. If the verification is valid, the personal information and company information are inserted into the information portrait table.
[0080] The electronic device in the embodiment of the present application may be a user terminal device, a server, other computing devices, or a cloud server. Figure 7 It is a schematic diagram of the hardware structure of an electronic device of an embodiment of the present application. The electronic device may include a processor 601 and a memory 602 storing computer program instructions. When the processor 601 executes the computer program instructions, it implements the process or function of any of the above-mentioned embodiments.
[0081] Specifically, the processor 601 may include a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application. The memory 602 may include a large-capacity memory for data or instructions. For example, the memory 602 may be at least one of the following: a hard disk drive (HDD), a read-only memory (ROM), a random access memory (RAM), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, a universal serial bus (USB) drive or other physical / tangible memory storage device. For another example, the memory 602 may include a removable or non-removable (or fixed) medium. For another example, the memory 602 may be inside or outside the integrated gateway disaster recovery device. The memory 602 may be a non-volatile solid-state memory. In other words, the memory 602 usually includes a tangible (non-transitory) computer-readable storage medium (such as a memory device) encoded with computer-executable instructions, and when the software is executed (such as executed by one or more processors), the operation described in the method of the embodiment of the present application can be performed. The processor 601 implements the process or function of any method in the above embodiments by reading and executing the computer program instructions stored in the memory 602.
[0082] In one example, Figure 7 The electronic device shown may also include a communication interface 603 and a bus 610. Among them, the processor 601, the memory 602, and the communication interface 603 are connected through the bus 610 and complete the communication between each other. The communication interface 603 is mainly used to realize the communication between each module, device, unit and / or device in the embodiment of the present application. The bus 610 includes hardware, software or both, and can couple the components of the online data traffic billing device to each other. For example, the bus may include at least one of the following: an accelerated graphics port (AGP) or other graphics bus, an enhanced industrial standard architecture (EISA) bus, a front-end bus (FSB), a hypertransport (HT) interconnect, an industrial standard architecture (ISA) bus, an infinite bandwidth interconnect, a low pin count (LPC) bus, a memory bus, a micro channel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable buses. The bus 610 may include one or more buses. Although the embodiments of the present application describe or illustrate a specific bus, the embodiments of the present application may consider any suitable bus or interconnection method.
[0083] In combination with the method in the above embodiments, an embodiment of the present application also provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the process or function of any method in the above embodiments is implemented.
[0084] In addition, an embodiment of the present application further provides a computer program product, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the process or function of any one of the methods in the above embodiments is implemented.
[0085] The above exemplarily describes the flowcharts and / or block diagrams of the methods, devices, systems and computer program products of the embodiments of the present application, and describes the relevant various aspects. It should be understood that each box or combination thereof in the flowchart and / or block diagram can be implemented by computer program instructions, or by dedicated hardware that performs a specified function or action, or by a combination of dedicated hardware and computer instructions. For example, these computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to form a machine that enables these instructions executed by such a processor to enable the implementation of the functions / actions specified in each box or combination thereof in the flowchart and / or block diagram. Such a processor can be a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.
[0086] The functional blocks shown in the structured block diagram of the embodiment of the present application can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc.; when implemented in software, it is a program or code segment used to perform the required task. The program or code segment can be stored in a memory, or transmitted on a transmission medium or a communication link via a data signal carried in a carrier. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0087] It should be noted that the present application is not limited to the specific configurations and processes described above or shown in the figures. The above is only a specific implementation mode of the present application. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the described system, device, module or unit can refer to the corresponding process in the method embodiment without further description. It should be understood that the scope of protection of the present application is not limited to this. Any technician familiar with the technical field can think of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and these modifications or substitutions should be included in the scope of protection of the present application.
Claims
1. A method for analyzing data based on candidate timeliness information, characterized in that: include: Acquire new messages collected by the upstream message middleware according to a first preset period, wherein the new messages include timeliness information generated by the applicant's activities on the recruitment website, and the timeliness information includes the applicant's login information and the applicant's resume information; Deserialize the bytes of the new message currently collected to obtain the message text; Extract the JSON field data corresponding to the timeliness information from the message text; Compare the historical record information in the information portrait table based on the JSON field value in the JSON field data, wherein the information portrait table stores the historical record information of old users who have registered on the recruitment website, and the historical record information at least includes the personal information of the applicants among the old users and the company information of the recruiters among the old users; Import the comparison results into the json field data in the form of json fields, wherein the comparison results include whether the applicant is a newcomer, whether the applicant's mobile phone number is valid, and whether the company name that appears in the resume information appears for the first time; If it is determined according to the aggregated JSON field data that the applicant is a newcomer and the applicant's mobile phone number is valid, then the personal information corresponding to the applicant in the aggregated JSON field data is sent to the downstream message middleware; and, If it is determined that the company name appears for the first time according to the aggregated JSON field data, the company information corresponding to the company name in the aggregated JSON field data is sent to the downstream message middleware; Acquire new personal information and / or company information in the downstream message middleware according to the second preset cycle, and insert the currently acquired personal information and / or company information into the business party database, so that the business party can verify the validity of the applicant's personal information and company information based on the updated data in the business party database. If the verification is valid, insert the personal information and company information into the information portrait table.
2. The method according to claim 1, characterized in that The value in the json field used to represent the query result is represented by 0 or 1, where 0 corresponds to no and 1 corresponds to yes. The determination that the applicant is a newcomer and the applicant's mobile phone number is valid based on the aggregated json field data includes: A decision tree algorithm is used to determine whether the key value corresponding to whether the applicant is a newcomer in the query result is 1. If it is 1, then continue to determine whether the key value corresponding to whether the applicant's mobile phone number is valid in the query result is 1. If so, it is determined that the applicant is a newcomer and the applicant's mobile phone number is valid.
3. The method according to claim 1, characterized in that Also includes: If it is determined based on the aggregated JSON field data that the applicant is not a newcomer and the company name corresponding to the applicant appears for the first time, the company information is verified and, if the company information is verified to be valid, is written into the position corresponding to the historical record information of the applicant in the information portrait table; Regenerate the recommended position for the applicant based on the company information in the updated information profile table.
4. The method according to claim 1, characterized in that: The fields in the json field data corresponding to the timeliness information include: primary_id, msg_time, company_name, work, among which primary_id and msg_time correspond to login information, and company_name and work correspond to resume information.
5. The method according to claim 4, characterized in that The historical record information of the information portrait table based on the JSON field value comparison includes: Based on the field value corresponding to primary_id, query whether there is historical record information corresponding to the field value in the information portrait table.
6. The method according to claim 1, characterized in that The applicant's personal information includes: applicant's mobile phone number, applicant's login ID, applicant's city, applicant's occupation; The company information corresponding to the applicant includes the company name, company address and the number of employees in the company.
7. A device for analyzing data based on timeliness information of job applicants, characterized in that: include: A collection module, configured to obtain new messages collected by the upstream message middleware according to a first preset period, wherein the new messages include timeliness information generated by the applicant's activities on the recruitment website, and the timeliness information includes the applicant's login information and the applicant's resume information; A deserialization byte module is used to deserialize the bytes of the new message currently collected to obtain the message text; An extraction module is used to extract JSON field data corresponding to timeliness information from the message text; A comparison module, used for comparing the historical record information in the information portrait table based on the JSON field value in the JSON field data, wherein the information portrait table stores the historical record information of old users who have registered on the recruitment website, and the historical record information at least includes the personal information of the applicants among the old users and the company information of the recruiters among the old users; An import module, used to import the comparison results into json field data in the form of json fields, wherein the comparison results include whether the applicant is a newcomer, whether the applicant's mobile phone number is valid, and whether the company name appearing in the resume information appears for the first time; A first determination module is used for sending the personal information corresponding to the applicant in the aggregated JSON field data to the downstream message middleware if it is determined that the applicant is a newcomer and the applicant's mobile phone number is valid according to the aggregated JSON field data; and A second determination module is used for sending the company information corresponding to the company name in the aggregated JSON field data to the downstream message middleware if it is determined that the company name appears for the first time according to the aggregated JSON field data; An insertion module is used to obtain new personal information and / or company information in the downstream message middleware according to a second preset cycle, and insert the currently obtained personal information and / or company information into the business party database, so that the business party can verify the validity of the applicant's personal information and company information based on the updated data in the business party database. If the verification is valid, the personal information and company information are inserted into the information portrait table.
8. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; when the electronic device executes the computer program instructions, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that It comprises computer program instructions, which implement the method according to any one of claims 1 to 6 when executed by a processor.