An online recruitment information publishing method and system based on RPA and AI
By simulating human interaction behavior and Levenshtein distance algorithm to optimize OCR recognition results, it solves the problems of anti-crawlers and recognition errors in the release of RPA recruitment information, improves release efficiency and accuracy, and enhances the company's recruitment competitiveness.
Patent Information
- Application Number
- CN202410394564.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-02
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-04-02
AI Technical Summary
The existing RPA recruitment information release technology can easily trigger anti-crawler measures on recruitment websites, resulting in blocked releases or account bans, and OCR recognition errors affect the accuracy of release results.
The RPA robot is programmed to simulate human interaction behavior, set reasonable access intervals and randomize mouse movement trajectories, combine with the Levenshtein distance algorithm to optimize OCR recognition results, and dynamically adjust the waiting time to avoid anti-crawlers and improve recognition accuracy.
It significantly improves the efficiency, success rate and accuracy of online recruitment information release, reduces the workload of the human resources department, ensures the timely and accurate release of recruitment information, and enhances the competitiveness of enterprises in the talent market.
Smart Images

Figure BDA0004773599610000011 
Figure BDA0004773599610000031 
Figure BDA0004773599610000041
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of online recruitment information, and specifically relates to an online recruitment information publishing method and system based on RPA and AI. Background Art
[0002] RPA's recruitment information release is designed to efficiently and automatically publish recruitment information on multiple recruitment websites. It generally includes: using RPA robots or special devices as the execution subject to obtain release instructions containing the job identification (such as "Position 1", "Position A2") and the target recruitment website identification (such as "Website 1", "Website B2"). The source can be a client (such as a browser, App) or a conversational robot.
[0003] According to the job identification, detailed information of the corresponding job is obtained from the stored recruitment information database (such as Excel, Word file).
[0004] According to the website ID, obtain the publishing steps (login, fill in, publish, etc.) of each website from the publishing process library, including login credentials (website, account, password). According to the website sequence or batch mode, follow the corresponding process to automatically publish job information to each designated website. After publishing, take a screenshot and use OCR to confirm the success of the publication, and feedback the results to the client or email.
[0005] There are many technical issues with the existing RPA recruitment information publishing technology:
[0006] Some recruitment websites have anti-crawler measures to prevent the abuse of automation tools. RPA robots may trigger these mechanisms when executing the publishing process and be misjudged as malicious behavior, resulting in publishing being blocked or the account being banned.
[0007] There may be recognition errors when using OCR technology to analyze the screenshots of the published results, especially when dealing with complex layouts, special fonts, low-quality images or non-standard format text. Recognition errors may affect the correct judgment of the published results, resulting in false positives or false negatives. Summary of the invention
[0008] The purpose of the present invention is to provide an online recruitment information publishing method based on RPA and AI to solve the problems raised in the above background technology.
[0009] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0010] The online recruitment information publishing method based on RPA and AI includes the following steps:
[0011] Program RPA robots to simulate normal interactive behaviors of human users, set reasonable access intervals, randomize mouse movement trajectories, and simulate keyboard input delays; use RPA robots to obtain information about available positions and target recruitment websites, and automatically publish the job information to each designated website in accordance with the corresponding process of the target recruitment website. After publishing, take screenshots and use OCR to confirm the successful publishing. In the process of using OCR to confirm the successful publishing, use the Levenshtein distance algorithm to measure the difference between the OCR recognition result and the possible correct answer, and infer the most likely correct text based on this.
[0012] Preferably, an RPA robot is used to obtain information about available positions and target recruitment websites, and automatically publishes the position information to various designated websites according to the corresponding process of the target recruitment website, including the following steps:
[0013] Organize job information: collect detailed information about the jobs to be posted; list of target recruitment websites: determine which recruitment websites to post job information on; install and configure RPA tools, create or import RPA robot projects, and set necessary environment variables, connectors, and library dependencies; write RPA scripts to simulate human users logging into the target recruitment websites; design and write corresponding RPA scripts for the publishing process of each target website, covering the following links: Navigate to the publishing page: simulate clicking on menus, links, or search keywords to reach the job posting or editing page; fill in job information: automatically fill in the various fields of the publishing form based on the structured data of the job information to be recruited; submit for publication: simulate clicking on the "Publish", "Save", or "Submit" button to complete the job information release.
[0014] Preferably, when using the Levenshtein distance algorithm to measure the difference between the OCR recognition result and the possible correct answer, and inferring the most likely correct text based on it, the steps are:
[0015] Assume that the lengths of strings `S` and `T` are `m` and `n` respectively, `D[i,j]` represents the Levenshtein distance between the first `i` characters of `S` and the first `j` characters of `T`, `s[i]` and `t[j]` represent the `i`-th and `j`-th characters of `S` and `T` respectively, then the recursive formula is:
[0016]
[0017] Among them, `(s[i]!=t[j])` is a conditional expression. When `s[i]` is equal to `t[j]`, the value is 0, otherwise it is 1, indicating whether a replacement operation is needed. `D[m,n]` is the Levenshtein distance between the strings `S` and `T`;
[0018] Based on the recruitment business scenario, obtain or infer possible correct texts as reference answers;
[0019] Using the above recursive formula, calculate the Levenshtein distance between the OCR recognition result and the possible correct answer;
[0020] Set a threshold `threshold`. If the Levenshtein distance is less than or equal to `threshold`, the difference between the recognition result and the possible correct answer is considered small and acceptable; otherwise, the recognition result may have a large error and needs further processing; among multiple recognition results, the recognition result with the smallest Levenshtein distance to the possible correct answer is selected as the most likely correct text.
[0021] Preferably, the RPA robot is programmed to simulate the normal interactive behavior of human users, set a reasonable access interval, randomize the mouse movement trajectory, and simulate keyboard input delay. The specific steps are as follows: Use an RPA tool that supports advanced interactive functions to set the waiting time: insert a `Wait` or `Delay` action in the RPA process, set a reasonable delay to simulate the time it takes for humans to read page content or think, and add waiting time before and after key operations; dynamically adjust the interval: use variables or functions to dynamically calculate the waiting time based on the actual network conditions and server response speed factors, so that it fluctuates randomly within a certain range, which is closer to real user behavior; simulate the mouse movement path: write code to directly specify the random path between the mouse from the current position to the target element; simulate mouse movement in a browser environment, and control the mouse movement trajectory through JavaScript to make it more natural; insert typing delay: add a random delay to each character input operation in the RPA process to simulate the interval when humans type; simulate typing speed: set different typing speeds to simulate the typing habits of different users.
[0022] Preferably, according to the actual network conditions and server response speed factors, variables or functions are used to dynamically calculate the waiting time so that it fluctuates randomly within a certain range, which is closer to the real user behavior. Specifically:
[0023] Use network diagnostic tools to obtain network latency as a quantitative indicator of network status; for HTTP(S) requests, obtain server processing time through the `X-Response-Time` and `Server-Timing` fields in the HTTP response header, or use third-party APIs to obtain page loading time;
[0024] The server response time is actually measured during the execution of the RPA robot; the response time is used as an important factor in calculating the waiting time to ensure that the waiting time matches the server processing speed. The formula is:
[0025] ```math
[0026] WaitTime=BaseWaitTime+α*ResponseTime
[0027] ```Where:
[0028] `WaitTime` is the final calculated waiting time;
[0029] `BaseWaitTime` is a basic waiting time, which is the minimum waiting value;
[0030] `α` is the response time impact coefficient, which indicates the degree of impact of response time on waiting time;
[0031] `ResponseTime` is the actual measured server response time;
[0032] Taking network latency as another factor in calculating the waiting time ensures that the waiting time is increased in high latency environments. The formula is:
[0033] ```math
[0034] WaitTime=BaseWaitTime+β*NetworkLatency
[0035] ```
[0036] in:
[0037] `WaitTime` is the final calculated waiting time;
[0038] `BaseWaitTime` is a basic waiting time, which is the minimum waiting value;
[0039] `β` is the network delay impact coefficient, which indicates the impact of network delay on waiting time;
[0040] `NetworkLatency` is the actual measured network latency;
[0041] Add a random fluctuation value to the calculated basic waiting time to simulate the uncertainty of human operation. The formula is:
[0042] ```math
[0043] WaitTime=CalculatedWaitTime+RandomVariance
[0044] ```
[0045] in:
[0046] `CalculatedWaitTime` is the waiting time calculated based on the server response time and network delay;
[0047] `RandomVariance` is a random value within the specified range, representing the random fluctuation of the waiting time.
[0048] Preferably, detailed information of the positions to be posted includes, but is not limited to, job title, job description, job requirements, salary and benefits, work location, and contact information. Preferably, RPA tools include UiPath, Automation Anywhere, and BluePrism.
[0049] Beneficial effects: This application significantly improves the efficiency, success rate and accuracy of online recruitment information release by simulating human behavior, dynamically adjusting access intervals, optimizing OCR recognition results using the Levenshtein distance algorithm, and fully automating the job release process, and effectively solves the technical difficulties such as anti-crawler problems, recognition errors, and complexity of the release process mentioned in the background technology. This online recruitment information release method and system based on RPA and AI not only reduces the workload of the human resources department, but also ensures the timely and accurate release of recruitment information, and enhances the competitiveness of enterprises in the talent market. DETAILED DESCRIPTION
[0050] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0051] This application discloses an online recruitment information publishing method based on RPA and AI, comprising the steps of:
[0052] Program the RPA robot to simulate normal human user interaction behavior, set reasonable access intervals, randomize mouse movement trajectories, and simulate keyboard input delays:
[0053] Use RPA tools that support advanced interaction functions, such as UiPath, Automation Anywhere, BluePrism, WorkFusion, etc. These tools provide rich APIs, library functions, and design patterns to facilitate the implementation of the required simulation behaviors.
[0054] To set the waiting time:
[0055] Insert appropriate `Wait` or `Delay` actions in the RPA process, and set a reasonable delay (such as 5-10 seconds) to simulate the time it takes for humans to read page content or think. Add waiting time before and after key operations (such as clicking a link, submitting a form) to avoid too frequent operations that trigger anti-crawler mechanisms.
[0056] Dynamically adjust the interval:
[0057] According to the actual network conditions and server response speed factors, variables or functions are used to dynamically calculate the waiting time, so that it fluctuates randomly within a certain range, which is closer to the real user behavior. Specifically:
[0058] Quantification of network status:
[0059] Use network diagnostic tools (such as the ping command, traceroute, etc.) to obtain network latency (RTT) as a quantitative indicator of network conditions.
[0060] For HTTP(S) requests, obtain the server processing time through the `X-Response-Time` and `Server-Timing` fields in the HTTP response header, or use third-party APIs (such as GTMetrix and WebPageTest) to obtain the page loading time.
[0061] Server response speed quantification:
[0062] The server response time is actually measured during the execution of the RPA robot, such as recording the total time from sending a request to receiving a response.
[0063] Server response time (such as the response time of HTTP requests) can reflect the current network status and server load. You can use the response time as an important factor in calculating the waiting time to ensure that the waiting time matches the server processing speed.
[0064] formula:
[0065] ```math
[0066] WaitTime=BaseWaitTime+α*ResponseTime
[0067] ```
[0068] in:
[0069] `WaitTime` is the final calculated waiting time.
[0070] `BaseWaitTime` is a basic waiting time, such as 5 seconds, as the minimum waiting value.
[0071] `α` is the response time impact coefficient, usually between 0 and 1, indicating the impact of response time on waiting time.
[0072] `ResponseTime` is the actual measured server response time (in seconds).
[0073] Network latency (such as Ping value) can reflect the current network connection latency. Network latency can be used as another factor to calculate the waiting time, ensuring that the waiting time is increased in a high-latency environment.
[0074] formula:
[0075] ```math
[0076] WaitTime=BaseWaitTime+β*NetworkLatency
[0077] ```
[0078] in:
[0079] `WaitTime` is the final calculated waiting time.
[0080] `BaseWaitTime` is a basic waiting time, such as 5 seconds, as the minimum waiting value.
[0081] `β` is the network delay impact coefficient, usually between 0 and 1, indicating the impact of network delay on waiting time.
[0082] `NetworkLatency` is the actual measured network latency (in seconds).
[0083] In order to be closer to real user behavior, a random fluctuation value can be added to the calculated basic waiting time to simulate the uncertainty of human operations.
[0084] formula:
[0085] ```math
[0086] WaitTime=CalculatedWaitTime+RandomVariance
[0087] ```
[0088] in:
[0089] `CalculatedWaitTime` is the waiting time calculated based on server response time and network latency.
[0090] `RandomVariance` is a random value in a specified range, such as [-1,1] seconds, representing random fluctuations in the waiting time.
[0091] Pseudocode example
[0092]
[0093] Simulate the mouse movement path:
[0094] Write code to directly specify a random path between the mouse's current position and the target element. For example, set several intermediate points so that the mouse moves along a polyline instead of a straight line to the target position.
[0095] Using a headless browser:
[0096] Simulate mouse movement in the browser environment. Control the mouse movement trajectory through JavaScript or related libraries (such as Puppeteer) to make it more natural. Insert typing delay:
[0097] Add a small random delay (e.g. 10-200 milliseconds) to each character input operation in the RPA process to simulate the interval when humans type.
[0098] Simulate keystroke speed:
[0099] Set different typing speeds (such as characters per minute) to simulate the typing habits of different users.
[0100] Sample code snippet (UiPath as an example)
[0101] Here are some sample code snippets for simulating human behavior using UiPath:
[0102]
[0103] Use the RPA robot to obtain information about available positions and target recruitment websites, and automatically publish the position information to each designated website according to the corresponding process of the target recruitment website:
[0104] Collation of job information: Collect detailed information about the jobs to be posted, including but not limited to job title, job description, job requirements, salary and benefits, work location, contact information, etc., and organize them into a structured data format (such as CSV, JSON or database records).
[0105] List of target recruitment websites: Determine which recruitment websites you want to post job information on, and record the name, URL, API interface (if any) and required login credentials (such as account number, password, API key, etc.) of each website.
[0106] RPA robot configuration: Install and configure RPA tools (such as UiPath, Automation Anywhere, BluePrism), create or import RPA robot projects, set necessary environment variables, connectors, library dependencies, etc.
[0107] Website login script: Write an RPA script to simulate a human user logging into the target recruitment website, including entering a user name, password, processing a verification code (if any), clicking a login button, and other operations.
[0108] Job posting script: Design and write corresponding RPA scripts for the posting process of each target website, covering the following links:
[0109] Navigate to the posting page: simulate clicking a menu, link, or searching for keywords to reach the job posting or editing page.
[0110] Fill in job information: Automatically fill in various fields of the posting form based on the structured data of the job information to be recruited.
[0111] Upload attachments (if any): Automatically upload attachments such as job description documents, company logo, etc.
[0112] Submit and publish: simulate clicking the "Publish", "Save" or "Submit" button to complete the job information release.
[0113] After publishing, take a screenshot and use OCR to confirm that the publication is successful. In the process of using OCR to confirm that the publication is successful, the Levenshtein distance algorithm is used to measure the difference between the OCR recognition result and the possible correct answer, and the most likely correct text is inferred based on this:
[0114] Levenshtein distance is a method to measure the difference between two strings. The basic idea is to calculate the minimum number of single-character edits (insertion, deletion or substitution) required to convert one string into another. The specific formula is as follows:
[0115] Assume that the lengths of strings `S` and `T` are `m` and `n` respectively, `D[i,j]` represents the Levenshtein distance between the first `i` characters of `S` and the first `j` characters of `T`, `s[i]` and `t[j]` represent the `i`-th and `j`-th characters of `S` and `T` respectively, then the recursive formula is:
[0116]
[0117] Among them, `(s[i]!=t[j])` is a conditional expression. When `s[i]` is equal to `t[j]`, the value is 0, otherwise it is 1, indicating whether a replacement operation is needed. Finally, `D[m,n]` is the Levenshtein distance between the strings `S` and `T`.
[0118] Steps:
[0119] 1. Determine the possible correct answer: Based on the recruitment business scenario, obtain or infer the possible correct text as a reference answer.
[0120] 2. Calculate the Levenshtein distance: Using the above recursive formula, calculate the Levenshtein distance between the OCR recognition result and the possible correct answer.
[0121] 3. Difference judgment: Set a threshold value `threshold`. If the Levenshtein distance is less than or equal to `threshold`, it is considered that the difference between the recognition result and the possible correct answer is small and acceptable; otherwise, the recognition result may have a large error and requires further processing (such as manual review, etc.).
[0122] 4. Infer the most likely correct text: Among multiple recognition results, select the recognition result with the smallest Levenshtein distance to the possible correct answer as the most likely correct text.
[0123] Sample code:
[0124]
[0125] Compared with the previous online recruitment information publishing technology, this application has achieved the following progress and technical effects:
[0126] 1. Simulate human behavior to reduce anti-crawler risks:
[0127] Integration of advanced interactive functions: Using RPA tools that support advanced interactive functions (such as UiPath, AutomationAnywhere, Blue Prism, etc.) can more accurately simulate the normal interactive behavior of human users on web pages, including setting reasonable access intervals, randomizing mouse movement trajectories, and simulating keyboard input delays, effectively circumventing the anti-crawler mechanism of recruitment websites and reducing the risk of publishing being blocked or accounts being banned.
[0128] 2. Dynamically adjust the access interval:
[0129] Quantification of network status and server response time: Through network diagnostic tools, HTTP response headers and third-party APIs, network delays and server response times are quantified as the basis for calculating waiting time, which improves the accuracy and adaptability of waiting time settings.
[0130] Mathematical model optimization: The response time influence coefficient (`α`) and network delay influence coefficient (`β`), as well as the random fluctuation value (`RandomVariance`) are introduced, and a dynamic waiting time calculation formula based on the actual network conditions and server response speed is designed to ensure that the waiting time matches the current environment, thereby enhancing the authenticity and success rate of the publishing process.
[0131] 3.OCR recognition result verification and optimization:
[0132] Application of Levenshtein distance algorithm: The Levenshtein distance algorithm is introduced to measure the difference between the OCR recognition result and the possible correct answer, providing a quantitative evaluation standard for the accuracy of the recognition result.
[0133] Difference judgment and correct text inference: By setting a threshold, the difference of the recognition results is judged, and the recognition results with a small difference from the possible correct answer are automatically identified, reducing the need for manual intervention. Among multiple recognition results, the one with the smallest Levenshtein distance is selected as the most likely correct text, further improving recognition accuracy.
[0134] 4. Fully automated job posting process:
[0135] Job information and target website management: Carefully organize the job information to be recruited, clarify the list of target recruitment websites, and configure RPA tools to lay a solid foundation for automated publishing.
[0136] Customized login and publishing scripts: For each target website, we write dedicated login scripts and job posting scripts, covering the entire process from navigation to publishing page, filling in job information, uploading attachments to submitting the publication, ensuring the pertinence and success rate of the publishing process.
[0137] In summary, this application significantly improves the efficiency, success rate and accuracy of online recruitment information release by simulating human behavior, dynamically adjusting access intervals, optimizing OCR recognition results using the Levenshtein distance algorithm, and fully automating the job release process, and effectively solves the technical difficulties such as anti-crawler problems, recognition errors, and complexity of the release process mentioned in the background technology. This online recruitment information release method and system based on RPA and AI not only reduces the workload of the human resources department, but also ensures the timely and accurate release of recruitment information, and enhances the competitiveness of enterprises in the talent market.
[0138] The embodiments that require protection in this application include:
[0139] The online recruitment information publishing method based on RPA and AI includes the following steps:
[0140] Program RPA robots to simulate normal interactive behaviors of human users, set reasonable access intervals, randomize mouse movement trajectories, and simulate keyboard input delays; use RPA robots to obtain information about available positions and target recruitment websites, and automatically publish the job information to each designated website in accordance with the corresponding process of the target recruitment website. After publishing, take screenshots and use OCR to confirm the successful publishing. In the process of using OCR to confirm the successful publishing, use the Levenshtein distance algorithm to measure the difference between the OCR recognition result and the possible correct answer, and infer the most likely correct text based on this.
[0141] Preferably, an RPA robot is used to obtain information about available positions and target recruitment websites, and automatically publishes the position information to various designated websites according to the corresponding process of the target recruitment website, including the following steps:
[0142] Organize job information: collect detailed information about the jobs to be posted; list of target recruitment websites: determine which recruitment websites to post job information on; install and configure RPA tools, create or import RPA robot projects, and set necessary environment variables, connectors, and library dependencies; write RPA scripts to simulate human users logging into the target recruitment websites; design and write corresponding RPA scripts for the publishing process of each target website, covering the following links: Navigate to the publishing page: simulate clicking on menus, links, or search keywords to reach the job posting or editing page; fill in job information: automatically fill in the various fields of the publishing form based on the structured data of the job information to be recruited; submit for publication: simulate clicking on the "Publish", "Save", or "Submit" button to complete the job information release.
[0143] Preferably, when using the Levenshtein distance algorithm to measure the difference between the OCR recognition result and the possible correct answer, and inferring the most likely correct text based on it, the steps are:
[0144] Assume that the lengths of strings `S` and `T` are `m` and `n` respectively, `D[i,j]` represents the Levenshtein distance between the first `i` characters of `S` and the first `j` characters of `T`, `s[i]` and `t[j]` represent the `i`-th and `j`-th characters of `S` and `T` respectively, then the recursive formula is:
[0145]
[0146] Among them, `(s[i]!=t[j])` is a conditional expression. When `s[i]` is equal to `t[j]`, the value is 0, otherwise it is 1, indicating whether a replacement operation is needed. `D[m,n]` is the Levenshtein distance between the strings `S` and `T`;
[0147] Based on the recruitment business scenario, obtain or infer possible correct texts as reference answers;
[0148] Using the above recursive formula, calculate the Levenshtein distance between the OCR recognition result and the possible correct answer;
[0149] Set a threshold `threshold`. If the Levenshtein distance is less than or equal to `threshold`, the difference between the recognition result and the possible correct answer is considered small and acceptable; otherwise, the recognition result may have a large error and needs further processing; among multiple recognition results, the recognition result with the smallest Levenshtein distance to the possible correct answer is selected as the most likely correct text.
[0150] Preferably, the RPA robot is programmed to simulate the normal interactive behavior of human users, set a reasonable access interval, randomize the mouse movement trajectory, and simulate keyboard input delay. The specific steps are as follows: Use an RPA tool that supports advanced interactive functions to set the waiting time: insert a `Wait` or `Delay` action in the RPA process, set a reasonable delay to simulate the time it takes for humans to read page content or think, and add waiting time before and after key operations; dynamically adjust the interval: use variables or functions to dynamically calculate the waiting time based on the actual network conditions and server response speed factors, so that it fluctuates randomly within a certain range, which is closer to real user behavior; simulate the mouse movement path: write code to directly specify the random path between the mouse from the current position to the target element; simulate mouse movement in a browser environment, and control the mouse movement trajectory through JavaScript to make it more natural; insert typing delay: add a random delay to each character input operation in the RPA process to simulate the interval when humans type; simulate typing speed: set different typing speeds to simulate the typing habits of different users.
[0151] Preferably, according to the actual network conditions and server response speed factors, variables or functions are used to dynamically calculate the waiting time so that it fluctuates randomly within a certain range, which is closer to the real user behavior. Specifically:
[0152] Use network diagnostic tools to obtain network latency as a quantitative indicator of network status; for HTTP(S) requests, obtain server processing time through the `X-Response-Time` and `Server-Timing` fields in the HTTP response header, or use third-party APIs to obtain page loading time;
[0153] The server response time is actually measured during the execution of the RPA robot; the response time is used as an important factor in calculating the waiting time to ensure that the waiting time matches the server processing speed. The formula is:
[0154] ```math
[0155] WaitTime=BaseWaitTime+α*ResponseTime
[0156] ```Where:
[0157] `WaitTime` is the final calculated waiting time;
[0158] `BaseWaitTime` is a basic waiting time, which is the minimum waiting value;
[0159] `α` is the response time impact coefficient, which indicates the degree of impact of response time on waiting time;
[0160] `ResponseTime` is the actual measured server response time;
[0161] Taking network latency as another factor in calculating the waiting time ensures that the waiting time is increased in high latency environments. The formula is:
[0162] ```math
[0163] WaitTime=BaseWaitTime+β*NetworkLatency
[0164] ```
[0165] in:
[0166] `WaitTime` is the final calculated waiting time;
[0167] `BaseWaitTime` is a basic waiting time, which is the minimum waiting value;
[0168] `β` is the network delay impact coefficient, which indicates the impact of network delay on waiting time;
[0169] `NetworkLatency` is the actual measured network latency;
[0170] Add a random fluctuation value to the calculated basic waiting time to simulate the uncertainty of human operation. The formula is:
[0171] ```math
[0172] WaitTime=CalculatedWaitTime+RandomVariance
[0173] ```
[0174] in:
[0175] `CalculatedWaitTime` is the waiting time calculated based on the server response time and network delay;
[0176] `RandomVariance` is a random value within the specified range, representing the random fluctuation of the waiting time.
[0177] Preferably, detailed information of the positions to be posted includes, but is not limited to, job title, job description, job requirements, salary and benefits, work location, and contact information. Preferably, RPA tools include UiPath, Automation Anywhere, and BluePrism.
[0178] The embodiment of the present application further provides a computer device, which may include a terminal device or a server, and the data calculation program of the online recruitment information publishing method based on RPA and AI may be configured in the computer device. The computer device is introduced below.
[0179] (I) If the computer device is a terminal device, an embodiment of the present application provides a terminal device, taking a mobile phone as an example, the terminal device includes: a radio frequency (RF) circuit, a memory, an input unit, a display unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a processor, and a power supply.
[0180] 1. RF circuits can be used to receive and send signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is processed by the processor; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, referred to as LNA), a duplexer, etc. In addition, the RF circuit can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0181] 2. The memory can be used to store software programs and modules. The processor executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory and a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0182] 3. The input unit can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit may include a touch panel and other input devices. The touch panel, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact coordinates, and then sends it to the processor, and can receive and execute the command sent by the processor. In addition, the touch panel can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel, the input unit may also include other input devices. Specifically, other input devices may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.
[0183] 4. The display unit can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel may cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor to determine the type of touch event, and then the processor provides a corresponding visual output on the display panel according to the type of touch event. Although in the figure, the touch panel and the display panel are used as two independent components to realize the input and output functions of the mobile phone, in some embodiments, the touch panel and the display panel can be integrated to realize the input and output functions of the mobile phone.
[0184] 5. The mobile phone may also include at least one sensor, such as a light sensor, a motion sensor and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may configure the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0185] 6. Audio circuit, speaker, and microphone can provide an audio interface between the user and the mobile phone. The audio circuit can convert the received audio data into an electrical signal and transmit it to the speaker, which converts it into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data. The audio data is then processed by the output processor and sent to another mobile phone through the RF circuit, or the audio data is output to the memory for further processing.
[0186] 7. WiFi is a short-range wireless transmission technology. Mobile phones can help users send and receive emails, browse web pages, and access streaming media through WiFi modules, which provides users with wireless broadband Internet access. Although the WiFi module is shown in the figure, it is understandable that it is not a necessary component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0187] 8. The processor is the control center of the mobile phone. It uses various interfaces and lines to connect the various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory and calling data stored in the memory, it executes various functions of the mobile phone and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor may include one or more processing units; preferably, the processor may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor.
[0188] 9. The mobile phone also includes a power source (such as a battery) for supplying power to various components. Preferably, the power source can be logically connected to the processor through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.
[0189] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0190] In this embodiment, the processor included in the terminal device also has the following function: executing a data calculation program of an online recruitment information publishing method based on RPA and AI.
[0191] If the computer device is a server, an embodiment of the present application also provides a server, which may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) (for example, one or more processors) and memories, and one or more storage media for storing applications or data (for example, one or more mass storage devices). Among them, the memory and the storage medium can be short-term storage or permanent storage. The program stored in the storage medium may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the central processing unit can be configured to communicate with the storage medium and execute a series of instruction operations in the storage medium on the server.
[0192] The server may also include one or more power supplies, one or more wired or wireless network interfaces, one or more input and output interfaces, and / or one or more operating systems, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0193] In addition, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store a computer program, and the computer program is used to execute the method provided in the above embodiment.
[0194] The embodiments of the present application also provide a computer program product including instructions, which, when executed on a computer, enables the computer to execute the method provided in the above embodiments.
[0195] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium can be at least one of the following media: read-only memory (English: Read-only Memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.
[0196] Therefore, the present application also discloses an online recruitment information publishing system based on RPA and AI, including a computer program product of instructions, which, when executed on a computer, enables the computer to execute the above-mentioned online recruitment information publishing method based on RPA and AI.
[0197] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
Claims
1. The online recruitment information publishing method based on RPA and AI is characterized by: Includes steps: Program an RPA robot to simulate normal human user interaction behavior, set a reasonable access interval, randomize mouse movement trajectories, and simulate keyboard input delays; use the RPA robot to obtain information about available positions and target recruitment websites, automatically publish the job information to each designated website in accordance with the corresponding process of the target recruitment website, take a screenshot after publishing, and use OCR to confirm the successful publishing. In the process of using OCR to confirm the successful publishing, use the Levenshtein distance algorithm to measure the difference between the OCR recognition result and the possible correct answer, and infer the most likely correct text based on this; use the RPA robot to obtain information about available positions and target recruitment websites, and automatically publish the job information to each designated website in accordance with the corresponding process of the target recruitment website, including the following steps: Organize job information: collect detailed information about the jobs to be posted; list of target recruitment websites: determine which recruitment websites to post job information on; install and configure RPA tools, create or import RPA robot projects, and set necessary environment variables, connectors, and library dependencies; write RPA scripts to simulate human users logging into the target recruitment websites; design and write corresponding RPA scripts for the publishing process of each target website, covering the following links: Navigate to the publishing page: simulate clicking on menus, links, or searching for keywords to reach the job posting or editing page; fill in job information: automatically fill in various fields of the publishing form based on the structured data of the job information to be recruited; Submit and publish: simulate clicking the "Publish", "Save" or "Submit" button to complete the job information publishing; Program RPA robots to simulate normal human user interaction behaviors, set reasonable access intervals, randomize mouse movement trajectories, and simulate keyboard input delays. Specific steps: Use RPA tools that support advanced interactive functions to set waiting time: insert "Wait" or "Delay" actions in the RPA process, set reasonable delays to simulate the time it takes for humans to read page content or think, and add waiting time before and after key operations; dynamically adjust intervals: use variables or functions to dynamically calculate waiting time based on actual network conditions and server response speed factors, so that it fluctuates randomly within a certain range, closer to real user behavior; Simulate mouse movement path: write code to directly specify the random path of the mouse from the current position to the target element; simulate mouse movement in the browser environment, and control the mouse movement trajectory through JavaScript to make it more natural; insert typing delay: add a random delay to each character input operation in the RPA process to simulate the interval when humans type; simulate typing speed: set different typing speeds to simulate the typing habits of different users; According to the actual network conditions and server response speed factors, variables or functions are used to dynamically calculate the waiting time so that it fluctuates randomly within a certain range, which is closer to the real user behavior. Specifically: Use network diagnostic tools to obtain network latency as a quantitative indicator of network status. For HTTP(S) requests, obtain server processing time through the `X-Response-Time` and `Server-Timing` fields in the HTTP response header, or use third-party APIs to obtain page loading time. Use the RPA robot to actually measure server response time during execution. Use response time as an important factor in calculating waiting time to ensure that waiting time matches server processing speed. Formula: ```math WaitTime=BaseWaitTime+α*ResponseTime ```Where: `WaitTime` is the final calculated waiting time; `BaseWaitTime` is a basic waiting time, which is the minimum waiting value; `α` is the response time impact coefficient, which indicates the degree of impact of response time on waiting time; `ResponseTime` is the actual measured server response time; Taking network latency as another factor in calculating the waiting time ensures that the waiting time is increased in high latency environments. The formula is: ```math WaitTime=BaseWaitTime+β*NetworkLatency ``` in: `WaitTime` is the final calculated waiting time; `BaseWaitTime` is a basic waiting time, which is the minimum waiting value; `β` is the network delay impact coefficient, which indicates the impact of network delay on waiting time; `NetworkLatency` is the actual measured network latency; Add a random fluctuation value to the calculated basic waiting time to simulate the uncertainty of human operation. The formula is: ```math WaitTime=CalculatedWaitTime+RandomVariance ``` in: `CalculatedWaitTime` is the waiting time calculated based on the server response time and network delay; `RandomVariance` is a random value within the specified range, representing the random fluctuation of the waiting time.
2. The online recruitment information publishing method based on RPA and AI according to claim 1 is characterized in that: When using the Levenshtein distance algorithm to measure the difference between the OCR recognition result and the possible correct answer, and infer the most likely correct text based on this, the steps are: Assume that the lengths of strings `S` and `T` are `m` and `n` respectively, `D[i,j]` represents the Levenshtein distance between the first `i` characters of `S` and the first `j` characters of `T`, `s[i]` and `t[j]` represent the `i`-th and `j`-th characters of `S` and `T` respectively, then the recursive formula is: Among them, `(s[i]!=t[j])` is a conditional expression. When `s[i]` is equal to `t[j]`, the value is 0, otherwise it is 1, indicating whether a replacement operation is needed. `D[m,n]` is the Levenshtein distance between the strings `S` and `T`; Based on the recruitment business scenario, obtain or infer possible correct texts as reference answers; Using the above recursive formula, calculate the Levenshtein distance between the OCR recognition result and the possible correct answer; Set a threshold `threshold`. If the Levenshtein distance is less than or equal to `threshold`, the difference between the recognition result and the possible correct answer is small and acceptable; otherwise, the recognition result may have a large error and needs further processing; among multiple recognition results, select the recognition result with the smallest Levenshtein distance to the possible correct answer as the most likely correct text.
3. The online recruitment information publishing method based on RPA and AI according to claim 1 is characterized in that: Detailed information of the positions to be posted, including but not limited to job title, job description, job requirements, salary and benefits, work location, and contact information.
4. The online recruitment information publishing method based on RPA and AI according to claim 3 is characterized in that: RPA tools include UiPath, Automation Anywhere, and Blue Prism.
