CN105426940B - A kind of set-top box automatic factory production method and system - Google Patents
A kind of set-top box automatic factory production method and system Download PDFInfo
- Publication number
- CN105426940B CN105426940B CN201510945767.6A CN201510945767A CN105426940B CN 105426940 B CN105426940 B CN 105426940B CN 201510945767 A CN201510945767 A CN 201510945767A CN 105426940 B CN105426940 B CN 105426940B
- Authority
- CN
- China
- Prior art keywords
- top box
- production
- current set
- tool
- flag bit
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- General Factory Administration (AREA)
Abstract
The present invention provides a kind of set-top box automatic factory production method, including:The ends PC that one set-top box to be produced is equipped with to the tool of production with one are connect by serial ports, are powered on to the set-top box;Judge whether current set top box had produced by flag bit, if so, terminating current set top box production, is produced into next set-top box;Otherwise, set-top box sends production request to the tool of production, and the production request includes the information of at least one unique mark current set top box;The tool of production returns to corresponding creation data;Set-top box handles creation data, and flag bit is arranged and is written in set-top box, completes current set top box production, is produced into next set-top box.The present invention also provides a kind of set-top box automatic factory production systems, realize production automation, ensure the validity and accuracy rate of data, improve production efficiency, while reducing production cost, cost of labor and management cost.
Description
Technical field
The present invention relates to digital TV field more particularly to a kind of set-top box automatic factory production methods and system.
Background technology
At this stage, in the flow line production of set-top box, mainly by artificially being operated to the tool of production at the ends PC, people
Work judges whether set-top box needs to produce, and the artificial tool of production that runs to every set-top box configures creation data and by creation data
It is sent to set top box side, whole process manual intervention is more, high labor cost, and creation data is intervened, and be easy to cause production
The loss of data and destruction etc., production efficiency is low.
Invention content
One of the technical problem to be solved in the present invention is to provide a kind of set-top box automatic factory production method, realize
Production automation ensures the validity and accuracy rate of data, improves production efficiency, while reducing production cost, cost of labor
And management cost.
What one of the technical problem to be solved in the present invention was realized in:A kind of set-top box automatic factory production method,
Include the following steps:
Step 1, the ends PC that a set-top box to be produced is equipped with to the tool of production with one are connect by serial ports, and to described
Set-top box carries out power on operation;
Step 2 judges whether current set top box is raw by the flag bit in the fixed storage region of current set top box
It produced, and if so, terminating current set top box production, went to step 6;Otherwise, 3 are entered step;
Step 3 sends production request by current set top box to the tool of production, and the production request includes at least one
The information of unique mark current set top box;
Step 4, after the production request that the tool of production receives that the set-top box sends, return to corresponding creation data to machine
Top box;
Step 5, after set-top box receives creation data, carry out data processing, setting produces successful flag bit and is simultaneously written
In the fixed storage region of set-top box, current set top box production is completed;
Step 6 judges whether that also set-top box needs to carry out production operation, if so, return to step 1 enters next machine top
Box produces, and otherwise, terminates flow.
Further, the step 5 further includes:Set-top box returns to the result of successfully production to the tool of production, by production work
Tool prints required production label.
Further, the unique mark is set-top-box chip ID or set-top box Flash ID.
Further, the specific set-up mode of the flag bit is as follows:The unique identification information of current set top box is obtained, and is led to
It crosses hash algorithm to calculate the unique identification information of current set top box, it is current set top box to obtain corresponding cryptographic Hash
Flag bit.
Further, " current machine is judged by the flag bit in the fixed storage region of current set top box in the step 2
Whether top box had produced " be specially:The unique identification information for obtaining current set top box, by hash algorithm to current machine top
The unique identification information of box carries out that corresponding cryptographic Hash is calculated, by corresponding cryptographic Hash and the fixed storage of current set top box
Flag bit in region is compared, if unanimously, being determined as that set-top box had produced, otherwise, it is determined that not given birth to for set-top box
It produced.
The second technical problem to be solved by the present invention is to provide a kind of set-top box automatic factory production system, realize
Production automation ensures the validity and accuracy rate of data, improves production efficiency, while reducing production cost, cost of labor
And management cost.
What the second technical problem to be solved by the present invention was realized in:A kind of set-top box automatic factory production system,
It is characterized in that:Include the ends PC of a plurality of set-top boxes and one with the tool of production, each set-top box passes through string in production
Mouth is established with the ends PC and is connected;
The set-top box is used for startup self-detection, is worked as by the flag bit judgement in the fixed storage region of current set top box
Whether preceding set-top box had produced, if so, terminating current set top box production;Otherwise, production request is sent to the production
Tool, the production request include the information of at least one unique mark current set top box, and are returned receiving the tool of production
Creation data after carry out data processing, setting produces successful flag bit and is simultaneously written in the fixed storage region of set-top box, complete
It is produced at current set top box;
The tool of production, the production request sent for receiving the set-top box, and return to corresponding creation data
To set-top box.
Further, the set-top box further includes:Set-top box returns to the result of successfully production to the tool of production, by production work
Tool prints required production label.
Further, the unique mark is set-top-box chip ID or set-top box Flash ID.
Further, the specific set-up mode of the flag bit is as follows:The unique identification information of current set top box is obtained, and is led to
It crosses hash algorithm to calculate the unique identification information of current set top box, it is current set top box to obtain corresponding cryptographic Hash
Flag bit.
Further, described " to judge that current set top box is by the flag bit in the fixed storage region of current set top box
It is no to have produced " be specially:Obtain current set top box unique identification information, by hash algorithm to current set top box only
One identification information carries out that corresponding cryptographic Hash is calculated, will be in corresponding cryptographic Hash and the fixed storage region of current set top box
Flag bit be compared, if unanimously, being determined as that set-top box had produced, otherwise, it is determined that not producing for set-top box.
The invention has the advantages that:Flag bit and startup self-detection of the set-top box by setting, judge whether to have carried out
Production actively sends to the tool of production in the case where not producing and asks, and corresponding data is sent to by the tool of production according to request
Set-top box carries out production operation, does not need the production that set-top box can be realized in excessive manual intervention, substantially increases production effect
Rate reduces production cost, cost of labor and management cost;And due to being carried out to the unique mark of set-top box using hash algorithm
The operation of cryptographic Hash, and be stored in set-top box storage region as flag bit, the judgement of the safety of set-top box is increased, is avoided
The problem of set-top box duplication of production.
Description of the drawings
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is that a kind of set-top box automatic factory of the present invention produces execution flow chart.
Specific implementation mode
As shown in Figure 1, a kind of set-top box automatic factory production method, includes the following steps:
Step 1, the ends PC that a set-top box to be produced is equipped with to the tool of production with one are connect by serial ports, and to described
Set-top box carries out power on operation;
Step 2 judges whether current set top box is raw by the flag bit in the fixed storage region of current set top box
It produced, specific judgment mode is as follows:The unique identification information for obtaining current set top box, by hash algorithm to current set top box
Unique identification information carries out that corresponding cryptographic Hash is calculated, by corresponding cryptographic Hash and the fixed storage region of current set top box
In flag bit be compared, if unanimously, being determined as that set-top box had produced, terminate current set top box production, jump to
Step 6;Otherwise, it is determined that not produced for set-top box, 3 are entered step;
Step 3 sends production request by current set top box to the tool of production, and the production request includes at least one
The information of unique mark current set top box, the unique mark are set-top-box chip ID or set-top box Flash ID, the request
In can only include a unique mark, you can also be set-top box Flash ID, the request to be set-top-box chip ID
It can also include two unique marks, i.e., include set-top-box chip ID and set-top box Flash ID simultaneously;
Step 4, after the production request that the tool of production receives that the set-top box sends, return to corresponding creation data to machine
Top box;
Step 5, after set-top box receives creation data, carry out data processing, setting produces successful flag bit and is simultaneously written
In the fixed storage region of set-top box, set-top box returns to the result of successfully production to the tool of production, and institute is printed by the tool of production
The production label needed, completes current set top box production, and the production label can be with the bar shaped when set-top box unique mark
Code, the set-up mode of the flag bit are specially:The unique identification information of current set top box is obtained, and by hash algorithm to working as
The unique identification information of preceding set-top box is calculated, and the flag bit that corresponding cryptographic Hash is current set top box is obtained;
Step 6 judges whether that also set-top box needs to carry out production operation, if so, return to step 1 enters next machine top
Box produces, and otherwise, terminates flow.
A kind of set-top box automatic factory of the invention production system, including a plurality of set-top boxes and a PC with the tool of production
End, each set-top box are established by serial ports and the ends PC in production and are connected;
The set-top box is used for startup self-detection, is worked as by the flag bit judgement in the fixed storage region of current set top box
Whether preceding set-top box had produced, and specific judgement is as follows:The unique identification information for obtaining current set top box, passes through hash algorithm
The unique identification information of current set top box is carried out that corresponding cryptographic Hash is calculated, by corresponding cryptographic Hash and current set top box
Flag bit in fixed storage region is compared, if unanimously, being determined as that set-top box had produced, terminates current machine top
Box produces, and is produced into next set-top box;Otherwise, it is determined that not produced for set-top box, production request is sent to the production work
Tool, the production request include the information of at least one unique mark current set top box, and are receiving tool of production return
Data processing is carried out after creation data, setting produces successful flag bit and is written in the fixed storage region of set-top box, machine top
Box returns to the result of successfully production to the tool of production, and required production label is printed by the tool of production, completes current set top box
Production, the production label can be with the bar code when set-top box unique mark, and the specific set-up mode of flag bit is such as
Under:The unique identification information of current set top box is obtained, and the unique identification information of current set top box is carried out by hash algorithm
It calculates, obtains the flag bit that corresponding cryptographic Hash is current set top box, the unique mark is set-top-box chip ID or machine top
Box Flash ID can only include a unique mark in the request, you can also be machine top to be set-top-box chip ID
Box Flash ID, the request can also include two unique marks, i.e., include set-top-box chip ID and set-top box Flash simultaneously
ID;
The tool of production, the production request sent for receiving the set-top box, and return to corresponding creation data
To set-top box.
Whether the present invention is actively judged itself to have produced by set-top box and actively initiates to ask to the tool of production
Obtain corresponding data, greatly reduce manual intervention, substantially increase production efficiency, reduce production cost, cost of labor and
Management cost;The problem of avoiding set-top box duplication of production caused by artificial erroneous judgement simultaneously.
Although specific embodiments of the present invention have been described above, those familiar with the art should manage
Solution, we are merely exemplary described specific embodiment, rather than for the restriction to the scope of the present invention, it is familiar with this
The technical staff in field modification and variation equivalent made by the spirit according to the present invention, should all cover the present invention's
In scope of the claimed protection.
Claims (8)
1. a kind of set-top box automatic factory production method, it is characterised in that:Include the following steps:
Step 1, the ends PC that a set-top box to be produced is equipped with to the tool of production with one are connect by serial ports, and to the machine top
Box carries out power on operation;
Step 2 judges whether current set top box had produced by the flag bit in the fixed storage region of current set top box,
If so, terminating current set top box production, 6 are gone to step;Otherwise, enter
Step 3;
Step 3 sends production request by current set top box to the tool of production, and the production request includes at least one unique
Identify the information of current set top box;
Step 4, after the production request that the tool of production receives that the set-top box sends, return to corresponding creation data and give machine top
Box;
Step 5, after set-top box receives creation data, carry out data processing, setting produces successful flag bit and writing machine top
In the fixed storage region of box, current set top box production is completed;
Step 6 judges whether that also set-top box needs to carry out production operation, gives birth to if so, return to step 1 enters next set-top box
Otherwise production terminates flow;
The specific set-up mode of flag bit is as follows:The unique identification information of current set top box is obtained, and passes through hash algorithm pair
The unique identification information of current set top box is calculated, and the flag bit that corresponding cryptographic Hash is current set top box is obtained.
2. a kind of set-top box automatic factory production method according to claim 1, it is characterised in that:The step 5 is also
Including:Set-top box returns to the result of successfully production to the tool of production, and required production label is printed by the tool of production.
3. a kind of set-top box automatic factory production method according to claim 1, it is characterised in that:The unique mark
For set-top-box chip ID or set-top box Flash ID.
4. a kind of set-top box automatic factory production method according to claim 1, it is characterised in that:In the step 2
" judging whether current set top box had produced by the flag bit in the fixed storage region of current set top box " is specially:It obtains
The unique identification information for taking current set top box is calculated the unique identification information of current set top box by hash algorithm
Corresponding cryptographic Hash is compared corresponding cryptographic Hash with the flag bit in the fixed storage region of current set top box, if one
It causes, is then determined as that set-top box had produced, otherwise, it is determined that not produced for set-top box.
5. a kind of set-top box automatic factory production system, it is characterised in that:Including a plurality of set-top boxes and a band tool of production
The ends PC, each set-top box passes through serial ports and the ends PC in production to be established and connects;
The set-top box is used for startup self-detection, judges current machine by the flag bit in the fixed storage region of current set top box
Whether top box had produced, if so, terminating current set top box production;Otherwise, production is sent to ask to the tool of production,
The production request includes the information of at least one unique mark current set top box, and in the production for receiving tool of production return
Data processing is carried out after data, setting produces successful flag bit and is written in the fixed storage region of set-top box, completes current
Set-top box produces;
The tool of production, the production request sent for receiving the set-top box, and corresponding creation data is returned to machine
Top box;
The specific set-up mode of flag bit is as follows:The unique identification information of current set top box is obtained, and passes through hash algorithm pair
The unique identification information of current set top box is calculated, and the flag bit that corresponding cryptographic Hash is current set top box is obtained.
6. a kind of set-top box automatic factory production system according to claim 5, it is characterised in that:The set-top box is also
Including:The result of successfully production is returned to the tool of production, required production label is printed by the tool of production.
7. a kind of set-top box automatic factory production system according to claim 5, it is characterised in that:The unique mark
For set-top-box chip ID or set-top box Flash ID.
8. a kind of set-top box automatic factory production system according to claim 5, it is characterised in that:It is described " by working as
Flag bit in the preceding fixed storage region of set-top box judges whether current set top box had produced " be specially:It obtains current
The unique identification information of set-top box to the unique identification information of current set top box be calculated corresponding by hash algorithm
Cryptographic Hash corresponding cryptographic Hash is compared with the flag bit in the fixed storage region of current set top box, if unanimously, sentencing
It is set to set-top box to have produced, otherwise, it is determined that not producing for set-top box.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510945767.6A CN105426940B (en) | 2015-12-17 | 2015-12-17 | A kind of set-top box automatic factory production method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510945767.6A CN105426940B (en) | 2015-12-17 | 2015-12-17 | A kind of set-top box automatic factory production method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105426940A CN105426940A (en) | 2016-03-23 |
CN105426940B true CN105426940B (en) | 2018-10-23 |
Family
ID=55505135
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510945767.6A Active CN105426940B (en) | 2015-12-17 | 2015-12-17 | A kind of set-top box automatic factory production method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105426940B (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6029196A (en) * | 1997-06-18 | 2000-02-22 | Netscape Communications Corporation | Automatic client configuration system |
CN102231852B (en) * | 2011-05-06 | 2014-05-28 | 深圳市九洲电器有限公司 | Method and device for programming serial number of set-top box |
CN102780703A (en) * | 2012-08-07 | 2012-11-14 | 青岛海信宽带多媒体技术有限公司 | Information writing system and method of set-top box |
CN102857817B (en) * | 2012-09-26 | 2015-04-29 | 深圳市九洲电器有限公司 | Set-top box production system and method capable of realizing dynamical loading |
CN102938857B (en) * | 2012-11-27 | 2016-02-10 | 乐视致新电子科技(天津)有限公司 | A kind of method of Set Top Box online upgrading |
CN103929670A (en) * | 2014-04-30 | 2014-07-16 | 深圳市九洲电器有限公司 | Set top box programming method and system |
-
2015
- 2015-12-17 CN CN201510945767.6A patent/CN105426940B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105426940A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
MX2018003764A (en) | Image prediction method and device. | |
CN204856553U (en) | A three -dimensional two -dimensional code for work piece | |
CN104077727B (en) | Substation Electric Equipment account intelligence input method and system | |
CN104376171A (en) | Automatic design method and system for terminal block drawing and cable detailed list | |
CN104965999B (en) | The analysis joining method of a kind of short-and-medium genetic fragment order-checking and equipment | |
CN103114429A (en) | Type setting method and type setting system of leather and cloth | |
CN104401016B (en) | A kind of method that substandard products are repaired by 3 D-printing | |
CN104598950A (en) | Information write-in method and device | |
WO2014040488A1 (en) | Method and device for guaranteeing consistency of planning data | |
CN106789416A (en) | The recognition methods of industrial control system specialized protocol and system | |
CN110705969B (en) | Transformer substation monitoring system, main station and method for automatically associating measuring point ID | |
CN105426940B (en) | A kind of set-top box automatic factory production method and system | |
CN207216403U (en) | A kind of reinforcing steel bar numerical control process equipment based on BIM technology | |
CN101753787A (en) | Method for upgrading software of set top box with assistance of another set top box | |
CN102566949A (en) | Shared printing method of printers for intelligent devices in transformer substation | |
CN105550256A (en) | Power grid planning oriented automatic diluting method of geographical wiring diagram | |
CN105608637A (en) | Substation equipment model topology-based wiring diagram automatic generation method | |
CN106599498A (en) | Method for improving chip verification coverage rate based on tree backtracking algorithm | |
CN105488271B (en) | A kind of oil gas module shaped steel automatic matching method | |
CN107944186A (en) | Design efficient layout planing method in integrated circuit semi-custom rear end | |
CN112926136B (en) | Ship body water gauge modeling system and method | |
CN107451082B (en) | A kind of integrated HUB hub and application program system used in conjunction with | |
CN107622159A (en) | A kind of full-automatic V cut device and methods for pcb board | |
CN103902765A (en) | Automatic clothing template sewing system and sewing method | |
SE1750592A1 (en) | Method and system for controlling a formation of vehicles during drive of said vehicles |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |