CN103747239B - A kind of method and intelligent television entering debugging mode - Google Patents

A kind of method and intelligent television entering debugging mode Download PDF

Info

Publication number
CN103747239B
CN103747239B CN201310633314.0A CN201310633314A CN103747239B CN 103747239 B CN103747239 B CN 103747239B CN 201310633314 A CN201310633314 A CN 201310633314A CN 103747239 B CN103747239 B CN 103747239B
Authority
CN
China
Prior art keywords
value
gpio pin
instruction
arranging
brush machine
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
CN201310633314.0A
Other languages
Chinese (zh)
Other versions
CN103747239A (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.)
Xinle Visual Intelligent Electronic Technology Tianjin Co ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201310633314.0A priority Critical patent/CN103747239B/en
Publication of CN103747239A publication Critical patent/CN103747239A/en
Application granted granted Critical
Publication of CN103747239B publication Critical patent/CN103747239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the present invention provides a kind of method and the intelligent television that enter debugging mode, relates to electronic technology field, can enter each debugging mode fast, thus improves debugging efficiency, shortens debugging cycle.The method can comprise: receive the first instruction that remote controller sends, the first instruction is used to indicate the value of value and the second GPIO pin arranging the first GPIO pin; According to the first instruction, the value of the first GPIO pin and the value of the second GPIO pin are set; According to the value of the value of the first GPIO pin after arranging and the second GPIO pin after arranging, enter with arrange after the value of the first GPIO pin and debugging mode corresponding to the value of the second GPIO pin after arranging.

Description

