Summary of the invention
Technical matters to be solved by this invention is by the internet enterprise's resume inventory of resume source database and each dispersion to be carried out synchronously, make these enterprises from huge resume source database, automatically, constantly obtain the latest edition of original resume or increase new resume information, thereby reduced the maintenance work of enterprise, and can obtain the resume information safeguarded by the resume source database self resume storehouse.
Another technical matters to be solved by this invention is in above-mentioned synchronizing process the resume content to be put in order automatically, screen and statistics etc.
According to an aspect of the present invention, provide a kind of in personnel resume information service system, use so that resume source database and the synchronous method for updating of enterprise's resume inventory said method comprising the steps of based on the internet:
Scanning is stored in the synchronous comparison sheet in the resume source database, obtains user identifier and corresponding interpolation/modification time;
Obtained interpolation/modification time is compared with the enterprise resume inventory update time;
When described interpolation/modification time and enterprise's resume inventory update time are inequality, detect that to have in enterprise's resume inventory deny corresponding user identifier;
In enterprise's resume inventory, there is corresponding user identifier, covers the resume content under the relative users identifier in enterprise's resume inventory with the resume content under this user identifier in the resume source database;
When not having corresponding user identifier in enterprise's resume inventory, with this user identifier in the resume source database and corresponding resume content replication in enterprise's resume inventory;
Enterprise's resume inventory in the synchronous comparison sheet refreshed update time be described interpolation/modification time.
According to a further aspect in the invention, said method also is included in and relatively obtains described interpolation/modification time and enterprise's resume inventory update time when inequality, the step that the resume information under imperfect or non-type this user identifier of resume information is removed.
According to a further aspect in the invention, said method also is included in the enterprise's resume inventory in the synchronous comparison sheet is refreshed to behind described interpolation/modification time the vicissitudinous resume of resume content being carried out the step of statistical counting update time.
According to a further aspect in the invention, said method also is included in before the resume content under the relative users identifier in the resume content covering enterprise resume inventory down of this user identifier in the resume source database, and resume information before the vicissitudinous variation of resume content is recorded in step in the backup database.
According to a further aspect in the invention, said method also is included in before the resume content under the relative users identifier in the covering of the resume content under this user identifier in the resume source database enterprise resume inventory, the information of some field is replaced to other information, or merge into an information, or generate the file of user-defined format, the step of putting in order and gathering for the information in the resume information.
According to synchronous updating personnel resume database method of the present invention, can keep the information in enterprise's resume inventory and the resume source database consistent.Both can guarantee the real-time and the integrality of data, and can guarantee two databases relative independentability in the use again, and it is synchronous to carry out remote auto to each enterprise's resume inventory by the internet.In synchronizing process, by embedding subscriber customized module, as: filter, statistics, replace, behind the backup supervisor, can also manage accordingly, increase work efficiency resume information.In operation, program adopts the multithreading backstage to carry out in batches, under the situation of the speed of assurance, program is dropped to the load effect of system minimum, to guarantee the normal operation of other work.
Specific implementation method
Fig. 1 is the system hardware structure figure that method of the present invention is used in expression, and Fig. 2 is the system flow structural drawing that method of the present invention is used in expression.
Referring to Fig. 1 and Fig. 2, the system that uses method of the present invention is the distributed system (see figure 1), and one of them ingredient mainly is made up of equipment such as resume source database server 11, web server 13 (perhaps email server, ftp server etc. other can be used for sending the specific installation or the device cluster of data), synchronization servers 15.Another ingredient of system mainly is made up of server 17 equipment such as grade of enterprise.The resume storehouse of resume source database, each enterprise and synchronous data information such as updating form thereof mainly are in charge of and are stored to database server 11; The main request of data of being responsible for receiving from the internet of web server 13 (perhaps email server, ftp server etc. other can be used for sending the specific installation or the device cluster of data) is given the requestor by the ICP/IP protocol of standard with corresponding resume data transmission in the database server 11; The synchronous refresh routine of synchronization server 15 main operations, this program can be upgraded (the resume storehouse that the latest edition that will have the resume information of same subscriber identifier is updated to each enterprise) to the resume storehouse of the resume source database in the database server 11 and each enterprise synchronously by the condition (according to the synchronous updating form in the database server) of appointment, under some particular case, synchronization server 15 also can be web server etc. other be positioned at the server of server end.The server 17 of enterprises end is main is responsible for receiving concrete resume information from web server 13 (latest edition that will have the resume information of same subscriber identifier is updated to the resume storehouse of each enterprise).
Using the main system flow structure (see figure 2) of method of the present invention partly is made up of resume source database 21, synchronization engine 22 and each enterprise's resume inventory 23 etc.Main resume information of being responsible for storage and managing a large amount of continual renovations of resume source database 21 wherein, each enterprise's resume inventory 23 is main is responsible for the exclusive separately privately owned resume of storage and management enterprise and from the resume information of resume source database 21; Synchronization engine 22 mainly according to the resume synchronizer (being conditions such as time or state) of each enterprise with the up-to-date resume information reproduction in the resume source database 21 in corresponding enterprise resume inventory 23, and send this enterprise of message informing simultaneously and finish synchronously, and can be in synchronizing process by loading filtering module 25, statistical module 26, replacing resume information that module 27, backup module 28 or 29 pairs of other modules transmit and back up, filter, replace and processing such as statistics.
Containing tables such as a guy's essential information, education experience, working experience in the resume source database 21, mainly is that key word connects each other with the user identifier.Equally, containing tables such as a guy's essential information, education experience, working experience in enterprise's resume inventory 23, mainly is that key word connects each other with the user identifier.Simultaneously, user identifier also is the key word (seeing Table) in resume source database 21 and enterprise's resume inventory 23 conversion synchronously.
The personal user is after interpolation/modification resume information, resume source database 21 system maintenance programs can be recorded in the user identifier of this resume and the date and time of interpolation/modification in the synchronous comparison sheet, and indicate and derive from resume source database 21, if this user identifier exists, then current date and time is covered original date and time, otherwise, just add the date and time of this user identifier and interpolation/modification thereof; Enterprise is after interpolation/modification personnel resume information, enterprise's resume inventory 23 system maintenance programs can be recorded in the user identifier of this resume and the date and time of interpolation/modification in the synchronous comparison sheet, and indicate and derive from enterprise's resume inventory 23, if this user identifier exists, then current date and time is covered original date and time, otherwise, just add the date and time of this user identifier and interpolation/modification thereof.
With reference to Fig. 3 the course of work according to the synchronous updating personnel resume database method based on the internet of the present invention is described.Step S1, the synchronous comparison sheet that is stored in the resume source database 21 is at first opened and scanned to synchronization program when operation.Step S2 obtains user identifier and corresponding interpolation/modification time from synchronous comparison sheet.Step S3 compares interpolation/modification time of obtaining and enterprise's resume inventory 23 update times and judges according to user identifier.As judge that this interpolation/modification time is identical 23 update times with the enterprise resume inventory, program enters step S8, continues to judge whether to exist next user identifier.Step S3 is inequality 23 update times as judging this interpolation/modification time and enterprise's resume inventory, and program enters step S4, and having in the detection enterprise resume inventory 23 denys corresponding user identifier.As detect when having corresponding user identifier in enterprise's resume inventory 23, program enters step S5, with the resume content under the relative users identifier in the resume content covering enterprise resume inventory 23 down of this user identifier in the resume source database 21.Detect when not having corresponding user identifier in enterprise's resume inventory 23 as step S4, program enters step S6, with this user identifier in the resume source database 21 and corresponding resume information reproduction (interpolation) in enterprise's resume inventory 23.Behind completing steps S5 or the S6, program enters step S7, enterprise's resume inventory in the synchronous comparison sheet is refreshed for 23 update times be above-mentioned interpolation/modification time.Then, program enters step S8, continues to judge whether to exist next user identifier.As judge and have next user identifier, program enters step S9, and system obtains next user identifier and corresponding interpolation/modification time from synchronous comparison sheet, and returns step S3 and enter next operating process.
In resume information synchronization process, can be to handling from the information of resume source database 21, this work is undertaken by the program module that can load.
As load filter, and can set filtercondition by certain requirement, make some resume data fill in imperfect or do not meet not copying in enterprise's resume inventory 23 of resume standard and go, to guarantee quality of information in enterprise's resume inventory 23.
Referring to Fig. 4, filter for example can be carried between above-mentioned steps S3 and the S4.Step S31, system obtain the contact address under the user ID symbol from synchronous comparison sheet.Step S32, does program judge that this contact address is empty?, in this way, program enters step S36, filters and finishes, synchronously cancellation.As not, program enters step S33 or S34 etc., continues to judge whether the personnel under this user identifier have working experience or pedagogical experience etc.As be judged as and be, program enters step S35, system operation synchronization program, all the resume information under this user identifier synchronously; As be judged as not, program directly enters step S36, filters and finishes, synchronously cancellation.
As load statistics program, and can and note switching time the vicissitudinous resume user identifier of resume content in the transfer process, after adding up, draw the ratio that resume is revised or increased newly in certain period, so that understand the real-time of data in the resume storehouse.
Referring to Fig. 5, before statistics program for example can be carried in above-mentioned steps S7.Do step S41, system judge that the resume content under this user identifier revised? in this way, program enters step S42, will revise the project of number+1 and record modification.As not, program enters step S43, and it is constant to revise number.Subsequently, program enters step S44, judges whether synchronous operation finishes.As judged result is that program does not enter step S45, adds up the resume content under next user identifier.For being, statistic processes finishes as judged result.
As load the replacement program, can be in transfer process the information of some field be replaced to other information, perhaps merge into an information, even the file of generation user-defined format, put in order and gather for the information in the resume information, to reduce the shared system resource of enterprise's resume inventory and to increase the readability of data message.
Referring to Fig. 6, the replacement program for example can be carried in before the above-mentioned steps S5.Step S61, system name information " X " is replaced with "<name〉X</name ".Step S62, system sex information " man " is replaced with "<sex〉man</sex ".Step S65, the information after system will replace is integrated into the XML file by structure:<? xml version=" 1.0 " encoding=" gb2312 "?.
As load stand-by program, and information before the vicissitudinous variation of resume content can be recorded in the backup database, when needed, recover the resume of appointment.
Referring to Fig. 7, stand-by program for example can be carried between above-mentioned steps S4 and the S5.Do step S71, system judge that the resume content under this user identifier changes? in this way, program enters step S72, and the resume information back-up before system will change is in specified database.Then, step S73, system judges whether synchronous operation finishes.As not, program enters step S74, and system takes out the resume information under next user identifier, and returns step S71 cycling.In this way, program enters step S75, and backup operation finishes.
Whole synchronizing process of the present invention can craft or automated manner trigger operation, its trigger condition can be specified in advance or in real time.Referring to Fig. 8, step S81, triggering mode is selected by system.As select the manual triggers mode, and program enters step S82, S83, and specifying needs synchronous user identifier, and at step S84, is carried out the synchronous operation of the resume information under this user identifier by synchronization program.As select automatic triggering mode, and program enters step S85, S86, and system specifies synchronous start and end time, then at step S87, is carried out the synchronous operation of resume information by synchronization program.Step S88, does program judge whether to arrive the synchronous concluding time? in this way, system finishing synchronous operation; As not, program is returned step S87, continues synchronous operation.
The integrality of data in the synchronous transmission process managed by the integrality determining program that embeds synchronization program, if the resume data are imperfect, this data are retransmitted in determining program asynchronous these data of meeting or request msg source; Data are guaranteed by the some roads fire wall between data source and target database in the synchronous transmission process safe, in the internet, the resume information that any data source of swarming into that the disabled user intercepted is sent all is enciphered message, do not having under the situation of key, can't obtain the effective resume information content; And the resume information that data receiver received also must use key to be decrypted, and judges whether to come from the valid data source, makes the resume information of forgery can't arrive the reception database.
The above only is a preferred embodiment of the present invention, and according to above-mentioned design of the present invention, those skilled in the art also can make various modifications and conversion to this.For example, each program module of above-mentioned loading is except the loading position that exemplifies, and they can also be carried in other suitable position.Yet similar this conversion and modification all belong to scope of the present invention.