CN104883611B - The adjustment method and system of TV screen - Google Patents

The adjustment method and system of TV screen Download PDF

Info

Publication number
CN104883611B
CN104883611B CN201510312721.0A CN201510312721A CN104883611B CN 104883611 B CN104883611 B CN 104883611B CN 201510312721 A CN201510312721 A CN 201510312721A CN 104883611 B CN104883611 B CN 104883611B
Authority
CN
China
Prior art keywords
debug command
screen
debugging
smart card
commissioning device
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
CN201510312721.0A
Other languages
Chinese (zh)
Other versions
CN104883611A (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201510312721.0A priority Critical patent/CN104883611B/en
Publication of CN104883611A publication Critical patent/CN104883611A/en
Application granted granted Critical
Publication of CN104883611B publication Critical patent/CN104883611B/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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The present invention is suitable for TV domain, provides a kind of adjustment method and system of TV screen.Commissioning device is connect with the TV screen and smart card according to serial communication protocol respectively, and the first debug command is sent to the TV screen by commissioning device, and receives the first Debugging message of the TV screen feedback;Second debug command is sent to the smart card by the commissioning device, and receives the second Debugging message of the smart card feedback.Commissioning device of the present invention designed for unified debugging TV screen, commissioning device send debug command based on unified serial communication protocol to smart card and/or TV screen, realize that debugging, high efficiency and time conservation reduce production cost to the response of the debug command according to TV screen;In addition commissioning device can be widely used in the debugging of the TV screen to quantization production, can easily face to change the line of production, reduce the invalid working hour because of link generation of changing the line of production.

Description

The adjustment method and system of TV screen
Technical field
The invention belongs to the adjustment methods and system of TV domain more particularly to a kind of TV screen.
Background technology
Module TV includes TV screen and smart card, and is flexibly connected between TV screen and smart card.Smart card is intelligence Module section can be adapted to connection with TV screen by slot.TV screen is responsible for data exposition, including menu shows, draws The output etc. of matter image procossing and sound.When producing module TV, TV screen and smart card independently produce, but to TV screen Partial function test or part debug, need completions that cooperate with smart card, complete entirety and debug.
The function of module TV is complicated and function items are various, such as directly uses remote controler to module TV when quantifying to produce Scheduling and planning is carried out, it is cumbersome, time-consuming more, accordingly increase production cost.
Invention content
In consideration of it, the present invention provides a kind of adjustment method and system of TV screen, by increasing commissioning device, and based on system One serial communication protocol carries out unified debugging, high efficiency and time conservation to TV screen.
In a first aspect, the present invention provides a kind of adjustment method of TV screen, commissioning device respectively with the TV screen and intelligence It can block and be connected according to serial communication protocol, the adjustment method of the TV screen includes:
First debug command is sent to the TV screen by commissioning device, and receives the first debugging of the TV screen feedback Information, first Debugging message carry out individually debugging according to first debug command by the TV screen and obtain;
Second debug command is sent to the smart card by the commissioning device, and receives the second of the smart card feedback Debugging message, second Debugging message are cooperateed with the TV screen according to second debug command by the smart card Debugging obtains.
Second aspect, the present invention provide a kind of debugging system of TV screen, including the TV screen, commissioning device and intelligence Card, the commissioning device are connect with the TV screen and smart card according to serial communication protocol respectively:
The commissioning device, for the first debug command to be sent to the TV screen and receives the TV screen feedback First Debugging message is additionally operable to that the second debug command is sent to the smart card and receives the second of the smart card feedback to adjust Try information;
The TV screen, for individually being debugged according to first debug command, described in independent debugging gained First Debugging message is sent to the commissioning device;
The smart card, for carrying out synergic debugging according to second debug command with the TV screen, and will collaboration Second Debugging message of debugging gained is sent to the commissioning device.
Beneficial effects of the present invention:Designed for the commissioning device of unified debugging TV screen, the commissioning device is based on system One serial communication protocol sends debug command, the response according to TV screen to the debug command to smart card and/or TV screen Realize that debugging, high efficiency and time conservation reduce production cost;In addition commissioning device can be widely used in the tune of the TV screen to quantization production Examination can be faced easily to change the line of production, reduce the invalid working hour because of link generation of changing the line of production.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the system architecture diagram of the debugging system preferred embodiment of TV screen of the present invention;
Fig. 2 be Fig. 1 debugging system in commissioning device and schematic diagram of the TV screen based on serial communication protocol interaction data;
Fig. 3 is a kind of schematic flow chart of the adjustment method of TV screen of the present invention.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc Body details understands the embodiment of the present invention to cut thoroughly.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Fig. 1 is the debugging system of the applicable TV screen 102 of adjustment method of TV screen 102 provided in an embodiment of the present invention System architecture, but provide only part related to the present invention.
As shown in Figure 1, the debugging system 100 of TV screen 102 includes at least commissioning device 101, TV screen 102 and smart card 103, it is connected using serial ports between TV screen 102 and commissioning device 101, serial ports is used between smart card 103 and commissioning device 101 Connection, the commissioning device 101 carry out data company with the TV screen 102 and smart card 103 according to serial communication protocol respectively It connects and transmits.It is connected using communication interface between smart card 103 and TV screen 102, which can be existing realization intelligence The slot interface communicated between card 103 and TV screen 102, does not limit herein.
The commissioning device 101 can be PC, be preset with the application debugged to TV screen 102 thereon, using including referring to Show that TV screen 102 or smart card 103 carry out the debug command of certain operation.It is shown from tune please with reference to Fig. 1 and Fig. 3, Fig. 3 Try 101 angle of equipment provide TV screen 102 adjustment method flow, but Fig. 3 illustrate only it is related to the embodiment of the present invention Part.As a preferred embodiment, the adjustment method of the TV screen 102 includes the following steps:
Step A301, when the application of Start-up and Adjustment, then whether the detection of commissioning device 101 debug command is the first debug command Or second debug command;Wherein described first debug command is the order being individually performed by TV screen 102, the second debugging life Order is the order being performed in unison with by smart card 103 and TV screen 102.
The wherein described debug command can be manually set in advance in commissioning device 101, can also be to be debugged When, it is voluntarily generated according to the demand of artificial settings by commissioning device 101.Whether the commissioning device 101 detects debug command Can be that an identification feature is set in debug command for the first debug command or the second debug command, when commissioning device 101 is examined It measures the identification feature and can determine whether that it is the first debug command or the second debug command.It is of course also possible to by manual control, For example, when artificial judgment debug command is the first debug command, then the serial ports between commissioning device 101 and TV screen 102 is controlled It is connected as connected state, the serial ports between commissioning device 101 and smart card 103 is connected as off-state, then commissioning device 101 can root The transmission of debug command is carried out according to the switching state of the connection detected.
Step A302, if the first debug command, then the first debug command is sent to the TV screen by commissioning device 101 102, and the first Debugging message of the feedback of the TV screen 102 is received, first Debugging message is by 102 basis of the TV screen First debug command carries out individually debugging and obtains.
In the present embodiment, first debug command refers to the order that can be individually performed by TV screen 102, for example, to electricity The order of the standalone features such as 102 panel button of screen, OSD menu test.
Specifically, TV screen 102 and commissioning device 101 all have serial ports, and the serial ports by meeting serial communication protocol Bus is direct-connected;Therefore the first debug command and the first debugging can be carried out between TV screen 102 and commissioning device 101 by serial ports The direct interaction of information.In this way, be suitble to the scene individually debugged to TV screen 102, it is not required to introduce other equipment (such as intelligence It can block 103), therefore consumptive material is few, it is energy saving, efficiently.
Step A303, if the second debug command, then the second debug command is sent to the intelligence by the commissioning device 101 103 can be blocked, and receive the second Debugging message of the feedback of the smart card 103, second Debugging message is by the smart card 103 Synergic debugging is carried out with the TV screen 102 according to second debug command to obtain.
Wherein, second debug command is the order for needing TV screen 102 to be executed with 103 coordinated of smart card, example Such as, the collaborations such as burn-in test, white balance correction are carried out to entire module television system (including smart card 103 and TV screen 102) The instruction of test item.
Specifically, commissioning device 101 and smart card 103 all have serial ports, and the serial ports by meeting serial communication protocol Bus is direct-connected;It, can be according to serial communication protocol transmission data between commissioning device 101 and smart card 103.
Smart card 103 is connect with TV screen 102 by communication interface, at this to the physical interface type and mark of communication interface Standard does not limit, and satisfaction can carry out data interaction by communication interface between smart card 103 and TV screen 102.In addition, Smart card 103 with TV screen 102 in such a way that communication interface is connect, can be by electrically it is direct-connected (such as by bus it is straight Even), can be wirelessly connected.
Smart card 103 forwards the second debug command and the second Debugging message between commissioning device 101 and TV screen 102 When, the conversion of communication protocol need to be carried out, correspondingly also can change data packet protocol format, the data packet can be include second The data packet of debug command, the data packet can also be the data packet for including the second Debugging message.
In addition, smart card 103 be not applied alone in forwarded between commissioning device 101 and TV screen 102 second debug command and Second Debugging message is additionally operable to the relevant configuration in this smart card 103 according to the second debug command completion synergic debugging, with TV Shield 102 interrelated actions to complete collaboration test;Such as, smart card 103 controls TV screen 102 according to the second debug command and executes Corresponding actions, TV screen 102 are completed to postpone related matching for collaboration test according to the second debug command, and execution is controlled by smart card 103 The action of system simultaneously generates the second Debugging message, and TV screen 102 sends the second Debugging message by communication interface to smart card 103, Smart card 103 forwards second Debugging message to commissioning device 101 further according to serial communication protocol by serial ports.
In this way, commissioning device 101 carries out synergic debugging, electricity by the second debug command to smart card 103 and TV screen 102 Screen 102 generates the second Debugging message according to synergic debugging result, and commissioning device 101 is determined according to the second Debugging message to TV Screen 102 carries out the debugging result of synergic debugging.
Optionally, debug command is made of command field, command parameter field, check field, and the debug command includes First debug command and second debug command.
Specifically, the command field record order of debug command, the command parameter field record command parameter of debug command, The check field of debug command records check code.
When TV screen 102 receives debug command (including the first debug command and second debug command), according to check word The check code of segment record verifies whether the debug command received is whether complete, correct, if verification passes through, life is debugged in execution By the order that forms of command parameter of the command word and command parameter field record of command field record in order, and according to executing knot Fruit generates Debugging message.
Similarly, it when smart card 103 receives the second debug command, is adjusted according to the verification code check second of check field record After examination order passes through, the order executed by its smart card 103 in the second debug command is executed, completes matching for response synergic debugging It sets, and synergic debugging is carried out together with TV screen 102.When TV screen 102 receives the second debug command, remembered according to check field After the second debug command of verification code check of record passes through, the order executed by its TV screen 102 in the second debug command is executed, it is complete At the configuration of response synergic debugging, and synergic debugging is carried out together with TV screen 102.
Optionally, the first debug command is sent to the TV screen 102 by commissioning device 101, specially:
The commissioning device 101 sends the first synchronizing signal and first debug command to the TV screen 102 successively, So that the TV screen 102 executes successively:Described first is received in the preset time after receiving first synchronizing signal Debug command, and check whether the first debug command received in the preset time complete, if so, then according to it is described default when Whether check field verification first debug command of the first debug command of interior reception is correct, to the commissioning device 101 feedback first state codes, the first state code indicate the state that the TV screen 102 executes successively.
Specifically, after commissioning device 101 is connect with TV screen 102 by serial ports, commissioning device 101 is to TV screen 102 Before sending the first debug command according to serial communication protocol, the first synchronizing signal is sent to TV screen 102 first;TV screen 102 clocks for according to first synchronizing signal receive data synchronize, while starting timing, can be in the preset time of timing The data that commissioning device 101 is sent are received according to serial communication protocol, then stop receiving the hair of commissioning device 101 more than preset time The data sent;Under normal circumstances, understood in the preset time after commissioning device 101 sends the first synchronizing signal to TV screen 102 The first debug command is sent to TV screen 102, correspondingly, TV screen 102 can in the preset time after starting timing Complete the reception to first debug command;
TV screen 102 is completed after preset time receives the first debug command, according to check field in the first debug command Whether whether the first debug command that the verification code check of record receives complete, correct, and according to check results first state code, First state code is fed back to commissioning device 101;Commissioning device 101 determines whether TV screen 102 is complete simultaneously according to first state code First debug command is correctly received, if determining that TV screen 102 is not correct and/or completely connects according to first state code The first debug command is received, indicates that the first debug command that TV screen 102 receives in preset time is abnormal, then debugging is set Standby 101 can perform other actions, such as retransmit the first debug command to TV screen 102.
Still optionally further, independent debug includes:
If verifying the check results obtained by first debug command according to the check field of first debug command Correct for first debug command, then the TV screen 102 carries out protocol format parsing to first debug command, executes The order of protocol format parsing gained.
Specifically, TV screen 102 according to check results be determined as correctly and completely have received it is described first debugging order It enables, the command word and command parameter field record that the TV screen 102 is recorded according to the command field of first debug command Command parameter carry out pre-execution, the enforceability of the first adjustment order is judged according to pre-execution result, if it is decided that first tune Whole order has enforceability, the protocol format pair that TV screen 102 is made an appointment according still further to commissioning device 101 and TV screen 102 Protocol format parses, and executes the order of protocol format parsing gained, and generate the first Debugging message according to implementing result.
Optionally, the second debug command is sent to the smart card 103 by the commissioning device 101, specially:
The commissioning device 101 sends the second synchronizing signal and second debug command to the smart card 103 successively, So that the smart card 103 executes successively:The second debugging is received in the preset time after receiving second synchronizing signal Order, and check whether the second debug command received in the preset time is complete, if so, then according in the preset time Whether check field verification second debug command of the second debug command received is correct, anti-to the commissioning device 101 The second conditional code is presented, second conditional code indicates the state that the smart card 103 executes successively.
Specifically, after commissioning device 101 is connect with smart card 103 by serial ports, commissioning device 101 is to smart card 103 Before sending the second debug command according to serial communication protocol, the second synchronizing signal is sent to smart card 103 first;Smart card 103 clocks for according to second synchronizing signal receive data synchronize, while starting timing, can be in the preset time of timing The data that commissioning device 101 is sent are received according to serial communication protocol, then stop receiving the hair of commissioning device 101 more than preset time The data sent;Under normal circumstances, understood in the preset time after commissioning device 101 sends the second synchronizing signal to smart card 103 The second debug command is sent to smart card 103, correspondingly, smart card 103 can in the preset time after starting timing Complete the reception to second debug command;
Smart card 103 is completed after preset time receives the second debug command, according to check field in the second debug command Whether whether the second debug command that the verification code check of record receives complete, correct, and according to the second conditional code of check results, The second conditional code is fed back to commissioning device 101;Commissioning device 101 determines whether smart card 103 is complete simultaneously according to the second conditional code Second debug command is correctly received, if determining that smart card 103 is not correct and/or completely connects according to the second conditional code The second debug command is received, indicates that the second debug command that smart card 103 receives in preset time is abnormal, then debugging is set Standby 101 can perform other actions, such as retransmit the second debug command to smart card 103.
Still optionally further, the synergic debugging specifically includes:
If verifying the check results obtained by second debug command according to the check field of second debug command Correct for second debug command, then the smart card 103 carries out debugging configuration according to second debug command, will be described Second debug command forwards the TV screen 102, the TV screen 102 execute second debug command with the smart card 103 carry out synergic debugging, and the second Debugging message obtained by synergic debugging is sent to the smart card 103 by the TV screen 102.
Specifically, smart card 103 according to check results be determined as correctly and completely have received it is described second debugging order It enables, the command word and command parameter field record that the smart card 103 is recorded according to the command field of second debug command Command parameter carry out pre-execution, the enforceability of second adjustment order is judged according to pre-execution result, if it is decided that second tune Whole order has enforceability, the protocol format pair that smart card 103 is made an appointment according still further to commissioning device 101 and smart card 103 Protocol format parses, and the order of protocol format parsing gained is executed, to carry out debugging configuration.
In addition, if it is decided that second adjustment order has enforceability, and second debug command is forwarded the TV Screen 102, so that TV screen 102 and smart card 103 carry out synergic debugging.
Fig. 1 and Fig. 2 show the debugging system of TV screen 102 provided by the invention, wherein the commissioning device 101, is used In the first debug command is sent to the TV screen 102 and receives the first Debugging message that the TV screen 102 feeds back, also use In the second debug command is sent to the smart card 103 and receives the second Debugging message that the smart card 103 feeds back;
The TV screen 102, for individually being debugged according to first debug command, by the institute of independent debugging gained It states the first Debugging message and is sent to the commissioning device 101;
The smart card 103, for carrying out synergic debugging according to second debug command with the TV screen 102, and Second Debugging message obtained by synergic debugging is sent to the commissioning device 101.
In the embodiment of the present invention, it is pre-designed commissioning device 101, then commissioning device 101 is adjusted to TV screen 102 When examination or test, debug command (including the first debug command and/or second debug command) is automatically generated;It is straight to TV screen 102 The first debug command is received and sent, the first Debugging message fed back to TV screen 102 is analyzed, and analyzes debugging result;With/ Or, through smart card 103 indirectly to TV screen 102 send the second Debugging message that TV screen 102 is fed back in the second debug command into Row analysis, and analyze the debugging result of TV screen 102 and 103 synergic debugging of smart card.Optionally, serial communication is based on to assist View, establishes the master slave communication pattern between commissioning device 101 and TV screen 102, establishes commissioning device 101 and smart card 103 Between master slave communication pattern, realize that commissioning device 101 sends the first debug command and by TV screen 102 to TV screen 102 Individually debugging is carried out according to first debug command and the first Debugging message is generated according to the result individually debugged, and realizes that debugging is set Standby 101 send the second debug command to smart card 103, are carried out according to second debug command by TV screen 102 and smart card 103 Synergic debugging simultaneously forwards the TV screen 102 to give birth to according to the second Debugging message of the result of synergic debugging generation, again by smart card 103 At second Debugging message to commissioning device 101.
Optionally, the serial communication system that the present embodiment is established according to serial communication protocol is referring to Fig. 2, but Fig. 2 is only to adjust Equipment 101 is tried with TV screen 102 based on for serial communication protocol interaction data, signal according to fig. 2 certainly can rationally be learnt Commissioning device 101 and data interaction flow of the smart card 103 based on serial communication protocol;Below by taking Fig. 2 as an example, which is described in detail Communication system is as follows:
Connect alternation of bed:Include mainly universal asynchronous receiving-transmitting transmitter (Universal Asynchronous Receiver/Transmitter, abbreviation UART), level shifting circuit and several connecting lines, use three line simple connection of serial ports Commissioning device 101 and TV screen 102, it is simple based on this using three line simple connection commissioning device 101 of serial ports and smart card 103 Connection carries out the full duplex asynchronous transmitting transceiver of data.
Data link layer:It is mainly responsible for data synchronization, for confirming the complete of the first debug command when being located at TV screen 102 Property, integrality when being located at smart card 103 for confirming the second debug command, for confirming debugging when being located at commissioning device 101 The integrality of information (including the first Debugging message and second Debugging message) carries out the corrective actions such as CRC check, errorless, uploads To transport layer, otherwise error carries out the relevant actions such as erroneous retransmissions;For example, being confirmed from tune by the data link layer of TV screen 102 The integrality for trying the first debug command that equipment 101 receives is confirmed by the data link layer of smart card 103 from commissioning device 101 The integrality of the second debug command received confirms the complete of the first Debugging message received from TV screen 102 by commissioning device 101 Whole property and the integrality for confirming the second Debugging message received from smart card 103.
Transport layer:For software interface layer, be mainly responsible for the transmission and explanation of order, and make transport layer data flow control and Error handling processing.
Debug application layer:It is the upper layer level of abstraction of entire serial communication system, is responsible for command calls control and corresponding number According to processing.
Commissioning device 101 is the main equipment of serial communication system as the scheduling unit of debugging task, is responsible for generating tune Examination order, and the execution state of order, the debugging result of TV screen 102 are collected and parses etc. and is managed.
TV screen 102 is responsible for executing debug command as from equipment, Debugging message is generated according to implementing result, to debugging Equipment 101 feeds back Debugging message (including the first Debugging message and second Debugging message);It is also responsible for detection debug command and generates Conditional code feeds back the conditional code so that commissioning device 101 is held according to the analysis order of the conditional code of feedback to commissioning device 101 Row state.For example, receiving the debug command that commissioning device 101 is sent, confirms the correctness of debug command, assisted according to serial communication View returns to the confirmation result of correctness.
Smart card 103 and/executor of the TV screen 102 as debug command, the action executed in serial communication system It is as follows:
(1) data receiver and transmission:Commissioning device 101 can pass through serial port connecting wire and module TV according to testing requirement TV screen 102 and smart card 103 be attached, connection type such as Fig. 1;Wherein, it if individually debugging TV screen 102, will debug Equipment 101 is connect with the TV screen 102 of module TV, and the first debug command is transmitted directly to TV screen by commissioning device 101 102;If smart card 103 is needed to cooperate with test with TV screen 102, commissioning device 101 is connect with the smart card 103 of module TV, Commissioning device 101 sends the second debug command to smart card 103, and smart card 103 carries out accordingly after receiving the second debug command Processing (relevant configuration of such as synergic debugging), the second debug command is then sent to TV screen 102 by communication interface again.
After the power is turned on, TV screen 102, smart card 103 enter scheduling and planning pattern to module TV.And in system initialization rank Section carries out initial configuration to serial ports according to serial communication protocol, waits debug command to be transmitted.
It illustrates below a kind of protocol format of serial communication protocol, it is as follows referring to table 1:
Table 1
1, the Head are packet header, and the Head's is specifically defined, as follows referring to table 2:
Table 2
Wherein, the Head sends debug command for commissioning device 101 and is defined as follows:
0xAA, the packet header of debug command;
0xAC, packet header of the software with screen order;
0xAE retains the packet header of order.
Wherein, the Head is defined as follows for 102 return command of TV screen:
0xAB, the packet header that debug command returns;
0xAD, the packet header that software is returned with screen order;
0xAF retains the packet header that order returns.
2, the Len are data packet length, including:
The control command word (CMD i.e. described in table 1) of 1 byte, the parameter of the command word institute band of N number of byte is (in table 1 The Data), the packet header (Head described in table 1) of 1 byte, the packet length of 1 byte is (described in table 1 Len), the CRC16 check values (CRC16 i.e. described in table 1) of 2 bytes.
(2) data synchronization and error correction:When recipient's (i.e. smart card 103 or TV screen of module TV of debug command 102) after receiving a synchronizing signal, a time-out time (preset time i.e. of the present invention) is set, when this is preset Interior reception serial data (including debug command), and check the integrality of the serial data of reception;Then to the serial ports of reception Data carry out cyclic redundancy check (Cyclical Redundancy Check, abbreviation CRC), after school inspection is correct, by serial ports Data upload transfers layer;Meanwhile the conditional code of debug command is fed back to commissioning device 101.
(3) command analysis and transmission:Recipient's (i.e. smart card 103 or TV screen of module TV of debug command 102), the debug command received is parsed first, analyzes the attribute of debug command, and judges the executable of debug command Property;It is then back to the conditional code to debugging command analysis, debug command is finally transmitted to debugging application layer, response debugging life It enables.
(4) command response and debugging:Recipient's (i.e. smart card 103 or TV screen of module TV of debug command 102), debug command is judged, judges whether debug command meets pre-defined protocol format;Then to debug command It is pre-processed, separation order field and command parameter field;It is executed according to the command field and command parameter field isolated The debug command, if the recipient of debug command is TV screen 102 (i.e. the debug command is the first debug command), module electricity Depending on TV screen 102 will directly execute corresponding first debug command;For example, after TV screen 102 receives the first debug command, The panel button of TV screen 102 is detected, and commissioning device 101 is returned to using the key assignments of panel button as implementing result, is convenient for Whether the key value that 101 comparative analysis of commissioning device returns is correct.If the recipient of debug command is (the i.e. tune of smart card 103 Examination order is the second debug command), then smart card 103 will complete the debugging work(of 103 part of smart card according to the second debug command Can, the second debug command is then sent to TV screen 102, TV screen 102 is cooperateed with according to the second debug command with smart card 103 Debugging;By taking synergic debugging is the correction debugging of white balance as an example, after smart card 103 is connected to the second debug command, it is switched to specific Image frame, exported to TV screen 102 with the HDMI signal formats of standard, and close influence white balance correction function, it is complete The precondition debugged at this;Accordingly, after TV screen 102 is connected to the second debug command, backlight is set to maximum brightness value And remain unchanged, the function of influencing white balance correction is also correspondingly closed, passes through instrument further according to the input signal of smart card 103 Entire picture is detected and is corrected.
(5) during the TV screen 102 of module TV executes debug command, the shape of returning response debug command is needed State code has executed after debug command to 101 execution result back of commissioning device.The TV screen 102 of module TV need to be by conditional code When returning to commissioning device 101 or smart card 103 with implementing result, the debugging application layer of TV screen 102 is by the conditional code, debugging Order and parameter are packaged into the packet header of data packet and interpolation data packet;By transport layer transmit the data packet to data link layer with CRC calculating is carried out, result of calculation is added to data packet tail;It is sent again by connecting alternation of bed, if in preset time-out In, it retries three times still without sending successfully, then sends failure, carry out more advanced processing and (prior art can be used, herein It does not limit).If the smart card 103 of module TV receives the conditional code and implementing result of the return of TV screen 102, according to string After port communications agreement does respective handling to data packet, the data packet for being loaded with implementing result is sent to tune using serial communication protocol Try equipment 101.
Optionally, the conditional code that debug command returns is executed, includes mainly following three kinds of command codes:
0x0A, the state that can perform for return command;
0x0E is used for return command mistake or not executable state;
0x0F malfunctions for link layer data, and data retransmit.
According to above-mentioned serial communication system, optionally, the commissioning device 101 is specifically used for successively to the TV screen 102 send the first synchronizing signal and first debug command;
The TV screen 102 is receiving described first together specifically for the connection alternation of bed by serial communication protocol It walks and receives first debug command in the preset time after signal, and described in the inspection of the data link layer of serial communication protocol Whether the first debug command received in preset time is complete, if so, then in the data link layer of serial communication protocol according to institute Whether check field verification first debug command for stating the first debug command received in preset time is correct, to the tune It tries equipment 101 and feeds back first state code, the first state code indicates that the TV screen 102 executes the shape for checking and/or verifying State.
Still optionally further, the TV screen 102, if specifically for the check field according to first debug command It is that first debug command is correct to verify the check results obtained by first debug command, then the biography through serial communication protocol Defeated layer is uploaded to debugging application layer, and protocol format is carried out to first debug command in the debugging application layer of serial communication protocol Parsing executes the order of protocol format parsing gained individually to be debugged.
Optionally, the commissioning device 101, be specifically used for successively to the smart card 103 send the second synchronizing signal and Second debug command;
The smart card 103 is receiving described second together specifically for the connection alternation of bed by serial communication protocol It walks and receives second debug command in the preset time after signal, and described in the inspection of the data link layer of serial communication protocol Whether the second debug command received in preset time is complete, if so, then according to the second debugging received in the preset time Whether check field verification second debug command of order is correct, feeds back the second conditional code, institute to the commissioning device 101 It states the second conditional code and indicates that the smart card 103 executes the state for checking and/or verifying.
Still optionally further, the smart card 103, if specifically for the check field according to second debug command It is that second debug command is correct to verify the check results obtained by second debug command, then by second debug command The TV screen 102 is forwarded, and the transport layer through serial communication protocol is uploaded to debugging application layer, in the tune of serial communication protocol It tries application layer and protocol format parsing is carried out to second debug command, adjusted according to the second debug command after protocol analysis Trial is set;
The TV screen 102 is additionally operable to execute second debug command to carry out cooperateing with tune with the smart card 103 Examination, the smart card 103 is sent to by the second Debugging message obtained by synergic debugging.
It should be noted that in Fig. 1 to Fig. 3 corresponding embodiments, " first " in " first debug command ", " second " second " in debug command ", is only used for " debug command ";" first " in above-mentioned " the first Debugging message ", " the second debugging letter " second " in breath ", is only used for " Debugging message ";" first " in above-mentioned " the first debugging mode code ", in " the second conditional code " " second ", be only used for " conditional code ";" first " in above-mentioned " the first synchronizing signal ", in " the second synchronizing signal " " the Two ", it is only used for " synchronizing signal ".
In addition, it should be understood that the size of the serial number of each step is not meant to the elder generation of execution sequence in Fig. 3 corresponding embodiments Afterwards, the execution sequence of each process should be determined by its function and internal logic, the implementation process structure without coping with the embodiment of the present invention At any restriction.
If the commissioning device 101, smart card 103, the adjustment method of TV screen 102 and system are with SFU software functional unit Form realize and when sold or used as an independent product, can be stored in a computer read/write memory medium. Based on this understanding, the technical solution of the embodiment of the present invention substantially in other words the part that contributes to existing technology or The all or part of the technical solution can be expressed in the form of software products, which is stored in one In storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or net Network equipment etc.) or processor (processor) execute all or part of step of each embodiment the method for the embodiment of the present invention Suddenly.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), is deposited mobile hard disk at random The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic disc or CD.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or it replaces, the spirit and model of each embodiment technical solution of the embodiment of the present invention that it does not separate the essence of the corresponding technical solution It encloses.

