CN107613286A - A kind of file monitoring method for being used to avoid retest set top box - Google Patents
A kind of file monitoring method for being used to avoid retest set top box Download PDFInfo
- Publication number
- CN107613286A CN107613286A CN201710764927.6A CN201710764927A CN107613286A CN 107613286 A CN107613286 A CN 107613286A CN 201710764927 A CN201710764927 A CN 201710764927A CN 107613286 A CN107613286 A CN 107613286A
- Authority
- CN
- China
- Prior art keywords
- file
- top box
- set top
- monitoring unit
- monitoring method
- 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
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of file monitoring method for being used to avoid retest set top box, it includes having the following steps:Step S1, a monitoring unit is built for set top box;Step S2, after the monitoring unit monitors that set top box performs sync orders, call Linux read command;Step S3, the monitoring unit judge whether the Flash of set top box is successfully written file, if step S4 is then performed, if being otherwise back to step S2;Step S4, the set top box display write successful prompt message.The present invention is without passing through subsequently upper electro-detection, it is ensured that being successfully written for file, is favorably improved production efficiency.
Description
Technical field
The present invention relates to set top box production method, more particularly to a kind of it is used to avoid the file of retest set top box from monitoring
Method.
Background technology
When set top box uses Linux system, in order to allow the file of file system to be quickly stored in the Flash of set top box
In, it is necessary to call linux sync orders, but factory, in order to improve efficiency, generally adopts in batch production and product test
The operation measure powered off with fast powering-up, so have small part machine that more new file is not write in box Flash, thus nothing
Method reaches intended effect, and the solution of such case is to need to re-start product test, but will influence production efficiency.
The content of the invention
The technical problem to be solved in the present invention is, in view of the shortcomings of the prior art, there is provided one kind is used to avoid repeating to survey
The file monitoring method of test-run a machine top box, this method is without passing through subsequently upper electro-detection, it is ensured that being successfully written for file, contributes to
Improve production efficiency.
In order to solve the above technical problems, the present invention adopts the following technical scheme that.
A kind of file monitoring method for being used to avoid retest set top box, it includes having the following steps:Step S1, it is machine
Top box builds a monitoring unit;Step S2, after the monitoring unit monitors that set top box performs sync orders, call Linux
Read command;Step S3, the monitoring unit judge whether the Flash of set top box is successfully written file, if then performing step
S4, if being otherwise back to step S2;Step S4, the set top box display write successful prompt message.
Preferably, in the step S3, the monitoring unit judges that the process whether file is successfully written includes:The prison
The file that unit reads write-in is surveyed, compares whether the front and rear file of write-in changes, if step S4 is then performed, if otherwise weighing
The new file for reading write-in.
Preferably, the monitoring unit passes through the content for comparing the file before and after writing or crc values is to judge file
It is no to change.
Preferably, the file is system update file.
Preferably, the set top box includes UI interfaces, and in the step S4, the set top box is shown by the UI interfaces
Show prompt message.
In file monitoring method disclosed by the invention for avoiding retest set top box, monitoring unit monitors machine top
After box performs sync orders, Linux read command is called, judges whether the Flash of set top box is successfully written file afterwards, should
During only need to wait the of short duration time in once testing, without by subsequently upper electro-detection, file has been effectively ensured
It is successfully written, and then improves production efficiency.
Brief description of the drawings
Fig. 1 is the flow chart of monitoring method of the present invention.
Embodiment
The present invention is described in more detail with reference to the accompanying drawings and examples.
The invention discloses a kind of file monitoring method for being used to avoid retest set top box, as shown in figure 1, it includes
Have the following steps:
Step S1, a monitoring unit is built for set top box;
Step S2, after the monitoring unit monitors that set top box performs sync orders, call Linux read command;
Step S3, the monitoring unit judge whether the Flash of set top box is successfully written file, if then performing step
S4, if being otherwise back to step S2;
Step S4, the set top box display write successful prompt message.
In the above method, after monitoring unit monitors that set top box performs sync orders, Linux read command is called, it
Judge whether the Flash of set top box is successfully written file afterwards, only need to wait the of short duration time in once testing during being somebody's turn to do,
Without by subsequently upper electro-detection, being successfully written for file being effectively ensured, and then improve production efficiency.
As a kind of preferred embodiment, in the step S3, the monitoring unit judges the process whether file is successfully written
Including:The monitoring unit reads the file of write-in, compares whether the front and rear file of write-in changes, if then performing step
S4, if otherwise re-reading the file of write-in.
Further, the monitoring unit judges file by comparing content or the crc values of the front and rear file of write-in
Whether change.
In the present embodiment, the file is system update file.
In practical application, the set top box includes UI interfaces, and in the step S4, the set top box passes through UI circle
Face display reminding information.
It is disclosed by the invention to be used to avoiding the file monitoring method of retest set top box, it is necessary to increase in its implementation procedure
Add a monitoring task, after it monitors to perform sync orders, call Linux read command, then compare file before and after write-in
Content or crc values, judge whether to write successfully, if not writing success, continue waiting for, if being successfully written, by UI
Interface display successful information, being successfully written for file is effectively ensured.
Simply preferred embodiments of the present invention described above, are not intended to limit the invention, all technology models in the present invention
Interior done modification, equivalent substitution or improvement etc. are enclosed, should be included in the range of of the invention protect.
Claims (5)
1. a kind of file monitoring method for being used to avoid retest set top box, it is characterised in that including having the following steps:
Step S1, a monitoring unit is built for set top box;
Step S2, after the monitoring unit monitors that set top box performs sync orders, call Linux read command;
Step S3, the monitoring unit judge whether the Flash of set top box is successfully written file, if then performing step S4, if
Otherwise it is back to step S2;
Step S4, the set top box display write successful prompt message.
2. the file monitoring method as claimed in claim 1 for being used to avoid retest set top box, it is characterised in that the step
In rapid S3, the monitoring unit judges that the process whether file is successfully written includes:The monitoring unit reads the file of write-in,
Compare whether the front and rear file of write-in changes, if step S4 is then performed, if otherwise re-reading the file of write-in.
3. the file monitoring method as claimed in claim 2 for being used to avoid retest set top box, it is characterised in that the prison
Survey unit and judge whether file changes by comparing content or the crc values of the front and rear file of write-in.
4. the file monitoring method as claimed in claim 1 for being used to avoid retest set top box, it is characterised in that the text
Part is system update file.
5. the file monitoring method as claimed in claim 1 for being used to avoid retest set top box, it is characterised in that the machine
Top box includes UI interfaces, and in the step S4, the set top box passes through the UI interface displays prompt message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710764927.6A CN107613286A (en) | 2017-08-30 | 2017-08-30 | A kind of file monitoring method for being used to avoid retest set top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710764927.6A CN107613286A (en) | 2017-08-30 | 2017-08-30 | A kind of file monitoring method for being used to avoid retest set top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107613286A true CN107613286A (en) | 2018-01-19 |
Family
ID=61056591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710764927.6A Pending CN107613286A (en) | 2017-08-30 | 2017-08-30 | A kind of file monitoring method for being used to avoid retest set top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107613286A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102012831A (en) * | 2010-12-08 | 2011-04-13 | 四川金网通电子科技有限公司 | Over-the-air technology (OTA) upgrading method based on Linux platform |
CN102073519A (en) * | 2010-12-31 | 2011-05-25 | 青岛海信宽带多媒体技术有限公司 | Software updating method |
CN102082965A (en) * | 2010-10-15 | 2011-06-01 | 福建新大陆通信科技股份有限公司 | Method for ensuring success in upgrading set-top box |
CN101576860B (en) * | 2009-06-11 | 2011-06-08 | 成都市华为赛门铁克科技有限公司 | Detection method and detection system of linux or windows operation system |
CN102890638A (en) * | 2012-09-29 | 2013-01-23 | 深圳市九洲电器有限公司 | Upgrade method of STB (set top box) |
CN104581397A (en) * | 2014-12-29 | 2015-04-29 | 四达时代通讯网络技术有限公司 | System upgrade method and device for android set-top box |
CN106210897A (en) * | 2016-08-09 | 2016-12-07 | 深圳创维数字技术有限公司 | A kind of Set Top Box automatic test approach based on serial ports and system thereof |
CN106257417A (en) * | 2015-06-17 | 2016-12-28 | 中兴通讯股份有限公司 | Bootstrap upgrade method, embedded device, control equipment and embedded system |
CN107770622A (en) * | 2017-11-07 | 2018-03-06 | 四川长虹电器股份有限公司 | The method and operating method of file in a kind of renewal linux system |
-
2017
- 2017-08-30 CN CN201710764927.6A patent/CN107613286A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101576860B (en) * | 2009-06-11 | 2011-06-08 | 成都市华为赛门铁克科技有限公司 | Detection method and detection system of linux or windows operation system |
CN102082965A (en) * | 2010-10-15 | 2011-06-01 | 福建新大陆通信科技股份有限公司 | Method for ensuring success in upgrading set-top box |
CN102012831A (en) * | 2010-12-08 | 2011-04-13 | 四川金网通电子科技有限公司 | Over-the-air technology (OTA) upgrading method based on Linux platform |
CN102073519A (en) * | 2010-12-31 | 2011-05-25 | 青岛海信宽带多媒体技术有限公司 | Software updating method |
CN102890638A (en) * | 2012-09-29 | 2013-01-23 | 深圳市九洲电器有限公司 | Upgrade method of STB (set top box) |
CN104581397A (en) * | 2014-12-29 | 2015-04-29 | 四达时代通讯网络技术有限公司 | System upgrade method and device for android set-top box |
CN106257417A (en) * | 2015-06-17 | 2016-12-28 | 中兴通讯股份有限公司 | Bootstrap upgrade method, embedded device, control equipment and embedded system |
CN106210897A (en) * | 2016-08-09 | 2016-12-07 | 深圳创维数字技术有限公司 | A kind of Set Top Box automatic test approach based on serial ports and system thereof |
CN107770622A (en) * | 2017-11-07 | 2018-03-06 | 四川长虹电器股份有限公司 | The method and operating method of file in a kind of renewal linux system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107122301B (en) | Interface testing method and device | |
CN104598020A (en) | PRESERVING EMOTION OF USER INPUT and devie | |
CN106126424B (en) | A kind of visual automated testing method of script, device and mobile terminal | |
US20150058828A1 (en) | Plc simulation system, plc simulator, recording medium, and simulation method | |
CN104246714A (en) | Software defect verification | |
US20140288872A1 (en) | Testing device and testing method for testing performance parameter of electronic device | |
US20130293559A1 (en) | Method for setting panel parameter and associated controller | |
CN102231127B (en) | System and method for detecting BIOS (Basic Input Output System) wrong information display | |
WO2016015531A1 (en) | Information processing method and apparatus | |
US11226735B2 (en) | Electronic device for transmitting message and method for operating same | |
CN111414303B (en) | Auxiliary system and method for script performance test | |
US20170047057A1 (en) | Electronic device and method for reproducing sound in the electronic device | |
US11706120B1 (en) | Automated process flow testing system | |
CN104346035A (en) | Indicating automatically corrected words | |
CN107678718A (en) | Compatibility processing method, mobile terminal and the storage medium of different resolution display screen | |
CN107452427B (en) | Method and system for testing data integrity of storage equipment | |
CN104809053A (en) | Control style testing method and device | |
CN107613286A (en) | A kind of file monitoring method for being used to avoid retest set top box | |
JP7170256B2 (en) | App performance monitoring device and method | |
CN108279937B (en) | Parameter calling method and device, storage medium and electronic equipment | |
CN112445670A (en) | eMMC test method and device | |
CN107203463A (en) | Method, interface method for drafting and the device of interface detection | |
CN113093981B (en) | Method and equipment for generating long graphs of operation steps by screen recording of Android terminal | |
CN112069503B (en) | Task management method, device and storage medium | |
US20150121141A1 (en) | Host device and method for testing booting of servers |
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 |
Application publication date: 20180119 |
|
RJ01 | Rejection of invention patent application after publication |