Embodiment
In order to make those skilled in the art person understand better the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, the term " first " in instructions of the present invention and claims and above-mentioned accompanying drawing, " second " etc. are for distinguishing similar object, and needn't be for describing specific order or precedence.The data that should be appreciated that such use suitably can exchanged in situation, so as embodiments of the invention described herein can with except diagram here or describe those order enforcement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, for example, those steps or unit that the process that has comprised series of steps or unit, method, system, product or equipment are not necessarily limited to clearly list, but can comprise clearly do not list or for these processes, method, product or equipment intrinsic other step or unit.
In the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
Embodiment 1
According to the embodiment of the present invention, provide a kind of can be for implementing the embodiment of the method for the application's device embodiment, it should be noted that, in the step shown in the process flow diagram of accompanying drawing, can in the computer system such as one group of computer executable instructions, carry out, and, although there is shown logical order in flow process, in some cases, can carry out shown or described step with the order being different from herein.
According to the embodiment of the present invention, a kind of recording method of data is provided, Fig. 1 is according to the process flow diagram of the recording method of the data of the embodiment of the present invention, as shown in Figure 1, the method comprises that following step S102 is to step S106:
S102: according to predetermined cycle use predetermined keyword in targeted website enterprising line search, obtain Search Results; Particularly, this predetermined cycle can be according to user's request setting, and as within a certain period of date, per hour, per half an hour or every 15 minutes etc. once search for; Predetermined keyword is provided by user, can be for trade name, brand name or place name etc., as books, Suning, Beijing; Targeted website is search engine, as Baidu, Google etc.Search engine be take Baidu as example, predetermined keyword be take books as example, it is example that predetermined period be take per hour, to this step, be illustrated as follows: 9:00 searches for books in the website of Baidu, obtain a Search Results, after one hour, in the website of 10:00 Hui Baidu, books are searched for again, can be obtained again a Search Results.
S104: obtain the data message of the destination object in Search Results, particularly, destination object is specified in advance by user, this destination object can be user's rival, can be also user oneself.If user is Suning's electrical equipment, can intended target object be Jingdone district, can be also Suning's electrical equipment.Continue to adopt describing for example in last step, after obtaining Search Results, advertiser's (being destination object) of predetermined keyword " books " being thrown in to advertisement there will be in Search Results.Hypothetical target to as if Jingdone district, the data message getting can be Jingdone district throw in advertisement advertisement title, the position that the content that advertisement is described or destination object show in Search Results etc.
S106: the data message of record object object.
In embodiments of the present invention, by presetting the time, and to take this predefined time be the cycle, the mode that predetermined keyword is searched for as search condition obtains Search Results, and then the data message to destination object obtains in Search Results, finally the data message getting is carried out to record, by this kind of mode, record the record that has replaced manual type, realized periodically and automatically data message has been carried out to record, solved and adopted the related data information of Search Results in artificial mode record searching engine to cause ineffective problem, and then reached the effect of increasing work efficiency.
Preferably, according to predetermined cycle use predetermined keyword in targeted website enterprising line search, obtaining Search Results comprises: on targeted website, to predetermined keyword search, can obtain results page, in the predeterminable area of results page, find mentioned above searching results, particularly, the predeterminable area of results page can be page left field or page right side area, for the Search Results obtaining, this Search Results can be the Search Results that is positioned at results page left field, also can be the Search Results that is positioned at results page right side area, now, obtain the data message of the destination object in Search Results, both can obtain the data message of the Search Results destination object that is arranged in results page left side, also can obtain the data message of destination object in the Search Results on results page right side, and to above-mentioned two kinds, obtain the different target data information in source and carry out respectively record.
In embodiments of the present invention, by can Search Results being divided according to the zones of different of the page, and then obtain and record being arranged in the data message of destination object of the Search Results of zones of different, improved the degree of accuracy of data recording.
Preferably, cycle according to predetermined use predetermined keyword in targeted website enterprising line search, after obtaining Search Results, and before the data message of the destination object in obtaining Search Results, the recording method of the data that the embodiment of the present invention provides also comprises global object and the part determining in Search Results, then part is defined as to destination object, wherein, global object refers to all searched object going out in Search Results, and part or all in Ze Shi global object of part, , global object comprises part, Fig. 2 is the schematic diagram of the Search Results that searches out according to the recording method of the data of the embodiment of the present invention, as shown in Figure 2, schematically show global object and comprised A, B, C and D, part can be above-mentioned object A, B, any one or more in C and D.
Particularly, for the quantity of destination object, be a plurality of situations, part is also a plurality of, in embodiments of the present invention, can obtain in such a way the data message of the destination object in Search Results:
First, in Search Results, the order of arranging according to global object, obtain successively the positional information of global object in Search Results from top to bottom, until obtained the positional information of last global object, participate in Fig. 2, first obtain the positional information of A in Search Results, because object A is first object in Search Results, therefore, can think that its positional information is 1, continue to obtain the positional information of B in Search Results, can think that its positional information is 2, obtain the positional information of C in Search Results, can think that its positional information is 3, until get the positional information of D in Search Results, think that its positional information is 4,
Secondly, according to the positional information of global object, determine the ranking information of each destination object, because destination object is exactly part, part belongs to global object, and ranking information is determined according to positional information, so obtained the positional information of global object, that is to say the ranking information that can determine each part, if destination object is B and D, the ranking information that the ranking information of B is 2, D is 4.
Particularly, in embodiments of the present invention, can obtain in the following manner the positional information of each global object in Search Results: first, in the current page of display of search results, from Search Results, obtain the network address of global object from top to bottom, network address is as the sign of global object, whenever getting a network address, thinks You Yige global object; Secondly, the display order of statistics network address in Search Results; Then, determine that DISPLAY ORDER is the positional information of global object.Or referring to Fig. 2, can first read four network address, respectively WWW.A.COM, WWW.B.COM, WWW.C.COM and WWW.D.COM successively, now can think You Sige global object, the display order correspondence of above-mentioned four network address is respectively 1,2,3 and 4, and the positional information of the A of global object is 1, and the positional information of the B of global object is 2, the positional information of the C of global object is 3, and the positional information of the D of global object is 4.
Preferably, cycle according to predetermined use predetermined keyword in targeted website enterprising line search, after obtaining Search Results, the recording method of the data that the embodiment of the present invention provides also comprises: judge in Search Results, whether to comprise destination object, wherein, the in the situation that of comprising destination object in judging Search Results, obtain the data message of the destination object in Search Results, the in the situation that of not comprising destination object in judging Search Results, the data message of determining destination object is presupposed information.Particularly, the ranking information that this presupposed information is destination object, represents, now the data message of this destination object of record is 0 with 0, illustrates that this destination object do not throw in advertisement in this predetermined period.
In embodiments of the present invention, considered that destination object do not throw in the recording mode of the situation of advertisement, reached the degree of accuracy that improves the data of record.
Preferably, if user is within several continuous predetermined cycles, on a certain targeted website, thrown in the advertisement about this predetermined keyword, now using this user as destination object, but when the real time is respectively the time in above-mentioned several continuous predetermined cycle, on targeted website, in the several Search Results that obtain for above-mentioned predetermined keyword, in neither one Search Results, comprise targeted customer, the ranking information that is targeted customer is at 0 o'clock, now in the embodiment of the present invention, the recording method of data can also be sent alarm command, input situation for this advertisement of reminding user is undesired, wherein, alarm command can be for sending mail to user, short message etc.
The concrete scene of take is below example, further illustrates the recording method of the data that the embodiment of the present invention provides:
Suppose that rival A and rival C have all thrown in the advertisement about books on search engine B, need to record the ranking of the two input advertisement in a period of time, such as: need statistics since 0:00 on June 1st, 2124, last till the ranking of 23:00, the recording method of the data that provide according to the embodiment of the present invention, for above-mentioned situation, usining rival A and rival C carries out the destination object of data recording as the embodiment of the present invention, take search engine B as targeted website, the predetermined cycle can be set as to 1 hour, from 0:00 to 23:00, search is 24 times, predetermined keyword is books, and the specific works process of carrying out data recording is as follows:
When the real time, be in June, 2024 during 0:00 on the 1st, in the B of targeted website, books searched for, obtain the Search Results in current page left field, as shown in Figure 2; In this Search Results, can judge in Search Results whether comprise destination object A and C, if do not comprise, the data message of the destination object not comprising is recorded as to presupposed information, be 0; If comprise, obtain respectively the data message of destination object A and C.The process of data message of obtaining destination object A and C is as follows: the network address of obtaining all global objects, be respectively WWW.A.COM, WWW.B.COM, WWW.C.COM and WWW.D.COM, can think You Sige global object, be respectively A, B, C and D, now according to obtaining the display order that network address sequentially draws each global object, be respectively 1,2,3 and 4, the positional information of each global object is 1,2,3,4, and ranking information is 1,2,3,4.Now, the ranking information that obtains destination object A is 1, the ranking information of destination object C is 3.According to said process, carry out respectively next the record of the ranking information of 23 times.According to the record of above-mentioned ranking information, can obtain relevant data message, as shown in table 1 below:
Table 1
Fig. 3 a is the curve map of the left side ranking information of the destination object A that obtains according to the recording method of the data of the embodiment of the present invention, Fig. 3 b is the curve map of the left side ranking information of the destination object C that obtains according to the recording method of the data of the embodiment of the present invention, that is, Fig. 3 a and Fig. 3 b show the data of destination object A and destination object C left side rank with curve form.
From table 1, Fig. 3 a and Fig. 3 b, can find out:
1,, in the ranking of left side Search Results, rival A and rival C are roughly the same about the frequency of the appearance of the advertisement of books.
2, about the ranking of left side Search Results, rival A does not have rank in 2 later rankings, and the number of times of rival C rank in 3 positions is 3 times, and the forward rate of rank of rival A will be higher than rival C.
It should be noted that, for aforesaid each embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that can add essential general hardware platform by software according to the method for above-described embodiment and realize, can certainly pass through hardware, but in a lot of situation, the former is better embodiment.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprise that some instructions are with so that a station terminal equipment (can be mobile phone, computing machine, server, or the network equipment etc.) carry out the method for each embodiment of the present invention.
Embodiment 2
According to the embodiment of the present invention, also provide a kind of for implementing the pen recorder of data of the recording method of above-mentioned data, this pen recorder is mainly used in carrying out the recording method that embodiment of the present invention foregoing provides, below the pen recorder of data that the embodiment of the present invention is provided do concrete introduction:
According to embodiments of the invention, a kind of pen recorder of data is provided, Fig. 4 is according to the schematic diagram of the pen recorder of the data of the embodiment of the present invention, as shown in Figure 4, this device mainly comprises search unit 10, acquiring unit 20 and record cell 30, wherein:
Search unit 10 for cycle according to predetermined use predetermined keyword in targeted website enterprising line search, obtain Search Results; Particularly, this predetermined cycle can be according to user's request setting, and as within a certain period of date, per hour, per half an hour or every 15 minutes etc. once search for; Predetermined keyword is provided by user, can be for trade name, brand name or place name etc., as books, Suning, Beijing; Targeted website is search engine, as Baidu, Google etc.Search engine be take Baidu as example, predetermined keyword be take books as example, it is example that predetermined period be take per hour, to this step, be illustrated as follows: 9:00 searches for books in the website of Baidu, obtain a Search Results, after one hour, in the website of 10:00 Hui Baidu, books are searched for again, can be obtained again a Search Results.
Acquiring unit 20 is for obtaining the data message of the destination object of Search Results, and particularly, destination object is specified in advance by user, and this destination object can be user's rival, can be also user oneself.If user is Suning's electrical equipment, can intended target object be Jingdone district; Also can be Suning's electrical equipment.Continue to adopt describing for example in last step, after obtaining Search Results, advertiser's (being destination object) of predetermined keyword " books " being thrown in to advertisement there will be in Search Results.Hypothetical target to as if Jingdone district, the data message getting can be Jingdone district throw in advertisement advertisement title, the position that the content that advertisement is described or destination object show in Search Results etc.
Record cell 30 is for the data message of record object object.
In embodiments of the present invention, by presetting the time, and to take this predefined time be the cycle, the mode that predetermined keyword is searched for as search condition obtains Search Results, and then the data message to destination object obtains in Search Results, finally the data message getting is carried out to record, by this kind of mode, record the record that has replaced manual type, realized periodically and automatically data message has been carried out to record, solved and adopted the related data information of Search Results in artificial mode record searching engine to cause ineffective problem, and then reached the effect of increasing work efficiency.
Particularly, in the preferred embodiment of the present invention, search unit 10 comprises the first acquisition module and searches module.
The first acquisition module is for obtaining predetermined keyword in the results page of the enterprising line search in targeted website.
Search module, for find Search Results in the presumptive area of results page, the predeterminable area of results page can be page left field or page right side area, for the Search Results obtaining, this Search Results can be the Search Results that is positioned at results page left field, also can be the Search Results that is positioned at results page right side area, now, obtain the data message of the destination object in Search Results, both can obtain the data message of the Search Results destination object that is arranged in results page left side, also can obtain the data message of destination object in the Search Results on results page right side, and to above-mentioned two kinds, obtain the different target data information in source and carry out respectively record.
In embodiments of the present invention, by can Search Results being divided according to the zones of different of the page, and then obtain and record being arranged in the data message of destination object of the Search Results of zones of different, improved the degree of accuracy of data recording.
Preferably, in the preferred embodiment of the present invention, the pen recorder of data also comprises the first determining unit and the second determining unit, wherein:
The first determining unit in cycle according to predetermined, use predetermined keyword in targeted website enterprising line search, after obtaining Search Results, and before the data message of the destination object in obtaining Search Results, determine global object and part in Search Results, wherein, global object comprises part; The second determining unit is for being defined as destination object by part.Wherein, global object refers to all searched object going out in Search Results, and part or all in Ze Shi global object of part,, global object comprises part, and Fig. 2 is the schematic diagram of the Search Results that searches out according to the recording method of the data of the embodiment of the present invention, as shown in Figure 2, schematically shown global object and comprised A, B, C and D, part can be any one or more in above-mentioned object A, B, C and D.
Particularly, for the quantity of destination object, be a plurality of situations, part is also a plurality of, in embodiments of the present invention, can obtain in such a way the data message of the destination object in Search Results, wherein, acquiring unit comprises the second acquisition module and determination module.
First, according to the second acquisition module, obtain the positional information of global object in Search Results, in Search Results, the order of arranging according to global object, obtain successively the positional information of global object in Search Results from top to bottom, until obtained the positional information of last global object, participate in Fig. 2, first obtain the positional information of A in Search Results, because object A is first object in Search Results, therefore, can be 1 for its positional information, continue to obtain the positional information of B in Search Results, can think that its positional information is 2, then obtain the positional information of C in Search Results, can think that its positional information is 3, until get the positional information of D in Search Results, can think that its positional information is 4,
Secondly, determination module is for determining the ranking information of each destination object according to the positional information of global object, because destination object is exactly part, part belongs to global object, and ranking information is determined according to positional information, so obtained the positional information of global object, that is to say the ranking information that can determine each part, if destination object is B and D, the ranking information of B is 2; The ranking information of D is 4.
Particularly, in embodiments of the present invention, the second acquisition module comprises and obtains submodule, statistics submodule and definite submodule.Obtain submodule for obtaining the network address of all global objects of Search Results, in the current page of display of search results, from Search Results, obtain the network address of global object from top to bottom, network address is as the sign of global object, whenever getting a network address, think You Yige global object; Statistics submodule, for adding up network address in the display order of Search Results, obtains the positional information of global object; Determine that submodule is for determining that display order is that global object is in the positional information of Search Results.Or referring to Fig. 2, can first read four network address, respectively WWW.A.COM, WWW.B.COM, WWW.C.COM and WWW.D.COM successively, now can think You Sige global object, the display order correspondence of above-mentioned four network address is respectively 1,2,3 and 4, and the positional information of the A of global object is 1, and the positional information of the B of global object is 2, the positional information of the C of global object is 3, and the positional information of the D of global object is 4.
Preferably, in the preferred embodiment of the present invention, the pen recorder of data also comprises judging unit, be used for judging whether Search Results comprises destination object, wherein, the in the situation that of comprising destination object in judging Search Results, obtain the data message of the destination object in Search Results, the in the situation that of not comprising destination object in judging Search Results, the data message of determining destination object is presupposed information.Particularly, the ranking information that this presupposed information is destination object, represents, now the data message of this destination object of record is 0 with 0, illustrates that this destination object do not throw in advertisement in this predetermined period.
In embodiments of the present invention, considered that destination object do not throw in the recording mode of the situation of advertisement, reached the degree of accuracy that improves the data of record.
Preferably, in the preferred embodiment of the present invention, data recording equipment also comprises alarm unit, for destination object is sent to alarm command, it is specific as follows: if user is within several continuous predetermined cycles, on a certain targeted website, thrown in the advertisement about this predetermined keyword, now using this user as destination object, but when the real time is respectively the time in above-mentioned several continuous predetermined cycle, on targeted website, in the several Search Results that obtain for above-mentioned predetermined keyword, in neither one Search Results, comprise targeted customer, the ranking information that is targeted customer is at 0 o'clock, now in the embodiment of the present invention, the recording method of data can also be sent alarm command, input situation for this advertisement of reminding user is undesired, wherein, alarm command can be for sending mail to user, short message etc.
As can be seen from the above description, the invention solves and adopt the related data information of Search Results in artificial mode record searching engine to cause ineffective problem, and then reached the effect of increasing work efficiency.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.