CN102932176A - Background program log tracking method, tracking side, service side and system - Google Patents

Background program log tracking method, tracking side, service side and system Download PDF

Info

Publication number
CN102932176A
CN102932176A CN2012104209055A CN201210420905A CN102932176A CN 102932176 A CN102932176 A CN 102932176A CN 2012104209055 A CN2012104209055 A CN 2012104209055A CN 201210420905 A CN201210420905 A CN 201210420905A CN 102932176 A CN102932176 A CN 102932176A
Authority
CN
China
Prior art keywords
port numbers
multicast
professional keyword
business
keyword
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104209055A
Other languages
Chinese (zh)
Other versions
CN102932176B (en
Inventor
徐茂峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Shenzhen Co Ltd
Original Assignee
Shenzhen Huawei Communication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huawei Communication Technologies Co Ltd filed Critical Shenzhen Huawei Communication Technologies Co Ltd
Priority to CN201210420905.5A priority Critical patent/CN102932176B/en
Publication of CN102932176A publication Critical patent/CN102932176A/en
Application granted granted Critical
Publication of CN102932176B publication Critical patent/CN102932176B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiments of the invention provide a background program log tracking method, a tracking side, a service side and a system, relating to the field of communications. The background program log tracking method, the tracking side, the service side and the system have the advantages that when maintenance personnel process logs in detail by checking up corresponding services according to service keywords, the interference from other logs can be avoided, the performance of the system is improved, and the operation is convenient and fast. According to the method, after a program of the foreground tracking side is started, service keywords of services to be tracked are received, a multicast port number corresponding to the service keywords is acquired according to the service keywords, tracking information comprising the service keywords and the multicast port number is created and transmitted to the background service side, the background service side carries out service matching according to the service keywords and adjusts the level of logs of the services to be tracked, matched with the service keywords, to be the lowest, and after the logs are created, the logs of the services to be tracked are transmitted to a multicast group corresponding to the multicast port number corresponding to the service keywords according to the lowest level. The background program log tracking method, the tracking side, the service side and the system are applied to the tracking of background program logs.

Description

The tracking of background program daily record, tracking end, service end and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of tracking, tracking end, service end and system of background program daily record.
Background technology
In the prior art, background program is when processing business in enormous quantities, and the daily record Printing Problem is in the middle of the contradiction always.This is because if daily record is too detailed, will cause systematic function low, and take a large amount of storages, if daily record is too simple, just can't checks the detailed processing daily record of single business, and then can't satisfy in certain situation case study and location to the single business.
For example in charge system, take the telephone number called out as professional keyword, the attendant follows the tracks of this telephone number of end registration on the foreground, so that the detailed processing daily record of subscribing to and issuing this telephone number, and after repeatedly following the tracks of a plurality of numbers, the background service end will these a plurality of tracking numbers detailed processing daily record may write in the middle of the journal file, also might be that a detailed processing daily record of following the tracks of number has been write in the middle of a plurality of journal files.Simultaneously, the daily record that this secondary tracking generates and the daily record of left over by history also may mix, and cause like this trace log relatively more chaotic, need the attendant to filter out by hand the daily record of oneself being concerned about according to following the tracks of number and timestamp, cause efficient lower.
Summary of the invention
Embodiments of the invention provide a kind of tracking, tracking end, service end and system of background program daily record, in the time of can making the attendant check the detailed processing daily record of the business corresponding with this business keyword according to professional keyword, avoided the interference of other daily records, thereby the raising systematic function is convenient to operation.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect provides a kind of tracking of background program daily record, comprising:
After starting foreground tracking end program, receive the professional keyword of business to be tracked, and obtain the multicast port numbers corresponding with described professional keyword according to described professional keyword;
Generation comprises the trace information of described professional keyword and described multicast port numbers, and described trace information is sent to the background service end, and attempts adding in the multicast group corresponding with described multicast port numbers;
After adding the multicast group corresponding with described multicast port numbers, wait for that described background service end is processed and the business described to be tracked of described professional keyword match, and after described background service end is handled described business to be tracked, the daily record of receiving described business to be tracked from described background service termination.
In the first mode in the cards, in conjunction with first aspect, described method also comprises:
After closing foreground tracking end program, the end program is followed the tracks of on described foreground withdraw from the multicast group corresponding with described multicast port numbers, and delete described trace information.
In the second mode in the cards, in conjunction with the first of first aspect or first aspect mode in the cards, describedly obtain the multicast port numbers corresponding with described professional keyword according to described professional keyword and comprise:
If receiving the professional keyword of business to be tracked is one, it then is multicast port numbers of described professional keyword assignment;
Being at least two if receive the professional keyword of business to be tracked, then is multicast port numbers of each professional keyword assignment.
Second aspect provides a kind of tracking of background program daily record, comprising:
Reception comprises the trace information of professional keyword and the multicast port numbers corresponding with described professional keyword, and described trace information is recorded in the trace information file;
According to described trace information document creation multicast group;
Carry out business coupling according to described professional keyword, and will be minimum rank with the daily record rank adjusting of the business to be tracked of described professional keyword match;
According to original daily record rank of described business to be tracked the daily record of described business to be tracked is write journal file, and according to the minimum rank of daily record with the Log Sender of described business to be tracked to corresponding with the described professional keyword corresponding multicast group of multicast port numbers.
In the first mode in the cards, in conjunction with second aspect, described method also comprises:
Periodic refreshing trace information file after detecting described foreground and following the tracks of end and deleted trace information corresponding to described professional keyword, is closed the corresponding multicast group of the multicast port numbers corresponding with described professional keyword.
In the second mode in the cards, in conjunction with the first of second aspect or second aspect mode in the cards, describedly create the multicast group according to described multicast port numbers and comprise:
When the professional keyword of a plurality of foregrounds tracking end business of following the tracks of is same professional keyword, according to the corresponding multicast port numbers of described same professional keyword, end is followed the tracks of on described a plurality of foregrounds joined in the same multicast group corresponding with this multicast port numbers;
When end institute is followed the tracks of when following the tracks of professional professional keyword at least two in foreground, the multicast port numbers corresponding according to each professional keyword holds the tracking of described foreground to join in the corresponding multicast group of multicast port numbers corresponding to each professional keyword.
The third aspect provides a kind of tracking end, comprising:
The port numbers acquiring unit, be used for after starting foreground tracking end program, receive the professional keyword of business to be tracked, and obtain the multicast port numbers corresponding with described professional keyword according to described professional keyword, and described professional keyword and the multicast port numbers corresponding with described professional keyword are sent to information transmitting unit;
Information transmitting unit, be used for receiving described professional keyword and the multicast port numbers corresponding with described professional keyword from the port numbers acquiring unit, generation comprises the trace information of described professional keyword and described multicast port numbers, and described trace information is sent to the background service end, and attempt adding in the multicast group corresponding with described multicast port numbers;
The daily record receiving element, be used for after adding the multicast group corresponding with described multicast port numbers, wait for that described background service end is processed and the business described to be tracked of described professional keyword match, and after described background service end is handled described business to be tracked, the daily record of receiving described business to be tracked from described background service termination.
In the first mode in the cards, in conjunction with the third aspect, described tracking end also comprises:
The information deletion unit is used for the end program being followed the tracks of on described foreground withdrawing from the multicast group corresponding with described multicast port numbers, and delete described trace information after closing foreground tracking end program.
In the second mode in the cards, in conjunction with the first of the third aspect or the third aspect mode in the cards, described port numbers acquiring unit specifically is used for:
If receiving the professional keyword of business to be tracked is one, it then is multicast port numbers of described professional keyword assignment;
Being at least two if receive the professional keyword of business to be tracked, then is multicast port numbers of each professional keyword assignment.
Fourth aspect provides a kind of service end, comprising:
Information receiving unit be used for to receive the trace information that comprises professional keyword and the multicast port numbers corresponding with described professional keyword, and described trace information is recorded in the trace information file, more described trace information file is sent to multicast and forms and build the unit;
Multicast is formed and is built the unit, is used for receiving described trace information file from information receiving unit, according to described trace information document creation multicast group;
Professional matching unit is used for carrying out business according to described professional keyword and mates, and will be minimum rank with the daily record rank adjusting of the business to be tracked of described professional keyword match;
The Log Sender unit, be used for writing journal file according to the daily record that original daily record rank of described business to be tracked will described business to be tracked, and according to the minimum rank of daily record with the Log Sender of described business to be tracked extremely corresponding with described professional keyword the corresponding multicast group of multicast port numbers.
In the first mode in the cards, in conjunction with fourth aspect, described service end also comprises;
Multicast group closing unit is used for periodic refreshing trace information file, after detecting described foreground and following the tracks of end and deleted trace information corresponding to described professional keyword, closes the corresponding multicast group of the multicast port numbers corresponding with described professional keyword.
In the second mode in the cards, in conjunction with the first of fourth aspect or fourth aspect mode in the cards, described multicast is formed and is built the unit and specifically be used for:
When the professional keyword of a plurality of foregrounds tracking end business of following the tracks of is same professional keyword, according to the corresponding multicast port numbers of described same professional keyword, end is followed the tracks of on described a plurality of foregrounds joined in the same multicast group corresponding with this multicast port numbers;
When end institute is followed the tracks of when following the tracks of professional professional keyword at least two in foreground, the multicast port numbers corresponding according to each professional keyword holds the tracking of described foreground to join in the corresponding multicast group of multicast port numbers corresponding to each professional keyword.
The 5th aspect provides a kind of communication system, and described system comprises:
Such as the described tracking end of claim 7 to 9;
Such as the described service end of claim 10 to 12.
The embodiment of the invention provides a kind of tracking of background program daily record, follow the tracks of end, service end and system, by after starting foreground tracking end program, receive the professional keyword of business to be tracked, obtain the multicast port numbers corresponding with professional keyword according to professional keyword, generation comprises the trace information of professional keyword and multicast port numbers, trace information is sent to the background service end and is recorded in the trace information file, make the background service end according to trace information document creation multicast group, after following the tracks of the end adding multicast group corresponding with the multicast port numbers, the background service end carries out the business coupling according to professional keyword, to be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match, after daily record generates according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers, tracking end in the like this multicast group just from the background service termination received the daily record of business to be tracked corresponding to the keyword of inputting, in the time of can making like this attendant check the detailed processing daily record of the business corresponding with this business keyword according to professional keyword, avoided the interference of other daily records, thereby the raising systematic function is convenient to operation.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The tracking schematic flow sheet of a kind of background program daily record that Fig. 1 provides for the embodiment of the invention;
The tracking schematic flow sheet of the another kind of background program daily record that Fig. 2 provides for the embodiment of the invention;
The tracking schematic flow sheet of a kind of background program daily record that Fig. 3 provides for further embodiment of this invention;
A kind of tracking end structure schematic diagram that Fig. 4 provides for further embodiment of this invention;
Fig. 5 follows the tracks of the end structure schematic diagram for the another kind that further embodiment of this invention provides;
A kind of service end structural representation that Fig. 6 provides for further embodiment of this invention;
The another kind of service end structural representation that Fig. 7 provides for further embodiment of this invention;
A kind of tracking end structure schematic diagram that Fig. 8 provides for another embodiment of the present invention;
The another kind of service end structural representation that Fig. 9 provides for another embodiment of the present invention;
A kind of communication system architecture schematic diagram that Figure 10 provides for another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention provides a kind of tracking of background program daily record, as shown in Figure 1, comprising:
S101, tracking end receive the professional keyword of business to be tracked after starting foreground tracking end program, and obtain the multicast port numbers corresponding with professional keyword according to professional keyword.
Wherein, after the attendant starts foreground tracking end program, input the professional keyword of business to be tracked by the attendant, and the professional keyword of business to be tracked is corresponding one by one with the multicast port numbers, namely a professional keyword can obtain a multicast port numbers corresponding with professional keyword.Being at least two if the attendant inputs the professional keyword of business to be tracked, then is multicast port numbers of each professional keyword assignment.
S102, tracking end generate the trace information that comprises professional keyword and multicast port numbers, and trace information is sent to the background service end, and attempt adding in the multicast group corresponding with the multicast port numbers.
S103, tracking end are waited for that the background service end is processed and the business to be tracked of professional keyword match, and after the background service end is handled business to be tracked, are received the daily record of business to be tracked from the background service termination after adding the multicast group corresponding with the multicast port numbers.
The embodiment of the invention also provides a kind of tracking of background program daily record, as shown in Figure 2, comprising:
S201, service end receive the trace information that comprises professional keyword and the multicast port numbers corresponding with professional keyword, and trace information is recorded in the trace information file.
S202, service end are according to trace information document creation multicast group.
S203, service end carry out the business coupling according to professional keyword, and will be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match.
S204, service end write journal file according to original daily record rank of business to be tracked with the daily record of business to be tracked, and according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers.
The embodiment of the invention provides a kind of tracking of background program daily record, by after starting foreground tracking end program, receive the professional keyword of business to be tracked, obtain the multicast port numbers corresponding with professional keyword according to professional keyword, generation comprises the trace information of professional keyword and multicast port numbers, trace information is sent to the background service end and is recorded in the trace information file, make the background service end according to trace information document creation multicast group, after following the tracks of the end adding multicast group corresponding with the multicast port numbers, the background service end carries out the business coupling according to professional keyword, to be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match, after daily record generates according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers, tracking end in the like this multicast group just from the background service termination received the daily record of business to be tracked corresponding to the keyword of inputting, in the time of can making like this attendant check the detailed processing daily record of the business corresponding with this business keyword according to professional keyword, avoided the interference of other daily records, thereby the raising systematic function is convenient to operation.
Further embodiment of this invention provides a kind of tracking of background program daily record, as shown in Figure 3, comprising:
S301, tracking end receive the professional keyword of business to be tracked after starting foreground tracking end program, and obtain the multicast port numbers corresponding with professional keyword according to professional keyword.
Exemplary, end is followed the tracks of on the foreground can be a computer.Suppose that the tracking end program of moving on this computer is charge system, professional keyword can be the telephone number of calling out, the attendant is after starting this charge system, by the telephone number that this charge system input will be followed the tracks of, follow the tracks of end and can obtain the multicast port numbers corresponding with it according to the telephone number of inputting.Concrete, when the attendant inputs the telephone number of a needs tracking, follow the tracks of end and can obtain a multicast port numbers that telephone number is corresponding therewith; When the attendant inputs the telephone number of at least two needs tracking, follow the tracks of end and can obtain at least two multicast port numbers, and each telephone number is corresponding one by one with the multicast port numbers.
Wherein, in the communication technology, multicast also can be called multicast, that a kind of single packet of the disposable transmission of one or more main frame that allows is to TCP/IP (the TransmissionControl Protocol/Internet Protocol of multiple host, transmission control protocol/Internet Interconnection agreement) network technology, be more a kind of communication mode to multiple spot, can effectively save the broadband.Be multicasting technology by specifying multicast address and port, a plurality of main frames can be formed multicast networks or multicast group, in this multicast group, any one main frame gives out information, and other main frames can receive.At present, multicasting technology can be widely used in the middle of the multinomial technology such as the network teleconference, online video program request and multimedia remote education.
S302, tracking end generate the trace information that comprises professional keyword and multicast port numbers, and trace information is sent to the background service end, and attempt adding in the multicast group corresponding with the multicast port numbers.
Exemplary, suppose in charge system, follow the tracks of end obtained follow the tracks of number and the multicast port numbers corresponding with following the tracks of number after, generation will comprise follows the tracks of number and the multicast port numbers trace information corresponding with following the tracks of number, and this trace information is sent to the background service end.At this moment, follow the tracks of end and just begin to attempt adding the port numbers corresponding multicast group corresponding with following the tracks of number, add unsuccessful then can be after dormancy a period of time retry.
S303, service end receive the trace information that comprises professional keyword and the multicast port numbers corresponding with professional keyword, and trace information is recorded in the trace information file.
S304, service end are according to trace information document creation multicast group.
Concrete, can create in the following manner the multicast group:
When the professional keyword of a plurality of foregrounds tracking end business of following the tracks of is same professional keyword, according to the corresponding multicast port numbers of same professional keyword, end is followed the tracks of on a plurality of foregrounds joined in the same multicast group corresponding with this multicast port numbers;
When end institute is followed the tracks of when following the tracks of professional professional keyword at least two in foreground, the multicast port numbers corresponding according to each professional keyword holds the foreground tracking to join in the corresponding multicast group of multicast port numbers corresponding to each professional keyword.
Exemplary, in charge system, above-mentioned keyword is telephone number, the background service end receive follow the tracks of number and the multicast port numbers corresponding with following the tracks of number after, if it is same telephone number that the tracking number of end is followed the tracks of on a plurality of foregrounds at a plurality of attendants place, then according to the corresponding multicast port numbers of same telephone number, end is followed the tracks of on these a plurality of foregrounds joined in the same multicast group corresponding with this multicast port numbers, all that are about to follow the tracks of same number are followed the tracks of end and are joined in the multicast group;
If following the tracks of the tracking number of end, the foreground at an attendant place is at least two, then follow the tracks of multicast port numbers corresponding to number according to each, end is followed the tracks of on this foreground joined in the corresponding multicast group of multicast port numbers corresponding to each tracking number, namely a foreground is followed the tracks of and is held the place main frame can add simultaneously in a plurality of multicast groups.
S305, after following the tracks of end and adding the multicast group corresponding with the multicast port numbers, wait for that the background service end is processed and the business to be tracked of professional keyword match.
S306, service end carry out the business coupling according to professional keyword, and will be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match.
Concrete, the background service end when every business begins to process, carries out the business coupling according to professional keyword when processing batch service.For example in charge system, if should business and the telephone number matches of attendant's input, then dynamically adjusting this professional daily record rank be lowermost level.Wherein, the daily record of background service end divides rank, and the higher daily record of rank is simpler, otherwise rank is lower, and daily record is more detailed.Like this, when the daily record rank of the business on the coupling was minimum rank, the attendant can receive and view the more detailed logging of the number of following the tracks of.
S307, service end write journal file according to original daily record rank of business to be tracked with the daily record of business to be tracked, and according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers.
The daily record that S308, tracking end are received business to be tracked from the background service termination.
Exemplary, in above-mentioned charge system, after the background service end generates the daily record corresponding with following the tracks of number, follow the tracks of multicast port numbers corresponding to number according to this, Log Sender to multicast group corresponding to this multicast port numbers, so that following the tracks of end, all in this multicast group can both be received this daily record.
Like this, when tracking end in the foreground at a plurality of attendants place forms same multicast group with the background service end, since follow the tracks of in this multicast group end all corresponding same tracking number, so these a plurality of tracking ends can receive only the detailed log information of rear above-mentioned same tracking number, are not subjected to the interference of other log informations; And, follow the tracks of end when the foreground at an attendant place and follow the tracks of simultaneously a plurality of numbers, because it is corresponding one by one with the multicast port numbers to follow the tracks of number, it is corresponding one by one with the multicast group namely to follow the tracks of number, because each multicast group can only be received the detailed log information of the tracking number of its correspondence, avoided equally the interference between a plurality of log informations, realized that the personalization of daily record is subscribed to and issue.
S309, tracking end are followed the tracks of the foreground of the end program and are withdrawed from the multicast group corresponding with the multicast port numbers after closing foreground tracking end program, and the deletion trace information.
Wherein, in the middle of prior art, after the attendant starts foreground tracking end program and incoming traffic keyword, whether need the attendant to search by hand trace log generates, after creating the multicast group, after foreground tracking termination is received trace log, search with regard to not needing manual whether trace log is generated.Simultaneously in the middle of prior art, after the tracking of tracking number is complete, need following the tracks of the manual deletion of number, and multicast form build after, the attendant is after closing foreground tracking end program, end is followed the tracks of on the foreground can withdraw from the multicast group automatically, and the deletion trace information, do not need manual deletion to follow the tracks of number, avoided loaded down with trivial details manual operations.
S310, service end periodic refreshing trace information file after detecting the foreground and following the tracks of end and deleted trace information corresponding to professional keyword, are closed the multicast port numbers corresponding multicast group corresponding with professional keyword.
The embodiment of the invention provides a kind of tracking of background program daily record, by after starting foreground tracking end program, receive the professional keyword of business to be tracked, obtain the multicast port numbers corresponding with professional keyword according to professional keyword, generation comprises the trace information of professional keyword and multicast port numbers, trace information is sent to the background service end and is recorded in the trace information file, make the background service end according to trace information document creation multicast group, after following the tracks of the end adding multicast group corresponding with the multicast port numbers, the background service end carries out the business coupling according to professional keyword, to be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match, after daily record generates according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers, tracking end in the like this multicast group just from the background service termination received the daily record of business to be tracked corresponding to the keyword of inputting, in the time of can making like this attendant check the detailed processing daily record of the business corresponding with this business keyword according to professional keyword, avoided the interference of other daily records, thereby the raising systematic function is convenient to operation.
Further embodiment of this invention provides a kind of tracking end 01, as shown in Figure 4, can comprise:
Port numbers acquiring unit 011, be used for after starting foreground tracking end program, receive the professional keyword of business to be tracked, and obtain the multicast port numbers corresponding with professional keyword according to professional keyword, and professional keyword and multicast port numbers corresponding to professional keyword are sent to information transmitting unit 012.
Information transmitting unit 012, be used for receiving professional keyword and multicast port numbers corresponding to professional keyword from port numbers acquiring unit 011, generation comprises the trace information of professional keyword and multicast port numbers, and trace information is sent to the background service end, and attempt adding in the multicast group corresponding with the multicast port numbers.
Daily record receiving element 013, be used for after adding the multicast group corresponding with the multicast port numbers, wait for that the background service end is processed and the business to be tracked of professional keyword match, and after the background service end is handled business to be tracked, receive the daily record of business to be tracked from the background service termination.
Further, as shown in Figure 5, following the tracks of end 01 can also comprise:
Information deletion unit 014 is used for the end program being followed the tracks of on the foreground withdrawing from the multicast group corresponding with the multicast port numbers after closing foreground tracking end program, and the deletion trace information.
Further, port numbers acquiring unit 01 can specifically be used for:
If receiving the professional keyword of business to be tracked is one, it then is multicast port numbers of professional keyword assignment;
Being at least two if receive the professional keyword of business to be tracked, then is multicast port numbers of each professional keyword assignment.
The embodiment of the invention provides a kind of tracking end, by after starting foreground tracking end program, receive the professional keyword of business to be tracked, obtain the multicast port numbers corresponding with professional keyword according to professional keyword, generation comprises the trace information of professional keyword and multicast port numbers, trace information is sent to the background service end and is recorded in the trace information file, make the background service end according to trace information document creation multicast group, after following the tracks of the end adding multicast group corresponding with the multicast port numbers, the background service end carries out the business coupling according to professional keyword, to be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match, after daily record generates according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers, tracking end in the like this multicast group just from the background service termination received the daily record of business to be tracked corresponding to the keyword of inputting, in the time of can making like this attendant check the detailed processing daily record of the business corresponding with this business keyword according to professional keyword, avoided the interference of other daily records, thereby the raising systematic function is convenient to operation.
The embodiment of the invention also provides a kind of service end 02, as shown in Figure 6, can comprise:
Information receiving unit 021 be used for to receive the trace information that comprises professional keyword and the multicast port numbers corresponding with professional keyword, and trace information is recorded in the trace information file, the trace information file is sent to multicast again and forms and build unit 022.
Multicast is formed and is built unit 022, is used for receiving the trace information file from information receiving unit 021, according to trace information document creation multicast group.
Professional matching unit 023 is used for carrying out business according to professional keyword and mates, and will be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match.
Log Sender unit 024, be used for according to original daily record rank of business to be tracked the daily record of business to be tracked being write journal file, and according to the minimum rank of daily record with the Log Sender of business to be tracked to the multicast port numbers corresponding multicast group corresponding with professional keyword.
Further, as shown in Figure 7, service end 02 can also comprise:
Multicast group closing unit 025 is used for periodic refreshing trace information file, after detecting the foreground and following the tracks of end and deleted trace information corresponding to professional keyword, closes the multicast port numbers corresponding multicast group corresponding with professional keyword.
Further, multicast is formed and is built unit 022 and can specifically be used for:
When the professional keyword of a plurality of foregrounds tracking end business of following the tracks of is same professional keyword, according to the corresponding multicast port numbers of same professional keyword, end is followed the tracks of on a plurality of foregrounds joined in the same multicast group corresponding with this multicast port numbers;
When end institute is followed the tracks of when following the tracks of professional professional keyword at least two in foreground, the multicast port numbers corresponding according to each professional keyword holds the foreground tracking to join in the corresponding multicast group of multicast port numbers corresponding to each professional keyword.
The embodiment of the invention provides a kind of service end, by after starting foreground tracking end program, receive the professional keyword of business to be tracked, obtain the multicast port numbers corresponding with professional keyword according to professional keyword, generation comprises the trace information of professional keyword and multicast port numbers, trace information is sent to the background service end and is recorded in the trace information file, make the background service end according to trace information document creation multicast group, after following the tracks of the end adding multicast group corresponding with the multicast port numbers, the background service end carries out the business coupling according to professional keyword, to be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match, after daily record generates according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers, tracking end in the like this multicast group just from the background service termination received the daily record of business to be tracked corresponding to the keyword of inputting, in the time of can making like this attendant check the detailed processing daily record of the business corresponding with this business keyword according to professional keyword, avoided the interference of other daily records, thereby the raising systematic function is convenient to operation.
Further embodiment of this invention provides a kind of tracking end 03, as shown in Figure 8, comprises first memory 034, bus 035,, can also comprise:
First processor 031, be used for after starting foreground tracking end program, receive the professional keyword of business to be tracked, and obtain the multicast port numbers corresponding with professional keyword according to professional keyword, and professional keyword and the multicast port numbers corresponding with professional keyword are sent to the first transmitter 032.
The first transmitter 032, be used for receiving professional keyword and the multicast port numbers corresponding with professional keyword from first processor 031, generation comprises the trace information of professional keyword and multicast port numbers, and trace information is sent to the background service end, and attempt adding in the multicast group corresponding with the multicast port numbers.
The first receiver 033, be used for after adding the multicast group corresponding with the multicast port numbers, wait for that the background service end is processed and the business to be tracked of professional keyword match, and after the background service end is handled business to be tracked, receive the daily record of business to be tracked from the background service termination.
Further, first processor 031 can also be used for:
After closing foreground tracking end program, the end program is followed the tracks of on the foreground withdraw from the multicast group corresponding with the multicast port numbers, and the deletion trace information.
Further, first processor 031 can also be used for:
If receiving the professional keyword of business to be tracked is one, it then is multicast port numbers of professional keyword assignment;
Being at least two if receive the professional keyword of business to be tracked, then is multicast port numbers of each professional keyword assignment.
The embodiment of the invention provides a kind of tracking end, by after starting foreground tracking end program, receive the professional keyword of business to be tracked, obtain the multicast port numbers corresponding with professional keyword according to professional keyword, generation comprises the trace information of professional keyword and multicast port numbers, trace information is sent to the background service end and is recorded in the trace information file, make the background service end according to trace information document creation multicast group, after following the tracks of the end adding multicast group corresponding with the multicast port numbers, the background service end carries out the business coupling according to professional keyword, to be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match, after daily record generates according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers, tracking end in the like this multicast group just from the background service termination received the daily record of business to be tracked corresponding to the keyword of inputting, in the time of can making like this attendant check the detailed processing daily record of the business corresponding with this business keyword according to professional keyword, avoided the interference of other daily records, thereby the raising systematic function is convenient to operation.
The embodiment of the invention also provides a kind of service end 04, as shown in Figure 9, comprises memory 044, and bus 045 can also comprise:
The second receiver 041 be used for to receive the trace information that comprises professional keyword and the multicast port numbers corresponding with professional keyword, and trace information is recorded in the trace information file, the trace information file is sent to the second processor 042 again.
The second processor 042 is used for receiving the trace information file from the second receiver 041, according to trace information document creation multicast group.
The second processor 042 can also be used for carrying out business according to professional keyword and mate, and will be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match.
The second transmitter 043, be used for according to original daily record rank of business to be tracked the daily record of business to be tracked being write journal file, and according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers.
Further, the second processor 042 can also be used for:
Periodic refreshing trace information file after detecting the foreground and following the tracks of end and deleted trace information corresponding to professional keyword, is closed the multicast port numbers corresponding multicast group corresponding with professional keyword.
Further, the second processor 042 can also be used for:
When the professional keyword of a plurality of foregrounds tracking end business of following the tracks of is same professional keyword, according to the corresponding multicast port numbers of same professional keyword, end is followed the tracks of on a plurality of foregrounds joined in the same multicast group corresponding with this multicast port numbers;
When end institute is followed the tracks of when following the tracks of professional professional keyword at least two in foreground, the multicast port numbers corresponding according to each professional keyword holds the foreground tracking to join in the corresponding multicast group of multicast port numbers corresponding to each professional keyword.
The embodiment of the invention provides a kind of service end, by after starting foreground tracking end program, receive the professional keyword of business to be tracked, obtain the multicast port numbers corresponding with professional keyword according to professional keyword, generation comprises the trace information of professional keyword and multicast port numbers, trace information is sent to the background service end and is recorded in the trace information file, make the background service end according to trace information document creation multicast group, after following the tracks of the end adding multicast group corresponding with the multicast port numbers, the background service end carries out the business coupling according to professional keyword, to be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match, after daily record generates according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers, tracking end in the like this multicast group just from the background service termination received the daily record of business to be tracked corresponding to the keyword of inputting, in the time of can making like this attendant check the detailed processing daily record of the business corresponding with this business keyword according to professional keyword, avoided the interference of other daily records, thereby the raising systematic function is convenient to operation.
Another embodiment of the present invention provides a kind of communication system 05, as shown in figure 10, can comprise: the tracking end 01/03 that previous embodiment provides, service end 02/04.
The embodiment of the invention provides a kind of communication system, by after starting foreground tracking end program, receive the professional keyword of business to be tracked, obtain the multicast port numbers corresponding with professional keyword according to professional keyword, generation comprises the trace information of professional keyword and multicast port numbers, trace information is sent to the background service end and is recorded in the trace information file, make the background service end according to trace information document creation multicast group, after following the tracks of the end adding multicast group corresponding with the multicast port numbers, the background service end carries out the business coupling according to professional keyword, to be minimum rank with the daily record rank adjusting of the business to be tracked of professional keyword match, after daily record generates according to the minimum rank of daily record with the Log Sender of business to be tracked to corresponding with the professional keyword corresponding multicast group of multicast port numbers, tracking end in the like this multicast group just from the background service termination received the daily record of business to be tracked corresponding to the keyword of inputting, in the time of can making like this attendant check the detailed processing daily record of the business corresponding with this business keyword according to professional keyword, avoided the interference of other daily records, thereby the raising systematic function is convenient to operation.
In several embodiment that the application provides, should be understood that the method, apparatus and system that disclose can realize by another way.For example, apparatus embodiments described above only is schematic, for example, the division of unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, the shown or coupling each other discussed or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
In addition, in each embodiment of the present invention in, each functional unit can be integrated in the processing unit, also can be that the independent physics of unit comprises, also can be integrated in the unit two or more unit.And each above-mentioned unit both can adopt the form of hardware to realize, the form that also can adopt hardware to add SFU software functional unit realizes.
The all or part of step of realization said method embodiment can be finished by the relevant hardware of program command, and aforesaid program can be stored in the computer read/write memory medium, and this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read Only Memory, abbreviation ROM), the various media that can be program code stored such as random access memory (Random Access Memory is called for short RAM), magnetic disc or CD.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (13)

