CN107547943A - A kind of journal file is derived automatically from method and set top box - Google Patents
A kind of journal file is derived automatically from method and set top box Download PDFInfo
- Publication number
- CN107547943A CN107547943A CN201610465679.0A CN201610465679A CN107547943A CN 107547943 A CN107547943 A CN 107547943A CN 201610465679 A CN201610465679 A CN 201610465679A CN 107547943 A CN107547943 A CN 107547943A
- Authority
- CN
- China
- Prior art keywords
- top box
- set top
- crawl
- journal file
- daily record
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
Journal file provided in an embodiment of the present invention is derived automatically from method and set top box, methods described is by detecting whether set top box has external memorizer access, and judge daily record crawl instruction in the external memorizer be present, corresponding journal file in daily record crawl instruction gripper top box in external memorizer, and the journal file grabbed is exported and stored into external memorizer, realize user and crawl is automatically controlled to set-top performance logs file, it is no longer necessary to pass through its equipment or the input instruction intervention thought;Due to being provided with the instruction of triggering daily record crawl function in external memorizer, so that this method is simple to operate when using, it further increasing the efficiency to set-top box failure localization process, the maintenance efficiency and exploitation precision to set top box are improved, solving prior art can not be used mode wirelessly or non-wirelessly to connect the technical problem that the input crawl of PC terminals instructs crawl log by the limitation of field condition.
Description
Technical field
The present invention relates to communication technical field, and method and set top box are derived automatically from more particularly to a kind of journal file.
Background technology
In existing communication system, using journal file record system this technology of all Action Events very
Popularization uses, it has also become the necessary functions of all communication systems, syslog file are a kind of include on system message
File, it is able to record all information of hardware in system, software and system problem.Different journal files records different letters
Breath, for example, having plenty of default record system operation information, has plenty of record network bag.It can be understood by analysis system daily record
The safe condition and running situation of system, also allow for finding system exception, and for fast positioning and solve the problems, such as to provide foundation.
At present, applied to the real-time crawl log of Android system set top box method mainly by network interface either serial ports or
The serial ports of SD interface, but this several ways is required for by wired or wirelessly connect a PC and set top box
Connect, and the order ability crawl log file specified is inputted on PC.But it is some in particular cases, due to environment, equipment
Or the technical merit of operation element personnel is limited, such as without specific Serial Port Line or Network Abnormal etc., then by above-mentioned
Existing method can not just complete crawl and the export of live set-top performance logs file, so as to have impact on staff to set top box
The positioning maintenance of failure and the efficiency that equipment development is carried out according to daily record.
The content of the invention
Journal file provided in an embodiment of the present invention is derived automatically from method and set top box, with solve in the prior art due to by
PC terminals input crawl instruction crawl log can not be connected using mode wirelessly or non-wirelessly to the limitation of field condition, and shadow
Positioning analysis of the staff to failure is rung, so as to cause the technical problem relatively low to the maintenance efficiency of equipment.
In order to solve the above technical problems, the embodiment of the present invention, which provides a kind of journal file, is derived automatically from method, including:
Set top box has detected external memorizer access;
When judging to exist in the external memorizer daily record crawl instruction, journal file corresponding to the set top box is captured;
The journal file grabbed is exported into the extraneous storage device and stored.
On the one hand, the embodiment of the present invention also provides a kind of set top box, including:Detection module, judge module, daily record crawl mould
Block and export module;
The detection module has external memorizer access for detecting set top box;
The judge module is used to judge in the external memorizer with the presence or absence of daily record crawl instruction;
The daily record handling module possesses judges that the daily record be present in the external memorizer grabs in the judge module
During instruction fetch, journal file corresponding to the set top box is captured;
Export module is used to export the journal file that the daily record handling module grabs to described to pick out memory
Middle storage.
On the other hand, the embodiment of the present invention also provides a kind of computer-readable storage medium, is deposited in the computer-readable storage medium
Computer executable instructions are contained, the computer executable instructions are derived automatically from method for performing foregoing journal file.
The beneficial effects of the invention are as follows:
The journal file provided according to embodiments of the present invention is derived automatically from method, set top box and computer-readable storage medium,
Methods described includes whether detection set top box has external memorizer access, and judges daily record crawl in the external memorizer be present
Instruction, the daily record crawl in external memorizer instruct corresponding journal file in gripper top box, and the day that will be grabbed
Will file exports to be stored into external memorizer;Gripper top is triggered by judging the crawl of the daily record in external memorizer instruction
Journal file in box, and the journal file after having captured is exported into external memorizer, it is achieved thereby that in set top box
Daily record text automatic crawl and export, in external memorizer set daily record capture instruction come trigger daily record crawl, instead of
It is existing by network interface connection PC terminals and to have to the side obtained come daily record one by one of artificial input specific instruction
Formula, daily record can not be exported by PC terminals so as to solve under special screne to cause to be difficult to position the skill that failure is safeguarded
Art problem;Further, because triggering daily record crawl only needs to carry the external memorizer for mainlying grasp instruction fetch day by one i.e.
It can be achieved, the export of set-top performance logs, such mode of operation was not only simple but also convenient, the technical merit requirement to staff
It is not high so that when carrying out Breakdown Maintenance, to drastically increase operating efficiency.
Brief description of the drawings
Fig. 1 is the flow chart that the journal file that first embodiment of the invention provides is derived automatically from method;
Fig. 2 is that the detection external memorizer that first embodiment of the invention provides inserts schematic flow sheet;
Fig. 3 is the configuration file process of analysis figure that first embodiment of the invention provides;
Fig. 4 is the journal file crawl and derived process chart that first embodiment of the invention provides;
Fig. 5 is the set up box structure schematic diagram that second embodiment of the invention provides.
Embodiment
The embodiment of the present invention is described in further detail below by embodiment combination accompanying drawing.
First embodiment:
In order to solve can not to be established in the prior art for some special screnes, operating personnel by PC terminals and set top box
The problem of connecting export journal file, and leading to not carry out the positioning maintenance of failure, the embodiments of the invention provide a kind of day
Will file is derived automatically from method, and this method is to set an external memorizer first, and the external memorizer is specifically that people commonly use
Flash disk, by flash disk set daily record capture instruction, when by the flash disk insert set top box after, set top box detects the daily record
During crawl instruction, corresponding journal file in set top box is captured, and the journal file that this is grabbed is exported and stored into flash disk,
It is achieved thereby that the journal file in set top box is derived automatically from;External memorizer need to be only directly inserted into by this method
The automatic crawl of daily record can be carried out on set top box, this method need not have too high requirement to the professional ability of technical staff,
So as to improve the maintenance efficiency to set top box, captured, it also avoid from dynamic triggering by pre-setting daily record crawl instruction
Artificial intervention, and journal file is exported in external memorizer and stored, release more spatial caches for set top box
The operation applied.
In the present embodiment, the journal file in set top box is captured, the journal file includes but is not limited to the interior of set top box
Core log information, the service interaction record of application program, the operation note of operating system or fault log information and
The network bag of set top box etc. log, operating personnel by capture the journal file in set top box come analyzing failure cause or
Person is set top box development and application program.
Fig. 1 is referred to, Fig. 1 is the flow chart that the journal file that the present embodiment provides is derived automatically from method.It is specifically handled
Step includes:
S102, set top box have detected external memorizer access, when external memorizer is inserted into set top box, set top box pair
The memory carries out detection identification, here it will be appreciated that external memorizer can be deposited for any may move with USB interface
Store up equipment, preferable flash disk or USB storage device.
Before this step, this method also includes the crawl function that automatic crawl log is set for set top box, and detection is external
The access of memory is detected particular by crawl function, in this step, detection stream of the set top box to external memorizer
Journey is as shown in Fig. 2 the flow is as follows:
S1021, power on operation is carried out to set top box.
S1022, set top box operation operating system has detected external memorizer access, specifically, the external memorizer is
Flash disk or USB storage device, if detect that flash disk is inserted into the USB interface of set top box, set top box sends internal
MEDIA_MOUNTED is broadcasted, and informs other functional units.
S1023, crawl function is started according to broadcast message, and obtain profile information from the external memorizer and enter
Row dissection process, level jump to step S104.
S104, judge daily record crawl instruction in the external memorizer be present, capture corresponding daily record in the set top box
File.
In the present embodiment, the daily record crawl instruction set in external memorizer can be used to control set top box capturing
The configuration file of journal file or the authorization message to external memorizer crawl log file;If the daily record crawl
When instruction includes configuration file, then judge to whether there is configuration file in external memorizer, if in the presence of set top box obtains external
Configuration file in memory, and dissection process is carried out, the information obtained according to parsing captures and configuration from the set top box
Journal file corresponding to file.
In the present embodiment, the daily record crawl instruction includes identification information, when daily record crawl instruction be present in judgement, crawl
Journal file corresponding to the set top box includes:Judge the identification information in the external memorizer be present, and according to described
Locally default configuration file captures journal file corresponding with the configuration file to set top box from the set top box.
Preferably, configuration file can be arranged in external memorizer, and when being arranged in external memorizer, set top box passes through
Judge to activate the daily record crawl function in set top box with the presence or absence of configuration file in the external memorizer of access;Work as configuration file
When being arranged in set top box, then with the presence or absence of mark letter in external memorizer of the crawl log file by judging to access set top box
Breath, the identification information are used for purview certification, and set top box can be started by being only provided with the external memorizer of the identification information
Daily record captures function, and is come crawl log file according to configuration file of the preset value in set top box;
Further, when configuration file is arranged at set top box by the present embodiment, can be set at least according to the demand of reality
One configuration file, and be specifically the crawl which configuration file to carry out daily record according to, then according to the external memorizer of insertion
The identification information of middle setting is chosen, and by carrying out dissection process to the identification information in external memorizer, obtains option and installment letter
The information of breath, a qualified configuration information is selected to carry out journal file crawl from set top box according to the information.
In the present embodiment, the daily record crawl instruction includes Log Types and crawl time, and the crawl time is to use
It is crawl time limit when control is in crawl log file, described to be captured and the configuration from the set top box according to configuration file
Journal file includes corresponding to file:The configuration file is obtained, and dissection process is carried out to the configuration file, is obtained described
Log Types and crawl time;Daily record corresponding with the Log Types is captured from the set top box according to the crawl time
File.Wherein, for the dissection process of configuration file, specific resolving is as shown in figure 3, the process is set with configuration file
Illustrate exemplified by putting in external memorizer, the flow is as follows:
S1041, set top box reads configuration file from the specific path of the external memorizer, for example, from flash disk
The file for starting name with CatchLog is read under " CatchLog " catalogue.
S1042 is, it is necessary to judge to whether there is CatchLog catalogues in external memorizer and have to start with CatchLog to order
The file of name.
S1043, if catalogue or file lack any of which one, crawl log is not needed, then returned in Fig. 2
Step continues to monitor the access of external memorizer.
S1044, if catalogue and file are all present, the configuration file in external memorizer is obtained, and parsed, obtained
Log Types and crawl time to required crawl, for example, only capturing kernel log file, the then filename in configuration file
Can be CatchLog_10_kernel, if kernel, system journal and network bag all capture, filename can be CatchLog_10_
10 expressions of log_kernel-netpacket, wherein filename Just For You are to capture the time as 10 minutes, if without this
Individual crawl time value, then system can be arranged to do not have default value.
S1045, the Log Types obtained according to parsing and crawl time crawl log file from set top box, have been captured
Afterwards, step S106 is jumped to.
S106, the journal file grabbed is exported into the external memorizer and stored.
In this step, can be stored while being captured according to configuration file while exporting to export journal file, also may be used
To be first to be captured the journal file of institute's crawl in need from set top box according to configuration file to be stored in Flash in set top box
In memory cell, after all having captured, then unloading is exported in external memorizer from Flash memory cell.Specifically,
Crawl log can also be by judging whether the storage duration/storage data quantity reaches during being stored in Flash memory cell
To preset value;If reaching preset value, the journal file is exported to the external storage from the Flash memory cell
Stored in device, wherein a length of Flash memory cell stores the accumulated time of the journal file, the storage during storage
Duration may be greater than the crawl time equal to the daily record in configuration file, and the storage data quantity is within the crawl time
All journal files of crawl, the storage data quantity are since according to configuration file crawl log file, until storing number
After reaching preset value according to amount, journal file is exported into external memorizer, and deletes the text of the daily record in Flash memory cell
Part.Its specific journal file exports operating process as shown in figure 4, the flow is as follows:
S1061, the Log Types and the crawl duration of crawl log that acquisition parsing configuration file is captured.
S1062, judged whether to obtain kernel log according to Log Types.
S1063, if desired, call operation system command captures kernel log and is saved in the storages of the flash in set top box
In unit.
S1064, judge whether acquisition system application daily record according to Log Types.
S1065, if desired, call operation system command captures set-top-box system daily record and is saved in set top box
In flash memory cell.
S1066, judged whether to capture network bag according to Log Types.
S1067, if desired, call operation system command captures network bag and is saved in the storage lists of the flash in set top box
In member.
S1068, the crawl duration of the crawl log obtained according to parsing set timer and start timing, tied until the time
Beam.
S1069, if timer timer expiration, set top box terminates the order of all crawl logs, and flash is stored into list
Each journal file in member copies specific catalogue on external memorizer to, such as/CatchLog/YYYY-MM-DD, deletes simultaneously
Each journal file in flash memory cell.
In the present embodiment, after journal file is copied to external memorizer, external memorizer is pulled up, if desired to day
The analysis that will file is carried out, then be connected to other PC equipment by external memorizer and analyzed.
Journal file provided in an embodiment of the present invention is derived automatically from method, has included detecting whether that external memorizer accesses machine
Top box, if so, then judging with the presence or absence of daily record crawl instruction in external memorizer, if in the presence of crawl is corresponding from set top box
Journal file, and the journal file is exported and stored into external memorizer;Touched by way of inserting external memorizer
The daily record crawl function in set top box is sent out, journal file is captured automatically, it is not necessary to by other equipment or think again
Input instruction carry out intervening export journal file, so as to improve accident analysis efficiency to set top box and localization process dimension
The efficiency of shield.
Second embodiment:
Fig. 5 is refer to, Fig. 5 is the set top box that the present embodiment provides, and the set top box 5 specifically includes:Detection module 51, judge
Module 52, daily record handling module 53 and export module 54, wherein:
Detection module 51 has external memorizer 50 to access for detecting set top box;Specifically, detection module 51 passes through startup
Operating system in set top box detects whether that memory is linked into the USB interface of set top box, if in the presence of starting in machine
The daily record crawl function crawl log file set in top box.
Judge module 52 is used for after having detected that external memorizer 50 accesses set top box, to what is stored in external memorizer
File is detected, and detects whether daily record crawl instruction be present;
If in the presence of, captured by daily record handling module 53 from set top box corresponding to journal file;If being not present, say
The bright crawl that need not carry out journal file, return continue to have detected whether external memorizer access.
Export module 54 is used to export the journal file that daily record handling module 53 grabs to store into external memorizer.
The function of being realized required for four modules that the present embodiment provides, can be by the processor in set top box come real
It is existing, particular by setting program in machine code to control the journal file in set top box, the program code write in advance is stored
In memory into set top box, when detect have external memorizer insertion in the USB interface on set top box when, machine sublevel processor
The program code corresponding to loading from memory, and Complied executing.Preferably, USB is monitored by the monitoring chip in set top box
Interface, when having flash disk or USB interface device accesses, the running parameter of USB interface can be caused to change, so as to judge machine
Top box has external memorizer access.
In the present embodiment, when daily record crawl instruction includes configuration file, the judge module judges described external
It whether there is the configuration file in memory, if in the presence of, the daily record handling module according to the configuration file from described
Journal file corresponding with the configuration file is captured in set top box;Preferably, configuration file can be arranged at external memorizer
In, when being arranged in external memorizer, swash in external memorizer of the set top box by judging access with the presence or absence of configuration file
Daily record crawl function in set top box living.
When daily record crawl instruction includes identification information, the judge module judges whether deposited in the external memorizer
In the identification information, if in the presence of, the daily record handling module according to the set top box locally default configuration file from institute
State and journal file corresponding with the configuration file is captured in set top box.
Specifically, at least one configuration file is set according to the demand of reality, and is specifically to enter according to which configuration file
The crawl of row daily record, then chosen according to the identification information set in the external memorizer of insertion, by external memorizer
Identification information carries out dissection process, obtains the information of option and installment information, selects one to meet from set top box according to the information
The configuration information of condition carries out journal file crawl.
In the present embodiment, the daily record handling module 53 is used to obtain the configuration file, and to the configuration file
Carry out dissection process, obtain the Log Types and crawl the time, according to it is described crawl the time capture from the set top box and
Journal file corresponding to the Log Types.Preferably, the daily record handling module 53 can use the letter being arranged in set top box
Collecting unit is ceased, carries out gathering journal file in real time or is obtained from set-top box memory by collecting unit.
Specifically, in the present embodiment, the particular memory path from external memorizer of daily record handling module 53 obtains configuration
File, the setting form of the configuration file are:Filename-crawl log duration-Log Types, for example, judge in flash disk whether
CatchLog catalogues be present and have with the file of CatchLog_ beginning names, if in the presence of being read under " CatchLog " catalogue
Take with the file of CatchLog beginning names, and dissection process is carried out to file and obtains corresponding Log Types and duration, for example,
Capturing kernel log file, then the filename in configuration file can be CatchLog_10_kernel, Log Types kernel,
A length of 10 minutes during crawl, if not can not find crawl duration in file hit, daily record handling module 53 can be set duration
For the time value of acquiescence.
In the present embodiment, the set top box also is used to store and obtained from the set top box including Flash memory cell
The journal file arrived, the Flash that export module 54 is used to the journal file got being stored in the set top box store single
In member;Judge whether the storage duration/storage data quantity reaches preset value;If reaching preset value, by the journal file
Export into the external memorizer and store from the Flash memory cell, wherein a length of Flash is deposited during the storage
Storage unit stores the accumulated time of the journal file, and the storage data quantity is all days captured within the crawl time
Will file.Preferably, the export module 54 provided in the present embodiment can use original output interface in set top box, and the output connects
Mouth obtains the journal file collected from collecting unit, and journal file is sent into external memorizer.
In the present embodiment, before external memorizer is inserted into set top box, in addition to set and configure for external memorizer
File, particularly flash disk (or USB storage device) is inserted on PC, and particular category is created in flash disk, such as/
CatchLog/YYYY-MM-DD, and configuration file, such as catchlog_10_log_kernel_ are created under catalogue according to demand
netpacket。
After the completion of configuration file is set, flash disk (or USB storage device) is directly inserted into set top box USB port by user, etc.
Treat the duration or system default oneself configured 10 minutes;Daily record is derived automatically from the configuration file in device detection flash disk, goes forward side by side
Row dissection process, Log Types log, kernel, netpacket are obtained, captured and deposited from set top box according to three Log Types
It is stored in Flash memory cell, after waiting 10 minutes, user directly extracts flash disk from set top box, in specific catalogue
Under generated the journal files of above Log Types, such as/CatchLog/YYYY-MM-DD, be available for analysis to use.
Journal file provided in an embodiment of the present invention is derived automatically from method and set top box, outside will be provided with configuration file
Connect memory to be inserted into set top box, the set top box in set top box obtains the configuration file in external memorizer, and is parsed
Processing, obtain corresponding to Log Types and crawl time, according to Log Types from set top box crawl log file, and be stored in
In external memorizer, when the crawl time set in the configuration file for capturing duration arrival, then stop the crawl of journal file,
The journal file grabbed is exported in external memorizer simultaneously, it is achieved thereby that user is to the automatic of set-top performance logs file
Control crawl, it is no longer necessary to by the cooperation of its equipment or the input instruction intervention thought, improve the maintenance to set top box
Efficiency and exploitation precision.Due to being provided with the configuration file of triggering daily record crawl function in external memorizer, therefore, use
The method export journal file that inventive embodiments provide, its operating procedure is simple, to the professional less demanding of operating personnel, enters one
Efficiency to set-top box failure localization process is improved to step, solving prior art can not by the limitation of field condition
The technical problem of PC terminals input crawl instruction crawl log is connected using mode wirelessly or non-wirelessly.
Obviously, those skilled in the art should be understood that each module of the embodiments of the present invention or each step can be used
General computing device realizes that they can be concentrated on single computing device, or be distributed in multiple computing device institutes
On the network of composition, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to by they
It is stored in computer-readable storage medium (ROM/RAM, magnetic disc, CD) and is performed by computing device, and in some cases, can
With to perform shown or described step different from order herein, or they are fabricated to each integrated circuit die respectively
Block, or the multiple modules or step in them are fabricated to single integrated circuit module to realize.So the present invention does not limit
Combined in any specific hardware and software.
Above content is to combine the further description that specific embodiment is made to the embodiment of the present invention, it is impossible to is recognized
The specific implementation of the fixed present invention is confined to these explanations.For general technical staff of the technical field of the invention,
Without departing from the inventive concept of the premise, some simple deduction or replace can also be made, should all be considered as belonging to the present invention
Protection domain.
Claims (10)
1. a kind of journal file is derived automatically from method, including:
Set top box has detected external memorizer access;
When judging to exist in the external memorizer daily record crawl instruction, journal file corresponding to the set top box is captured;
The journal file grabbed is exported into the external memorizer and stored.
2. journal file according to claim 1 is derived automatically from method, it is characterised in that the daily record crawl instruction includes
Configuration file;
When the set top box judges to exist daily record crawl instruction, capture the set top box corresponding to journal file include:According to
Put file and capture journal file corresponding with the configuration file.
3. journal file according to claim 1 is derived automatically from method, it is characterised in that the daily record crawl instruction includes
Identification information;
When the set top box judges to exist daily record crawl instruction, capture the set top box corresponding to journal file include:The machine
Top box captures journal file corresponding with the configuration file according to local default configuration file from the set top box.
4. the journal file according to Claims 2 or 3 is derived automatically from method, it is characterised in that the configuration file includes
Crawl log type and crawl time;
The set top box captures journal file corresponding with the configuration file according to configuration file from the set top box to be included:
Dissection process is carried out to the configuration file, obtains the Log Types and crawl time;According to the crawl time from described
Journal file corresponding with the Log Types is captured in set top box.
5. journal file according to claim 4 is derived automatically from method, it is characterised in that described by the daily record grabbed text
Part, which exports to store into the external memorizer, to be included:
First the journal file got is stored in the Flash memory cell in the set top box;
When storage duration/storage data quantity reaches preset value, then the journal file stored in the Flash memory cell is led
Go out into the external memorizer and store;
A length of Flash memory cell stores the accumulated time of the journal file, the storage data quantity during storage
For all journal files captured within the crawl time.
A kind of 6. set top box, it is characterised in that including detection module, judge module, daily record handling module and export module, its
In:
The detection module has external memorizer access for detecting set top box;
The judge module is used to judge in the external memorizer with the presence or absence of daily record crawl instruction;
The daily record handling module is used to judge the daily record gripping finger be present in the external memorizer in the judge module
When making, journal file corresponding to the set top box is captured;
The export module is used to export the journal file that the daily record handling module grabs to described to pick out memory
Middle storage.
7. journal file according to claim 6 is derived automatically from device, it is characterised in that the daily record crawl instruction includes
Configuration file;
The daily record handling module captures day corresponding with the configuration file according to the configuration file from the set top box
Will file.
8. journal file according to claim 6 is derived automatically from device, it is characterised in that the daily record crawl instruction includes
Identification information;
The daily record handling module according to the set top box locally default configuration file captured from the set top box with it is described
Journal file corresponding to configuration file.
9. the journal file according to claim 7 or 8 is derived automatically from device, it is characterised in that the configuration file includes
Crawl log type and crawl time;
The daily record handling module is used to carry out dissection process to the configuration file, when obtaining the Log Types and crawl
Between, journal file corresponding with the Log Types is captured from the set top box according to the crawl time.
10. set top box according to claim 9, it is characterised in that also be used to store from described including Flash memory cell
The journal file got in set top box;The export module is used to the journal file got being stored in the set top box
Flash memory cell in;
The journal file got is first stored in the Flash memory cell in the set top box by the export module;Depositing
When storage duration/storage data quantity reaches preset value, then the journal file is exported to described from the Flash memory cell
Stored in external memorizer;
A length of Flash memory cell stores the accumulated time of the journal file, the storage data quantity during storage
For all journal files captured within the crawl time.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610465679.0A CN107547943A (en) | 2016-06-23 | 2016-06-23 | A kind of journal file is derived automatically from method and set top box |
PCT/CN2017/089696 WO2017220008A1 (en) | 2016-06-23 | 2017-06-23 | Automatic export method for log file and set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610465679.0A CN107547943A (en) | 2016-06-23 | 2016-06-23 | A kind of journal file is derived automatically from method and set top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107547943A true CN107547943A (en) | 2018-01-05 |
Family
ID=60783321
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610465679.0A Pending CN107547943A (en) | 2016-06-23 | 2016-06-23 | A kind of journal file is derived automatically from method and set top box |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107547943A (en) |
WO (1) | WO2017220008A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108388496A (en) * | 2018-01-23 | 2018-08-10 | 晶晨半导体(上海)股份有限公司 | A kind of collection method of system log |
CN108401187A (en) * | 2018-02-26 | 2018-08-14 | 深圳创维数字技术有限公司 | Set-top box failure diagnostic method, device and computer readable storage medium |
CN108459932A (en) * | 2018-03-02 | 2018-08-28 | 郑州云海信息技术有限公司 | A kind of method, apparatus and equipment of management RAID card |
CN108509317A (en) * | 2018-03-29 | 2018-09-07 | 广州视源电子科技股份有限公司 | Log file saving method and device, electronic device and storage medium |
CN109376129A (en) * | 2018-10-08 | 2019-02-22 | 郑州云海信息技术有限公司 | A method of storage log is collected when locking by SYS_TF automatically |
CN109902068A (en) * | 2019-02-15 | 2019-06-18 | 广州视源电子科技股份有限公司 | Method and device for capturing household appliance logs and computer readable storage medium |
CN110337017A (en) * | 2019-07-05 | 2019-10-15 | 深圳市康冠技术有限公司 | Television set and its log processing method, log processing device and readable storage medium storing program for executing |
CN111694704A (en) * | 2019-03-12 | 2020-09-22 | 杭州海康威视数字技术股份有限公司 | Debugging information output method and device, electronic equipment and storage medium |
CN112260854A (en) * | 2020-09-21 | 2021-01-22 | 深圳市广和通无线股份有限公司 | Internet of things module, fault analysis method and device thereof, and communication terminal |
CN113849135A (en) * | 2021-09-30 | 2021-12-28 | 北京金山云网络技术有限公司 | Log access method and device and server |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114124684B (en) * | 2021-10-22 | 2024-04-19 | 杭州依赛通信有限公司 | Method for realizing zero-contact full-automatic deployment of network elements by using USB flash disk |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5309251A (en) * | 1990-04-19 | 1994-05-03 | Canon Kabushiki Kaisha | Communication apparatus capable of connecting memory card |
CN101901154A (en) * | 2010-07-16 | 2010-12-01 | 天津七一二通信广播有限公司 | Method for realizing upgrade and maintenance of equipment programs based on USB Host and U disc |
CN103176924A (en) * | 2011-12-26 | 2013-06-26 | 株式会社理光 | Output device, log collecting method for output device, and storage medium |
CN103558997A (en) * | 2013-10-30 | 2014-02-05 | 天津七一二通信广播有限公司 | Data recording and U disk exporting method of digital balanced shunting system |
CN104346264A (en) * | 2013-07-26 | 2015-02-11 | 鸿富锦精密工业(深圳)有限公司 | System and method for processing system event logs |
CN106155875A (en) * | 2016-06-29 | 2016-11-23 | 北京小米移动软件有限公司 | A kind of method and apparatus of guiding system daily record |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007310827A (en) * | 2006-05-22 | 2007-11-29 | Seiko Epson Corp | Storage medium and log information acquisition system |
-
2016
- 2016-06-23 CN CN201610465679.0A patent/CN107547943A/en active Pending
-
2017
- 2017-06-23 WO PCT/CN2017/089696 patent/WO2017220008A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5309251A (en) * | 1990-04-19 | 1994-05-03 | Canon Kabushiki Kaisha | Communication apparatus capable of connecting memory card |
CN101901154A (en) * | 2010-07-16 | 2010-12-01 | 天津七一二通信广播有限公司 | Method for realizing upgrade and maintenance of equipment programs based on USB Host and U disc |
CN103176924A (en) * | 2011-12-26 | 2013-06-26 | 株式会社理光 | Output device, log collecting method for output device, and storage medium |
CN104346264A (en) * | 2013-07-26 | 2015-02-11 | 鸿富锦精密工业(深圳)有限公司 | System and method for processing system event logs |
CN103558997A (en) * | 2013-10-30 | 2014-02-05 | 天津七一二通信广播有限公司 | Data recording and U disk exporting method of digital balanced shunting system |
CN106155875A (en) * | 2016-06-29 | 2016-11-23 | 北京小米移动软件有限公司 | A kind of method and apparatus of guiding system daily record |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108388496A (en) * | 2018-01-23 | 2018-08-10 | 晶晨半导体(上海)股份有限公司 | A kind of collection method of system log |
CN108401187A (en) * | 2018-02-26 | 2018-08-14 | 深圳创维数字技术有限公司 | Set-top box failure diagnostic method, device and computer readable storage medium |
CN108459932A (en) * | 2018-03-02 | 2018-08-28 | 郑州云海信息技术有限公司 | A kind of method, apparatus and equipment of management RAID card |
CN108509317A (en) * | 2018-03-29 | 2018-09-07 | 广州视源电子科技股份有限公司 | Log file saving method and device, electronic device and storage medium |
CN109376129A (en) * | 2018-10-08 | 2019-02-22 | 郑州云海信息技术有限公司 | A method of storage log is collected when locking by SYS_TF automatically |
CN109902068A (en) * | 2019-02-15 | 2019-06-18 | 广州视源电子科技股份有限公司 | Method and device for capturing household appliance logs and computer readable storage medium |
CN111694704A (en) * | 2019-03-12 | 2020-09-22 | 杭州海康威视数字技术股份有限公司 | Debugging information output method and device, electronic equipment and storage medium |
CN111694704B (en) * | 2019-03-12 | 2023-10-10 | 杭州海康威视数字技术股份有限公司 | Debug information output method, device, electronic equipment and storage medium |
CN110337017A (en) * | 2019-07-05 | 2019-10-15 | 深圳市康冠技术有限公司 | Television set and its log processing method, log processing device and readable storage medium storing program for executing |
CN110337017B (en) * | 2019-07-05 | 2021-11-09 | 深圳市康冠科技股份有限公司 | Television and log processing method thereof, log processing device and readable storage medium |
CN112260854A (en) * | 2020-09-21 | 2021-01-22 | 深圳市广和通无线股份有限公司 | Internet of things module, fault analysis method and device thereof, and communication terminal |
CN113849135A (en) * | 2021-09-30 | 2021-12-28 | 北京金山云网络技术有限公司 | Log access method and device and server |
Also Published As
Publication number | Publication date |
---|---|
WO2017220008A1 (en) | 2017-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107547943A (en) | A kind of journal file is derived automatically from method and set top box | |
CN103646209B (en) | The method and apparatus intercepting bundled software based on cloud security | |
CN104065521B (en) | A kind of collection, analysis and the delivery system and its method of electric power networks device log and configuration file | |
CN102799514B (en) | Method and system for managing log records | |
CN103971500B (en) | A kind of remote equipment failure information acquisition system data compression transmission method | |
CN101136781B (en) | Performance data acquisition occasion control method and device in network management system | |
CN106598815A (en) | Real-time asynchronous log collection method and system | |
CN106330963A (en) | Cross-network multi-node log collecting method | |
CN108123840A (en) | Log processing method and system | |
CN105096014A (en) | Method and system for recording work operation condition remotely | |
CN106383759A (en) | Method and apparatus convenient for tracking and locating fault of payment terminal | |
CN107153539A (en) | A kind of file interface system | |
CN104865860A (en) | Sampling, storing and inquiring method and device of WTGS (Wind Turbine Generator System) state monitoring system | |
CN105528261A (en) | Method and system for intelligently outputting debugging information for embedded device | |
CN107181626A (en) | Distributed storage group system network bandwidth monitoring method and system | |
EP3101843A2 (en) | Capturing network data to provide to a data analyser | |
CN108228417A (en) | Car networking log processing method and processing unit | |
CN104331359B (en) | The recording method and device of exception information | |
CN105007278A (en) | Automatic real-time acquisition system and acquisition method for network safety log | |
US9749212B2 (en) | Problem determination in a hybrid environment | |
CN105991322A (en) | Processing method and device for collection adapter management system | |
CN107566209A (en) | A kind of management system and management method of special vehicle equipment state information | |
CN113783718A (en) | Multi-core real-time IP packet capturing method and device | |
CN107040408A (en) | Network electric power method of testing based on SDN automation equipments | |
CN107294969A (en) | A kind of SQL injection attack detection and system based on SDN |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180105 |