CN102158748A - Methods and systems for collecting and uploading logs - Google Patents

Methods and systems for collecting and uploading logs Download PDF

Info

Publication number
CN102158748A
CN102158748A CN2010101767845A CN201010176784A CN102158748A CN 102158748 A CN102158748 A CN 102158748A CN 2010101767845 A CN2010101767845 A CN 2010101767845A CN 201010176784 A CN201010176784 A CN 201010176784A CN 102158748 A CN102158748 A CN 102158748A
Authority
CN
China
Prior art keywords
daily record
log collection
unit
uploading
constraints
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.)
Pending
Application number
CN2010101767845A
Other languages
Chinese (zh)
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.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN2010101767845A priority Critical patent/CN102158748A/en
Publication of CN102158748A publication Critical patent/CN102158748A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses methods and systems for collecting and uploading logs, relating to the technical field of networks. The methods and the systems are designed in order to effectively avoid resource occupation because of collecting the logs. The method for collecting the logs comprises the following steps of: sending a log collection order which comprises constraint conditions required to be satisfied by the logs; and receiving the logs satisfying the constraint conditions. The method for uploading the logs comprises the following steps: receiving the log collection order; analyzing the constraint conditions contained in the log collection order; searching the logs satisfying the constraint conditions; and uploading the logs. Corresponding to the methods, the embodiment of the invention also provides systems for collecting and uploading logs, comprising a log collection unit, a storage unit and a log uploading unit. The embodiment disclosed by the invention is used for collecting network system logs.

Description