1. the tracking of a background program daily record is characterized in that, comprising:
After starting foreground tracking end program, receive the professional keyword of business to be tracked, and obtain the multicast port numbers corresponding with described professional keyword according to described professional keyword;
Generation comprises the trace information of described professional keyword and described multicast port numbers, and described trace information is sent to the background service end, and attempts adding in the multicast group corresponding with described multicast port numbers;
After adding the multicast group corresponding with described multicast port numbers, wait for that described background service end is processed and the business described to be tracked of described professional keyword match, and after described background service end is handled described business to be tracked, the daily record of receiving described business to be tracked from described background service termination.
2. method according to claim 1 is characterized in that, described method also comprises:
After closing foreground tracking end program, the end program is followed the tracks of on described foreground withdraw from the multicast group corresponding with described multicast port numbers, and delete described trace information.
3. method according to claim 1 is characterized in that, describedly obtains the multicast port numbers corresponding with described professional keyword according to described professional keyword and comprises:
If receiving the professional keyword of business to be tracked is one, it then is multicast port numbers of described professional keyword assignment;
Being at least two if receive the professional keyword of business to be tracked, then is multicast port numbers of each professional keyword assignment.
4. the tracking of a background program daily record is characterized in that, comprising:
Reception comprises the trace information of professional keyword and the multicast port numbers corresponding with described professional keyword, and described trace information is recorded in the trace information file;
According to described trace information document creation multicast group;
Carry out business coupling according to described professional keyword, and will be minimum rank with the daily record rank adjusting of the business to be tracked of described professional keyword match;
According to original daily record rank of described business to be tracked the daily record of described business to be tracked is write journal file, and according to the minimum rank of daily record with the Log Sender of described business to be tracked to corresponding with the described professional keyword corresponding multicast group of multicast port numbers.
5. method according to claim 4 is characterized in that, described method also comprises:
Periodic refreshing trace information file after detecting described foreground and following the tracks of end and deleted trace information corresponding to described professional keyword, is closed the corresponding multicast group of the multicast port numbers corresponding with described professional keyword.
6. according to claim 4 or 5 described methods, it is characterized in that, describedly create the multicast group according to described multicast port numbers and comprise:
When the professional keyword of a plurality of foregrounds tracking end business of following the tracks of is same professional keyword, according to the corresponding multicast port numbers of described same professional keyword, end is followed the tracks of on described a plurality of foregrounds joined in the same multicast group corresponding with this multicast port numbers;
When end institute is followed the tracks of when following the tracks of professional professional keyword at least two in foreground, the multicast port numbers corresponding according to each professional keyword holds the tracking of described foreground to join in the corresponding multicast group of multicast port numbers corresponding to each professional keyword.
7. follow the tracks of end for one kind, it is characterized in that, comprising:
The port numbers acquiring unit, be used for after starting foreground tracking end program, receive the professional keyword of business to be tracked, and obtain the multicast port numbers corresponding with described professional keyword according to described professional keyword, and described professional keyword and the multicast port numbers corresponding with described professional keyword are sent to information transmitting unit;
Information transmitting unit, be used for receiving described professional keyword and the multicast port numbers corresponding with described professional keyword from the port numbers acquiring unit, generation comprises the trace information of described professional keyword and described multicast port numbers, and described trace information is sent to the background service end, and attempt adding in the multicast group corresponding with described multicast port numbers;
The daily record receiving element, be used for after adding the multicast group corresponding with described multicast port numbers, wait for that described background service end is processed and the business described to be tracked of described professional keyword match, and after described background service end is handled described business to be tracked, the daily record of receiving described business to be tracked from described background service termination.
8. tracking end according to claim 7 is characterized in that, described tracking end also comprises:
The information deletion unit is used for the end program being followed the tracks of on described foreground withdrawing from the multicast group corresponding with described multicast port numbers, and delete described trace information after closing foreground tracking end program.
9. method according to claim 7 is characterized in that, described port numbers acquiring unit specifically is used for:
If receiving the professional keyword of business to be tracked is one, it then is multicast port numbers of described professional keyword assignment;
Being at least two if receive the professional keyword of business to be tracked, then is multicast port numbers of each professional keyword assignment.
10. a service end is characterized in that, comprising:
Information receiving unit be used for to receive the trace information that comprises professional keyword and the multicast port numbers corresponding with described professional keyword, and described trace information is recorded in the trace information file, more described trace information file is sent to multicast and forms and build the unit;
Multicast is formed and is built the unit, is used for receiving described trace information file from information receiving unit, according to described trace information document creation multicast group;
Professional matching unit is used for carrying out business according to described professional keyword and mates, and will be minimum rank with the daily record rank adjusting of the business to be tracked of described professional keyword match;
The Log Sender unit, be used for writing journal file according to the daily record that original daily record rank of described business to be tracked will described business to be tracked, and according to the minimum rank of daily record with the Log Sender of described business to be tracked extremely corresponding with described professional keyword the corresponding multicast group of multicast port numbers.
11. method according to claim 10 is characterized in that, described service end also comprises:
Multicast group closing unit is used for periodic refreshing trace information file, after detecting described foreground and following the tracks of end and deleted trace information corresponding to described professional keyword, closes the corresponding multicast group of the multicast port numbers corresponding with described professional keyword.
12. according to claim 10 or 11 described methods, it is characterized in that described multicast is formed and built the unit and specifically be used for:
When the professional keyword of a plurality of foregrounds tracking end business of following the tracks of is same professional keyword, according to the corresponding multicast port numbers of described same professional keyword, end is followed the tracks of on described a plurality of foregrounds joined in the same multicast group corresponding with this multicast port numbers;
When end institute is followed the tracks of when following the tracks of professional professional keyword at least two in foreground, the multicast port numbers corresponding according to each professional keyword holds the tracking of described foreground to join in the corresponding multicast group of multicast port numbers corresponding to each professional keyword.
13. a communication system is characterized in that, described system comprises:
Such as the described tracking end of claim 7 to 9;
Such as the described service end of claim 10 to 12.
CN201210420905.5A 2012-10-29 2012-10-29 Background program log tracking method, tracking side, service side and system Expired - Fee Related CN102932176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210420905.5A CN102932176B (en) 2012-10-29 2012-10-29 Background program log tracking method, tracking side, service side and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210420905.5A CN102932176B (en) 2012-10-29 2012-10-29 Background program log tracking method, tracking side, service side and system