Claims (10)

1. a kind of adjustment method of TV screen, be used for module TV, which is characterized in that commissioning device respectively with the TV screen and Smart card is connected according to serial communication protocol, and the adjustment method of the TV screen includes:
Whether the commissioning device detection debug command is the first debug command or the second debug command;Wherein described first debugging Order is the order being individually performed by TV screen, and second debug command is the life being performed in unison with by smart card and TV screen It enables;
If the first debug command, then the first debug command is sent to the TV screen by commissioning device, and receives the TV Shield the first Debugging message of feedback, first Debugging message is carried out by the TV screen according to first debug command independent Debugging obtains;
If the second debug command, then the second debug command is sent to the smart card by the commissioning device, and described in receiving Second Debugging message of smart card feedback, second Debugging message is by the smart card and the TV screen according to described second Debug command carries out synergic debugging and obtains.
2. the adjustment method of TV screen as described in claim 1, which is characterized in that commissioning device sends the first debug command To the TV screen, specially:
The commissioning device sends the first synchronizing signal and first debug command to the TV screen successively so that the electricity Screen executes successively:First debug command is received in the preset time after receiving first synchronizing signal, and is examined Look into whether the first debug command received in the preset time is complete, if so, then according to the received in the preset time Whether check field verification first debug command of one debug command is correct, feeds back first state to the commissioning device Code, the first state code indicate the state that the TV screen executes successively.
3. the adjustment method of TV screen as claimed in claim 2, which is characterized in that it is described it is independent debugging include:
If verifying the check results obtained by first debug command according to the check field of first debug command as institute It is correct to state the first debug command, then the TV screen carries out protocol format parsing to first debug command, executes agreement lattice The order of formula parsing gained.
4. the adjustment method of TV screen as described in claim 1, which is characterized in that the commissioning device is by the second debug command It is sent to the smart card, specially:
The commissioning device sends the second synchronizing signal and second debug command to the smart card successively so that the intelligence It can block and execute successively:The second debug command is received in the preset time after receiving second synchronizing signal, and checks institute State whether the second debug command received in preset time is complete, if so, then being adjusted according to second received in the preset time Whether check field verification second debug command of examination order is correct, feeds back the second conditional code, institute to the commissioning device It states the second conditional code and indicates the state that the smart card executes successively.
5. the adjustment method of TV screen as claimed in claim 4, which is characterized in that the synergic debugging specifically includes:
If verifying the check results obtained by second debug command according to the check field of second debug command as institute It is correct to state the second debug command, then the smart card carries out debugging configuration according to second debug command, and by described second Debug command forwards the TV screen, the TV screen to execute second debug command to carry out cooperateing with tune with the smart card The second Debugging message obtained by synergic debugging is sent to the smart card by examination, the TV screen.
6. a kind of debugging system of TV screen is used for module TV, which is characterized in that including TV screen, commissioning device and intelligence Card, the commissioning device are connect with the TV screen and smart card according to serial communication protocol respectively:
The commissioning device, for detecting whether debug command is the first debug command or the second debug command;Wherein described One debug command is the order being individually performed by TV screen, and second debug command is performed in unison with by smart card and TV screen Order, and the first debug command is sent to the TV screen and receives the first Debugging message of TV screen feedback, also For the second debug command to be sent to the smart card and receives the second Debugging message of the smart card feedback;
The TV screen, for individually being debugged according to first debug command, by described the first of independent debugging gained Debugging message is sent to the commissioning device;
The smart card, for carrying out synergic debugging according to second debug command with the TV screen, and by synergic debugging Second Debugging message of gained is sent to the commissioning device.
7. the debugging system of TV screen as claimed in claim 6, which is characterized in that
The commissioning device is specifically used for sending the first synchronizing signal and first debug command to the TV screen successively;
The TV screen, specifically for the connection alternation of bed by serial communication protocol after receiving first synchronizing signal Preset time in receive first debug command, and check the preset time in the data link layer of serial communication protocol Whether the first debug command of interior reception complete, if so, then the data link layer of serial communication protocol according to it is described default when Whether check field verification first debug command of the first debug command of interior reception is correct, anti-to the commissioning device First state code is presented, the first state code indicates that the TV screen executes the state for checking and/or verifying.
8. the debugging system of TV screen as claimed in claim 7, which is characterized in that
The TV screen, if specifically for verifying first debug command according to the check field of first debug command The check results of gained are that first debug command is correct, then the transport layer through serial communication protocol is uploaded to debugging application Layer carries out protocol format parsing to first debug command in the debugging application layer of serial communication protocol, executes protocol format The order of gained is parsed individually to be debugged.
9. the debugging system of TV screen as claimed in claim 6, which is characterized in that
The commissioning device is specifically used for sending the second synchronizing signal and second debug command to the smart card successively;
The smart card, specifically for the connection alternation of bed by serial communication protocol after receiving second synchronizing signal Preset time in receive second debug command, and check the preset time in the data link layer of serial communication protocol Whether the second debug command of interior reception is complete, if so, then according to the school of the second debug command received in the preset time It whether correct tests field verification second debug command, feeds back the second conditional code, second state to the commissioning device Code indicates that the smart card executes the state for checking and/or verifying.
10. the debugging system of TV screen as claimed in claim 9, which is characterized in that
The smart card, if specifically for verifying second debug command according to the check field of second debug command The check results of gained are that second debug command is correct, then second debug command are forwarded the TV screen, and pass through The transport layer of serial communication protocol is uploaded to debugging application layer, is debugged to described second in the debugging application layer of serial communication protocol Order carries out protocol format parsing, and debugging configuration is carried out according to the second debug command after protocol analysis;
The TV screen is additionally operable to execute second debug command to carry out synergic debugging with the smart card, collaboration is adjusted Second Debugging message of examination gained is sent to the smart card.
CN201510312721.0A 2015-06-09 2015-06-09 The adjustment method and system of TV screen Active CN104883611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510312721.0A CN104883611B (en) 2015-06-09 2015-06-09 The adjustment method and system of TV screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510312721.0A CN104883611B (en) 2015-06-09 2015-06-09 The adjustment method and system of TV screen