A kind of log collection and method for uploading and system
Technical field
The present invention relates to networking technology area, relate in particular to a kind of log collection and method for uploading and system.
Background technology
Interactive television (IPTV, Internet Protocol Television) is meant the television broadcasting service based on IP (Internet Protocol, the agreement that interconnects between the network) agreement.As display terminal, (STB Set-TopBox), transmits TV signal by Internet protocol to this business, and the multiple digital media service that comprises TV programme is provided to utilize network machine top box with television set or personal computer.Each network element of carrying interactive television system service, for example medium processing server, media management server, electronic playbill server, operation supporting server and stream service server etc., all with the form of daily record write down separately operation conditions and user's up-to-date trend.Comprise some Useful Informations in these daily record datas, can grasp the operation conditions of interactive television system and user's up-to-date trend by analyzing these daily record datas when needed.
In existing interactive television system, one of method of collector journal is the log collection function to be implanted in the network element network element generation daily record, network element place network equipment sends to log server by network with daily record in real time, by log server centralized stores daily record data.
State in realization in the process of collector journal, the inventor finds that there are the following problems at least in the prior art: when interactive television system customer volume peak period, the mode of this real-time Transmission daily record can take a large amount of network bandwidths, has a strong impact on the service quality of interactive television system.
Summary of the invention
Embodiments of the invention provide a kind of log collection and method for uploading and system, can effectively avoid the resource occupying that produces because of collector journal.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of log collection method comprises:
The instruction of transmission log collection; Wherein said log collection instruction comprises the constraints that daily record need be satisfied;
Reception meets the daily record of described constraints.
A kind of daily record method for uploading comprises:
The constraints that comprises in the described log collection instruction is resolved in the instruction of reception log collection, collects the daily record that meets described constraints, and described daily record is uploaded.
Accordingly, a kind of log collection and uploading system comprise:
The log collection unit is used for sending the log collection instruction to the daily record uploading unit, and receives the daily record that meets described constraints that described daily record uploading unit sends; Wherein said log collection instruction comprises the constraints that daily record need be satisfied;
Memory cell is used for the daily record that the logical volume transfer method and storage network system network element produces;
The daily record uploading unit is used to receive the described log collection instruction that described log collection unit sends, and collect to meet the daily record of described constraints in described memory cell, and the daily record that will meet described constraints is uploaded to described log collection unit.
Log collection that the embodiment of the invention provides and method for uploading and system, when network system need be carried out log collection, the constraints that the definite earlier daily record that will collect need be satisfied, and these constraintss are included in the log collection instruction issue, have only when daily record and satisfy described constraints just with this log collection.The method and system of this embodiment can be controlled the log collection behavior, guarantee the normal operation of network system.For example can be according to the ruuning situation of network system, issue the log collection instruction on suitable opportunity and carry out log collection, more specifically, for example in the application of interactive television system, when interactive television system is idle relatively, issue the log collection instruction, thereby avoid when the customer volume peak of interactive television system a large amount of daily records of transmission between network equipment and log server and cause and take a large amount of network broadbands, guarantee interactive television system service quality; The log collection of the embodiment of the invention and method for uploading and system meet the daily record of certain constraints because of collecting to network equipment, thereby can avoid handling a large amount of spent times of useless daily record because of log server in addition.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the embodiment of the invention one a log collection method flow diagram;
Fig. 2 is the embodiment of the invention two log collection systems corresponding with method for uploading;
Fig. 3 is the flow chart of the embodiment of the invention two log collection methods registration phase in early stage;
Fig. 4 is the embodiment of the invention flow chart in two log collection method command analysis stages;
Fig. 5 is the embodiment of the invention flow chart in two log collection method log collection stages;
Fig. 6 is the embodiment of the invention three log collection and uploading system block diagram;
Fig. 7 is applied to the log collection and the uploading system block diagram of interactive television system for the embodiment of the invention three;
Fig. 8 is the embodiment of the invention four daily record uploading unit structured flowcharts;
Fig. 9 is the embodiment of the invention four log collection cellular construction block diagrams.
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 is obtained under the creative work prerequisite.
Embodiment one
As shown in Figure 1, embodiment of the invention log collection method comprises the steps:
Step 101, the instruction of transmission log collection; Wherein said log collection instruction comprises the constraints that daily record need be satisfied.
Described log record the operation conditions of network element and user's up-to-date trend in the network system; Wherein said network element is a functional module of carrying out various functions in the network system, can realize by software code, is distributed in each network equipment in the network system, and this network equipment is for carrying out the hardware carrier of Network Element Function.Constraints is in log collection process, is used to distinguish useless daily record and useful daily record and some regulations of making, and collected Log Types etc. is provided constraints.Log collection command source automatic network system is for the collection demand of daily record, for example needs to extract Log Types, journal format, writing time of daily record etc. in the network system, in these demands one or more be can be used as constraints issue.
Step 102, reception meet the daily record of described constraints.
At this constraints, in having the memory cell of daily record, find the daily record that meets constraints, to upload to the originating end of log collection instruction, this originating end receives the daily record that meets constraints.
Embodiment of the invention daily record method for uploading comprises:
The constraints that comprises in the described log collection instruction is resolved in reception log collection instruction, collect to meet the daily record of described constraints in memory cell, and the daily record that will meet described constraints is uploaded.
Parse the command id of log collection instruction, this command id has comprised the constraints that daily record need be satisfied, in having the memory cell of daily record, collect the daily record that meets described constraints according to this constraints, and the daily record that will meet described constraints is uploaded to the transmitting terminal of log collection instruction.
The embodiment of the invention adopts two kinds of functional units to cooperate the collection that realizes daily record, wherein a kind of functional unit is used for collecting daily record data and uploading in the memory cell that has daily record according to log collection instruction, this functional unit can be distributed in the network equipment at each network element place in the network system, another kind of functional unit is used for issuing the log collection instruction and can receiving the daily record that described a kind of functional unit sends according to constraints to described wherein a kind of functional unit, this functional unit can the log server of embedded network system in.
Log collection that the embodiment of the invention provides and method for uploading, when network system need be carried out log collection, the constraints that the definite earlier daily record that will collect need be satisfied, and these constraintss are included in the log collection instruction issue, have only in the memory cell of each network element log daily record to satisfy described constraints just with this log collection.The method of this embodiment can be controlled the log collection behavior, guarantees the normal operation of network system.For example can issue the log collection instruction on suitable opportunity and carry out log collection according to the ruuning situation of network system.More specifically, for example in the application of interactive television system, when interactive television system is idle relatively, issue the log collection instruction, thereby avoid when the customer volume peak of interactive television system a large amount of daily records of transmission between network equipment and log server and cause and take a large amount of network broadbands, guarantee interactive television system service quality.The method and system of the embodiment of the invention meet the daily record of certain constraints because of collecting to each network equipment, thereby can avoid log server because of handling a large amount of spent times of useless daily record in addition.
Further, the daily record method for uploading of the embodiment of the invention also comprises the steps:
Send registration information; Wherein, described registration information comprises the daily record parameter of daily record in address information and the memory cell, and the daily record parameter includes but not limited to Log Types.
Described memory cell is used for the daily record that each network element of logical volume transfer method and storage network system produces in running, it can be a hardware module of network element place network equipment, also can be a plug-in hardware module that links to each other with this network equipment.Send registration information, to set up the communication linkage between network equipment and the log server, so that when functional unit in the follow-up log server sends the log collection instruction, can instruct transmissions targetedly according to this solicited message, with the efficient of raising log collection.
Embodiment two
Embodiment of the invention log collection method is specifying embodiment one.
As shown in Figure 2, the embodiment of the invention based on hardware unit comprise the log server 5 that daily record is safeguarded and handled, described log server is embedded with the log collection unit 2 that can issue log collection instruction and receive daily record; And network equipment 6, this network equipment 6 is distributed with the network element 7 of carrying out each business function, described in addition network equipment is distributed with and the daily record that described network element produces can be carried out the functional unit that selectivity is uploaded, be daily record uploading unit 3, the log store that described network element generation is arranged again is in the memory cell 4 of this network element place network equipment.The embodiment of the invention roughly is divided into following several stages according to the execution sequence of step: early stage registration phase, command analysis stage and log collection stage.
The early stage registration phase
As shown in Figure 3, this stage comprises the steps:
Step 21, receive the registration information that the daily record uploading unit sends, and described registration information is handled, the log-on message of the daily record uploading unit that succeeds in registration is stored; Described registration information comprises the daily record parameter of daily record in the address information of described daily record uploading unit and the described memory cell.Specifically comprise the steps:
Step 201, the registration information that receives is verified whether checking daily record uploading unit and log collection unit are complementary.
The log collection unit receives the registration information that is sent by the daily record uploading unit, daily record parameter in the described registration information comprises the network address of Log Types and described daily record uploading unit in the described memory cell, information such as IP (Internet Protocol, interconnection agreement between the network) address for example.Whether the daily record uploading unit that the checking of log collection unit sends registration information is complementary with described log collection unit, for example, one of technological means that the checking coupling is taked is, if the network address that sends the daily record uploading unit of registration information is arranged in the address list of log collection unit profile, and the Log Types that the daily record uploading unit can be uploaded is identical with the collectable Log Types in log collection unit, then expression coupling; Otherwise, if the network address of daily record uploading unit not in the address list of log collection unit profile or the collectable Log Types of Log Types and log collection unit that can upload of daily record uploading unit inequality, then represent not match.
Step 202, send the registration response message, the log-on message of the daily record uploading unit that succeeds in registration is stored to the daily record uploading unit.
If coupling, the log-on message of log collection unit record daily record uploading unit, described log-on message comprises information such as the daily record parameter of carrying in the registration information and address information, send the message that expression is succeeded in registration to the daily record uploading unit, if do not match, send registration failure information, the register requirement of refusal daily record uploading unit.
The command analysis stage
As shown in Figure 4, this stage comprises the steps:
The log collection request that step 203, reception network system are sent.
The log collection unit receives the log collection request that network system sends.Described log collection request can be sent by the network element in the system.For example, specifically be applied in the interactive television system, it is most popular that the network element in the system can recommend interactive television system to count which program by collector journal, and system's operation platform can analyze user's the custom of watching by the daily record of collecting.
Step 204, parse the constraints that the daily record that comprises in the described log collection request need be satisfied.
The log collection request that the described interactive television system of log collection unit resolves sends parses the constraints that the daily record that will collect need be satisfied, as information such as Log Types, journal format, writing times from request; This constraints of log collection unit record simultaneously, the validity of the daily record that receives for subsequent authentication.
The log collection stage
As shown in Figure 5, this stage comprises the steps:
The log-on message location daily record uploading unit of step 205, basis storage in advance sends the log collection instruction to described daily record uploading unit.
The described log-on message of storage in advance is that the daily record uploading unit is to log collection unit (ONU) registration success back canned data.The address information of carrying when registering according to the daily record uploading unit, locking will send the object element of instruction, and the log collection unit sends the log collection instruction according to the network address to registered daily record uploading unit, so that the follow-up business of carrying out is collected.
Further, in order further to improve the validity of log collection, the embodiment of the invention can also comprise step 206 after step 205:
Step 206, the daily record uploading unit is verified, confirmed that described daily record uploading unit is registered unit, send the log collection instruction to described daily record uploading unit through checking.
Send authorization information to the daily record uploading unit that has succeeded in registration, the daily record uploading unit is fed back this authorization information, according to the legitimacy of the further definite described daily record uploading unit of feedback information, confirms that promptly this daily record uploading unit really is registered unit.For example, described authorization information can send this digital signature to the daily record uploading unit for a digital signature that sends at random, confirms that daily record uploading unit feedack is consistent with digital signature.
Checking daily record uploading unit is after the legal daily record uploading unit, send the log collection instruction to described daily record uploading unit, comprise the constraints that the daily record that parses need be satisfied in the instruction of described log collection from the log collection request that interactive television system sends, as: information such as Log Types, journal format and writing time.
Reception meets the daily record of described constraints, specifically comprises the steps:
Described constraints is satisfied in the daily record that step 207, the checking of log collection unit receive, and preserves the described daily record through checking.
Therewith step accordingly, the embodiment of the invention relates to a kind of daily record method for uploading:
The daily record uploading unit receives the log collection instruction that the log collection unit sends, according to the constraints that comprises in the described log collection instruction, comprise the journal file at daily record place, the form of daily record, the conditions such as writing time of daily record, in memory cell, collect the daily record that meets described constraints, and described daily record is uploaded to the log collection unit.
Constraints daily record that the daily record uploading unit is uploaded according to record in the step 204 verifies, to guarantee the validity of daily record, afterwards the daily record of collecting is saved in that the informing network system reads in the log server.
Embodiment of the invention log collection method guarantees the validity of collected daily record by three kinds of measures: one, and the log collection unit only sends instruction to the daily record uploading unit of registering; Its two, the log collection unit is the uploading unit of checking daily record earlier identity before command log uploading unit collector journal; Its three, whether the daily record that checking daily record uploading unit is uploaded meets the constraints of network system appointment.The embodiment of the invention is collected the daily record of satisfying the network system needs targetedly, has saved and has handled the spent time of useless daily record; Simultaneously can control the log collection behavior, guarantee the normal operation of network system.
Log collection of the present invention and the method for uploading can be applied to a plurality of fields of network technology, for example are applied in the interactive television system.For example can when interactive television system is idle relatively, issue the log collection instruction, thereby avoid when the customer volume peak of interactive television system a large amount of daily records of transmission between network equipment and log server and cause and take a large amount of network broadbands, guarantee interactive television system service quality.Need to prove that the present invention is not limited to interactive television system, other networks, such as have can local storage network element log network, adopt log collection and the method for uploading described in the embodiment of the invention, all within protection range of the present invention.
Embodiment three
As shown in Figure 6, the embodiment of the invention provides a kind of log collection and uploading system 1, comprise: log collection unit 2 is used for sending the log collection instruction to daily record uploading unit 3, and receives the daily record that meets described constraints that described daily record uploading unit 3 sends; Wherein said log collection instruction comprises the constraints that daily record need be satisfied; Memory cell 4 is used for the daily record that the logical volume transfer method and storage network system network element produces; Daily record uploading unit 3 is used to receive the log collection instruction that described log collection unit 2 sends, and collect to meet the daily record of described constraints in described memory cell, and the daily record that will meet described constraints is uploaded to described log collection unit.
Described network element is a functional module of carrying out various functions in the network system, can realize by software code, is distributed in each network equipment in the network system, and this network equipment is for carrying out the hardware carrier of Network Element Function.Need to prove, the network equipment that the embodiment of the invention is mentioned, each network equipment does not limit the network element number that distributes in this network equipment, do not limit the number that embeds the daily record uploading unit in this network equipment yet, be that network equipment is the hardware carrier that described network element and daily record uploading unit realize function, but the quantity of this hardware carrier can not limit the operation quantity of network element; Described memory cell can be a hardware module of network element place network equipment, also can be a plug-in hardware module that links to each other with this network equipment.Constraints is in log collection process, is used to distinguish useless daily record and useful daily record and some regulations of making, and collected Log Types etc. is provided constraints.Log collection command source automatic network system is for the collection demand of daily record, for example needs to extract Log Types, journal format, writing time of daily record etc. in the network system, in these demands one or more be can be used as constraints issue.At this constraints, the daily record uploading unit finds the daily record that meets constraints in having the memory cell of network element log, and described daily record is uploaded to the log collection unit, and the log collection unit receives the daily record that meets constraints.
Log collection that the embodiment of the invention provides and uploading system can be controlled the log collection behavior, guarantee the normal operation of network system.For example can issue the log collection instruction on suitable opportunity and carry out log collection according to the ruuning situation of network system.More specifically, for example in the application of interactive television system, when interactive television system is idle relatively, issue the log collection instruction, thereby avoid when the customer volume peak of interactive television system a large amount of daily records of transmission between network equipment and log server and cause and take a large amount of network broadbands, guarantee interactive television system service quality.The method and system of the embodiment of the invention meet the daily record of certain constraints because of collecting to each network equipment, thereby can avoid log server because of handling a large amount of spent times of useless daily record in addition.
As shown in Figure 7, the embodiment of the invention is applied to the application schematic diagram in the interactive television system, log collection unit 2 embeds the log server 5 of interactive television system, described daily record uploading unit 3 is distributed in the network equipment that comprises the network element place of carrying out business function in the interactive television system, for example streaming media server 61, terminal message management server 62, presence server 63 and information server 64 etc., network machine top box as client can be visited other network elements by the terminal message management server, the memory module of log store in the terminal message management server of while network machine top box, log server can obtain the daily record of set-top box from the terminal message management server.When interactive television system need carry out log collection, after the log collection request that certain network element or tension management equipment send in the log collection unit receiving system in the log server, daily record uploading unit to each network equipment issues the collection instruction, the daily record uploading unit is searched for qualified daily record in local memory cell, upload to the log collection unit.
Embodiment four
The embodiment of the invention further comprises following content based on embodiment three on embodiment three bases.
As shown in Figure 8, daily record uploading unit 3 of the present invention comprises Registering modules 31, be used for sending registration information to described log collection unit, described registration information comprises the daily record parameter of daily record in the address information of described daily record uploading unit and the described memory cell; Collect module 32, be used for resolving the constraints that described log collection instruction that described log collection unit sends comprises, in described memory cell, collect the daily record that meets described constraints; Last transmission module 33 is used for the daily record that meets described constraints that the collection module was collected is sent to described log collection unit.
Embodiment of the invention daily record uploading unit is initiated register requirement by Registering modules to the log collection unit, so that follow-up to the transmission daily record of log collection unit, described daily record parameter includes but not limited to the Log Types of daily record in the memory cell.
Each network element will daily record data separately be stored in the memory cell of network equipment at this network element place in the network system, only when the log collection demand is arranged, the daily record uploading unit is to log collection unit selectivity transmission daily record, avoids aiming at a large amount of days transmitting between the log server of network system and the network equipment.
When the daily record uploading unit receives the log collection instruction, the constraints that the daily record that will collect in the instruction of collection module parses log collection need be satisfied, comprise the type of daily record, the form of daily record, the conditions such as writing time of daily record, in the journal file of memory cell, collect the daily record that meets constraints, the daily record of collecting that meets constraints is uploaded to the log collection unit by last transmission module.
As shown in Figure 9, the described log collection of embodiment of the invention unit 2 comprises parsing module 21, is used to receive the log collection request that network system is sent, and parses the constraints that the daily record that comprises in the described log collection request need be satisfied; Collection module 22 is used for sending the log collection instruction to described daily record uploading unit, and receives the daily record that meets described constraints.
The log collection unit receives the log collection request that network system sends, log collection unit resolves module parses goes out the constraints that the daily record that comprises in the described log collection request need be satisfied, as information such as Log Types, journal format, writing times, these constraintss are issued to the daily record uploading unit; Simultaneously described constraints is sent to authentication module, the validity of the daily record that receives for subsequent authentication.
Further, referring to Fig. 9, described log collection unit 2 also comprises location registration process module 23, is used to receive the registration information that described daily record uploading unit sends, and described registration information handled, the log-on message of the daily record uploading unit that succeeds in registration is stored; Wherein, described registration information comprises the daily record parameter of daily record in the address information of described daily record uploading unit and the described memory cell, and described log-on message comprises the address information of described daily record uploading unit.
The location registration process module receives the registration information that is sent by the daily record uploading unit, daily record parameter in the described registration information comprises the network address of Log Types and described daily record uploading unit in the described memory cell, information such as IP (Internet Protocol, interconnection agreement between the network) address for example.Whether the daily record uploading unit that the checking of location registration process unit sends registration information is complementary with described log collection unit, for example, one of technological means that the checking coupling is taked is, if the network address that sends the daily record uploading unit of registration information is arranged in the address list of log collection unit profile, and the Log Types that the daily record uploading unit can be uploaded is identical with the collectable Log Types in log collection unit, then expression coupling; Otherwise, if the network address of daily record uploading unit not in the address list of log collection unit profile or the collectable Log Types of Log Types and log collection unit that can upload of daily record uploading unit inequality, then represent not match.If coupling, the log-on message of location registration process module records daily record uploading unit, described log-on message comprises information such as the daily record parameter of carrying in the registration information and address information, send the message that expression is succeeded in registration to the daily record uploading unit, if do not match, send registration failure information, the register requirement of refusal daily record uploading unit.
Further, the module of location registration process described in Fig. 9 23 also is used for according to log-on message location daily record uploading unit.
The address information locking of carrying when registering according to the daily record uploading unit will send the object element of instruction, and the log collection unit sends the log collection instruction according to address information to registered daily record uploading unit, so that the follow-up business of carrying out is collected.
Further, the module of location registration process described in Fig. 9 23 also is used for described daily record uploading unit is verified, confirms that described daily record uploading unit is registered unit.
In order further to improve the validity of log collection, send authorization information to the daily record uploading unit that has succeeded in registration, the daily record uploading unit is fed back this authorization information, according to the legitimacy of the further definite described daily record uploading unit of feedback information, confirm that promptly this daily record uploading unit really is registered unit.For example, described authorization information can send this digital signature to the daily record uploading unit for a digital signature that sends at random, confirms that daily record uploading unit feedack is consistent with digital signature.
Checking daily record uploading unit is after the legal daily record uploading unit, the collection module of log collection unit sends the log collection instruction to described daily record uploading unit, comprise the constraints that the daily record that parses need be satisfied in the instruction of described log collection from the log collection request that network system is sent, as: information such as Log Types, journal format and writing time.
Further, referring to Fig. 9, the described log collection of embodiment of the invention unit also comprises authentication module 24, is used to verify that the described daily record that described daily record uploading unit sends satisfies described constraints; And memory module 25, be used to preserve described daily record through checking.
The authentication module of log collection unit is according to the constraints of preserving, the daily record that the daily record uploading unit sends is verified, to guarantee the validity of daily record, confirm that described daily record satisfies after the described constraints, memory module is preserved the described daily record through checking, and the network element that notice sends the log collection request reads.
Embodiment of the invention log collection and uploading system guarantee the validity of collected daily record by three kinds of measures: one, and the log collection unit only sends instruction to the daily record uploading unit of registering; Its two, the log collection unit is the uploading unit of checking daily record earlier identity before command log uploading unit collector journal; Its three, whether the daily record that checking daily record uploading unit is uploaded meets the constraints of network system appointment.The embodiment of the invention is the daily record of collection network system needs targetedly, has saved and has handled the spent time of useless daily record; The embodiment of the invention can be controlled the log collection behavior, guarantees the normal operation of network system; Network equipment is provided with the daily record uploading unit and handles the log collection instruction, and is separate with other professional network elements of realization in the network equipment, helps the expansion respectively of network equipment business function and log collection function.
Illustrate the embodiment of the invention below and be applied to a kind of application in the interactive television system.Interactive television system need be added up the user profile of a certain day watching certain program in the section sometime, interactive television system sends the log collection request to the log collection unit, comprise Log Types (channel daily record), journal format (user ID, channel number, time started and concluding time) in the request, information such as log record time.
The log collection request of log collection unit resolves interactive television system; The constraints that the collected daily record of authentication module need be satisfied is informed in the log collection unit, and as Log Types, the time of journal format constraint and log record is so that the validity of the daily record that checking daily record uploading unit is uploaded; Log collection cell call location registration process module location daily record uploading unit has been stored this channel daily record in the memory module of the network equipment at described daily record uploading unit place; The legitimacy of described daily record uploading unit is verified in the log collection unit; The log collection unit sends the instruction of collecting the channel daily record to the daily record uploading unit through checking; The daily record uploading unit is resolved the instruction that the log collection unit sends, and collects the daily record that meets constraints in the channel journal file of memory cell; The daily record that meets constraints that the daily record uploading unit will be collected is uploaded to the log collection unit; Whether whether the daily record that log collection cell call authentication module checking daily record uploading unit is uploaded satisfies the constraints of system requirements, be the daily record of this channel for example, and whether the form of daily record satisfies the requirement of system etc.; Checking is saved in memory device by back log collection cell call memory module with daily record; The position that the notice interactive television system has been finished log collection and log store.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, 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 (17)