Publications (2)

Publication Number Publication Date
CN102932176A true CN102932176A (en) 2013-02-13
CN102932176B CN102932176B (en) 2015-06-17

Family

ID=47646883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210420905.5A Expired - Fee Related CN102932176B (en) 2012-10-29 2012-10-29 Background program log tracking method, tracking side, service side and system

Country Status (1)

Country Link
CN (1) CN102932176B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729506A (en) * 2017-10-23 2018-02-23 郑州云海信息技术有限公司 A kind of storage medium and the other dynamic adjusting method of journal stage, apparatus and system
CN109672735A (en) * 2018-12-20 2019-04-23 中国移动通信集团江苏有限公司 A kind of method, device and equipment of Message Processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1813467A (en) * 2003-06-26 2006-08-02 汤姆森特许公司 Parental monitoring of digital content
US20060246933A1 (en) * 2005-04-20 2006-11-02 Samsung Electronics Co., Ltd. Method and system for setting up a call in a mobile communication system supporting PTT service
CN102355384A (en) * 2011-10-13 2012-02-15 纳龙(苏州)信息技术有限公司 Communication standard of automated testing for monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1813467A (en) * 2003-06-26 2006-08-02 汤姆森特许公司 Parental monitoring of digital content
US20060246933A1 (en) * 2005-04-20 2006-11-02 Samsung Electronics Co., Ltd. Method and system for setting up a call in a mobile communication system supporting PTT service
CN102355384A (en) * 2011-10-13 2012-02-15 纳龙(苏州)信息技术有限公司 Communication standard of automated testing for monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729506A (en) * 2017-10-23 2018-02-23 郑州云海信息技术有限公司 A kind of storage medium and the other dynamic adjusting method of journal stage, apparatus and system
CN109672735A (en) * 2018-12-20 2019-04-23 中国移动通信集团江苏有限公司 A kind of method, device and equipment of Message Processing

