CN106412657B - A kind of method and system of set-top box programming sequence code - Google Patents

A kind of method and system of set-top box programming sequence code Download PDF

Info

Publication number
CN106412657B
CN106412657B CN201610844849.6A CN201610844849A CN106412657B CN 106412657 B CN106412657 B CN 106412657B CN 201610844849 A CN201610844849 A CN 201610844849A CN 106412657 B CN106412657 B CN 106412657B
Authority
CN
China
Prior art keywords
sequence code
top box
data group
programming
sequence
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
Application number
CN201610844849.6A
Other languages
Chinese (zh)
Other versions
CN106412657A (en
Inventor
张敏康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201610844849.6A priority Critical patent/CN106412657B/en
Publication of CN106412657A publication Critical patent/CN106412657A/en
Application granted granted Critical
Publication of CN106412657B publication Critical patent/CN106412657B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42684Client identification by a unique number or address, e.g. serial number, MAC address, socket ID
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4516Management of client data or end-user data involving client characteristics, e.g. Set-Top-Box type, software version or amount of memory available

Abstract

The invention discloses a kind of method and system of set-top box programming sequence code, the described method includes: when set-top box enters sequence code programming process position, predetermined sequence code data group is sent to the set-top box by production line terminal, wherein the sequence code data include multiple sequence codes;The set-top box receives and parses through the sequence code data group, and obtaining sequence code data group includes each sequence code and its corresponding attribute;Each sequence code programming is entered into its corresponding position according to the attribute.The present invention is by being sent to set-top box for the sequence code data group comprising multiple sequence codes, after set-top box receives and parses through sequence code data group, sequence code programming is entered into corresponding position according to sequence code attribute, when solving existing set-top box programming sequence code, by WIFI, the separated number write of CM, EOC and set-top box, causes production efficiency not high.

Description

A kind of method and system of set-top box programming sequence code
Technical field
The present invention relates to set-top box technique field, in particular to a kind of method and system of set-top box programming sequence code.
Background technique
With the development of set-top box technique, existing set-top box common configuration has the additional functions such as WiFi, CM and EOC. To which set-top box is before factory in addition to needing to input SN sequence number, MAC(medium access control) information such as address, it is also necessary to Input WIFI, CM and EOC sequence code etc..Currently, set-top box manufacturer is by SN code, MAC Address, WIFI, the CM of set-top box, The sequence numbers such as EOC separate programming and enter set-top box, that is, set-top box needs to pass sequentially through set-top box sequence code station, the address WiFi work Position, CM station and EOC station simultaneously carry out multiple programming, and the programming of set-top box sequence code is completed.Make each machine top in this way The programming process of the sequence of box is more, reduces the production efficiency of set-top box.
Thus the prior art could be improved and improve.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the deficiencies of the prior art, providing a kind of set-top box programming sequence The method and system of code are made with solving existing set-top box using all sequences code and MAC Address of set-top box are separated programming Production efficiency it is low the problem of.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is as follows:
A kind of method of set-top box programming sequence code comprising:
When set-top box enters sequence code programming process position, predetermined sequence code data group is sent to described by production line terminal Set-top box, wherein the sequence code data include multiple sequence codes;
The set-top box receives and parses through the sequence code data group, obtain sequence code data group include each sequence code and Its corresponding attribute;
Each sequence code programming is entered into its corresponding position according to the attribute.
The method of the set-top box programming sequence code, wherein it is described when set-top box enters sequence code programming process position, it is raw Predetermined sequence code data group is sent to the set-top box by producing line terminal, wherein the sequence code data include multiple sequence codes Before further include:
Generate order data of the line terminal according to production, preconfigured sequence code data group.
The method of the set-top box programming sequence code, wherein it is described when set-top box enters sequence code programming process position, it is raw Predetermined sequence code data group is sent to the set-top box by producing line terminal, wherein the sequence code data include multiple sequence codes It specifically includes:
When set-top box enters sequence code programming process position, production line terminal and set-top box establish wired connection, and read First SN code of the set-top box and the first MAC Address;
If reading successfully, predetermined sequence code data group is sent to the set-top box by udp protocol;
If reading failure, it is ready to show that set-top box is not ready to.
The method of the set-top box programming sequence code, wherein described that each sequence code programming is entered by it according to the attribute Corresponding position specifically includes:
The type of the sequence code is determined according to the attribute, wherein the type includes set-top box sequence code and machine top Box fixation kit sequence code;
When the sequence code be set-top box sequence code when, the Flash interface of set-top box will be called, by institute's sequence code save to Flash;
When the sequence code be fixation kit sequence code, then the sequence code is sent to its corresponding fixation kit, and The specified storage location of write-in.
The method of the set-top box programming sequence code, wherein the sequence code data group includes: set-top box SN code, machine top One of box MAC Address, the address WIFIMAC, the address CMMAC, the address EOCMAC are a variety of.
A kind of system of set-top box programming sequence code comprising: production line terminal and set-top box;
The production line terminal includes sending module;
The sending module, for when set-top box enters sequence code programming process position, predetermined sequence code data group to be sent out It send to the set-top box, wherein the sequence code data include multiple sequence codes;
The set-top box includes:
Module is obtained, for receiving and parsing through the sequence code data group, obtaining sequence code data group includes each sequence Code and its corresponding attribute;
Programming module, for each sequence code programming to be entered its corresponding position according to the attribute.
The system of the set-top box programming sequence code, wherein the production line terminal further include:
Configuration module, for the order data according to production, preconfigured sequence code data group.
The system of the set-top box programming sequence code, wherein the sending module specifically includes:
Reading unit, for when set-top box enters sequence code programming process position, control production line terminal to be built with set-top box Vertical wired connection, and read the first SN code and the first MAC Address of the set-top box;
First processing units, for when reading successfully, predetermined sequence code data group is sent to by udp protocol described in Set-top box;
The second processing unit, for when reading failure, display set-top box to be not ready to ready.
The system of the set-top box programming sequence code, wherein the programming module specifically includes:
Determination unit, for determining the type of the sequence code according to the attribute, wherein the type includes set-top box Sequence code and set-top box fixation kit sequence code;
Call unit will for will call the Flash interface of set-top box when the sequence code is set-top box sequence code Institute's sequence code is saved to Flash;
The sequence code is then sent to its correspondence for being fixation kit sequence code when the sequence code by transmission unit Fixation kit, and specified storage location is written.
The system of the set-top box programming sequence code, wherein the sequence code data group includes: set-top box SN code, machine top One of box MAC Address, the address WIFIMAC, the address CMMAC, the address EOCMAC are a variety of.
The utility model has the advantages that compared with prior art, the present invention provides a kind of method and system of set-top box programming sequence code, The described method includes: production line terminal sends predetermined sequence code data group when set-top box enters sequence code programming process position To the set-top box, wherein the sequence code data include multiple sequence codes;The set-top box receives and parses through the sequence code Data group, obtaining sequence code data group includes each sequence code and its corresponding attribute;According to the attribute by each sequence code Programming enters its corresponding position.The present invention is by being sent to set-top box, machine top for the sequence code data group comprising multiple sequence codes After box receives and parses through sequence code data group, sequence code programming is entered by corresponding position according to sequence code attribute, is solved existing When set-top box programming sequence code, by WIFI, the separated number write of CM, EOC and set-top box causes production efficiency not high, holds simultaneously Easily there is MAC Address management error, the high problem of repair rate.
Detailed description of the invention
Fig. 1 is the flow chart that the method for set-top box programming sequence code provided by the invention is preferably implemented.
Fig. 2 is the flow chart of the embodiment of the method one of set-top box programming sequence code provided by the invention
Fig. 3 is a kind of structure principle chart of the system of set-top box programming sequence code provided by the invention.
Specific embodiment
The present invention provides a kind of method and system of set-top box programming sequence code, to make the purpose of the present invention, technical solution And effect is clearer, clear, the present invention is described in more detail as follows in conjunction with drawings and embodiments.It should be appreciated that this Place is described, and specific examples are only used to explain the present invention, is not intended to limit the present invention.
In the present invention, using the suffix for indicating such as " module ", " component " or " unit " of element only for advantageous In explanation of the invention, there is no specific meanings for itself.Therefore, module ", " component " or " unit " can mixedly make With.
With reference to the accompanying drawing, by the description of the embodiment, further explanation of the contents of the invention are made.
Fig. 1 is please referred to, Fig. 1 is the process of the preferred embodiment of the method for set-top box programming sequence code provided by the invention Figure.The described method includes:
S100, when set-top box enters sequence code programming process position, production line terminal by predetermined sequence code data group send To the set-top box, wherein the sequence code data group includes multiple sequence codes.
Specifically, the production line terminal is the terminal device for sending sequence code data group to set-top box, e.g., PC Machine, ipod etc..The predetermined sequence code data group be enter the sequence code of set-top box or the composition of MAC Address for programming, for example, Set-top box SN (Serial Number, product ID), set-top box MAC Address (Media Access Control Address, physical address), the address WIFIMAC (WIreless-FIdelity Media Access Control Address, Wireless LAN address), the address CMMAC (Cable Modem Media Access Control Address, cable modulation Demodulator), the address EOCMAC (Ethernet Over Cable Media Access Control Address, coaxial cable Transmit address) etc..
The sequence code data group is to be needed to configure according to the order data of set-top box.That is, the sequence code The order number of data group and set-top box corresponds, and can guarantee that the sequence code of each set-top box programming is unique in this way.? In practical application, the sequence code data can be pre-configured in production line terminal, when production line terminal is connect with set-top box Afterwards, the sequence code is sent to set-top box.The sequence code can also be pre-configured in server, when needing sequence code When data group is sent to set-top box, production line terminal obtains its corresponding sequence code data group from server according to order number, and The sequence code data group is sent to set-top box.Sequence code data can be managed collectively in this way, it is artificial right to reduce Mistake caused by sequence code data management reduces the repair rate of set-top box.
Illustratively, described when set-top box enters sequence code programming when the sequence code data group is configured at server When process position, predetermined sequence code data group is sent to the set-top box and can specifically include by production line terminal:
H10, when set-top box enters sequence code programming process position, production line terminal to server send obtain sequence yardage According to the solicited message of group, wherein the solicited message includes the order number of set-top box;
H20, server receive the solicited message, and according to the order number preparatory sequence code data group database Interior its corresponding sequence code data group of lookup;
H30, when finding sequence code data group, the sequence code data group is fed back into production line terminal;
H40, the production line terminal receive, and the sequence code data group are sent to the set-top box.
In the present embodiment, the production line terminal and set-top box, which establish wired connection, can pass through machine for production line terminal The included data-interface of top box establishes wired connection, and the data-interface can be USB interface.Production line can be made whole in this way One-to-one connection is realized with set-top box in end, determines the corresponding sequence code data group of current set top box, accurately to guarantee set-top box The uniqueness of sequence code.It is also possible to not need to increase, set-top box is can be realized in other interfaces and production line terminal is established Communication, carries out data transmission.In practical applications, the wired connection between the production line terminal and set-top box can pass through hand Work inserting mode is realized, can also be realized by robot arm autopatching mode.
Further, the production line terminal and set-top box are by wired connection, then logical in production line terminal and set-top box After crossing connecting line connection, it is also necessary to including a verification process, for verify production line terminal and set-top box whether successful connection, To guarantee that sequence code data are sent successfully.Thus described when set-top box enters sequence code programming process position, production line terminal will Predetermined sequence code data group is sent to the set-top box and can also specifically include:
S101, when set-top box enters sequence code programming process position, production line terminal and set-top box establish wired connection, and Read the first SN code and the first MAC Address of the set-top box.
If S102, reading successfully, predetermined sequence code data group is sent to the set-top box by udp protocol.
If S103, reading failure, it is ready to show that set-top box is not ready to.
Specifically, in the step S101, the first SN code of the set-top box and the first MAC Address are referred to Before set-top box enters sequence code programming process position, SN code and the MAC Address being uniformly set in set-top box in advance, and production line On all set-top boxes in the first SN code and the first MAC Address it is identical.The first SN code and the first MAC Address are used for When set-top box is connected to production line terminal by data-interface, judge whether the set-top box succeeds with the production line terminal It establishes wired connection: if the production line terminal successfully reads the first SN code and the first MAC Address in set-top box, determining institute It states set-top box and the production line terminal is successfully established wired connection, the two can be carried out data transmission by network;If described Production line terminal reads the first SN code and the first MAC Address in set-top box not successfully, then determines the set-top box and the life Producing line terminal establishes wired connection not successfully, and the two can not be carried out data transmission by network.
In the step S102, the UPD agreement (User Datagram Protocol, User Datagram Protocol) is System broadcasts, that is to say, that the predetermined sequence code data group is sent to described by the production line terminal in the form broadcasted Set-top box.Using UPD agreement, it is small with resource consumption, and the fast advantage of processing speed can be realized the predetermined sequence yardage According to the quick transmission of group, efficiency of transmission is improved, to reduce the time cost of production.Certainly, in actual production, can also make With other transport protocols.
In the step S103, display set-top box be not ready to it is ready after can also include:
The first SN code and the first MAC Address in set-top box are re-read, and records the number for reading failure;It is lost when reading When the number lost is greater than preset threshold, then programming is prompted to fail, and be successively read next set-top box.The threshold value is to set in advance It sets, e.g., 3 times, 4 is inferior.In practical applications, set-top box can be arranged successively according to order number sequencing enter sequence code The sequence of programming process position, is so accurately managed set-top box, while after reading set-top box failure, can be accurate Determine the order number and its corresponding sequence code data group of next set-top box.
S200, the set-top box receive and parse through the sequence code data group, and obtaining sequence code data group includes each sequence Column code and its corresponding attribute.
Specifically, the set-top box receives and parses through the sequence code data group and refers to that the set-top box receives the sequence Column code data group is simultaneously parsed to obtain the attribute of all sequences code and each sequence code that include in the sequence code data group.
S300, each sequence code programming is entered by its corresponding position according to the attribute.
Specifically, according to the attribute by each sequence code programming enter its corresponding position refer to it is true according to the attribute Determine the corresponding position of the sequence code, and the sequence code programming is entered into its corresponding position.In set-top box, due to set-top box The programming methods of MAC Address of fixation kits such as the SN code of itself and MAC Address and WIFI, CM are different, in programming sequence code When need to judge the sequence code for the sequence code of set-top box itself or its fixation kit sequence code.Therefore, described according to category Each sequence code programming is entered its corresponding position by property can specifically include:
S301, the type that the sequence code is determined according to the attribute, wherein the type include set-top box sequence code and Set-top box fixation kit sequence code.
S302, when the sequence code be set-top box sequence code when, call the Flash interface of set-top box, institute's sequence code protected It deposits to Flash.
S303, when the sequence code be fixation kit sequence code, then the sequence code is sent to its corresponding fixed group Part, and specified storage location is written
Specifically, described to determine that the type of the sequence code refers to according to the attribute in the step S301 It is that the attribute for the sequence code for including determines that the type of its corresponding sequence code, the type include machine top according to sequence code data group Box sequence code itself and fixation kit sequence code.The fixation kit can be WIFI plate, CM plate, EOC plate etc..That is, The type for needing to judge each sequence code in sequence code data group when sequence code is stored in corresponding position, according to sequence code class Type is saved sequence code to corresponding position using corresponding store method.
In the step S302, described save sequence code is referred into Flash using the SN code and MAC Address The first SN code and MAC Address of existing unification are replaced, unique SN code and MAC Address are configured for set-top box, so that set-top box With uniqueness.
In the step S303, the corresponding sequence code of the set-top box fixation kit can be the address WIFIMAC, The address CMMAC, address EOCMAC etc..To when judging the type of the sequence code for fixation kit, it is also necessary to according to sequence Code attribute further judges that the sequence code has purposes.For example, judging the sequence when the sequence code is firmware sequence code Column code is the address WIFIMAC, the address CMMAC or the address EOCMAC.It, will if the sequence code data are the address WIFIMAC The address WIFIMAC is sent to WIFI plate, and WIFI plate receives the address WIFIMAC that set-top box is sent, the address WIFIMAC is write Enter to designated storage location;If the sequence code data are the address CMMAC, the address CMMAC is sent to CM plate, CM plate receives The address CMMAC is written to designated storage location by the address CMMAC sent to set-top box;If the sequence code data For the address EOCMAC, then the address EOCMAC is sent to EOC plate, EOC plate receives the address EOCMAC that set-top box is sent, will The address EOCMAC is written to designated storage location.In this way, by the address WIFIMAC that will acquire, the address CMMAC, After the SN code and MAC Address of the address EOCMAC and set-top box itself are classified, its corresponding storage location is written, it will Originally the operation for needing multiple stations that could complete is reduced to complete by a station, improves production efficiency, reduces The time cost of production.Meanwhile the sequence code data group is managed collectively by server, reduces MAC caused by human factor The probability of address error, reduces the probability that machine is reprocessed.
In another embodiment of the present invention, described that each sequence code programming is entered by its corresponding position according to the attribute Setting specifically can also include:
S1, the Flash interface for calling set-top box, all sequences code is saved to Flash;
S2, restarting set-top box, and the corresponding fixation kit of the sequence code is determined according to sequence code attribute;
S30, designated position in the fixation kit is written into the sequence code.
For a further understanding of the method for set-top box programming sequence code provided by the invention, it is embodied below with reference to one Example is illustrated.
Embodiment one
The present embodiment provides a kind of methods of set-top box programming sequence code, as shown in Fig. 2, it is specifically included:
The end N10, PC initial order data, configure predetermined sequence code data group, and the sequence code data group includes set-top box SN code, set-top box MAC Address, the address WIFIMAC, the address CMMAC and the address EOCMAC;
The end N20, PC is connect with set-top box, whether ready judges set-top box, if set-top box is ready, is executed N30;Otherwise, initial order data are returned;
Predetermined sequence code data group is sent to set-top box by UDP by the end N30, PC;
N40, the set-top box parse the sequence code data group, and determine the attribute for each sequence code that parsing obtains, When sequence code is the address WIFIMAC, step N50 is executed;When sequence code is the address CMMAC, step N70 is executed;Work as sequence When code is the address EOCMAC, step N90 is executed;When sequence code is set-top box SN code and MAC Address, N110 is executed;
N50, it will be sent to WIFI plate for the sequence code of the address WIFIMAC, WIFI plate receives the address and saves;
N60, the whether successful saving sequence code of the WIFI plate is judged, if so, end operation;If it is not, then returning to execution N50;
N70, it will be sent to CM plate for the sequence code of the address CMMAC, CM plate receives the address CMMAC and saves;
N80, the whether successful saving sequence code of the CM plate is judged, if so, end operation;If it is not, then returning to execution N70;
N90, it will be sent to EOC plate for the sequence code of the address EOCMAC, EOC plate receives the address EOCMAC and saves;
N100, the whether successful saving sequence code of the EOC plate is judged, if so, end operation;If it is not, then returning to execution N90;
N110, the Flash interface for calling set-top box local, will save for the sequence code of SN code and MAC Address to Flash;
N120, judge described in as the sequence code of set-top box SN code and MAC Address whether save success, if so, terminating behaviour Make;N110 is executed if it is not, then returning.
The present invention also provides a kind of systems of set-top box programming sequence code, as shown in figure 3, comprising: production line terminal 100 and set-top box 200;
The production line terminal 100 includes sending module 101;
The sending module 101, for when set-top box enters sequence code programming process position, by predetermined sequence code data group It is sent to the set-top box, wherein the sequence code data include multiple sequence codes;
The set-top box 200 includes:
Module 201 is obtained, for receiving and parsing through the sequence code data group, obtaining sequence code data group includes each sequence Column code and its corresponding attribute;
Programming module 202, for each sequence code programming to be entered its corresponding position according to the attribute.
The system of the set-top box programming sequence code, wherein the production line terminal further include:
Configuration module, for the order data according to production, preconfigured sequence code data group.
The system of the set-top box programming sequence code, wherein the sending module specifically includes:
Reading unit, for when set-top box enters sequence code programming process position, control production line terminal to be built with set-top box Vertical wired connection, and read the first SN code and the first MAC Address of the set-top box;
First processing units, for when reading successfully, predetermined sequence code data group is sent to by udp protocol described in Set-top box;
The second processing unit, for when reading failure, display set-top box to be not ready to ready.
The system of the set-top box programming sequence code, wherein the programming module specifically includes:
Determination unit, for determining the type of the sequence code according to the attribute, wherein the type includes set-top box Sequence code and set-top box fixation kit sequence code;
Call unit will for will call the Flash interface of set-top box when the sequence code is set-top box sequence code Institute's sequence code is saved to Flash;
The sequence code is then sent to its correspondence for being fixation kit sequence code when the sequence code by transmission unit Fixation kit, and specified storage location is written.
The system of the set-top box programming sequence code, wherein the sequence code data group includes: set-top box SN, machine top One of box MAC Address, the address WIFIMAC, the address CMMAC, the address EOCMAC are a variety of.
In embodiment provided by the present invention, it should be understood that disclosed system and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (6)

1. a kind of method of set-top box programming sequence code, characterized in that it comprises:
When set-top box enters sequence code programming process position, predetermined sequence code data group is sent to the machine top by production line terminal Box, wherein the sequence code data group includes multiple sequence codes;
The set-top box receives and parses through the sequence code data group, obtain each sequence code that sequence code data group includes and its Corresponding attribute;
Each sequence code programming is entered into its corresponding position according to the attribute;
It is described when set-top box enters sequence code programming process position, predetermined sequence code data group is sent to described by production line terminal Set-top box, wherein before the sequence code data group includes multiple sequence codes further include:
Order data of the production line terminal according to production, preconfigured sequence code data group;
The sequence code is pre-configured in server, and when needing sequence code data group being sent to set-top box, production line is whole End obtains its corresponding sequence code data group from server according to order number;
It is described when set-top box enters sequence code programming process position, predetermined sequence code data group is sent to described by production line terminal Set-top box, wherein the sequence code data group includes that multiple sequence codes specifically include:
When set-top box enters sequence code programming process position, production line terminal and set-top box establish wired connection, and described in reading The First ray code and the first MAC Address of set-top box;
If reading successfully, predetermined sequence code data group is sent to the set-top box by udp protocol;
If reading failure, it is ready to show that set-top box is not ready to;
Display set-top box be not ready to it is ready after further include:
The First ray code and the first MAC Address in set-top box are re-read, and records the number for reading failure;Fail when reading Number be greater than preset threshold when, then prompt programming to fail, and be successively read next set-top box, specifically: according to order Number sequencing is arranged successively the sequence that set-top box enters sequence code programming process position.
2. the method for set-top box programming sequence code according to claim 1, which is characterized in that it is described will be every according to the attribute A sequence code programming enters its corresponding position and specifically includes:
The type of the sequence code is determined according to the attribute, wherein the type includes that set-top box sequence code and set-top box are solid Determine component sequence code;
When the sequence code be set-top box sequence code when, the Flash interface of set-top box will be called, by the sequence code save to Flash;
When the sequence code is fixation kit sequence code, then the sequence code is sent to its corresponding fixation kit, and write Enter specified storage location.
3. the method for -2 any set-top box programming sequence codes according to claim 1, which is characterized in that the sequence code data Group include: one of set-top box sequence code, set-top box MAC Address, the address WIFIMAC, the address CMMAC, the address EOCMAC or It is a variety of.
4. a kind of system of set-top box programming sequence code, characterized in that it comprises: production line terminal and set-top box;
The production line terminal includes sending module;
The sending module, for when set-top box enters sequence code programming process position, predetermined sequence code data group to be sent to The set-top box, wherein the sequence code data group includes multiple sequence codes;
The set-top box includes:
Module is obtained, for receiving and parsing through the sequence code data group, obtains each sequence code that sequence code data group includes And its corresponding attribute;
Programming module, for each sequence code programming to be entered its corresponding position according to the attribute;
The production line terminal further include:
Configuration module, for the order data according to production, preconfigured sequence code data group;
The sequence code is pre-configured in server, and when needing sequence code data group being sent to set-top box, production line is whole End obtains its corresponding sequence code data group from server according to order number;
The sending module specifically includes:
Reading unit, for when set-top box enters sequence code programming process position, control production line terminal to have with set-top box foundation Line connection, and read the First ray code and the first MAC Address of the set-top box;
First processing units, for when reading successfully, predetermined sequence code data group to be sent to the machine top by udp protocol Box;
The second processing unit, for when reading failure, display set-top box to be not ready to ready;
The second processing unit is also used to re-read First ray code and the first MAC Address in set-top box, and records reading and lose The number lost;When the number for reading failure is greater than preset threshold, then programming is prompted to fail, and be successively read next machine top Box, specifically: the sequence that set-top box enters sequence code programming process position is arranged successively according to order number sequencing.
5. the system of set-top box programming sequence code according to claim 4, which is characterized in that the programming module is specifically wrapped It includes:
Determination unit, for determining the type of the sequence code according to the attribute, wherein the type includes set-top box sequence Code and set-top box fixation kit sequence code;
Call unit will be described for will call the Flash interface of set-top box when the sequence code is set-top box sequence code Sequence code is saved to Flash;
Transmission unit, for when the sequence code is fixation kit sequence code, then it is corresponding the sequence code to be sent to its Fixation kit, and specified storage location is written.
6. according to the system of any set-top box programming sequence code of claim 4-5, which is characterized in that the sequence code data Group include: one of set-top box sequence code, set-top box MAC Address, the address WIFIMAC, the address CMMAC, the address EOCMAC or It is a variety of.
CN201610844849.6A 2016-09-23 2016-09-23 A kind of method and system of set-top box programming sequence code Active CN106412657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610844849.6A CN106412657B (en) 2016-09-23 2016-09-23 A kind of method and system of set-top box programming sequence code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610844849.6A CN106412657B (en) 2016-09-23 2016-09-23 A kind of method and system of set-top box programming sequence code

Publications (2)

Publication Number Publication Date
CN106412657A CN106412657A (en) 2017-02-15
CN106412657B true CN106412657B (en) 2019-07-30

Family

ID=57997539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610844849.6A Active CN106412657B (en) 2016-09-23 2016-09-23 A kind of method and system of set-top box programming sequence code

Country Status (1)

Country Link
CN (1) CN106412657B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361640B (en) * 2017-12-28 2021-06-15 深圳Tcl新技术有限公司 Method and system for quickly producing electric control board of washing machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014303A (en) * 2010-12-14 2011-04-13 康佳集团股份有限公司 Method for recovering serial number of set-top box and set-top box
CN103929670A (en) * 2014-04-30 2014-07-16 深圳市九洲电器有限公司 Set top box programming method and system
CN104916327A (en) * 2015-05-22 2015-09-16 深圳创维-Rgb电子有限公司 Method and system of simultaneously burning multiple television KEY codes on line
CN105224831A (en) * 2015-09-29 2016-01-06 深圳市九洲电器有限公司 Terminal Equipment Identifier method for writing data and system
CN105573792A (en) * 2015-12-16 2016-05-11 深圳市创维软件有限公司 Delivery parameter burning method, equipment to be burnt, burning tool equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014303A (en) * 2010-12-14 2011-04-13 康佳集团股份有限公司 Method for recovering serial number of set-top box and set-top box
CN103929670A (en) * 2014-04-30 2014-07-16 深圳市九洲电器有限公司 Set top box programming method and system
CN104916327A (en) * 2015-05-22 2015-09-16 深圳创维-Rgb电子有限公司 Method and system of simultaneously burning multiple television KEY codes on line
CN105224831A (en) * 2015-09-29 2016-01-06 深圳市九洲电器有限公司 Terminal Equipment Identifier method for writing data and system
CN105573792A (en) * 2015-12-16 2016-05-11 深圳市创维软件有限公司 Delivery parameter burning method, equipment to be burnt, burning tool equipment

Also Published As

Publication number Publication date
CN106412657A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN108965484B (en) Internet of things data transmission method, system and terminal
CN108293060B (en) Method and system for updating firmware of slave station, master station and slave station
WO2018202177A1 (en) Method and device for upgrading firmware of zigbee devices
CN105259806B (en) Controller upgrade method and system and master controller and from controller
CN106850241A (en) A kind of vehicle-mounted OBD terminals and its remote upgrade method
CN110875850B (en) Firmware upgrading method and system, readable storage medium and terminal equipment
CN105278413A (en) Communication method for upper computer and CAN equipment of same type
CN108322437A (en) For the adaptive communications method and apparatus between more stipulations equipment
CN110662096A (en) Data burning method and device for converged terminal
CN105792025A (en) Device information obtaining method and terminal
CN106412657B (en) A kind of method and system of set-top box programming sequence code
CN109995548B (en) Device management method and system, data transmission method and system and terminal device
CN107505929B (en) Configuration method and device of vehicle controller and vehicle
WO2017049557A1 (en) Adapter upgrade method, mobile terminal, and adapter
CN112422485B (en) Communication method and device of transmission control protocol
CN111736866A (en) One-to-one and one-to-many compatible online upgrading method and terminal equipment
CN101197959B (en) Terminal control method, system and equipment
CN103067053B (en) Method and device for Bluetooth node processing
CN103188117B (en) Information interaction server simulation testing device and method
CN111371799B (en) Method, device and equipment for controlling data receiving and transmitting of MCTP (Multi-channel media Port) controller
CN112241279B (en) Self-adaptive electronic control unit software upgrading method and system and automobile
CN114827967A (en) Software updating method, Bluetooth device and storage medium
CN113794751A (en) Data interaction method, system, equipment and storage medium of Internet of things system
CN110971716B (en) Address configuration method, device, system and computer readable storage medium
CN106850246A (en) The recognition methods of facility information 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
GR01 Patent grant
GR01 Patent grant