1. a log collection method is characterized in that, this method comprises:
The instruction of transmission log collection; Wherein said log collection instruction comprises the constraints that daily record need be satisfied;
Reception meets the daily record of described constraints.
2. according to the described log collection method of claim 1, it is characterized in that described transmission log collection instruction comprises:
Log-on message location daily record uploading unit according to storage in advance sends the log collection instruction to described daily record uploading unit.
3. according to the described log collection method of claim 2, it is characterized in that described transmission log collection instruction also comprises:
The daily record uploading unit is verified, confirmed that described daily record uploading unit is registered unit, send the log collection instruction to described daily record uploading unit through checking.
4. according to the described log collection method of claim 1, it is characterized in that described reception meets the daily record of described constraints, comprising:
Described constraints is satisfied in the daily record that checking receives, and preserves the described daily record through checking.
5. according to the described log collection method of claim 2, it is characterized in that before the described transmission log collection instruction, this method comprises:
Receive the registration information that the daily record uploading unit sends, and described registration information is handled, the log-on message of the daily record uploading unit that succeeds in registration is stored; Wherein, described registration information comprises the daily record parameter of daily record in address information and the memory cell; Described log-on message comprises described address information.
6. according to the described log collection method of claim 1, it is characterized in that before the described transmission log collection instruction, this method also comprises:
Receive the log collection request that network system is sent;
Parse the constraints that the daily record that comprises in the described log collection request need be satisfied.
7. according to each described log collection method in the claim 1 to 6, it is characterized in that this method is specially the log collection method based on interactive television system.
8. a daily record method for uploading is characterized in that, this method comprises:
The constraints that comprises in the described log collection instruction is resolved in reception log collection instruction, collect to meet the daily record of described constraints in memory cell, and the daily record that will meet described constraints is uploaded.
9. according to the described daily record method for uploading of claim 8, it is characterized in that this method also comprises:
Send registration information; Wherein, described registration information comprises the daily record parameter of daily record in address information and the described memory cell.
10. log collection and uploading system is characterized in that, comprising:
The log collection unit is used for sending the log collection instruction to the daily record uploading unit, and receives the daily record that meets described constraints that described daily record uploading unit sends; Wherein said log collection instruction comprises the constraints that daily record need be satisfied;
Memory cell is used for the daily record that the logical volume transfer method and storage network system network element produces;
The daily record uploading unit is used to receive the described log collection instruction that described log collection unit sends, and collect to meet the daily record of described constraints in described memory cell, and the daily record that will meet described constraints is uploaded to described log collection unit.
11., it is characterized in that described log collection unit comprises according to described log collection of claim 10 and uploading system:
Parsing module is used to receive the log collection request that network system is sent, and parses the constraints that the daily record that comprises in the described log collection request need be satisfied;
Collection module is used for sending the log collection instruction to described daily record uploading unit, and receives the daily record that meets described constraints.
12., it is characterized in that described log collection unit also comprises according to described log collection of claim 10 and uploading system:
The location registration process module is used to receive the registration information that described daily record uploading unit sends, and described registration information is handled, and the log-on message of the daily record uploading unit that succeeds in registration is stored; Wherein, described registration information comprises the daily record parameter of daily record in the address information of described daily record uploading unit and the described memory cell, and described log-on message comprises the address information of described daily record uploading unit.
13., it is characterized in that according to described log collection of claim 12 and uploading system:
Described location registration process module also is used for described daily record uploading unit is verified, confirms that described daily record uploading unit is registered unit.
14., it is characterized in that according to described log collection of claim 12 and uploading system:
Described location registration process module also is used for the described log-on message location daily record uploading unit according to storage.
15., it is characterized in that described log collection unit also comprises according to described log collection of claim 10 and uploading system:
Authentication module is used to verify that the described daily record that described daily record uploading unit sends satisfies described constraints;
Memory module is used to preserve the described daily record through checking.
16., it is characterized in that described daily record uploading unit comprises according to described log collection of claim 10 and uploading system:
Registering modules is used for sending registration information to described log collection unit, and described registration information comprises the daily record parameter of daily record in the address information of described daily record uploading unit and the described memory cell;
Collect module, be used for resolving the constraints that described log collection instruction that described log collection unit sends comprises, in described memory cell, collect the daily record that meets described constraints;
Last transmission module is used for the daily record that meets described constraints that the collection module was collected is sent to described log collection unit.
17., it is characterized in that this system is specially based on the log collection of interactive television system and uploading system according to each described log collection and uploading system in the claim 10 to 16.
CN2010101767845A 2010-05-14 2010-05-14 Methods and systems for collecting and uploading logs Pending CN102158748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101767845A CN102158748A (en) 2010-05-14 2010-05-14 Methods and systems for collecting and uploading logs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101767845A CN102158748A (en) 2010-05-14 2010-05-14 Methods and systems for collecting and uploading logs