Publications (2)

Publication Number Publication Date
CN104883611A CN104883611A (en) 2015-09-02
CN104883611B true CN104883611B (en) 2018-11-06

Family

ID=53950918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510312721.0A Active CN104883611B (en) 2015-06-09 2015-06-09 The adjustment method and system of TV screen

Country Status (1)

Country Link
CN (1) CN104883611B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847036B (en) * 2016-03-17 2018-11-13 烽火通信科技股份有限公司 The system and method for order pre-execution
CN109219945B (en) * 2016-06-30 2021-11-19 英特尔公司 HDMI skew compensation communication method, device and machine readable storage medium
CN106649182A (en) * 2016-10-10 2017-05-10 广州视源电子科技股份有限公司 Processing method and device of serial data and intelligent audio and video equipment
CN106412639A (en) * 2016-10-14 2017-02-15 深圳Tcl数字技术有限公司 Smart television remote debugging method and smart television remote debugging system
CN109787874B (en) * 2018-12-06 2021-11-09 珠海派诺科技股份有限公司 Real-time transceiving method, equipment and storage medium based on Linux platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100271622A1 (en) * 2006-07-03 2010-10-28 Anritsu Corporation Optical time domain reflectometer and method for testing optical fiber using optical pulse
CN201805499U (en) * 2010-09-10 2011-04-20 深圳创维-Rgb电子有限公司 Television with automatic adjusting and testing interface
CN103442250A (en) * 2013-07-30 2013-12-11 Tcl光电科技(惠州)有限公司 System and method for debugging television
US20140053178A1 (en) * 2012-08-17 2014-02-20 Flextronics Ap, Llc Report Database For Intelligent Television

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100271622A1 (en) * 2006-07-03 2010-10-28 Anritsu Corporation Optical time domain reflectometer and method for testing optical fiber using optical pulse
CN201805499U (en) * 2010-09-10 2011-04-20 深圳创维-Rgb电子有限公司 Television with automatic adjusting and testing interface
US20140053178A1 (en) * 2012-08-17 2014-02-20 Flextronics Ap, Llc Report Database For Intelligent Television
CN103442250A (en) * 2013-07-30 2013-12-11 Tcl光电科技(惠州)有限公司 System and method for debugging television

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智能电视安全存储数据访问方法;任飞,刘贤洪,秦志光;《电子科技大学学报》;20140131;第43卷(第1期);全文 *