A kind of method and intelligent television entering debugging mode
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of method and the intelligent television that enter debugging mode.
Background technology
Along with the development of electronic technology, intelligent electronic device is more and more universal.Especially based on Android(Android) intelligent electronic device of system, give birth to as application such as mobile phone, panel computer and intelligent televisions.
In prior art, in intelligent television development process, commissioning staff often needs to debug intelligent television.Commissioning staff, when debugging intelligent television, usually by repeatedly entering certain debugging mode with duration by the several button of certain on intelligent television body, and debugs intelligent television under this certain debugging mode.
But, above-mentioned method of debugging intelligent television, because intelligent television body is larger, therefore results through the speed ratio repeatedly entering debugging mode with duration by the several button of certain on intelligent television body slower, and debugging efficiency is lower, thus extend debugging cycle.
Summary of the invention
Embodiments of the invention provide a kind of method and the intelligent television that enter debugging mode, can enter each debugging mode fast, thus improve debugging efficiency, shorten debugging cycle.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, the embodiment of the present invention provides a kind of method entering debugging mode, comprising:
Receive the first instruction that remote controller sends, described first instruction is used to indicate and arranges the value of the first universal input/output GPIO pin and the value of the second GPIO pin;
According to described first instruction, the value of described first GPIO pin and the value of described second GPIO pin are set;
According to the value of the value of described first GPIO pin after arranging and described second GPIO pin after arranging, enter with arrange after the value of described first GPIO pin and debugging mode corresponding to the value of described second GPIO pin after arranging.
In the first possible implementation of first aspect, described first instruction comprises: start-up command, AccessPort instruction, fast startup brush machine instruction and the instruction of reparation brush machine.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, described according to described first instruction, the value of described first GPIO pin and the value of described second GPIO pin are set, specifically comprise:
If described first instruction is described start-up command, then according to described start-up command, the value of described first GPIO pin is set for " 0 ", the value of described second GPIO pin is set for " 0 "; Or,
If described first instruction is described AccessPort instruction, then according to described AccessPort instruction, the value of described first GPIO pin is set for " 0 ", the value of described second GPIO pin is set for " 1 "; Or,
If described first instruction is the instruction of described quick startup brush machine, then according to the instruction of described quick startup brush machine, the value of described first GPIO pin is set for " 1 ", the value of described second GPIO pin is set for " 0 "; Or,
If described first instruction is the instruction of described reparation brush machine, then according to the instruction of described reparation brush machine, the value of described first GPIO pin is set for " 1 ", the value of described second GPIO pin is set for " 1 ".
In conjunction with the implementation that the second of first aspect is possible, in the implementation that the third is possible, described debugging mode comprises: power on mode, AccessPort pattern, fast startup brush machine pattern and reparation brush machine pattern,
Wherein, the value of the described value according to described first GPIO pin after arranging and described second GPIO pin after arranging, enter with arrange after the value of described first GPIO pin and debugging mode corresponding to the value of described second GPIO pin after arranging, specifically comprise:
If the value of described first GPIO pin after arranging is " 0 ", and the value of described second GPIO pin after arranging is " 0 ", then enter the described power on mode corresponding with " 00 "; Or,
If the value of described first GPIO pin after arranging is " 0 ", and the value of described second GPIO pin after arranging is " 1 ", then enter the described AccessPort pattern corresponding with " 01 "; Or,
If the value of described first GPIO pin after arranging is " 1 ", and the value of described second GPIO pin after arranging is " 0 ", then enter the described quick startup brush machine pattern corresponding with " 10 "; Or,
If the value of described first GPIO pin after arranging is " 1 ", and the value of described second GPIO pin after arranging is " 1 ", then enter the described reparation brush machine pattern corresponding with " 11 ".
In conjunction with the first possible implementation of aforesaid first aspect or first aspect to any one implementation in the third possible implementation, in the 4th kind of possible implementation,
Described first instruction is the key value of at least one button preset in described remote controller.
Second aspect, the embodiment of the present invention provides a kind of intelligent television, comprising:
Receiving element, for receiving the first instruction that remote controller sends, described first instruction is used to indicate the value of value and the second GPIO pin arranging the first GPIO pin;
Setting unit, for described first instruction received according to described receiving element, arranges the value of described first GPIO pin and the value of described second GPIO pin;
Enter unit, for the value of the value of described first GPIO pin after arranging according to described setting unit and described second GPIO pin after arranging, enter with arrange after the value of described first GPIO pin and debugging mode corresponding to the value of described second GPIO pin after arranging.
In the first possible implementation of second aspect,
Described first instruction that described receiving element receives comprises: start-up command, AccessPort instruction, fast startup brush machine instruction and the instruction of reparation brush machine.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible,
Described setting unit, if be described start-up command specifically for described first instruction of described receiving element reception, then according to described start-up command, arrange the value of described first GPIO pin for " 0 ", arranges the value of described second GPIO pin for " 0 "; Or,
If described first instruction that described receiving element receives is described AccessPort instruction, then according to described AccessPort instruction, the value of described first GPIO pin is set for " 0 ", the value of described second GPIO pin is set for " 1 "; Or,
If described first instruction that described receiving element receives is the instruction of described quick startup brush machine, then according to the instruction of described quick startup brush machine, the value of described first GPIO pin is set for " 1 ", the value of described second GPIO pin is set for " 0 "; Or,
If described first instruction that described receiving element receives is the instruction of described reparation brush machine, then according to the instruction of described reparation brush machine, the value of described first GPIO pin is set for " 1 ", the value of described second GPIO pin is set for " 1 ".
In conjunction with the implementation that the second of second aspect is possible, in the implementation that the third is possible, described in enter the described debugging mode that unit enters and comprise: power on mode, AccessPort pattern, start brush machine pattern and repair brush machine pattern fast,
Wherein, described in enter unit, if the value of described first GPIO pin after arranging specifically for described setting unit is " 0 ", and the value of described second GPIO pin after arranging is " 0 ", then enter the described power on mode corresponding with " 00 "; Or,
If the value of described first GPIO pin after described setting unit is arranged is " 0 ", and the value of described second GPIO pin after arranging is " 1 ", then enter the described AccessPort pattern corresponding with " 01 "; Or,
If the value of described first GPIO pin after described setting unit is arranged is " 1 ", and the value of described second GPIO pin after arranging is " 0 ", then enter the described quick startup brush machine pattern corresponding with " 10 "; Or,
If the value of described first GPIO pin after described setting unit is arranged is " 1 ", and the value of described second GPIO pin after arranging is " 1 ", then enter the described reparation brush machine pattern corresponding with " 11 ".
In conjunction with the first possible implementation of aforesaid second aspect or second aspect to any one implementation in the third possible implementation, in the 4th kind of possible implementation,
Described first instruction that described receiving element receives is the key value of at least one button preset in described remote controller.
Method and the intelligent television of what the embodiment of the present invention provided enter debugging mode, by receiving the first instruction that remote controller sends, first instruction is used to indicate the value of value and the second GPIO pin arranging the first GPIO pin, and according to the first instruction, the value of the first GPIO pin and the value of the second GPIO pin are set, and according to the value of the value of the first GPIO pin after arranging and the second GPIO pin after arranging, enter with arrange after the value of the first GPIO pin and debugging mode corresponding to the value of the second GPIO pin after arranging.Pass through the program, due to intelligent television can according to user use a teleswitch send instruction, by arranging the value of corresponding GPIO pin, to enter each corresponding different debugging mode, and without the need to repeatedly entering certain debugging mode with duration by the several button of certain on intelligent television body according to user, therefore, it is possible to enter each debugging mode fast, thus improve debugging efficiency, shorten debugging cycle.
Accompanying drawing explanation
A kind of method flow diagram one entering debugging mode that Fig. 1 provides for the embodiment of the present invention;
A kind of method flow diagram two entering debugging mode that Fig. 2 provides for the embodiment of the present invention;
The structural representation of the intelligent television 1 that Fig. 3 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing to the embodiment of the present invention provide a kind of enter debugging mode method and intelligent television be described in detail.
Embodiment one
The embodiment of the present invention provides a kind of method entering debugging mode, as shown in Figure 1, comprising:
S101, intelligent television receive the first instruction that remote controller sends, and wherein, the first instruction can be used for indicating intelligent TV and arranges a GPIO(GeneralPurposeInputOutput, universal input/output) value of pin and the value of the second GPIO pin.
In intelligent television development process, commissioning staff need carry out various debugging to intelligent television.What the embodiment of the present invention provided enters in the method for debugging mode, intelligent television can receive commissioning staff use a teleswitch send the first instruction, and according to this first instruction, by arranging the value of the first GPIO pin and the value of the second GPIO pin, to enter corresponding debugging mode, wherein, the first instruction can be used for indicating intelligent TV and arranges the value of the first GPIO pin and the value of the second GPIO pin.
It will be appreciated by those skilled in the art that, GPIO can be called bus extender, it utilizes industrial standard I2C(Inter-IntegratedCircuit, internal integrated circuit) bus, SMBus(SystemManagementBus, System Management Bus) or SPI(SerialPeripheralInterface, Serial Peripheral Interface (SPI)) simplify the expansion of I/O mouth.When microcontroller or chipset do not have enough I/O ports, or when system needs adopt far-end serial communication or control, GPIO product can provide extra control & monitor function.
It should be noted that, above-mentioned first GPIO pin and the second GPIO pin can be what preset.First instruction can be the key value of at least one button preset in remote controller, and wherein, above-mentioned remote controller can be Infrared remote controller.
Further, due to the characteristic of android system, except commissioning staff can debug intelligent television in intelligent television development process, domestic consumer also can obtain brush machine software kit from the manufacturer of intelligent television and carry out brush machine voluntarily.The method of what the embodiment of the present invention provided enter debugging mode can make commissioning staff and domestic consumer enter debugging mode rapidly to debug intelligent television, and can switch under each debugging mode easily, thus improve debugging efficiency, shorten debugging cycle.
S102, intelligent television, according to the first instruction, arrange the value of the first GPIO pin and the value of the second GPIO pin.
After intelligent television receives the first instruction of remote controller transmission, intelligent television can according to the first instruction, the value of the first GPIO pin and the value of the second GPIO pin are set, namely after intelligent television receives the first instruction, intelligent television according to the difference of the first instruction, can arrange the value of the first GPIO pin and the value of the second GPIO pin respectively.
It should be noted that, generally, the state of GPIO pin can comprise high level and low level two states, if high level represents with " 1 ", low level represents with " 0 ", then each GPIO pin all has " 1 ", " 0 " two states.In the embodiment of the present invention, adopt the first GPIO pin and two the pin combinations of the second GPIO pin can represent four kinds of states, these four kinds of states can be " 00 ", " 01 ", " 10 ", " 11 " respectively, namely can use the debugging mode that these four kinds of state representation four kinds are different.
S103, intelligent television according to the value of the value of the first GPIO pin after arranging and the second GPIO pin after arranging, enter with arrange after the value of the first GPIO pin and debugging mode corresponding to the value of the second GPIO pin after arranging.
After intelligent television arranges the value of the first GPIO pin and the value of the second GPIO pin, intelligent television can according to the value of the value of this first GPIO pin after arranging and this second GPIO pin after arranging, enter with arrange after the value of this first GPIO pin and debugging mode corresponding to the value of this second GPIO pin after arranging.
Further, what the embodiment of the present invention provided enters in the method for debugging mode, commissioning staff or domestic consumer trigger the first instruction by remote controller, and this first instruction can be sent to intelligent television by remote controller, make intelligent television that can the value of the first GPIO pin and the value of the second GPIO pin be set according to the first instruction received, and according to the value of the value of the first GPIO pin after arranging and the second GPIO pin after arranging, enter with arrange after the value of the first GPIO pin and debugging mode corresponding to the value of the second GPIO pin after arranging, each corresponding debugging mode can be entered rapidly, thus raising debugging efficiency, shorten debugging cycle.
The embodiment of the present invention provides a kind of method entering debugging mode, the first instruction of remote controller transmission is received by intelligent television, first instruction is used to indicate intelligent television and arranges the value of the first GPIO pin and the value of the second GPIO pin, and according to the first instruction, the value of the first GPIO pin and the value of the second GPIO pin are set, and intelligent television is according to the value of the value of the first GPIO pin after arranging and the second GPIO pin after arranging, enter with arrange after the value of the first GPIO pin and debugging mode corresponding to the value of the second GPIO pin after arranging.Pass through the program, due to intelligent television can according to user use a teleswitch send instruction, by arranging the value of corresponding GPIO pin, to enter each corresponding different debugging mode, and without the need to repeatedly entering certain debugging mode with duration by the several button of certain on intelligent television body according to user, therefore, it is possible to enter each debugging mode fast, thus improve debugging efficiency, shorten debugging cycle.
Embodiment two
The embodiment of the present invention provides a kind of method entering debugging mode, and as shown in Figure 2, the method can comprise:
S201, intelligent television receive the first instruction that remote controller sends, and the first instruction can comprise: start-up command, AccessPort instruction, fastboot(start fast) instruction of brush machine and recovery(repair) instruction of brush machine.
In intelligent television development process, commissioning staff need carry out various debugging to intelligent television.What the embodiment of the present invention provided enters in the method for debugging mode, intelligent television can receive commissioning staff use a teleswitch send the first instruction, and according to this first instruction, by arranging the value of the first GPIO pin and the value of the second GPIO pin, to enter corresponding debugging mode, wherein, the first instruction can be used for indicating intelligent TV and arranges the value of the first GPIO pin and the value of the second GPIO pin.
It will be understood by those skilled in the art that GPIO can be called bus extender, its be utilize industrial standard I2C bus, expansion that SMBus or SPI simplifies I/O mouth.When microcontroller or chipset do not have enough I/O ports, or when system needs adopt far-end serial communication or control, GPIO product can provide extra control & monitor function.
Be understandable that, the first instruction can comprise: start-up command, AccessPort instruction, the machine instruction of fastboot brush and the instruction of recovery brush machine.Wherein, start-up command can be used for starting power on mode; AccessPort instruction can be used for opening AccessPort pattern; The instruction of fastboot brush machine can be used for opening fastboot brush machine pattern; The instruction of recovery brush machine can be used for opening recovery brush machine pattern.Wherein, power on mode is for starting the system of intelligent television; AccessPort pattern can be used for opening serially printing, and software developer checks the start-up course of the system of intelligent television from serial ports, to debug the bug(defect of the system of intelligent television); Fastboot brush machine pattern can be used for opening fastboot debugging, software developer by USB(UniversalSerialBus, USB) connecting line programming and/or erasing specified partition; Recovery brush machine pattern can be used for entering recovery debugging, the software upgrade package of the system of intelligent television whether is had in search external mobile equipment, if there is the software upgrade package of the system of intelligent television in external mobile equipment, intelligent television then uses this AKU to carry out software upgrading to the system of intelligent television, if without the software upgrade package of the system of intelligent television in external mobile equipment, intelligent television then carries out factory reset.
It should be noted that, above-mentioned first GPIO pin and the second GPIO pin can be what preset.First instruction can be the key value of at least one button preset in remote controller, and wherein, above-mentioned remote controller can be Infrared remote controller.
Further, due to the characteristic of android system, except commissioning staff can debug intelligent television in intelligent television development process, domestic consumer also can obtain brush machine software kit from the manufacturer of intelligent television and carry out brush machine voluntarily.The method of what the embodiment of the present invention provided enter debugging mode can make commissioning staff and domestic consumer enter debugging mode rapidly to debug intelligent television, and can switch under each debugging mode easily, thus improve debugging efficiency, shorten debugging cycle.
S202, intelligent television judge the first instruction.
After intelligent television receives the first instruction, intelligent television can judge the first instruction, to determine that the first instruction is start-up command, AccessPort instruction, the machine instruction of fastboot brush or the instruction of recovery brush machine.
Concrete, after intelligent television receives the key value of at least one button of expression first instruction, first key value of preserving in advance in the system of the key value of this at least one button and intelligent television can contrast by intelligent television, if the key value of this at least one button is identical with this first key value, intelligent television then determines that this first instruction is start-up command, AccessPort instruction, the machine instruction of fastboot brush or the instruction of recovery brush machine.Wherein, the first key value can for the key value for representing the key value of start-up command, the key value of AccessPort instruction, the key value of fastboot brush machine instruction or the instruction of recovery brush machine of preserving in advance in the system of intelligent television.
Exemplary, if the first instruction is start-up command, then corresponding with representing the key value of start-up command button can be " Power(starts shooting) " key; If the first instruction is AccessPort instruction, then corresponding with representing the key value of AccessPort instruction button can be " 1+4+7+Enter(OK button) " key; If the first instruction is the instruction of fastboot brush machine, then corresponding with representing the key value of fastboot brush machine instruction button can be " 2+5+8+Enter " key; If the first instruction is the instruction of recovery brush machine, then corresponding with representing the key value of recovery brush machine instruction button can be " 3+6+9+Enter " key.
It should be noted that, in actual use, the key value of above-mentioned expression first instruction can design according to actual user demand, and namely corresponding with the key value of expression first instruction button also can design according to actual user demand, and the present invention does not limit.
Further, after intelligent television judges the first instruction, intelligent television according to the first instruction, can arrange the value of the first GPIO pin and the value of the second GPIO pin.
It should be noted that, generally, the state of GPIO pin can comprise high level and low level two states, if high level represents with " 1 ", low level represents with " 0 ", then each GPIO pin all has " 1 ", " 0 " two values.In the embodiment of the present invention, adopt the combination of the value of the first GPIO pin and the second GPIO pin two pins can represent four kinds of states, these four kinds of states can be expressed as " 00 ", " 01 ", " 10 ", " 11 " respectively, namely can use the debugging mode that these four kinds of state representation four kinds are different.
Concrete, because above-mentioned first instruction can comprise: start-up command, AccessPort instruction, the machine instruction of fastboot brush and the instruction of recovery brush machine, therefore, for each instruction above-mentioned, the value of value and the second GPIO pin that intelligent television all can arrange the first GPIO pin is that different value is to form the combination of different values, namely after intelligent television receives the first instruction, intelligent television can according to the difference of the first instruction, arranges the value of the first GPIO pin and the value of the second GPIO pin respectively to form the combination of different values.The description stating S203-S206 specific as follows.
If S203 first instruction is start-up command, intelligent television, then according to start-up command, arranges the value of the first GPIO pin for " 0 ", arranges the value of the second GPIO pin for " 0 ".
After intelligent television judges the first instruction, if intelligent television determines that the first instruction is start-up command, intelligent television then according to start-up command, can arrange the value of the first GPIO pin for " 0 ", arranges the value of the second GPIO pin for " 0 ".
If S204 first instruction is AccessPort instruction, intelligent television, then according to AccessPort instruction, arranges the value of the first GPIO pin for " 0 ", arranges the value of the second GPIO pin for " 1 ".
Accordingly, after intelligent television judges the first instruction, if intelligent television determines that the first instruction is AccessPort instruction, intelligent television then can according to AccessPort instruction, the value of the first GPIO pin is set for " 0 ", the value of the second GPIO pin is set for " 1 ".
If S205 first instruction is the instruction of fastboot brush machine, intelligent television, then according to the instruction of fastboot brush machine, arranges the value of the first GPIO pin for " 1 ", arranges the value of the second GPIO pin for " 0 ".
Accordingly, after intelligent television judges the first instruction, if intelligent television determines that the first instruction is the instruction of fastboot brush machine, intelligent television then can according to the instruction of fastboot brush machine, the value of the first GPIO pin is set for " 1 ", the value of the second GPIO pin is set for " 0 ".
If S206 first instruction is the instruction of recovery brush machine, intelligent television, then according to the instruction of recovery brush machine, arranges the value of the first GPIO pin for " 1 ", arranges the value of the second GPIO pin for " 1 ".
Accordingly, after intelligent television judges the first instruction, if intelligent television determines that the first instruction is the instruction of recovery brush machine, intelligent television then can according to the instruction of recovery brush machine, the value of the first GPIO pin is set for " 1 ", the value of the second GPIO pin is set for " 1 ".
It should be noted that, the combination of the value of the first GPIO pin that the intelligent television that above-mentioned S203-S206 describes is arranged and the value of the second GPIO pin is not only confined to each combination above-mentioned, namely the four kinds of states combined by " 0 " and " 1 " can correspond to above-mentioned four kinds of instructions respectively, and its corresponding relation can be not limited to the corresponding relation of foregoing description.Such as, start-up command can corresponding " 00 ", " 01 ", any one state in " 10 " and " 11 " four kinds of states, but state corresponding to start-up command state need corresponding with other three instructions are not identical.
Further, the value of employing first GPIO pin that the embodiment of the present invention provides and the combination of the value of the second GPIO pin represent the method for debugging mode, also two kinds of debugging modes can be represented for the value of an employing GPIO pin, can also represent multiple debugging mode for the combination of the value adopting multiple GPIO pin, the present invention does not limit.The combination of the value of GPIO pin and the value of multiple GPIO pin is adopted to represent that the method for debugging mode is all within protection scope of the present invention for other.
Further, after intelligent television arranges the value of the first GPIO pin and the value of the second GPIO pin, intelligent television can according to the value of the value of the first GPIO pin after arranging and the second GPIO pin after arranging, enter with arrange after the value of the first GPIO pin and debugging mode corresponding to the value of the second GPIO pin after arranging.
Concrete, corresponding to above-mentioned first instruction, the debugging mode that intelligent television can enter can comprise: power on mode, AccessPort pattern, fastboot brush machine pattern and recovery brush machine pattern, namely for each debugging mode above-mentioned, intelligent television all can detect the value of the first default GPIO pin and the value of the second GPIO pin, and the different debugging mode of each correspondence is entered according to the value of the value of the first GPIO pin after arranging and the second GPIO pin after arranging, namely after intelligent television arranges the value of the first GPIO pin and the value of the second GPIO pin according to the first instruction, intelligent television can according to the value of the first GPIO pin after arranging with arrange after the second GPIO pin value difference enter corresponding debugging mode respectively.The description stating S207-S210 specific as follows.
If the value of the first GPIO pin after S207 is arranged is " 0 ", and the value of the second GPIO pin after arranging is " 0 ", and intelligent television then enters the power on mode corresponding with " 00 ".
After intelligent television arranges the value of the first GPIO pin and the value of the second GPIO pin, if the value of the first GPIO pin after intelligent television is arranged is " 0 ", and the value of the second GPIO pin after arranging is " 0 ", intelligent television then can enter the power on mode corresponding with " 00 ".
If the value of the first GPIO pin after S208 is arranged is " 0 ", and the value of the second GPIO pin after arranging is " 1 ", and intelligent television then enters the AccessPort pattern corresponding with " 01 ".
Accordingly, after intelligent television arranges the value of the first GPIO pin and the value of the second GPIO pin, if the value of the first GPIO pin after intelligent television is arranged is " 0 ", and the value of the second GPIO pin after arranging is " 1 ", and intelligent television then can enter the AccessPort pattern corresponding with " 01 ".
If the value of the first GPIO pin after S209 is arranged is " 1 ", and the value of the second GPIO pin after arranging is " 0 ", and intelligent television then enters the fastboot brush machine pattern corresponding with " 10 ".
Accordingly, after intelligent television arranges the value of the first GPIO pin and the value of the second GPIO pin, if the value of the first GPIO pin after intelligent television is arranged is " 1 ", and the value of the second GPIO pin after arranging is " 0 ", intelligent television then can enter the fastboot brush machine pattern corresponding with " 10 ".
If the value of the first GPIO pin after S210 is arranged is " 1 ", and the value of the second GPIO pin after arranging is " 1 ", and intelligent television then enters the recovery brush machine pattern corresponding with " 11 ".
Accordingly, after intelligent television arranges the value of the first GPIO pin and the value of the second GPIO pin, if the value of the first GPIO pin after intelligent television is arranged is " 1 ", and the value of the second GPIO pin after arranging is " 1 ", intelligent television then can enter the recovery brush machine pattern corresponding with " 11 ".
It should be noted that, the corresponding relation between the combination of the value of above-mentioned first instruction and the first GPIO pin and the value of the second GPIO pin, need and debugging mode corresponding with the corresponding relation between the value of the first GPIO pin and the combination of the value of the second GPIO pin.Such as, if the first instruction is start-up command, corresponding with the first instruction arrange after the value of the first GPIO pin and being combined as " 00 " of the value of the second GPIO pin, then corresponding with this combination " 00 " debugging mode should be power on mode.
Further, what the embodiment of the present invention provided enters in the method for debugging mode, commissioning staff or domestic consumer trigger the first instruction by remote controller, and this first instruction can be sent to intelligent television by remote controller, make intelligent television that can the value of the first GPIO pin and the value of the second GPIO pin be set according to the first instruction received, and according to the value of the value of the first GPIO pin after arranging and the second GPIO pin after arranging, enter with arrange after the value of the first GPIO pin and debugging mode corresponding to the value of the second GPIO pin after arranging, each corresponding debugging mode can be entered rapidly, thus raising debugging efficiency, shorten debugging cycle.
The embodiment of the present invention provides a kind of method entering debugging mode, the first instruction of remote controller transmission is received by intelligent television, first instruction is used to indicate intelligent television and arranges the value of the first GPIO pin and the value of the second GPIO pin, and according to the first instruction, the value of the first GPIO pin and the value of the second GPIO pin are set, and intelligent television is according to the value of the value of the first GPIO pin after arranging and the second GPIO pin after arranging, enter with arrange after the value of the first GPIO pin and debugging mode corresponding to the value of the second GPIO pin after arranging.Pass through the program, due to intelligent television can according to user use a teleswitch send instruction, by arranging the value of corresponding GPIO pin, to enter each corresponding different debugging mode, and without the need to repeatedly entering certain debugging mode with duration by the several button of certain on intelligent television body according to user, therefore, it is possible to enter each debugging mode fast, thus improve debugging efficiency, shorten debugging cycle.
Embodiment three
As shown in Figure 3, the embodiment of the present invention provides a kind of intelligent television 1, and this intelligent television 1 can comprise:
Receiving element 10, for receiving the first instruction that remote controller sends, described first instruction is used to indicate the value of value and the second GPIO pin arranging the first GPIO pin.
Setting unit 11, for described first instruction received according to described receiving element 10, arranges the value of described first GPIO pin and the value of described second GPIO pin.
Enter unit 12, for the value of the value of described first GPIO pin after arranging according to described setting unit 11 and described second GPIO pin after arranging, enter with arrange after the value of described first GPIO pin and debugging mode corresponding to the value of described second GPIO pin after arranging.
Optionally, described first instruction that described receiving element 10 receives comprises: start-up command, AccessPort instruction, the machine instruction of fastboot brush and the instruction of recovery brush machine.
Optionally, described setting unit 11, if be described start-up command specifically for described first instruction of described receiving element 10 reception, then according to described start-up command, the value of described first GPIO pin is set for " 0 ", the value of described second GPIO pin is set for " 0 "; Or,
If described first instruction that described receiving element 10 receives is described AccessPort instruction, then according to described AccessPort instruction, the value of described first GPIO pin is set for " 0 ", the value of described second GPIO pin is set for " 1 "; Or,
If described first instruction that described receiving element 10 receives is the instruction of described fastboot brush machine, then according to the instruction of described fastboot brush machine, the value of described first GPIO pin is set for " 1 ", the value of described second GPIO pin is set for " 0 "; Or,
If described first instruction that described receiving element 10 receives is the instruction of described recovery brush machine, then according to the instruction of described recovery brush machine, the value of described first GPIO pin is set for " 1 ", the value of described second GPIO pin is set for " 1 ".
Optionally, described in enter the described debugging mode that unit 12 enters and comprise: power on mode, AccessPort pattern, fastboot brush machine pattern and recovery brush machine pattern,
Wherein, described in enter unit 12, if the value of described first GPIO pin after arranging specifically for described setting unit 11 is " 0 ", and the value of described second GPIO pin after arranging is " 0 ", then enter the described power on mode corresponding with " 00 "; Or,
If the value of described first GPIO pin after described setting unit 11 is arranged is " 0 ", and the value of described second GPIO pin after arranging is " 1 ", then enter the described AccessPort pattern corresponding with " 01 "; Or,
If the value of described first GPIO pin after described setting unit 11 is arranged is " 1 ", and the value of described second GPIO pin after arranging is " 0 ", then enter the described fastboot brush machine pattern corresponding with " 10 "; Or,
If the value of described first GPIO pin after described setting unit 11 is arranged is " 1 ", and the value of described second GPIO pin after arranging is " 1 ", then enter the described recovery brush machine pattern corresponding with " 11 ".
Optionally, described first instruction that described receiving element 10 receives is the key value of at least one button preset in described remote controller.
The embodiment of the present invention provides a kind of intelligent television, this intelligent television receives the first instruction that remote controller sends, first instruction is used to indicate intelligent television and arranges the value of the first GPIO pin and the value of the second GPIO pin, and according to the first instruction, the value of the first GPIO pin and the value of the second GPIO pin are set, and this intelligent television is according to the value of the value of the first GPIO pin after arranging and the second GPIO pin after arranging, enter with arrange after the value of the first GPIO pin and debugging mode corresponding to the value of the second GPIO pin after arranging.Pass through the program, due to intelligent television can according to user use a teleswitch send instruction, by arranging the value of corresponding GPIO pin, to enter each corresponding different debugging mode, and without the need to repeatedly entering certain debugging mode with duration by the several button of certain on intelligent television body according to user, therefore, it is possible to enter each debugging mode fast, thus improve debugging efficiency, shorten debugging cycle.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by device is divided into different functional modules, to complete all or part of function described above.The specific works process of the device of foregoing description, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be a physical location or multiple physical location, namely can be positioned at a place, or also can be distributed to multiple different local.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a read/write memory medium.Based on such understanding, the part that technical scheme 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 software product is stored in a storage medium, comprise all or part of step of some instructions in order to make an equipment (can be single-chip microcomputer, chip etc.) or processor (processor) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory, magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (8)