Also Published As

Publication number Publication date
CN102932176B (en) 2015-06-17

Similar Documents

Publication Publication Date Title
CN110958218B (en) Data transmission method based on multi-network communication and related equipment
US20210406460A1 (en) Conference speech management method and apparatus
CN101080056B (en) A management method and system of network browser collection folder of mobile terminal
CN103475572B (en) Method, device and system for sending multiple pictures in instant messaging application
CN104980327A (en) Information push method and device
CN101136025A (en) Method for downloading network resource, system and equipment thereof
WO2013097379A1 (en) Data backup method and device
CN103139259A (en) Method and server of achieving low-flux synchronous message logging
CN109597640B (en) Account management method, device, equipment and medium for application program
CN111104368A (en) Method and system for realizing storage capacity expansion of container
CN102480437A (en) Method and device for controlling internet surfing data of home gateway
CN104035941A (en) Information screening method and device
CN102868595B (en) Method for realizing interaction among terminals, and related equipment and system
CN102368843A (en) Garbage message processing method and system thereof
CN105631970A (en) One-button type information sharing method and system based on automobile data recorder
CN108512930A (en) A kind of management method of shared file, device, server and storage medium
CN1700660A (en) Automatic reconnection method when disconnecting from server
CN102377688A (en) File transmission method and equipment
CN102932176B (en) Background program log tracking method, tracking side, service side and system
CN103401936A (en) Processing method and device for interface sharing
CN102474426A (en) Efficient host management protocol on multicast capable router
CN101621526B (en) iSCSI method and apparatus for preventing useless connection from occupying system resources
CN201256399Y (en) Downloading platform, downloading terminal and downloading system
CN103795856A (en) Information processing method and electronic device
CN104022896A (en) Configuration management method and device and network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150617

Termination date: 20161029