Also Published As

Publication number Publication date
CN104883611A (en) 2015-09-02

Similar Documents

Publication Publication Date Title
CN104883611B (en) The adjustment method and system of TV screen
CN103259781B (en) Data transmission system based on image recognition
CN107276864A (en) The method of intelligent sound equipment control household electrical appliances, apparatus and system
CN108337120A (en) A kind of remote upgrade method of internet-of-things terminal equipment
CN106843942A (en) The firmware upgrade method and Wearable of Wearable
CN107832250A (en) A kind of master-slave communication timing method and method for reliable transmission based on SPI
EP3217279A1 (en) Module system, module-based robot system, and update method for module system
CN107347025A (en) Data processing method, device, server and system
CN106444657B (en) A kind of Modbus main website command processing method and main station controller
CN109459948B (en) Household electrical appliance communication device and household electrical appliance
CN103106095A (en) Method for remotely upgrading industrial camera and camera
CN103838591A (en) Upgrading method and device of multiple single-chip microcomputers based on serial buses
CN105137842B (en) A kind of stage Adaptive matching device
CN105094959B (en) It is a kind of that the method and apparatus of reconciliation file are provided
CN110134399A (en) Compilation Method and device
CN105922261B (en) A kind of robot controller and its control method
CN205015660U (en) Stage self -adaptation matching unit
CN109885483A (en) Log method for visualizing and system for operating status in Real-time Feedback game
CN106354966B (en) The method of the conversion of chip id E project file and rapid configuration artificial debugging environment
CN107203359A (en) Communication means, the consumable chip of consumable chip
CN113518087A (en) IOT protocol reverse docking method and device
CN204925762U (en) Stage multimode cooperative system
KR102091445B1 (en) Data receiving apparatus and method thereof
CN106301908B (en) A kind of adaptation method and device based on hot plug mechanism line card
CN110955175A (en) Method for communication between single chip microcomputer and PC

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