1. enter a method for debugging mode, it is characterized in that, comprising:
Receive the first instruction that remote controller sends, described first instruction is used to indicate and arranges the value of the first universal input/output GPIO pin and the value of the second GPIO pin, and described first instruction comprises: start-up command, AccessPort instruction, fast startup brush machine instruction and the instruction of reparation brush machine;
According to described first instruction, the value of described first GPIO pin and the value of described second GPIO pin are set;
According to the value of the value of described first GPIO pin after arranging and described second GPIO pin after arranging, enter with arrange after the value of described first GPIO pin and debugging mode corresponding to the value of described second GPIO pin after arranging.
2. the method entering debugging mode according to claim 1, is characterized in that, described according to described first instruction, arranges the value of described first GPIO pin and the value of described second GPIO pin, specifically comprises:
If described first instruction is described start-up command, then according to described start-up command, the value of described first GPIO pin is set for " 0 ", the value of described second GPIO pin is set for " 0 "; Or,
If described first instruction is described AccessPort instruction, then according to described AccessPort instruction, the value of described first GPIO pin is set for " 0 ", the value of described second GPIO pin is set for " 1 "; Or,
If described first instruction is the instruction of described quick startup brush machine, then according to the instruction of described quick startup brush machine, the value of described first GPIO pin is set for " 1 ", the value of described second GPIO pin is set for " 0 "; Or,
If described first instruction is the instruction of described reparation brush machine, then according to the instruction of described reparation brush machine, the value of described first GPIO pin is set for " 1 ", the value of described second GPIO pin is set for " 1 ".
3. the method entering debugging mode according to claim 2, is characterized in that, described debugging mode comprises: power on mode, AccessPort pattern, fast startup brush machine pattern and reparation brush machine pattern,
Wherein, the value of the described value according to described first GPIO pin after arranging and described second GPIO pin after arranging, enter with arrange after the value of described first GPIO pin and debugging mode corresponding to the value of described second GPIO pin after arranging, specifically comprise:
If the value of described first GPIO pin after arranging is " 0 ", and the value of described second GPIO pin after arranging is " 0 ", then enter the described power on mode corresponding with " 00 "; Or,
If the value of described first GPIO pin after arranging is " 0 ", and the value of described second GPIO pin after arranging is " 1 ", then enter the described AccessPort pattern corresponding with " 01 "; Or,
If the value of described first GPIO pin after arranging is " 1 ", and the value of described second GPIO pin after arranging is " 0 ", then enter the described quick startup brush machine pattern corresponding with " 10 "; Or,
If the value of described first GPIO pin after arranging is " 1 ", and the value of described second GPIO pin after arranging is " 1 ", then enter the described reparation brush machine pattern corresponding with " 11 ".
4. the method entering debugging mode according to any one of claim 1-3, is characterized in that,
Described first instruction is the key value of at least one button preset in described remote controller.
5. an intelligent television, is characterized in that, comprising:
Receiving element, for receiving the first instruction that remote controller sends, described first instruction is used to indicate the value of value and the second GPIO pin arranging the first GPIO pin, and described first instruction comprises: start-up command, AccessPort instruction, fast startup brush machine instruction and the instruction of reparation brush machine;
Setting unit, for described first instruction received according to described receiving element, arranges the value of described first GPIO pin and the value of described second GPIO pin;
Enter unit, for the value of the value of described first GPIO pin after arranging according to described setting unit and described second GPIO pin after arranging, enter with arrange after the value of described first GPIO pin and debugging mode corresponding to the value of described second GPIO pin after arranging.
6. intelligent television according to claim 5, is characterized in that,
Described setting unit, if be described start-up command specifically for described first instruction of described receiving element reception, then according to described start-up command, arrange the value of described first GPIO pin for " 0 ", arranges the value of described second GPIO pin for " 0 "; Or,
If described first instruction that described receiving element receives is described AccessPort instruction, then according to described AccessPort instruction, the value of described first GPIO pin is set for " 0 ", the value of described second GPIO pin is set for " 1 "; Or,
If described first instruction that described receiving element receives is the instruction of described quick startup brush machine, then according to the instruction of described quick startup brush machine, the value of described first GPIO pin is set for " 1 ", the value of described second GPIO pin is set for " 0 "; Or,
If described first instruction that described receiving element receives is the instruction of described reparation brush machine, then according to the instruction of described reparation brush machine, the value of described first GPIO pin is set for " 1 ", the value of described second GPIO pin is set for " 1 ".
7. intelligent television according to claim 6, is characterized in that, described in enter the described debugging mode that unit enters and comprise: power on mode, AccessPort pattern, start brush machine pattern and repair brush machine pattern fast,
Wherein, described in enter unit, if the value of described first GPIO pin after arranging specifically for described setting unit is " 0 ", and the value of described second GPIO pin after arranging is " 0 ", then enter the described power on mode corresponding with " 00 "; Or,
If the value of described first GPIO pin after described setting unit is arranged is " 0 ", and the value of described second GPIO pin after arranging is " 1 ", then enter the described AccessPort pattern corresponding with " 01 "; Or,
If the value of described first GPIO pin after described setting unit is arranged is " 1 ", and the value of described second GPIO pin after arranging is " 0 ", then enter the described quick startup brush machine pattern corresponding with " 10 "; Or,
If the value of described first GPIO pin after described setting unit is arranged is " 1 ", and the value of described second GPIO pin after arranging is " 1 ", then enter the described reparation brush machine pattern corresponding with " 11 ".
8. the intelligent television according to any one of claim 5-7, is characterized in that,
Described first instruction that described receiving element receives is the key value of at least one button preset in described remote controller.
CN201310633314.0A 2013-11-29 2013-11-29 A kind of method and intelligent television entering debugging mode Active CN103747239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310633314.0A CN103747239B (en) 2013-11-29 2013-11-29 A kind of method and intelligent television entering debugging mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310633314.0A CN103747239B (en) 2013-11-29 2013-11-29 A kind of method and intelligent television entering debugging mode

