CN105812879A - Method, terminal, server and system for automatically debugging display terminal - Google Patents
Method, terminal, server and system for automatically debugging display terminal Download PDFInfo
- Publication number
- CN105812879A CN105812879A CN201410849915.XA CN201410849915A CN105812879A CN 105812879 A CN105812879 A CN 105812879A CN 201410849915 A CN201410849915 A CN 201410849915A CN 105812879 A CN105812879 A CN 105812879A
- Authority
- CN
- China
- Prior art keywords
- code stream
- display terminal
- digital signal
- signal code
- command
- 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
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000005540 biological transmission Effects 0.000 claims description 16
- 238000005538 encapsulation Methods 0.000 claims description 12
- 238000004458 analytical method Methods 0.000 claims description 6
- 238000004519 manufacturing process Methods 0.000 abstract description 12
- 238000010586 diagram Methods 0.000 description 4
- 238000005194 fractionation Methods 0.000 description 4
- 230000011218 segmentation Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention relates to a method, a terminal, a server and a system for automatically debugging a display terminal, wherein the method comprises the following steps: after the display terminal is connected with a signal line connected to a network server, a preset code stream frequency point is locked; acquiring a digital signal code stream corresponding to a preset code stream frequency point from a network server; analyzing the digital signal code stream, and acquiring a debugging command of the display terminal from the digital signal code stream; and executing the debugging command to debug the display terminal. The invention realizes automatic debugging production, reduces the investment of equipment personnel in the television production process and improves the debugging efficiency.
Description
Technical field
The present invention relates to the display terminal technical fields such as TV, particularly relate to a kind of method of automatic debugging display terminal, terminal, server and system.
Background technology
Current factory, when detection debugging TV, carries out generally by methods such as serial ports instrument and factory's remote controls.And must be possessed the serial ports instrument that can connect TV by serial ports tool method and a PC computer sends relevant order as server, such needs manually go to connect extra serial ports instrument and computer, complex operation.Equally, by factory's remote control thereof, the situation of remote control interference and maloperation can be run into, the normal detection of impact.
Summary of the invention
Present invention is primarily targeted at and a kind of method of automatic debugging display terminal, terminal and system are provided, to realize the display terminals such as TV are carried out automatization's debugging, improve debugging efficiency.
In order to achieve the above object, the present invention proposes a kind of method of automatic debugging display terminal, including:
Display terminal is connected to the webserver, locks preset code stream frequency;
The digital signal code stream that described preset code stream frequency is corresponding is obtained from the described webserver;
Resolve described digital signal code stream, from described digital signal code stream, obtain the debug command of described display terminal;
Perform described debug command, described display terminal is debugged.
Preferably, the method also includes:
After debugging completes, described display terminal output information.
Preferably, described resolution digital signal code stream, the step of the debug command obtaining described display terminal from described digital signal code stream includes:
Resolve described digital signal code stream, obtain location parameter and describe information;
Describe information according to described location parameter, from described digital signal code stream, obtain the serial port command bag of embedding;
Resolve described serial port command bag, obtain the control file of the debug command including described display terminal;
The debug command of described display terminal is obtained from described control file.
The present invention also proposes a kind of method of automatic debugging display terminal, including:
Webserver encapsulation is embedded with the digital signal code stream of the debug command of display terminal;
Described digital signal code stream is uploaded to network, in order to after display terminal is connected to the described webserver, obtains described digital signal code stream from the described webserver, therefrom parse described debug command and perform.
Preferably, the step of the digital signal code stream that described encapsulation is embedded with the debug command of display terminal includes:
Display terminal configures described preset code stream frequency;
Obtain the debug command of display terminal, the debug command of described display terminal is filled in the control file of predetermined format;
By the control file generated serial port command bag of described predetermined format, form a road program stream, be embedded in digital signal code stream;
The program frequency point being embedded with the digital signal code stream of described serial port command bag is configured to preset code stream frequency.
The present invention also proposes a kind of display terminal realizing debugging automatically, including:
Locking frequency point module, for, after display terminal is connected to the webserver, locking preset code stream frequency;
Code stream acquisition module, for obtaining, from the described webserver, the digital signal code stream that described preset code stream frequency is corresponding;
Command analysis module, is used for resolving described digital signal code stream, obtains the debug command of described display terminal from described digital signal code stream;
Perform module, be used for performing described debug command, described display terminal is debugged.
Preferably, this display terminal also includes:
Reminding module, for after debugging display terminal completes, described display terminal exports information.
Preferably, described command analysis module, it is additionally operable to resolve described digital signal code stream, obtains location parameter and describe information;Describe information according to described location parameter, from described digital signal code stream, obtain the serial port command bag of embedding;Resolve described serial port command bag, obtain the control file of the debug command including described display terminal;The debug command of described display terminal is obtained from described control file.
The present invention also proposes the server of a kind of automatic debugging display terminal, including:
Package module, for encapsulating the digital signal code stream of the debug command being embedded with display terminal;
Upper transmission module, for described digital signal code stream is uploaded to network, in order to after display terminal is connected to the described webserver, obtains described digital signal code stream from the described webserver, therefrom parses described debug command and perform.
Preferably, described package module, it is additionally operable in display terminal, configure described preset code stream frequency, obtain the debug command of display terminal, the debug command of described display terminal is filled in the control file of predetermined format;By the control file generated serial port command bag of described predetermined format, form a road program stream, be embedded in digital signal code stream;The program frequency point being embedded with the digital signal code stream of described serial port command bag is configured to preset code stream frequency.
The present invention also proposes the system of a kind of automatic debugging display terminal, including: display terminal and the webserver being connected by holding wire with described display terminal;Wherein:
Described display terminal is display terminal as above;
The described webserver is the webserver as above.
The method of a kind of automatic debugging display terminal, terminal, server and the system that the embodiment of the present invention proposes, by embedding debug command in the digital signal code stream of the webserver, display terminal to the holding wire of the webserver, locks preset code stream frequency on connecting;The digital signal code stream that preset code stream frequency is corresponding is obtained from the webserver;Resolution digital signal code stream, obtains the debug command of display terminal from digital signal code stream;Perform this debug command, display terminal is debugged, thus having reached the purpose that factory automation debugging produces, the input of the equipment personnel in minimizing TV production process, improves debugging efficiency.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention debugs the method first embodiment of display terminal automatically;
Fig. 2 is the form schematic diagram of debug command in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet that the present invention debugs method second embodiment of display terminal automatically;
Fig. 4 is the high-level schematic functional block diagram that the present invention realizes the display terminal first embodiment of debugging automatically;
Fig. 5 is the high-level schematic functional block diagram that the present invention realizes display terminal second embodiment of debugging automatically;
Fig. 6 is the high-level schematic functional block diagram that the present invention debugs the server preferred embodiment of display terminal automatically.
In order to make technical scheme clearly, understand, be described in further detail below in conjunction with accompanying drawing.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly: by embedding the serial port command bag of XML format in digital signal code stream, TV connects and locks corresponding code stream frequency and analyzing XML packet, and then the debug command performed in packet realizes automated production debugging.
Specifically, as it is shown in figure 1, a kind of method that first embodiment of the invention proposes automatic debugging display terminal, including:
Step S101, display terminal is connected to the webserver, locks preset code stream frequency;
Wherein, display terminal can for playing the display terminals such as the TV of the digital signal code stream including various program, and the present embodiment is illustrated with TV.
The debug command of debugging TV is embedded in the digital signal code stream that the webserver provides by the present embodiment.
TV can be connected to the webserver by holding wire, to download the digital signal code stream including various program, plays corresponding program.
Wherein, holding wire specifically can adopt RF holding wire, owing to RF holding wire is TV standard configuration, it is not necessary to additionally prepare, when factory carries out debugging production, it is possible to easily realizes Aulomatizeted Detect by the debug command in connection RF line parsing code stream and produces.
First, TV to the holding wire of the webserver, locks preset code stream frequency on connecting, in order to by this preset code stream frequency, obtain corresponding digital signal code stream.
Step S102, obtains, from the described webserver, the digital signal code stream that described preset code stream frequency is corresponding;
TV obtains, from the described webserver, the digital signal code stream that described preset code stream frequency is corresponding, includes the debug command for debugging TV in this digital signal code stream.
Wherein, digital signal code stream is encapsulated by the webserver.The webserver, specifically can be in the following way when debug command being encapsulated in digital signal code stream:
First, obtain the debug command of TV, described debug command is filled in the control file of predetermined format (such as XML format).
Then, by the control file generated serial port command bag of described predetermined format, form a road program stream, be embedded in digital signal code stream.
Finally, the program frequency point being embedded with the digital signal code stream of described serial port command bag is configured to preset code stream frequency, and is uploaded to network.
It is embodied as can adopting such as scheme:
Series of orders, it is filled in specific XML format file, is formed and control file, as shown in Figure 2.Each order starts with<factory>, with<factory>ending.It is concrete serial port command between<cmd>and<cmd>, is the parameter of corresponding order band between<data*>and<data*>.
Debug command form can be as shown in table 1 below:
Command code | Data 1 | …… | Data n |
ucCommand | Datal | Datan |
Table 1
First, NIT table (network information table) adds Linkage_Descriptor sublist, the configuration information that definition is corresponding, for instance Service_id etc., is being embedded into XML file in code stream, corresponding XML file can form a road program stream, this program stream is distinguished by PID, is formed and controls data stream, and the valid data controlling data stream exist in PMT (Program Map Table), then pass through and be multiplexed into program transmission stream, and play by bit stream converter.
Each table has specific pid value, and concrete value is as shown in table 2 below:
Table | Pid value |
PAT | 0X0000 |
CAT | 0X0001 |
PMT | 0X0002 |
NIT | 0X0010 |
SDT、BAT | 0X0011 |
EIT | 0X0012 |
Table 2
Wherein, the segmentation (Section) of NIT table identifies with pid value 0x0010, for transport network information.Each network network_id being described identifies.The table identifier value of NIT table is 0x40 or 0x41, is used for describing current or other network information.In NIT table, it is possible to by adding additional information linkage descriptor, being used for pointing to the business providing additional information on network, these business information can be self-defined.
In above-mentioned control file, the encapsulation process of data is as follows:
First control file is the packet by splitting into certain length in front end, is then encapsulated in paragraph format by packet again, finally breaks into TS bag and be sent to network up.Data packet length is except last bag can not be regular length, generally all it is divided into regular length, such as 2K, do so allows for: the packet after fractionation to be encapsulated in privately owned section and go transmission, and the length in MPEG-2 stage casing does not exceed 4096 bytes, control file data amount herein little, it is possible to do not need subpackage.
Step S103, resolves described digital signal code stream, obtains the debug command of described display terminal from described digital signal code stream;
Step S104, performs described debug command, and described display terminal is debugged.
Television after downloading to digital signal code stream from the webserver, resolution digital signal code stream, from described digital signal code stream, obtain the debug command of described display terminal, specifically may include that
Resolve described digital signal code stream, obtain the location parameters such as PAT, PMT, NIT and describe information;
Describe information according to described location parameter, from described digital signal code stream, obtain the serial port command bag of embedding;
Resolve described serial port command bag, obtain the control file of the debug command including described display terminal;
The debug command of described display terminal is obtained from described control file.
Finally, TV performs described debug command, and described display terminal is debugged.
More specifically, in above-mentioned resolving, by, in preset code stream frequency to TV, connecting the order that holding wire just can start to resolve in code stream, and record mark.
When resolving, first, search the identifier linkage_descriptor (Descriptor_tag is defined as 0x4a) in NIT table in TS transmission stream, judge whether linkage_type=0x9, if existing, namely can determine whether there is Data Control stream, then pass through linkage_descriptor and analyze Download_pid (defining in the linkage_descriptor structure in NIT table).Analyze service_id simultaneously, the program_number of this corresponding pat table controlling data stream, just can be found out PMT_PID corresponding in pmt table by program_number, if this PMT_PID==Download_pid, namely may know that this corresponding program stream is for controlling data stream.Finally resolve the information of pmt table Zhong Zhe road program.By custom command form, restore corresponding order.
When TV all resolves all orders in above-mentioned code stream and performed, TV can export corresponding information, state when being such as used as with standby or green screen.
Further, in above process, TV can preserve the data that are parsed and be spliced into a command set file, is stored on ROM, and TV performs said process one by one, completes the order in command set file, standby equally or green screen after having performed.
The present embodiment passes through such scheme, and by embedding debug command in the digital signal code stream of the webserver, display terminal to the holding wire of the webserver, locks preset code stream frequency on connecting;The digital signal code stream that preset code stream frequency is corresponding is obtained from the webserver;Resolution digital signal code stream, obtains the debug command of display terminal from digital signal code stream;Performing this debug command, display terminal is debugged, thus having reached the order ground that factory automation debugging produces, the input of the equipment personnel in minimizing TV production process, improving debugging efficiency.
As it is shown on figure 3, a kind of method that second embodiment of the invention proposes automatic debugging display terminal, including:
Step S201, webserver encapsulation is embedded with the digital signal code stream of the debug command of display terminal;
Step S202, is uploaded to network by described digital signal code stream, in order to after display terminal is connected to the described webserver, obtains described digital signal code stream from the described webserver, therefrom parses described debug command and perform.
Wherein, display terminal can for playing the display terminals such as the TV of the digital signal code stream including various program, and the present embodiment is illustrated with TV.
The debug command of debugging TV is embedded in the digital signal code stream that the webserver provides by the present embodiment.
TV can be connected to the webserver by holding wire, to download the digital signal code stream including various program, plays corresponding program.
Wherein, holding wire specifically can adopt RF holding wire, owing to RF holding wire is TV standard configuration, it is not necessary to additionally prepare, when factory carries out debugging production, it is possible to easily realizes Aulomatizeted Detect by the debug command in connection RF line parsing code stream and produces.
First, webserver encapsulation is embedded with the digital signal code stream of the debug command of TV, configures preset code stream frequency on television simultaneously.So that TV to the holding wire of the webserver, locks preset code stream frequency on connecting, by this preset code stream frequency, obtain corresponding digital signal code stream.
Specifically, the webserver, specifically can be in the following way when debug command being encapsulated in digital signal code stream:
First, obtain the debug command of TV, described debug command is filled in the control file of predetermined format (such as XML format).
Then, by the control file generated serial port command bag of described predetermined format, form a road program stream, be embedded in digital signal code stream.
Finally, the program frequency point being embedded with the digital signal code stream of described serial port command bag is configured to preset code stream frequency, and is uploaded to network.
It is embodied as can adopting such as scheme:
Series of orders, it is filled in specific XML format file, is formed and control file, as shown in Figure 2.Each order starts with<factory>, with<factory>ending.It is concrete serial port command between<cmd>and<cmd>, is the parameter of corresponding order band between<data*>and<data*>.
Debug command form can be as listed in Table 1:
First, NIT table (network information table) adds Linkage_Descriptor sublist, the configuration information that definition is corresponding, for instance Service_id etc., is being embedded into XML file in code stream, corresponding XML file can form a road program stream, this program stream is distinguished by PID, is formed and controls data stream, and the valid data controlling data stream exist in PMT (Program Map Table), then pass through and be multiplexed into program transmission stream, and play by bit stream converter.
Each table has specific pid value, and concrete value is as above shown in table 2:
Wherein, the segmentation (Section) of NIT table identifies with pid value 0x0010, for transport network information.Each network network_id being described identifies.The table identifier value of NIT table is 0x40 or 0x41, is used for describing current or other network information.In NIT table, it is possible to by adding additional information linkage descriptor, being used for pointing to the business providing additional information on network, these business information can be self-defined.
In above-mentioned control file, the encapsulation process of data is as follows:
First control file is the packet by splitting into certain length in front end, is then encapsulated in paragraph format by packet again, finally breaks into TS bag and be sent to network up.Data packet length is except last bag can not be regular length, generally all it is divided into regular length, such as 2K, do so allows for: the packet after fractionation to be encapsulated in privately owned section and go transmission, and the length in MPEG-2 stage casing does not exceed 4096 bytes, control file data amount herein little, it is possible to do not need subpackage.
TV obtains, from the described webserver, the digital signal code stream that described preset code stream frequency is corresponding, includes the debug command for debugging TV in this digital signal code stream.
Television after downloading to digital signal code stream from the webserver, resolution digital signal code stream, from described digital signal code stream, obtain the debug command of described display terminal, specifically may include that
Resolve described digital signal code stream, obtain the location parameters such as PAT, PMT, NIT and describe information;
Describe information according to described location parameter, from described digital signal code stream, obtain the serial port command bag of embedding;
Resolve described serial port command bag, obtain the control file of the debug command including described display terminal;
The debug command of described display terminal is obtained from described control file.
Finally, TV performs described debug command, and described display terminal is debugged.
More specifically, in above-mentioned resolving, by, in preset code stream frequency to TV, connecting the order that holding wire just can start to resolve in code stream, and record mark.
When resolving, first, search the identifier linkage_descriptor (Descriptor_tag is defined as 0x4a) in NIT table in TS transmission stream, judge whether linkage_type=0x9, if existing, namely can determine whether there is Data Control stream, then pass through linkage_descriptor and analyze Download_pid (defining in the linkage_descriptor structure in NIT table).Analyze service_id simultaneously, the program_number of this corresponding pat table controlling data stream, just can be found out PMT_PID corresponding in pmt table by program_number, if this PMT_PID==Download_pid, namely may know that this corresponding program stream is for controlling data stream.Finally resolve the information of pmt table Zhong Zhe road program.By custom command form, restore corresponding order.
When TV all resolves all orders in above-mentioned code stream and performed, TV can export corresponding information, state when being such as used as with standby or green screen.
Further, in above process, TV can preserve the data that are parsed and be spliced into a command set file, is stored on ROM, and TV performs said process one by one, completes the order in command set file, standby equally or green screen after having performed.
The present embodiment passes through such scheme, and by embedding debug command in the digital signal code stream of the webserver, display terminal to the holding wire of the webserver, locks preset code stream frequency on connecting;The digital signal code stream that preset code stream frequency is corresponding is obtained from the webserver;Resolution digital signal code stream, obtains the debug command of display terminal from digital signal code stream;Performing this debug command, display terminal is debugged, thus having reached the order ground that factory automation debugging produces, the input of the equipment personnel in minimizing TV production process, improving debugging efficiency.
As shown in Figure 4, first embodiment of the invention proposes a kind of display terminal realizing debugging automatically, including: locking frequency point module 201, code stream acquisition module 202, command analysis module 203 and execution module 204, wherein:
Locking frequency point module 201, for, after display terminal is connected to the webserver, locking preset code stream frequency;
Code stream acquisition module 202, for obtaining, from the described webserver, the digital signal code stream that described preset code stream frequency is corresponding;
Command analysis module 203, is used for resolving described digital signal code stream, obtains the debug command of described display terminal from described digital signal code stream;
Perform module 204, be used for performing described debug command, described display terminal is debugged.
Wherein, display terminal can for playing the display terminals such as the TV of the digital signal code stream including various program, and the present embodiment is illustrated with TV.
The debug command of debugging TV is embedded in the digital signal code stream that the webserver provides by the present embodiment.
TV can be connected to the webserver by holding wire, to download the digital signal code stream including various program, plays corresponding program.
Wherein, holding wire specifically can adopt RF holding wire, owing to RF holding wire is TV standard configuration, it is not necessary to additionally prepare, when factory carries out debugging production, it is possible to easily realizes Aulomatizeted Detect by the debug command in connection RF line parsing code stream and produces.
First, webserver encapsulation is embedded with the digital signal code stream of the debug command of TV, configures preset code stream frequency on television simultaneously.So that TV to the holding wire of the webserver, locks preset code stream frequency on connecting, by this preset code stream frequency, obtain corresponding digital signal code stream.
Specifically, the webserver, specifically can be in the following way when debug command being encapsulated in digital signal code stream:
First, obtain the debug command of TV, described debug command is filled in the control file of predetermined format (such as XML format).
Then, by the control file generated serial port command bag of described predetermined format, form a road program stream, be embedded in digital signal code stream.
Finally, the program frequency point being embedded with the digital signal code stream of described serial port command bag is configured to preset code stream frequency, and is uploaded to network.
It is embodied as can adopting such as scheme:
Series of orders, it is filled in specific XML format file, is formed and control file, as shown in Figure 2.Each order starts with<factory>, with<factory>ending.It is concrete serial port command between<cmd>and<cmd>, is the parameter of corresponding order band between<data*>and<data*>.
Debug command form can be as listed in Table 1:
First, NIT table (network information table) adds Linkage_Descriptor sublist, the configuration information that definition is corresponding, for instance Service_id etc., is being embedded into XML file in code stream, corresponding XML file can form a road program stream, this program stream is distinguished by PID, is formed and controls data stream, and the valid data controlling data stream exist in PMT (Program Map Table), then pass through and be multiplexed into program transmission stream, and play by bit stream converter.
Each table has specific pid value, and concrete value is as above shown in table 2:
Wherein, the segmentation (Section) of NIT table identifies with pid value 0x0010, for transport network information.Each network network_id being described identifies.The table identifier value of NIT table is 0x40 or 0x41, is used for describing current or other network information.In NIT table, it is possible to by adding additional information linkage descriptor, being used for pointing to the business providing additional information on network, these business information can be self-defined.
In above-mentioned control file, the encapsulation process of data is as follows:
First control file is the packet by splitting into certain length in front end, is then encapsulated in paragraph format by packet again, finally breaks into TS bag and be sent to network up.Data packet length is except last bag can not be regular length, generally all it is divided into regular length, such as 2K, do so allows for: the packet after fractionation to be encapsulated in privately owned section and go transmission, and the length in MPEG-2 stage casing does not exceed 4096 bytes, control file data amount herein little, it is possible to do not need subpackage.
TV obtains, from the described webserver, the digital signal code stream that described preset code stream frequency is corresponding, includes the debug command for debugging TV in this digital signal code stream.
Television after downloading to digital signal code stream from the webserver, resolution digital signal code stream, from described digital signal code stream, obtain the debug command of described display terminal, specifically may include that
Resolve described digital signal code stream, obtain the location parameters such as PAT, PMT, NIT and describe information;
Describe information according to described location parameter, from described digital signal code stream, obtain the serial port command bag of embedding;
Resolve described serial port command bag, obtain the control file of the debug command including described display terminal;
The debug command of described display terminal is obtained from described control file.
Finally, TV performs described debug command, and described display terminal is debugged.
More specifically, in above-mentioned resolving, by, in preset code stream frequency to TV, connecting the order that holding wire just can start to resolve in code stream, and record mark.
When resolving, first, search the identifier linkage_descriptor (Descriptor_tag is defined as 0x4a) in NIT table in TS transmission stream, judge whether linkage_type=0x9, if existing, namely can determine whether there is Data Control stream, then pass through linkage_descriptor and analyze Download_pid (defining in the linkage_descriptor structure in NIT table).Analyze service_id simultaneously, the program_number of this corresponding pat table controlling data stream, just can be found out PMT_PID corresponding in pmt table by program_number, if this PMT_PID==Download_pid, namely may know that this corresponding program stream is for controlling data stream.Finally resolve the information of pmt table Zhong Zhe road program.By custom command form, restore corresponding order.
When TV all resolves all orders in above-mentioned code stream and performed, TV can export corresponding information, state when being such as used as with standby or green screen.
Further, in above process, TV can preserve the data that are parsed and be spliced into a command set file, is stored on ROM, and TV performs said process one by one, completes the order in command set file, standby equally or green screen after having performed.
The present embodiment passes through such scheme, and by embedding debug command in the digital signal code stream of the webserver, display terminal to the holding wire of the webserver, locks preset code stream frequency on connecting;The digital signal code stream that preset code stream frequency is corresponding is obtained from the webserver;Resolution digital signal code stream, obtains the debug command of display terminal from digital signal code stream;Performing this debug command, display terminal is debugged, thus having reached the order ground that factory automation debugging produces, the input of the equipment personnel in minimizing TV production process, improving debugging efficiency.
As it is shown in figure 5, second embodiment of the invention proposes a kind of display terminal realizing debugging automatically, based on the embodiment shown in above-mentioned Fig. 4, also include:
Reminding module 205, for after debugging display terminal completes, described display terminal exports information.
When TV all resolves all orders in above-mentioned code stream and performed, TV can export corresponding information, state when being such as used as with standby or green screen.
As shown in Figure 6, present pre-ferred embodiments proposes the server of a kind of automatic debugging display terminal, including: package module 301 and upper transmission module 302, wherein:
Package module 301, for encapsulating the digital signal code stream of the debug command being embedded with display terminal;
Upper transmission module 302, for described digital signal code stream is uploaded to network, in order to after display terminal is connected to the described webserver, obtains described digital signal code stream from the described webserver, therefrom parses described debug command and perform.
Wherein, display terminal can for playing the display terminals such as the TV of the digital signal code stream including various program, and the present embodiment is illustrated with TV.
The debug command of debugging TV is embedded in the digital signal code stream that the webserver provides by the present embodiment.
TV can be connected to the webserver by holding wire, to download the digital signal code stream including various program, plays corresponding program.
Wherein, holding wire specifically can adopt RF holding wire, owing to RF holding wire is TV standard configuration, it is not necessary to additionally prepare, when factory carries out debugging production, it is possible to easily realizes Aulomatizeted Detect by the debug command in connection RF line parsing code stream and produces.
First, webserver encapsulation is embedded with the digital signal code stream of the debug command of TV, configures preset code stream frequency on television simultaneously.So that TV to the holding wire of the webserver, locks preset code stream frequency on connecting, by this preset code stream frequency, obtain corresponding digital signal code stream.
Specifically, the webserver, specifically can be in the following way when debug command being encapsulated in digital signal code stream:
First, obtain the debug command of TV, described debug command is filled in the control file of predetermined format (such as XML format).
Then, by the control file generated serial port command bag of described predetermined format, form a road program stream, be embedded in digital signal code stream.
Finally, the program frequency point being embedded with the digital signal code stream of described serial port command bag is configured to preset code stream frequency, and is uploaded to network.
It is embodied as can adopting such as scheme:
Series of orders, it is filled in specific XML format file, is formed and control file, as shown in Figure 2.Each order starts with<factory>, with<factory>ending.It is concrete serial port command between<cmd>and<cmd>, is the parameter of corresponding order band between<data*>and<data*>.
Debug command form can be as listed in Table 1:
First, NIT table (network information table) adds Linkage_Descriptor sublist, the configuration information that definition is corresponding, for instance Service_id etc., is being embedded into XML file in code stream, corresponding XML file can form a road program stream, this program stream is distinguished by PID, is formed and controls data stream, and the valid data controlling data stream exist in PMT (Program Map Table), then pass through and be multiplexed into program transmission stream, and play by bit stream converter.
Each table has specific pid value, and concrete value is as above shown in table 2:
Wherein, the segmentation (Section) of NIT table identifies with pid value 0x0010, for transport network information.Each network network_id being described identifies.The table identifier value of NIT table is 0x40 or 0x41, is used for describing current or other network information.In NIT table, it is possible to by adding additional information linkage descriptor, being used for pointing to the business providing additional information on network, these business information can be self-defined.
In above-mentioned control file, the encapsulation process of data is as follows:
First control file is the packet by splitting into certain length in front end, is then encapsulated in paragraph format by packet again, finally breaks into TS bag and be sent to network up.Data packet length is except last bag can not be regular length, generally all it is divided into regular length, such as 2K, do so allows for: the packet after fractionation to be encapsulated in privately owned section and go transmission, and the length in MPEG-2 stage casing does not exceed 4096 bytes, control file data amount herein little, it is possible to do not need subpackage.
TV obtains, from the described webserver, the digital signal code stream that described preset code stream frequency is corresponding, includes the debug command for debugging TV in this digital signal code stream.
Television after downloading to digital signal code stream from the webserver, resolution digital signal code stream, from described digital signal code stream, obtain the debug command of described display terminal, specifically may include that
Resolve described digital signal code stream, obtain the location parameters such as PAT, PMT, NIT and describe information;
Describe information according to described location parameter, from described digital signal code stream, obtain the serial port command bag of embedding;
Resolve described serial port command bag, obtain the control file of the debug command including described display terminal;
The debug command of described display terminal is obtained from described control file.
Finally, TV performs described debug command, and described display terminal is debugged.
More specifically, in above-mentioned resolving, by, in preset code stream frequency to TV, connecting the order that holding wire just can start to resolve in code stream, and record mark.
When resolving, first, search the identifier linkage_descriptor (Descriptor_tag is defined as 0x4a) in NIT table in TS transmission stream, judge whether linkage_type=0x9, if existing, namely can determine whether there is Data Control stream, then pass through linkage_descriptor and analyze Download_pid (defining in the linkage_descriptor structure in NIT table).Analyze service_id simultaneously, the program_number of this corresponding pat table controlling data stream, just can be found out PMT_PID corresponding in pmt table by program_number, if this PMT_PID==Download_pid, namely may know that this corresponding program stream is for controlling data stream.Finally resolve the information of pmt table Zhong Zhe road program.By custom command form, restore corresponding order.
When TV all resolves all orders in above-mentioned code stream and performed, TV can export corresponding information, state when being such as used as with standby or green screen.
Further, in above process, TV can preserve the data that are parsed and be spliced into a command set file, is stored on ROM, and TV performs said process one by one, completes the order in command set file, standby equally or green screen after having performed.
The present embodiment passes through such scheme, and by embedding debug command in the digital signal code stream of the webserver, display terminal to the holding wire of the webserver, locks preset code stream frequency on connecting;The digital signal code stream that preset code stream frequency is corresponding is obtained from the webserver;Resolution digital signal code stream, obtains the debug command of display terminal from digital signal code stream;Performing this debug command, display terminal is debugged, thus having reached the order ground that factory automation debugging produces, the input of the equipment personnel in minimizing TV production process, improving debugging efficiency.
Additionally, the embodiment of the present invention also proposes the system of a kind of automatic debugging display terminal, including: display terminal and the webserver being connected by holding wire with described display terminal;Wherein:
Described display terminal can adopt the display terminal described in above-described embodiment;The described webserver can be the webserver described above.The ultimate principle realizing display terminal automatic test between the present embodiment display terminal and the webserver alternately refer to the various embodiments described above, does not repeat them here.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or flow process conversion; or directly or indirectly it is used in other relevant technical field, all in like manner include in the scope of patent protection of the present invention.
Claims (11)
1. the method for an automatic debugging display terminal, it is characterised in that including:
Display terminal is connected to the webserver, locks preset code stream frequency;
The digital signal code stream that described preset code stream frequency is corresponding is obtained from the described webserver;
Resolve described digital signal code stream, from described digital signal code stream, obtain the debug command of described display terminal;
Perform described debug command, described display terminal is debugged.
2. method according to claim 1, it is characterised in that also include:
After debugging completes, described display terminal output information.
3. method according to claim 1 and 2, it is characterised in that described resolution digital signal code stream, the step of the debug command obtaining described display terminal from described digital signal code stream includes:
Resolve described digital signal code stream, obtain location parameter and describe information;
Describe information according to described location parameter, from described digital signal code stream, obtain the serial port command bag of embedding;
Resolve described serial port command bag, obtain the control file of the debug command including described display terminal;
The debug command of described display terminal is obtained from described control file.
4. the method for an automatic debugging display terminal, it is characterised in that including:
Webserver encapsulation is embedded with the digital signal code stream of the debug command of display terminal;
Described digital signal code stream is uploaded to network, in order to after display terminal is connected to the described webserver, obtains described digital signal code stream from the described webserver, therefrom parse described debug command and perform.
5. method according to claim 4, it is characterised in that the step of the digital signal code stream that described encapsulation is embedded with the debug command of display terminal includes:
Display terminal configures preset code stream frequency;
Obtain the debug command of display terminal, the debug command of described display terminal is filled in the control file of predetermined format;
By the control file generated serial port command bag of described predetermined format, form a road program stream, be embedded in digital signal code stream;
The program frequency point being embedded with the digital signal code stream of described serial port command bag is configured to preset code stream frequency.
6. the display terminal realizing debugging automatically, it is characterised in that including:
Locking frequency point module, for, after display terminal is connected to the webserver, locking preset code stream frequency;
Code stream acquisition module, for obtaining, from the described webserver, the digital signal code stream that described preset code stream frequency is corresponding;
Command analysis module, is used for resolving described digital signal code stream, obtains the debug command of described display terminal from described digital signal code stream;
Perform module, be used for performing described debug command, described display terminal is debugged.
7. display terminal according to claim 6, it is characterised in that also include:
Reminding module, for after debugging display terminal completes, described display terminal exports information.
8. the display terminal according to claim 6 or 7, it is characterised in that
Described command analysis module, is additionally operable to resolve described digital signal code stream, obtains location parameter and describes information;Describe information according to described location parameter, from described digital signal code stream, obtain the serial port command bag of embedding;Resolve described serial port command bag, obtain the control file of the debug command including described display terminal;The debug command of described display terminal is obtained from described control file.
9. the server of an automatic debugging display terminal, it is characterised in that including:
Package module, for encapsulating the digital signal code stream of the debug command being embedded with display terminal;
Upper transmission module, for described digital signal code stream is uploaded to network, in order to after display terminal is connected to the described webserver, obtains described digital signal code stream from the described webserver, therefrom parses described debug command and perform.
10. server according to claim 9, it is characterised in that
Described package module, is additionally operable to configure preset code stream frequency in display terminal, obtains the debug command of display terminal, the debug command of described display terminal is filled in the control file of predetermined format;By the control file generated serial port command bag of described predetermined format, form a road program stream, be embedded in digital signal code stream;The program frequency point being embedded with the digital signal code stream of described serial port command bag is configured to preset code stream frequency.
11. the system of an automatic debugging display terminal, it is characterised in that including: display terminal and the webserver being connected by holding wire with described display terminal;Wherein:
Described display terminal is the display terminal according to any one of claim 6-8;
The described webserver is the webserver according to any one of claim 9-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410849915.XA CN105812879A (en) | 2014-12-30 | 2014-12-30 | Method, terminal, server and system for automatically debugging display terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410849915.XA CN105812879A (en) | 2014-12-30 | 2014-12-30 | Method, terminal, server and system for automatically debugging display terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105812879A true CN105812879A (en) | 2016-07-27 |
Family
ID=56420622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410849915.XA Pending CN105812879A (en) | 2014-12-30 | 2014-12-30 | Method, terminal, server and system for automatically debugging display terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105812879A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190684A (en) * | 2019-12-31 | 2020-05-22 | 深圳Tcl数字技术有限公司 | Display terminal user interface replacing method, device, equipment and storage medium |
CN111953954A (en) * | 2020-07-31 | 2020-11-17 | 深圳创维-Rgb电子有限公司 | Terminal white balance debugging and configuration method, display terminal, cloud platform and system |
CN113596541A (en) * | 2021-07-30 | 2021-11-02 | 深圳市杰科数码有限公司 | Set top box, user operation-free installation method thereof and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123696A (en) * | 2007-08-27 | 2008-02-13 | 华为技术有限公司 | An update method, system and device for digital TV STB configuration |
CN102387416A (en) * | 2011-11-02 | 2012-03-21 | 深圳创维数字技术股份有限公司 | Set-top box repairing method, system, set-top box and server |
CN102523478A (en) * | 2011-12-14 | 2012-06-27 | 展讯通信(上海)有限公司 | Method and device for testing digital television terminal |
CN103002318A (en) * | 2012-12-05 | 2013-03-27 | 深圳创维数字技术股份有限公司 | Automatic test method and automatic test system of digital television receiving terminal |
-
2014
- 2014-12-30 CN CN201410849915.XA patent/CN105812879A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123696A (en) * | 2007-08-27 | 2008-02-13 | 华为技术有限公司 | An update method, system and device for digital TV STB configuration |
CN102387416A (en) * | 2011-11-02 | 2012-03-21 | 深圳创维数字技术股份有限公司 | Set-top box repairing method, system, set-top box and server |
CN102523478A (en) * | 2011-12-14 | 2012-06-27 | 展讯通信(上海)有限公司 | Method and device for testing digital television terminal |
CN103002318A (en) * | 2012-12-05 | 2013-03-27 | 深圳创维数字技术股份有限公司 | Automatic test method and automatic test system of digital television receiving terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190684A (en) * | 2019-12-31 | 2020-05-22 | 深圳Tcl数字技术有限公司 | Display terminal user interface replacing method, device, equipment and storage medium |
CN111190684B (en) * | 2019-12-31 | 2024-04-30 | 深圳Tcl数字技术有限公司 | Display terminal user interface replacement method, device, equipment and storage medium |
CN111953954A (en) * | 2020-07-31 | 2020-11-17 | 深圳创维-Rgb电子有限公司 | Terminal white balance debugging and configuration method, display terminal, cloud platform and system |
CN113596541A (en) * | 2021-07-30 | 2021-11-02 | 深圳市杰科数码有限公司 | Set top box, user operation-free installation method thereof and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104714819B (en) | File system upgrade package production method, upgrade method and device, terminal | |
CN105812879A (en) | Method, terminal, server and system for automatically debugging display terminal | |
CN102981501A (en) | Automobile ECU (Electronic Control Unit) fault diagnosis information matching method based on XML (Extensive Makeup Language) | |
CN101917567B (en) | Digital television terminal software upgrading method | |
CN103269441B (en) | A kind of method of digital television program fast search | |
CN102790912A (en) | Channel information and menu information updating method of set-top box | |
CN103023890B (en) | New media service management system and its application process | |
CN106648765A (en) | Embedded device firmware service pack generating and firmware differential upgrading methods and device | |
CN103002318B (en) | Automatic test method and automatic test system of digital television receiving terminal | |
CN106330520A (en) | Method and device of extracting feature information of terminal equipment | |
WO2017012429A1 (en) | Method and system for acquiring digital television program parameter | |
CN104199667B (en) | Method and system for newly building MTK project and submitting codes | |
CN102098559A (en) | Set-top box software upgrading system and method | |
CN101930362B (en) | Method for integrating TTCN language and data description language | |
CN102916967B (en) | The method and apparatus of protocol analysis | |
CN102143070A (en) | Remote traffic acquisition method, device and system | |
KR101482668B1 (en) | System and method for generating database based on SCL | |
CN104125503A (en) | Set top box upgrading method and digital television terminal | |
CN103491436A (en) | Method and device for achieving customization of digital all-in-one machine | |
CN114500508B (en) | Gas meter upgrading method and device and electronic equipment | |
CN103577435A (en) | System and method for collecting heterogeneous traffic information | |
WO2017177525A1 (en) | Logical channel number analysis method and device | |
CN109814893A (en) | Method for down loading, device, computer equipment and the storage medium of OTA upgrade package | |
CN104540013B (en) | A kind of playback terminal obtains the method and playback terminal of programme content | |
CN103049518A (en) | System and method for providing application service for user based on intelligent 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160727 |