CN104883611A - Debugging method and system of television screen - Google Patents

Debugging method and system of television screen Download PDF

Info

Publication number
CN104883611A
CN104883611A CN201510312721.0A CN201510312721A CN104883611A CN 104883611 A CN104883611 A CN 104883611A CN 201510312721 A CN201510312721 A CN 201510312721A CN 104883611 A CN104883611 A CN 104883611A
Authority
CN
China
Prior art keywords
debug command
screen
debugging
smart card
debug
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.)
Granted
Application number
CN201510312721.0A
Other languages
Chinese (zh)
Other versions
CN104883611B (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 invention, which is suitable for the television set field, provides a debugging method and system of a television screen. Debugging equipment is connected with the television screen and a smart card according to a serial communication protocol. The debugging equipment sends a first debugging command to the television screen and receives first debugging information fed back by the television screen; and the debugging equipment sends a second debugging command to the smart card and receives second debugging information fed back by the smart card. The debugging equipment for debugging the television screen in a unified mode is designed and sends the debugging commands to the smart card and/or television screen based on the unified serial communication protocol; and debugging is realized according to the response of the television screen to the debugging commands. Therefore, effects of high efficiency and time saving are realized; and the production cost is lowered. In addition, the debugging equipment can be widely applied to debugging of television screens based on bass production; and production switch can be realized easily and the ineffective working hours caused by the production switching link can be reduced.

Description

The adjustment method of TV screen and system
Technical field
The invention belongs to TV domain, particularly relate to a kind of adjustment method and system of TV screen.
Background technology
Module TV comprises TV screen and smart card, and is flexibly connected between TV screen with smart card.Smart card is intelligent object part, is connected with TV screen adaptation by slot.TV screen is responsible data display part, comprises the output etc. of menu display, image quality image procossing and sound.During production module TV, TV screen and smart card are independent productions, but to the partial function test of TV screen or partly debugging, need to have cooperated with smart card, complete overall debugging.
The function of module TV is complicated and function items is various, as carried out scheduling and planning to module TV quantizing directly to use a teleswitch when producing, complex operation, consuming time more, correspondingly adds production cost.
Summary of the invention
Given this, the invention provides a kind of adjustment method and system of TV screen, by increasing commissioning device, and based on unified serial communication protocol, debugging being unified to TV screen, high efficiency and time conservation.
First aspect, the invention provides a kind of adjustment method of TV screen, and commissioning device is connected according to serial communication protocol with described TV screen and smart card respectively, and the adjustment method of described TV screen comprises:
First debug command is sent to described TV screen by commissioning device, and receives the first Debugging message of described TV screen feedback, and described first Debugging message carries out debugging separately by described TV screen according to described first debug command and obtains;
Second debug command is sent to described smart card by described commissioning device, and receives the second Debugging message of described smart card feedback, and described second Debugging message carries out synergic debugging by described smart card and described TV screen according to described second debug command and obtains.
Second aspect, the invention provides a kind of debug system of TV screen, comprises described TV screen, commissioning device and smart card, and described commissioning device is connected according to serial communication protocol with described TV screen and smart card respectively:
Described commissioning device, for the first debug command is sent to described TV screen and receive described TV screen feedback the first Debugging message, also for the second debug command is sent to described smart card and receive described smart card feedback the second Debugging message;
Described TV screen, for debugging separately according to described first debug command, sends to described commissioning device by described first Debugging message debugging separately gained;
Described smart card, for carrying out synergic debugging with described TV screen according to described second debug command, and sends to described commissioning device by described second Debugging message of synergic debugging gained.
Beneficial effect of the present invention: the commissioning device being designed for unified debugging TV screen, described commissioning device sends debug command based on unified serial communication protocol to smart card and/or TV screen, according to TV screen, debugging is realized to the response of this debug command, high efficiency and time conservation, reduce production cost; Commissioning device can be widely used in the debugging to quantizing the TV screen of producing in addition, easily in the face of changing the line of production, can reduce the invalid man-hour because link of changing the line of production produces.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the system architecture diagram of the debug system preferred embodiment of TV screen of the present invention;
Fig. 2 be in the debug system of Fig. 1 commissioning device and TV screen based on the schematic diagram of serial communication protocol interaction data;
Fig. 3 is a kind of indicative flowchart of the adjustment method of TV screen of the present invention.
Embodiment
In below describing, in order to illustrate instead of in order to limit, propose the detail of such as particular system structure, technology and so on, understand the embodiment of the present invention thoroughly to cut.But, it will be clear to one skilled in the art that and also can realize the present invention in other embodiment not having these details.In other situation, omit the detailed description to well-known system, device, circuit and method, in order to avoid unnecessary details hinders description of the invention.
In order to technical solutions according to the invention are described, be described below by specific embodiment.
The system architecture of the debug system of the TV screen 102 that the adjustment method of the TV screen 102 that Fig. 1 provides for the embodiment of the present invention is suitable for, but provide only part related to the present invention.
As shown in Figure 1, the debug system 100 of TV screen 102 at least comprises commissioning device 101, TV screen 102 and smart card 103, serial ports is adopted to be connected between TV screen 102 with commissioning device 101, adopt serial ports to be connected between smart card 103 with commissioning device 101, described commissioning device 101 carries out data cube computation and transmission with described TV screen 102 and smart card 103 according to serial communication protocol respectively.Adopt communication interface to be connected between smart card 103 with TV screen 102, this communication interface can be the existing slot interface realizing communicating between smart card 103 with TV screen 102, does not limit at this.
Described commissioning device 101 can be PC, it is preset with the application of debugging TV screen 102, and application comprises indication TV screen 102 or smart card 103 carries out certain debug command operated.Show the flow process of the adjustment method of the TV screen 102 provided from commissioning device 101 angle please with reference to Fig. 1 and Fig. 3, Fig. 3, but Fig. 3 illustrate only the part relevant to the embodiment of the present invention.As a preferred embodiment, the adjustment method of described TV screen 102 comprises the steps:
Steps A 301, when the application of Start-up and Adjustment, then whether commissioning device 101 detects debug command is the first debug command or the second debug command; Wherein said first debug command is the order performed separately by TV screen 102, and described second debug command is by smart card 103 order that perform collaborative with TV screen 102.
Wherein said debug command can be manually be set in advance in commissioning device 101, also can be when debugging, and is generated voluntarily according to the demand of artificial setting by commissioning device 101.Whether described commissioning device 101 detects debug command is the first debug command or the second debug command, can be that a recognition feature is set in debug command, when commissioning device 101 detects that this recognition feature can judge that it is the first debug command or the second debug command.Certainly, also can by Artificial Control, such as, when artificial judgment debug command is the first debug command, then controlling commissioning device 101 is connected for connected state with the serial ports between TV screen 102, serial ports between commissioning device 101 with smart card 103 is connected the state of being off, then commissioning device 101 can carry out the transmission of debug command according to the switching state of the connection detected.
Steps A 302, if the first debug command, then the first debug command is sent to described TV screen 102 by commissioning device 101, and receiving the first Debugging message of described TV screen 102 feedback, described first Debugging message carries out debugging separately by described TV screen 102 according to described first debug command and obtains.
In the present embodiment, described first debug command refers to the order that can be performed separately by TV screen 102, such as, to the order of the standalone feature tests such as TV screen 102 panel button, OSD menu.
Particularly, TV screen 102 and commissioning device 101 all have serial ports, and direct-connected by the serial bus meeting serial communication protocol; Therefore the direct interaction of the first debug command and the first Debugging message can be carried out between TV screen 102 and commissioning device 101 by serial ports.Like this, be applicable to the scene of debugging TV screen 102 separately, do not need to introduce other equipment (such as smart card 103), therefore consumptive material is few, energy-conservation, efficiently.
Steps A 303, if the second debug command, then the second debug command is sent to described smart card 103 by described commissioning device 101, and receiving the second Debugging message of described smart card 103 feedback, described second Debugging message carries out synergic debugging with described TV screen 102 according to described second debug command by described smart card 103 and obtains.
Wherein, described second debug command is the order needing TV screen 102 and smart card 103 coordinated to perform, such as, whole module television system is carried out (comprising smart card 103 and TV screen 102) to the instruction of the collaborative test item such as burn-in test, white balance correction.
Particularly, commissioning device 101 and smart card 103, all have serial ports, and direct-connected by the serial bus meeting serial communication protocol; Between commissioning device 101 and smart card 103, data can be transmitted according to serial communication protocol.
Smart card 103 is connected by communication interface with TV screen 102, does not limit the physical interface type of communication interface and standard at this, meets and between smart card 103 and TV screen 102, carries out data interaction by communication interface.In addition, the mode that smart card 103 is connected by communication interface with TV screen 102, can be by electrically direct-connected (as direct-connected by bus), can be wireless connections.
When smart card 103 forwards the second debug command and the second Debugging message between commissioning device 101 and TV screen 102, the conversion of communication protocol need be carried out, correspondingly also can the protocol format of translation data bag, this packet can be the packet comprising the second debug command, and this packet can also be the packet comprising the second Debugging message.
In addition, smart card 103 is not alone in forwarding the second debug command and the second Debugging message between commissioning device 101 and TV screen 102, also for completing the relevant configuration of synergic debugging at this smart card 103 according to the second debug command, working in coordination with the interrelated action of TV screen 102 and testing; As, smart card 103 controls TV screen 102 according to the second debug command and performs corresponding actions, after TV screen 102 completes the configuration of relevant collaborative test according to the second debug command, the action that execution is controlled by smart card 103 also generates the second Debugging message, TV screen 102 sends the second Debugging message by communication interface to smart card 103, and smart card 103 forwards this second Debugging message to commissioning device 101 according to serial communication protocol by serial ports again.
Like this, commissioning device 101 carries out synergic debugging by the second debug command to smart card 103 and TV screen 102, TV screen 102 generates the second Debugging message according to synergic debugging result, and commissioning device 101 determines the debug results of TV screen 102 being carried out to synergic debugging according to the second Debugging message.
Alternatively, debug command is made up of command field, command parameter field, check field, and described debug command comprises described first debug command and described second debug command.
Particularly, the command field record order of debug command, the command parameter field record command parameter of debug command, the check field record check code of debug command.
When TV screen 102 receives debug command (comprising the first debug command and the second debug command), according to the check code of check field record, verify the debug command received whether complete, whether correct, if verification is passed through, perform the order be made up of the command word of command field record and the command parameter of command parameter field record in debug command, and generate Debugging message according to execution result.
In like manner, when smart card 103 receives the second debug command, verify after the second debug command passes through according to the check code of check field record, perform the order performed by its smart card 103 in the second debug command, complete the configuration of response synergic debugging, and carry out synergic debugging together with TV screen 102.When TV screen 102 receives the second debug command, verify after the second debug command passes through according to the check code of check field record, perform the order performed by its TV screen 102 in the second debug command, complete the configuration of response synergic debugging, and carry out synergic debugging together with TV screen 102.
Alternatively, the first debug command is sent to described TV screen 102 by commissioning device 101, is specially:
Described commissioning device 101 sends the first synchronizing signal and described first debug command to described TV screen 102 successively, described TV screen 102 is performed successively: in the Preset Time after receiving described first synchronizing signal, receive described first debug command, and check that whether the first debug command received in described Preset Time is complete, if, then whether correct according to described first debug command of check field verification of the first debug command received in described Preset Time, the first conditional code is fed back to described commissioning device 101, described first conditional code represents the state that described TV screen 102 performs successively.
Particularly, after commissioning device 101 is connected by serial ports with TV screen 102, commissioning device 101, before sending the first debug command to TV screen 102 according to serial communication protocol, first sends the first synchronizing signal to TV screen 102; TV screen 102 carries out according to this first synchronizing signal the clock synchronous receiving data, start timing simultaneously, the data of commissioning device 101 transmission can be received in the Preset Time of timing according to serial communication protocol, exceed the data that Preset Time then stops receiving commissioning device 101 transmission; Under normal circumstances, can complete in Preset Time after commissioning device 101 sends from the first synchronizing signal to TV screen 102 and send the first debug command to TV screen 102, correspondingly, the reception to this first debug command can be completed in TV screen 102 this Preset Time after starting timing;
TV screen 102 completes after Preset Time receives the first debug command, whether complete, whether correct according to the first debug command that the check code verification verifying field record in the first debug command receives, and according to check results first conditional code, feed back the first conditional code to commissioning device 101; Whether commissioning device 101 is complete and correctly receive this first debug command according to the first conditional code determination TV screen 102, if correctly and/or intactly do not receive the first debug command according to the first conditional code determination TV screen 102, represent that the first debug command that TV screen 102 receives in Preset Time is abnormal, then commissioning device 101 can perform other actions, as retransmitted the first debug command to TV screen 102.
Further alternatively, described independent debugging comprises:
If the check results according to the described first debug command gained of check field verification of described first debug command is that described first debug command is correct, then described TV screen 102 carries out protocol format parsing to described first debug command, the order of the format analysis gained that carries on an agreement.
Particularly, TV screen 102 is defined as correctly according to check results and intactly have received described first debug command, described TV screen 102 carries out pre-execution according to the command word of the command field record of described first debug command and the command parameter of command parameter field record, the enforceability of the first adjustment order is judged according to pre-execution result, if it is determined that the first adjustment order has enforceability, the protocol format that TV screen 102 is made an appointment according to commissioning device 101 and TV screen 102 is again resolved protocol format, carry on an agreement the order of format analysis gained, and generate the first Debugging message according to execution result.
Alternatively, the second debug command is sent to described smart card 103 by described commissioning device 101, is specially:
Described commissioning device 101 sends the second synchronizing signal and described second debug command to described smart card 103 successively, described smart card 103 is performed successively: in the Preset Time after receiving described second synchronizing signal, receive the second debug command, and check that whether the second debug command received in described Preset Time is complete, if, then whether correct according to described second debug command of check field verification of the second debug command received in described Preset Time, the second conditional code is fed back to described commissioning device 101, described second conditional code represents the state that described smart card 103 performs successively.
Particularly, after commissioning device 101 is connected by serial ports with smart card 103, commissioning device 101, before sending the second debug command to smart card 103 according to serial communication protocol, first sends the second synchronizing signal to smart card 103; Smart card 103 carries out according to this second synchronizing signal the clock synchronous receiving data, start timing simultaneously, the data of commissioning device 101 transmission can be received in the Preset Time of timing according to serial communication protocol, exceed the data that Preset Time then stops receiving commissioning device 101 transmission; Under normal circumstances, can complete in Preset Time after commissioning device 101 sends from the second synchronizing signal to smart card 103 and send the second debug command to smart card 103, correspondingly, the reception to this second debug command can be completed in smart card 103 this Preset Time after starting timing;
Smart card 103 completes after Preset Time receives the second debug command, whether complete, whether correct according to the second debug command that the check code verification verifying field record in the second debug command receives, and according to check results second conditional code, feed back the second conditional code to commissioning device 101; Whether commissioning device 101 is complete and correctly receive this second debug command according to the second conditional code determination smart card 103, if correctly and/or intactly do not receive the second debug command according to the second conditional code determination smart card 103, represent that the second debug command that smart card 103 receives in Preset Time is abnormal, then commissioning device 101 can perform other actions, as retransmitted the second debug command to smart card 103.
Further alternatively, described synergic debugging specifically comprises:
If the check results according to the described second debug command gained of check field verification of described second debug command is that described second debug command is correct, then described smart card 103 carries out debugging configuration according to described second debug command, described second debug command is forwarded described TV screen 102, described TV screen 102 performs described second debug command to carry out synergic debugging with described smart card 103, and the second Debugging message of synergic debugging gained is sent to described smart card 103 by described TV screen 102.
Particularly, smart card 103 is defined as correctly according to check results and intactly have received described second debug command, described smart card 103 carries out pre-execution according to the command word of the command field record of described second debug command and the command parameter of command parameter field record, the enforceability of the second adjustment order is judged according to pre-execution result, if it is determined that the second adjustment order has enforceability, the protocol format that smart card 103 is made an appointment according to commissioning device 101 and smart card 103 is again resolved protocol format, carry on an agreement the order of format analysis gained, carry out debugging configuration.
In addition, if it is determined that the second adjustment order has enforceability, described second debug command is forwarded described TV screen 102, so that TV screen 102 and smart card 103 carry out synergic debugging.
Fig. 1 and the debug system that Figure 2 shows that TV screen 102 provided by the invention, wherein said commissioning device 101, for the first debug command being sent to described TV screen 102 and receiving the first Debugging message that described TV screen 102 feeds back, also for the second debug command being sent to described smart card 103 and receiving the second Debugging message that described smart card 103 feeds back;
Described TV screen 102, for debugging separately according to described first debug command, sends to described commissioning device 101 by described first Debugging message debugging separately gained;
Described smart card 103, for carrying out synergic debugging with described TV screen 102 according to described second debug command, and sends to described commissioning device 101 by described second Debugging message of synergic debugging gained.
In the embodiment of the present invention, design debug equipment 101 in advance, commissioning device 101 is when debugging TV screen 102 or test then, automatically produces debug command (comprising the first debug command and/or the second debug command); Directly send the first debug command to TV screen 102, the first Debugging message that TV screen 102 is fed back is analyzed, and analyzes debug results; And/or, indirectly send the second debug command to TV screen 102 through smart card 103 and the second Debugging message that TV screen 102 is fed back is analyzed, and analyze the debug results of TV screen 102 and smart card 103 synergic debugging.Alternatively, based on serial communication protocol, set up the master slave communication pattern between commissioning device 101 and TV screen 102, set up the master slave communication pattern between commissioning device 101 and smart card 103, realize commissioning device 101 send the first debug command to TV screen 102 and carried out debugging separately and generating the first Debugging message according to the result of debugging separately according to this first debug command by TV screen 102, realize commissioning device 101 and send the second debug command to smart card 103, carry out synergic debugging by TV screen 102 and smart card 103 according to this second debug command and generate the second Debugging message according to the result of synergic debugging, this second Debugging message that described TV screen 102 generates is forwarded to commissioning device 101 again by smart card 103.
Alternatively, the serial communication system that the present embodiment is set up according to serial communication protocol is see Fig. 2, but Fig. 2 only for commissioning device 101 with TV screen 102 based on serial communication protocol interaction data, certainly according to the signal of Fig. 2, commissioning device 101 and the data interaction flow process of smart card 103 based on serial communication protocol can rationally be learnt; Below for Fig. 2, this serial communication system is described in detail in detail as follows:
Connect alternation of bed: mainly comprise universal asynchronous receiving-transmitting transmitter (Universal AsynchronousReceiver/Transmitter, be called for short UART), level shifting circuit and some connecting lines, use serial ports three line simple connection commissioning device 101 and TV screen 102, use serial ports three line simple connection commissioning device 101 and smart card 103, carry out the full duplex asynchronous transmitting transceiver of data based on this simple connection.
Data link layer: primary responsibility data syn-chronization, for confirming the integrality of the first debug command when being positioned at TV screen 102, for confirming the integrality of the second debug command when being positioned at smart card 103, for confirming the integrality of Debugging message (comprising the first Debugging message and the second Debugging message) when being positioned at commissioning device 101, carry out the corrective action such as CRC check, errorless, be uploaded to transport layer, make mistakes otherwise carry out the relevant actions such as erroneous retransmissions; Such as, the integrality of the first debug command received from commissioning device 101 is confirmed by the data link layer of TV screen 102, confirmed the integrality of the second debug command received from commissioning device 101 by the data link layer of smart card 103, confirmed the integrality of the first Debugging message received from TV screen 102 by commissioning device 101 and confirm the integrality of the second Debugging message received from smart card 103.
Transport layer: be software interface layer, the transmission of primary responsibility order and explanation, and data flow con-trol and the error handling processing of making transport layer.
Debugging application layer: the upper strata level of abstraction being whole serial communication system, is responsible for command calls and controls and corresponding data processing.
Commissioning device 101, as the scheduling unit of debugging task, is the main equipment of serial communication system, is responsible for producing debug command, and collects and the process such as parsing the executing state of order, the debug results of TV screen 102.
TV screen 102, as from equipment, is responsible for performing debug command, generates Debugging message, feed back Debugging message (comprising the first Debugging message and the second Debugging message) to commissioning device 101 according to execution result; Also be responsible for detecting debug command and generating conditional code, feed back this conditional code to commissioning device 101, make commissioning device 101 according to the executing state of the conditional code analysis order of feedback.Such as, receive the debug command that commissioning device 101 sends, confirm the correctness of debug command, return the confirmation result of correctness according to serial communication protocol.
Smart card 103 and/TV screen 102 are as the executor of debug command, and the action performed in serial communication system is as follows:
(1) data receiver and transmission: commissioning device 101 can according to testing requirement, be connected by the TV screen 102 of serial port connecting wire and module TV and smart card 103, connected mode is as Fig. 1; Wherein, if debug TV screen 102 separately, be connected with the TV screen 102 of module TV by commissioning device 101, the first debug command is directly sent to TV screen 102 by commissioning device 101; If need smart card 103 to test with TV screen 102 is collaborative, commissioning device 101 is connected with the smart card 103 of module TV, commissioning device 101 sends the second debug command to smart card 103, smart card 103 processes after receiving the second debug command accordingly (relevant configuration as synergic debugging), and then the second debug command is sent to TV screen 102 by communication interface.
After module TV powers on, TV screen 102, smart card 103 all enter scheduling and planning pattern.And in system initialisation phase, according to serial communication protocol, initial configuration is carried out to serial ports, wait debug command to be transmitted.
To illustrate below a kind of protocol format of serial communication protocol, see table 1, as follows:
Table 1
1, described Head, be packet header, the concrete definition of described Head, see table 2, as follows:
Table 2
Wherein, described Head is used for commissioning device 101 and sends debug command and be defined as follows:
0xAA, the packet header of debug command;
0xAC, the packet header of screen order joined by software;
0xAE, retains the packet header of order.
Wherein, described Head is defined as follows for TV screen 102 return command:
0xAB, the packet header that debug command returns;
0xAD, the packet header that screen order returns joined by software;
0xAF, retains the packet header of ordering and returning.
2, described Len, be data packet length, comprise:
The control command word (CMD namely described in table 1) of 1 byte, the command word of N number of byte with parameter (Data described in table 1), the packet header (Head described in table 1) of 1 byte, the packet length (Len described in table 1) of 1 byte, the CRC16 check value (CRC16 namely described in table 1) of 2 bytes.
(2) data syn-chronization and error correction: after recipient's (i.e. the smart card 103 of module TV or TV screen 102) of debug command receives a synchronizing signal, set a time-out time (i.e. Preset Time of the present invention), in this Preset Time, receive serial data (comprising debug command), and check the integrality of the serial data received; Then CRC (CyclicalRedundancy Check is called for short CRC) is carried out, after school inspection is correct, by serial data upload transfers layer to the serial data received; Meanwhile, the conditional code of debug command is fed back to commissioning device 101.
(3) command analysis and transmission: the recipient of debug command (i.e. the smart card 103 of module TV or TV screen 102), first the debug command received is resolved, analyze the attribute of debug command, and judge the enforceability of debug command; Then return the conditional code to debugging command analysis, finally debug command is delivered to debugging application layer, response debug command.
(4) command response and debugging: the recipient of debug command (i.e. the smart card 103 of module TV or TV screen 102), judges debug command, judge whether debug command meets predefined protocol format; Then preliminary treatment is carried out to debug command, separation order field and command parameter field; This debug command is performed according to isolated command field and command parameter field, if the recipient of debug command is TV screen 102 (namely this debug command is the first debug command), then the TV screen 102 of module TV directly will perform corresponding first debug command; Such as, after TV screen 102 receives the first debug command, detect the panel button of TV screen 102, and the key assignments of panel button is returned to commissioning device 101 as execution result, whether be correctly convenient to the key value that commissioning device 101 comparative analysis returns.If the recipient of debug command is smart card 103 (namely this debug command is the second debug command), then smart card 103 will complete the debug function of smart card 103 part according to the second debug command, then the second debug command is sent to TV screen 102, TV screen 102 is according to the second debug command and smart card 103 synergic debugging; With synergic debugging be white balance correction debugging be example, after smart card 103 receives the second debug command, be switched to specific image frame, export to TV screen 102 with the HDMI signal format of standard, and close the function affecting white balance correction, complete the precondition of this debugging; Accordingly, after TV screen 102 receives the second debug command, backlight is set to maximum brightness value and remains unchanged, also correspondingly closing affects the function of white balance correction, then to be detected whole picture by instrument according to the input signal of smart card 103 and correct.
(5) perform in the process of debug command in the TV screen 102 of module TV, need the conditional code returning response debug command, execute after debug command to commissioning device 101 execution result back.When conditional code and execution result need be returned to commissioning device 101 or smart card 103 by the TV screen 102 of module TV, this conditional code, debug command and parameter are packaged into packet and add the packet header of packet by the debugging application layer of TV screen 102; Transmit described packet to data link layer to carry out CRC calculating by transport layer, result of calculation is added to packet tail; Send by connecting alternation of bed, if in the time-out time preset, retry does not still send successfully for three times, then send failure, carries out more senior process (can adopt prior art, not limit at this) again.If the smart card 103 of module TV receives conditional code and execution result that TV screen 102 returns, after doing respective handling according to serial communication protocol to packet, serial communication protocol is adopted to be sent to commissioning device 101 packet being loaded with execution result.
Alternatively, perform the conditional code that debug command returns, mainly comprise following three kinds of command codes:
0x0A, for the executable state of return command;
0x0E, for return command mistake or not executable state;
0x0F, makes mistakes for link layer data, data re-transmission.
According to above-mentioned serial communication system, alternatively, described commissioning device 101, specifically for sending the first synchronizing signal and described first debug command to described TV screen 102 successively;
Described TV screen 102, specifically for receiving described first debug command in the Preset Time of the connection alternation of bed by serial communication protocol after receiving described first synchronizing signal, and check that whether the first debug command received in described Preset Time is complete in the data link layer of serial communication protocol, if, then whether correct according to described first debug command of check field verification of the first debug command received in described Preset Time in the data link layer of serial communication protocol, the first conditional code is fed back to described commissioning device 101, described first conditional code represents that described TV screen 102 performs the state checking and/or verify.
Further alternatively, described TV screen 102, if be that described first debug command is correct specifically for the check results of the described first debug command gained of check field verification according to described first debug command, transport layer then through serial communication protocol is uploaded to debugging application layer, carry out protocol format parsing in the debugging application layer of serial communication protocol to described first debug command, the order of the format analysis gained that carries on an agreement to debug separately.
Alternatively, described commissioning device 101, specifically for sending the second synchronizing signal and described second debug command to described smart card 103 successively;
Described smart card 103, specifically for receiving described second debug command in the Preset Time of the connection alternation of bed by serial communication protocol after receiving described second synchronizing signal, and check that whether the second debug command received in described Preset Time is complete in the data link layer of serial communication protocol, if, then whether correct according to described second debug command of check field verification of the second debug command received in described Preset Time, the second conditional code is fed back to described commissioning device 101, described second conditional code represents that described smart card 103 performs the state checking and/or verify.
Further alternatively, described smart card 103, if be that described second debug command is correct specifically for the check results of the described second debug command gained of check field verification according to described second debug command, then described second debug command is forwarded described TV screen 102, and be uploaded to debugging application layer through the transport layer of serial communication protocol, in the debugging application layer of serial communication protocol, protocol format parsing is carried out to described second debug command, carry out debugging configuration according to the second debug command after protocol analysis;
Described TV screen 102, also for performing described second debug command to carry out synergic debugging with described smart card 103, is sent to described smart card 103 by the second Debugging message of synergic debugging gained.
It should be noted that, in the corresponding embodiment of Fig. 1 to Fig. 3, " first " in described " the first debug command ", " second " in " the second debug command ", only for " debug command "; " first " in above-mentioned " the first Debugging message ", " second " in " the second Debugging message ", only for " Debugging message "; " first " in above-mentioned " the first debugging mode code ", " second " in " the second conditional code ", only for " conditional code "; " first " in above-mentioned " the first synchronizing signal ", " second " in " the second synchronizing signal ", only for " synchronizing signal ".
In addition, it should be understood that the size of the sequence number of each step in the corresponding embodiment of Fig. 3 and do not mean that the priority of execution sequence, the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.
If the adjustment method of described commissioning device 101, smart card 103, TV screen 102 and system using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that the technical scheme of the embodiment of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of each embodiment technical scheme of the embodiment of the present invention.

Claims (10)

1. an adjustment method for TV screen, is characterized in that, commissioning device is connected according to serial communication protocol with described TV screen and smart card respectively, and the adjustment method of described TV screen comprises:
Described commissioning device detects whether debug command is the first debug command or the second debug command; Wherein said first debug command is the order performed separately by TV screen, and described second debug command is the order of being worked in coordination with execution by smart card and TV screen;
If the first debug command, then the first debug command is sent to described TV screen by commissioning device, and receives the first Debugging message of described TV screen feedback, and described first Debugging message carries out debugging separately by described TV screen according to described first debug command and obtains;
If the second debug command, then the second debug command is sent to described smart card by described commissioning device, and receiving the second Debugging message of described smart card feedback, described second Debugging message carries out synergic debugging by described smart card and described TV screen according to described second debug command and obtains.
2. the adjustment method of TV screen as claimed in claim 1, it is characterized in that, the first debug command is sent to described TV screen by commissioning device, is specially:
Described commissioning device sends the first synchronizing signal and described first debug command to described TV screen successively, described TV screen is performed successively: in the Preset Time after receiving described first synchronizing signal, receive described first debug command, and check that whether the first debug command received in described Preset Time is complete, if, then whether correct according to described first debug command of check field verification of the first debug command received in described Preset Time, the first conditional code is fed back to described commissioning device, described first conditional code represents the state that described TV screen performs successively.
3. the adjustment method of TV screen as claimed in claim 2, it is characterized in that, described independent debugging comprises:
If the check results according to the described first debug command gained of check field verification of described first debug command is that described first debug command is correct, then described TV screen carries out protocol format parsing to described first debug command, the order of the format analysis gained that carries on an agreement.
4. the adjustment method of TV screen as claimed in claim 1, it is characterized in that, the second debug command is sent to described smart card by described commissioning device, is specially:
Described commissioning device sends the second synchronizing signal and described second debug command to described smart card successively, described smart card is performed successively: in the Preset Time after receiving described second synchronizing signal, receive the second debug command, and check that whether the second debug command received in described Preset Time is complete, if, then whether correct according to described second debug command of check field verification of the second debug command received in described Preset Time, feed back the second conditional code to described commissioning device, described second conditional code represents the state that described smart card performs successively.
5. the adjustment method of TV screen as claimed in claim 4, it is characterized in that, described synergic debugging specifically comprises:
If the check results according to the described second debug command gained of check field verification of described second debug command is that described second debug command is correct, then described smart card carries out debugging configuration according to described second debug command, and described second debug command is forwarded described TV screen, described TV screen performs described second debug command to carry out synergic debugging with described smart card, and the second Debugging message of synergic debugging gained is sent to described smart card by described TV screen.
6. a debug system for TV screen, is characterized in that, comprises TV screen, commissioning device and smart card, and described commissioning device is connected according to serial communication protocol with described TV screen and smart card respectively:
Whether described commissioning device is the first debug command or the second debug command for detecting debug command; Wherein said first debug command is the order performed separately by TV screen, described second debug command is the order of being worked in coordination with execution by smart card and TV screen, and the first debug command is sent to described TV screen and receive described TV screen feedback the first Debugging message, also for the second debug command is sent to described smart card and receive described smart card feedback the second Debugging message;
Described TV screen, for debugging separately according to described first debug command, sends to described commissioning device by described first Debugging message debugging separately gained;
Described smart card, for carrying out synergic debugging with described TV screen according to described second debug command, and sends to described commissioning device by described second Debugging message of synergic debugging gained.
7. the debug system of TV screen as claimed in claim 6, is characterized in that,
Described commissioning device, specifically for sending the first synchronizing signal and described first debug command to described TV screen successively;
Described TV screen, specifically for receiving described first debug command in the Preset Time of the connection alternation of bed by serial communication protocol after receiving described first synchronizing signal, and check that whether the first debug command received in described Preset Time is complete in the data link layer of serial communication protocol, if, then whether correct according to described first debug command of check field verification of the first debug command received in described Preset Time in the data link layer of serial communication protocol, the first conditional code is fed back to described commissioning device, described first conditional code represents that described TV screen performs the state checking and/or verify.
8. the debug system of TV screen as claimed in claim 7, is characterized in that,
Described TV screen, if be that described first debug command is correct specifically for the check results of the described first debug command gained of check field verification according to described first debug command, transport layer then through serial communication protocol is uploaded to debugging application layer, carry out protocol format parsing in the debugging application layer of serial communication protocol to described first debug command, the order of the format analysis gained that carries on an agreement to debug separately.
9. the debug system of TV screen as claimed in claim 6, is characterized in that,
Described commissioning device, specifically for sending the second synchronizing signal and described second debug command to described smart card successively;
Described smart card, specifically for receiving described second debug command in the Preset Time of the connection alternation of bed by serial communication protocol after receiving described second synchronizing signal, and check that whether the second debug command received in described Preset Time is complete in the data link layer of serial communication protocol, if, then whether correct according to described second debug command of check field verification of the second debug command received in described Preset Time, feed back the second conditional code to described commissioning device, described second conditional code represents that described smart card performs the state checking and/or verify.
10. the debug system of TV screen as claimed in claim 9, is characterized in that,
Described smart card, if be that described second debug command is correct specifically for the check results of the described second debug command gained of check field verification according to described second debug command, then described second debug command is forwarded described TV screen, and be uploaded to debugging application layer through the transport layer of serial communication protocol, in the debugging application layer of serial communication protocol, protocol format parsing is carried out to described second debug command, carry out debugging configuration according to the second debug command after protocol analysis;
Described TV screen, also for performing described second debug command to carry out synergic debugging with described smart card, is sent to described smart card by the second Debugging message of synergic debugging gained.
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 true CN104883611A (en) 2015-09-02
CN104883611B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847036A (en) * 2016-03-17 2016-08-10 烽火通信科技股份有限公司 Command pre-execution system and method
CN106412639A (en) * 2016-10-14 2017-02-15 深圳Tcl数字技术有限公司 Smart television remote debugging method and smart television remote debugging system
CN106649182A (en) * 2016-10-10 2017-05-10 广州视源电子科技股份有限公司 Serial port data processing method and device and intelligent audio-video equipment
CN109219945A (en) * 2016-06-30 2019-01-15 英特尔公司 The communication of HDMI deflection compensation
CN109787874A (en) * 2018-12-06 2019-05-21 珠海派诺科技股份有限公司 Real-time tranception 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
任飞,刘贤洪,秦志光: "智能电视安全存储数据访问方法", 《电子科技大学学报》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847036A (en) * 2016-03-17 2016-08-10 烽火通信科技股份有限公司 Command pre-execution system and method
CN105847036B (en) * 2016-03-17 2018-11-13 烽火通信科技股份有限公司 The system and method for order pre-execution
CN109219945A (en) * 2016-06-30 2019-01-15 英特尔公司 The communication of HDMI deflection compensation
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 广州视源电子科技股份有限公司 Serial port data processing method and device and intelligent audio-video equipment
CN106412639A (en) * 2016-10-14 2017-02-15 深圳Tcl数字技术有限公司 Smart television remote debugging method and smart television remote debugging system
CN109787874A (en) * 2018-12-06 2019-05-21 珠海派诺科技股份有限公司 Real-time tranception method, equipment and storage medium based on Linux platform
CN109787874B (en) * 2018-12-06 2021-11-09 珠海派诺科技股份有限公司 Real-time transceiving method, equipment and storage medium based on Linux platform

Also Published As

Publication number Publication date
CN104883611B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN104883611A (en) Debugging method and system of television screen
US20100095159A1 (en) Apparatus and method for automatic testing of software or digital devices
CN102830987B (en) Burning method
CN106444657B (en) A kind of Modbus main website command processing method and main station controller
WO2011074708A1 (en) Semiconductor system, semiconductor device, and electronic device initializing method
CN113138779B (en) FPGA (field programmable Gate array) online program updating device and method based on multifunctional interface
CN107888976A (en) A kind of program upgrade apparatus and upgrade method based on LVDS signal wires
CN103676911A (en) Equipment control system and control method
CN117687664A (en) Online upgrade configuration method and device for DSP
WO2018153064A1 (en) Data processing method, terminal and non-volatile readable storage medium
CN112559264B (en) Simulation test method for realizing FPGA (field programmable Gate array) universal serial port by verification platform based on UVM (Universal verification Module)
CN116578521B (en) Single-bus communication method, device, system and equipment
CN110789580A (en) Communication detection method, equipment and system of train network control system
US20030154288A1 (en) Server-client system and data transfer method used in the same system
CN114338848B (en) Communication data processing method, device, programmable logic device, transmitting card and medium
CN106584862A (en) 3D printing WIFI control system with built-in Web service and control method thereof
JP2002259162A (en) Support system for development of equipment control software
CN103236154A (en) Infrared serial port communication method and apparatus
KR101656416B1 (en) Apparatus and method of generating message automatically in real-time data transmission processing system
CN113806153A (en) Chip verification method
CN113094059A (en) Firmware system data transmission method and burning device thereof
JP2006155047A (en) Verification system and verification method
JP3024345B2 (en) Data link method
CN115951905A (en) File burning method, development board and storage medium
US20230236817A1 (en) Firmware upgrade method and firmware upgrade system based on multi-stream transmission mode of displayport interface

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