Publications (2)

Publication Number Publication Date
CN103747239A CN103747239A (en) 2014-04-23
CN103747239B true CN103747239B (en) 2015-11-25

Family

ID=50504223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310633314.0A Active CN103747239B (en) 2013-11-29 2013-11-29 A kind of method and intelligent television entering debugging mode

Country Status (1)

Country Link
CN (1) CN103747239B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183514A (en) * 2015-08-31 2015-12-23 苏州佳世达电通有限公司 Flash mode selection method and electronic apparatus
CN112423068A (en) * 2020-11-18 2021-02-26 深圳创维-Rgb电子有限公司 Smart television debugging method and device, mobile terminal and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007024360A1 (en) * 2005-08-26 2007-03-01 Enuclia Semiconductor, Inc. Video image processing with remote diagnosis
CN101383980A (en) * 2008-10-23 2009-03-11 四川长虹电器股份有限公司 Method for sending remote control command by electronic terminal product

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6532592B1 (en) * 1998-11-09 2003-03-11 Sony Corporation Bi-directional remote control unit and method of using the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007024360A1 (en) * 2005-08-26 2007-03-01 Enuclia Semiconductor, Inc. Video image processing with remote diagnosis
CN101383980A (en) * 2008-10-23 2009-03-11 四川长虹电器股份有限公司 Method for sending remote control command by electronic terminal product