Publications (1)

Publication Number Publication Date
CN102158748A true CN102158748A (en) 2011-08-17

Family

ID=44439883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101767845A Pending CN102158748A (en) 2010-05-14 2010-05-14 Methods and systems for collecting and uploading logs

Country Status (1)

Country Link
CN (1) CN102158748A (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394771A (en) * 2011-10-26 2012-03-28 广州杰赛科技股份有限公司 Socket type embedded log acquisition system and method
CN102594591A (en) * 2012-02-07 2012-07-18 大唐移动通信设备有限公司 Log collection method and device
CN102882705A (en) * 2012-09-03 2013-01-16 青岛海信传媒网络技术有限公司 Method for reporting log through terminal equipment and log reporting system
CN103023984A (en) * 2012-11-23 2013-04-03 青岛海信传媒网络技术有限公司 Terminal application server and application log filtering method thereof
CN103024463A (en) * 2012-12-17 2013-04-03 四川九洲电器集团有限责任公司 Method for monitoring log information of set-top box in real time
CN103177369A (en) * 2011-12-20 2013-06-26 触动多媒体技术(上海)有限公司 Remote analytic method for log information
CN103326896A (en) * 2013-06-07 2013-09-25 合一信息技术(北京)有限公司 System and method for collecting information data generated by a user on Internet
CN104735139A (en) * 2015-03-11 2015-06-24 小米科技有限责任公司 Terminal information statistical method, device, terminal and server
CN104735162A (en) * 2015-04-10 2015-06-24 上海自仪泰雷兹交通自动化系统有限公司 Remote log collection method used for security encryption devices of rail transit signal system
CN104980785A (en) * 2015-06-24 2015-10-14 冯旋宇 Data update method and system for set top box
CN105100128A (en) * 2014-04-24 2015-11-25 北京金山网络科技有限公司 Server cluster log acquiring and providing methods, log server and node server
CN105141646A (en) * 2014-05-30 2015-12-09 北京金山网络科技有限公司 Node server in server cluster, resource acquisition method thereof, resource provision method thereof, and management server
CN105490841A (en) * 2015-11-26 2016-04-13 广州华多网络科技有限公司 Terminal log grasping method, device and system
CN105577445A (en) * 2015-12-30 2016-05-11 北京京东尚科信息技术有限公司 Method and device for collecting and reporting logs
CN105656706A (en) * 2014-11-14 2016-06-08 北京通达无限科技有限公司 Business data processing method and device
CN106878041A (en) * 2015-12-11 2017-06-20 广州市动景计算机科技有限公司 Log information processing method, apparatus and system
CN107426750A (en) * 2017-07-18 2017-12-01 上海斐讯数据通信技术有限公司 A kind of mobile telephone registration failure automatic diagnosis method and system
CN107643904A (en) * 2017-09-18 2018-01-30 泰康保险集团股份有限公司 Code submits detection method, device, medium and the electronic equipment of daily record
CN107766219A (en) * 2017-10-30 2018-03-06 郑州云海信息技术有限公司 Automated testing log collection method, system, equipment and computer memory device
CN108769809A (en) * 2018-05-28 2018-11-06 成都市极米科技有限公司 Domestic consumer's behavioral data acquisition method, device and computer readable storage medium based on smart television
CN108809725A (en) * 2018-06-15 2018-11-13 郑州云海信息技术有限公司 A kind of collection method and device of journal file
CN110381307A (en) * 2018-04-13 2019-10-25 玲珑视界科技(北京)有限公司 A kind of assessment information source quality and transmission quality system and method
CN112988670A (en) * 2021-05-11 2021-06-18 长扬科技(北京)有限公司 Log data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043375A (en) * 2007-03-15 2007-09-26 华为技术有限公司 Distributed system journal collecting method and system
CN101527812A (en) * 2008-03-07 2009-09-09 上海贝尔阿尔卡特股份有限公司 Method for automatically counting customer event information and program reception information in network television system
JP2010045838A (en) * 2004-03-04 2010-02-25 Nippon Television Network Corp Viewing control system, broadcast station, receiver, and viewing control method
CN101668155A (en) * 2009-09-10 2010-03-10 中兴通讯股份有限公司 IPTV system log message tracing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010045838A (en) * 2004-03-04 2010-02-25 Nippon Television Network Corp Viewing control system, broadcast station, receiver, and viewing control method
CN101043375A (en) * 2007-03-15 2007-09-26 华为技术有限公司 Distributed system journal collecting method and system
CN101527812A (en) * 2008-03-07 2009-09-09 上海贝尔阿尔卡特股份有限公司 Method for automatically counting customer event information and program reception information in network television system
CN101668155A (en) * 2009-09-10 2010-03-10 中兴通讯股份有限公司 IPTV system log message tracing method and system

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394771A (en) * 2011-10-26 2012-03-28 广州杰赛科技股份有限公司 Socket type embedded log acquisition system and method
CN103177369A (en) * 2011-12-20 2013-06-26 触动多媒体技术(上海)有限公司 Remote analytic method for log information
CN102594591A (en) * 2012-02-07 2012-07-18 大唐移动通信设备有限公司 Log collection method and device
CN102882705A (en) * 2012-09-03 2013-01-16 青岛海信传媒网络技术有限公司 Method for reporting log through terminal equipment and log reporting system
CN102882705B (en) * 2012-09-03 2015-03-25 青岛海信传媒网络技术有限公司 Method for reporting log through terminal equipment and log reporting system
CN103023984A (en) * 2012-11-23 2013-04-03 青岛海信传媒网络技术有限公司 Terminal application server and application log filtering method thereof
CN103023984B (en) * 2012-11-23 2015-05-20 青岛海信传媒网络技术有限公司 Terminal application server and application log filtering method thereof
CN103024463A (en) * 2012-12-17 2013-04-03 四川九洲电器集团有限责任公司 Method for monitoring log information of set-top box in real time
CN103326896A (en) * 2013-06-07 2013-09-25 合一信息技术(北京)有限公司 System and method for collecting information data generated by a user on Internet
CN103326896B (en) * 2013-06-07 2016-04-27 合一信息技术(北京)有限公司 The system and method for the information data that a kind of user of collection produces on the internet
CN105100128A (en) * 2014-04-24 2015-11-25 北京金山网络科技有限公司 Server cluster log acquiring and providing methods, log server and node server
CN105141646A (en) * 2014-05-30 2015-12-09 北京金山网络科技有限公司 Node server in server cluster, resource acquisition method thereof, resource provision method thereof, and management server
CN105656706A (en) * 2014-11-14 2016-06-08 北京通达无限科技有限公司 Business data processing method and device
CN104735139B (en) * 2015-03-11 2018-02-02 小米科技有限责任公司 End message statistical method, device, terminal and server
CN104735139A (en) * 2015-03-11 2015-06-24 小米科技有限责任公司 Terminal information statistical method, device, terminal and server
CN104735162A (en) * 2015-04-10 2015-06-24 上海自仪泰雷兹交通自动化系统有限公司 Remote log collection method used for security encryption devices of rail transit signal system
CN104735162B (en) * 2015-04-10 2018-08-07 上海电气泰雷兹交通自动化系统有限公司 Remote journal collection method for the safe encryption device of rail traffic signal system
CN104980785A (en) * 2015-06-24 2015-10-14 冯旋宇 Data update method and system for set top box
CN105490841B (en) * 2015-11-26 2019-03-01 广州华多网络科技有限公司 A kind of terminal log grasping means, apparatus and system
CN105490841A (en) * 2015-11-26 2016-04-13 广州华多网络科技有限公司 Terminal log grasping method, device and system
CN106878041A (en) * 2015-12-11 2017-06-20 广州市动景计算机科技有限公司 Log information processing method, apparatus and system
CN105577445A (en) * 2015-12-30 2016-05-11 北京京东尚科信息技术有限公司 Method and device for collecting and reporting logs
CN107426750A (en) * 2017-07-18 2017-12-01 上海斐讯数据通信技术有限公司 A kind of mobile telephone registration failure automatic diagnosis method and system
CN107643904A (en) * 2017-09-18 2018-01-30 泰康保险集团股份有限公司 Code submits detection method, device, medium and the electronic equipment of daily record
CN107766219A (en) * 2017-10-30 2018-03-06 郑州云海信息技术有限公司 Automated testing log collection method, system, equipment and computer memory device
CN110381307A (en) * 2018-04-13 2019-10-25 玲珑视界科技(北京)有限公司 A kind of assessment information source quality and transmission quality system and method
CN108769809A (en) * 2018-05-28 2018-11-06 成都市极米科技有限公司 Domestic consumer's behavioral data acquisition method, device and computer readable storage medium based on smart television
CN108769809B (en) * 2018-05-28 2021-06-29 成都极米科技股份有限公司 Smart television-based home user behavior data acquisition method and device and computer-readable storage medium
CN108809725A (en) * 2018-06-15 2018-11-13 郑州云海信息技术有限公司 A kind of collection method and device of journal file
CN112988670A (en) * 2021-05-11 2021-06-18 长扬科技(北京)有限公司 Log data processing method and device

Similar Documents

Publication Publication Date Title
CN102158748A (en) Methods and systems for collecting and uploading logs
CN101889425B (en) Apparatus and method for simulcast over variable bandwidth channel
CN101282453B (en) Method for updating electric service instruction, server, terminal and system
CN102202229B (en) Method and device for real-time video gateway
CN103457907A (en) Method, equipment and system for multimedia content distribution
CN102547447B (en) A kind of method of downloading video files, Apparatus and system
CN102036114B (en) Digital television service data management method, server and terminal
CN101600089A (en) The implementation method of the advertising business in the network television system and device
CN104349184A (en) Method of identification of multimedia flows and corresponding apparatus
CN101039410A (en) System and method for navigating intelligent electronic program of network TV
CN101222347A (en) Method and equipment for user acquiring network data
CN1842155A (en) System and method for realizing electronic program guide information download and analysis
CN102970581B (en) A kind of digital TV data transmission method, device and system
CN102158390A (en) Method and device for adjusting and processing access bandwidth
CN102404616B (en) Method and system for pushing data cloud based on digital television network
CN102883192A (en) Media type processing method, media playing method and device in IPTV system
CN101583020A (en) Program broadcasting system and method
CN101656947B (en) Establishing method, device and system of cross-heterogeneous-network service sharing
CN102571409A (en) Service request management system and method for realizing service across-terminal application
CN104093045A (en) Method and system for processing OTT TV playing request based on source return
CN101668184B (en) IPTV system-based video monitoring method and IPTV system-based video monitoring system system
CN109756743A (en) Localization information synchronized push system and method
CN101616168A (en) The processing method of streaming media interactive information, Apparatus and system
CN101695044A (en) Stream media service node and load balancing method thereof
CN107241619B (en) Media asset content synchronization method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110817