Also Published As

Publication number Publication date
CN103747239A (en) 2014-04-23

Similar Documents

Publication Publication Date Title
CN102609286B (en) A kind of FPGA configurator remote update system based on processor control and method thereof
CN103823698A (en) Method and device for programming and starting FPGA target program and DSP target program
CN102708077A (en) State recognition method and state recognition apparatus
CN104054064B (en) Flexible port configuration based on interface coupling
CN112000351A (en) Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware
CN102646044A (en) System and method for loading programs for multiple touch screens
CN104050067A (en) Method and device for operation of FPGA (Field Programmable Gate Array) in MCU (Microprogrammed Control Unit) chip
CN103576656A (en) Method, device and system for controlling household appliances
CN100383737C (en) Method and system for online loading and upgrading of single-chip microcomputer
CN116150064A (en) Hot plug method of NVME storage device, backboard and computing device
CN102169442A (en) Method, equipment, device and system for performing system boot by using USB (universal serial bus) device
CN103890713A (en) Apparatus and method for managing register information in processing system
CN117477898A (en) Power management integrated circuit, electronic device having the same, and method of operating the same
CN103488516A (en) System repair method and electronic equipment
CN103747239B (en) A kind of method and intelligent television entering debugging mode
CN107526614B (en) Communication method of FPGA development board
CN102075710A (en) Starting operation method for television and television
CN103544413A (en) Method and device for verifying software copyright in intelligent terminal
CN107391329B (en) Method, system and storage device for testing repeated use of mobile terminal
CN102915272A (en) Software testing method, software testing system and television terminal
CN102436413A (en) Board power debugging system and debugging method
CN105718416A (en) Method for upgrading configuration file of FPGA (Field Programmable Gate Array) and upgrading device
US9619355B2 (en) Booting verification method of computer and electronic device
CN103747335B (en) A kind of changing method of smart television mode and device
CN105718338A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20170721

Granted publication date: 20151125

PD01 Discharge of preservation of patent

Date of cancellation: 20200721

Granted publication date: 20151125

PD01 Discharge of preservation of patent
CP03 Change of name, title or address

Address after: 300453 Tianjin Binhai New Area, Tianjin Eco-city, No. 126 Animation and Animation Center Road, Area B1, Second Floor 201-427

Patentee after: Xinle Visual Intelligent Electronic Technology (Tianjin) Co.,Ltd.

Address before: 300467 Tianjin Binhai New Area, Tianjin ecological city animation Middle Road, building, No. two, B1 District, 201-427

Patentee before: LE SHI ZHI XIN ELECTRONIC TECHNOLOGY (TIANJIN) Ltd.

Address after: Room 301-1, Room 301-3, Area B2, Animation Building, No. 126 Animation Road, Zhongxin Eco-city, Tianjin Binhai New Area, Tianjin

Patentee after: LE SHI ZHI XIN ELECTRONIC TECHNOLOGY (TIANJIN) Ltd.

Address before: 300453 Tianjin Binhai New Area, Tianjin Eco-city, No. 126 Animation and Animation Center Road, Area B1, Second Floor 201-427

Patentee before: Xinle Visual Intelligent Electronic Technology (Tianjin) Co.,Ltd.

CP03 Change of name, title or address
PP01 Preservation of patent right

Effective date of registration: 20210201

Granted publication date: 20151125

PP01 Preservation of patent right