CN103747239A - Method for entering debugging mode and smart television - Google Patents

Method for entering debugging mode and smart television Download PDF

Info

Publication number
CN103747239A
CN103747239A CN201310633314.0A CN201310633314A CN103747239A CN 103747239 A CN103747239 A CN 103747239A CN 201310633314 A CN201310633314 A CN 201310633314A CN 103747239 A CN103747239 A CN 103747239A
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.)
Granted
Application number
CN201310633314.0A
Other languages
Chinese (zh)
Other versions
CN103747239B (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

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiments of the invention provide a method for entering the debugging mode and a smart television, and relates to the technical field of electronics. According to the invention, each debugging mode can be entered rapidly so as to improve the debugging efficiency and shorten the debugging period. The method may comprises the following steps: a first instruction sent by a remote control device is received, wherein the first instruction is used to indicate a value for setting a first GPIO pin and a value for setting a second GPIO pin; the value of the first GPIO pin and the value of the second GPIO pin are set according to the first instruction; and a debugging mode corresponding to the set value of the first GPIO pin and the set value of the second GPIO pin is entered according to the set value of the first GPIO pin and the set value of the second GPIO pin.

Description

A kind of method and intelligent television that enters debugging mode
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of method and intelligent television that enters 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, as application such as mobile phone, panel computer and intelligent televisions and give birth to.
In prior art, in intelligent television development process, commissioning staff often needs intelligent television to debug.Commissioning staff, conventionally can be by repeatedly entering certain debugging mode with duration by certain the several button on intelligent television body when intelligent television is debugged, and under this certain debugging mode, intelligent television is debugged.
But, the above-mentioned method that intelligent television is debugged, because intelligent television body is larger, therefore causes the speed ratio by repeatedly entering debugging mode with duration by certain the several button on intelligent television body slower, and debugging efficiency is lower, thereby extended debugging cycle.
Summary of the invention
Embodiments of the invention provide a kind of method and intelligent television that enters debugging mode, can enter fast each debugging mode, thereby 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 that enters debugging mode, comprising:
Receive the first instruction that remote controller sends, described the first instruction is used to indicate the value of first universal input/output GPIO pin and the value of the 2nd GPIO pin is set;
According to described the first instruction, the value of a described GPIO pin and the value of described the 2nd GPIO pin are set;
The value of described the 2nd GPIO pin according to the value of the described GPIO pin after arranging and after arranging, enter with arrange after a described GPIO pin value and arrange after debugging mode corresponding to the value of described the 2nd GPIO pin.
In the possible implementation of the first of first aspect, described the first instruction comprises: start-up command, AccessPort instruction, start the instruction of brush machine and repair the instruction of brush machine fast.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, described according to described the first instruction, the value of a described GPIO pin and the value of described the 2nd GPIO pin are set, specifically comprise:
If described the first instruction is described start-up command, according to described start-up command, the value that a described GPIO pin is set is " 0 ", and the value that described the 2nd GPIO pin is set is " 0 "; Or,
If described the first instruction is described AccessPort instruction, according to described AccessPort instruction, the value that a described GPIO pin is set is " 0 ", and the value that described the 2nd GPIO pin is set is " 1 "; Or,
If described the first instruction is the instruction of described quick startup brush machine,, according to the instruction of described quick startup brush machine, the value that a described GPIO pin is set is " 1 ", and the value that described the 2nd GPIO pin is set is " 0 "; Or,
If described the first instruction is the instruction of described reparation brush machine,, according to the instruction of described reparation brush machine, the value that a described GPIO pin is set is " 1 ", and the value that described the 2nd GPIO pin is set is " 1 ".
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, described debugging mode comprises: power on mode, AccessPort pattern, start brush machine pattern and repair brush machine pattern fast,
Wherein, the value of described described the 2nd GPIO pin according to the value of the described GPIO pin after arranging and after arranging, enter with arrange after a described GPIO pin value and arrange after debugging mode corresponding to the value of described the 2nd GPIO pin, specifically comprise:
If the value of the described GPIO pin after arranging is " 0 ", and the value of described the 2nd GPIO pin after arranging is " 0 ", enters the described power on mode corresponding with " 00 "; Or,
If the value of the described GPIO pin after arranging is " 0 ", and the value of described the 2nd GPIO pin after arranging is " 1 ", enters the described AccessPort pattern corresponding with " 01 "; Or,
If the value of the described GPIO pin after arranging is " 1 ", and the value of described the 2nd GPIO pin after arranging is " 0 ", enters the described quick startup brush machine pattern corresponding with " 10 "; Or,
If the value of the described GPIO pin after arranging is " 1 ", and the value of described the 2nd GPIO pin after arranging is " 1 ", enters the described reparation brush machine pattern corresponding with " 11 ".
In conjunction with the possible implementation of the first of aforesaid first aspect or first aspect to any implementation in the third possible implementation, in the 4th kind of possible implementation,
Described the first instruction is the key value of at least one button default in described remote controller.
Second aspect, the embodiment of the present invention provides a kind of intelligent television, comprising:
Receiving element, the first instruction sending for receiving remote controller, described the first instruction is used to indicate the value of a GPIO pin and the value of the 2nd GPIO pin is set;
Setting unit, for described the first instruction receiving according to described receiving element, arranges the value of a described GPIO pin and the value of described the 2nd GPIO pin;
Enter unit, the value of described the 2nd GPIO pin for the value of the described GPIO pin after arranging according to described setting unit and after arranging, enter with arrange after a described GPIO pin value and arrange after debugging mode corresponding to the value of described the 2nd GPIO pin.
In the possible implementation of the first of second aspect,
Described the first instruction that described receiving element receives comprises: start-up command, AccessPort instruction, start the instruction of brush machine and repair the instruction of brush machine fast.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second,
Described setting unit, if described the first instruction receiving specifically for described receiving element is described start-up command, according to described start-up command, the value that a described GPIO pin is set is " 0 ", the value that described the 2nd GPIO pin is set is " 0 "; Or,
If described the first instruction that described receiving element receives is described AccessPort instruction, according to described AccessPort instruction, the value that a described GPIO pin is set is " 0 ", and the value that described the 2nd GPIO pin is set is " 1 "; Or,
If described the first instruction that described receiving element receives is the instruction of described quick startup brush machine,, according to the instruction of described quick startup brush machine, the value that a described GPIO pin is set is " 1 ", and the value that described the 2nd GPIO pin is set is " 0 "; Or,
If described the first instruction that described receiving element receives is the instruction of described reparation brush machine,, according to the instruction of described reparation brush machine, the value that a described GPIO pin is set is " 1 ", and the value that described the 2nd GPIO pin is set is " 1 ".
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation, 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 the described GPIO pin after arranging specifically for described setting unit is " 0 ", and the value of described the 2nd GPIO pin after arranging is " 0 ", enters the described power on mode corresponding with " 00 "; Or,
If the value of the described GPIO pin after described setting unit arranges is " 0 ", and the value of described the 2nd GPIO pin after arranging is " 1 ", enters the described AccessPort pattern corresponding with " 01 "; Or,
If the value of the described GPIO pin after described setting unit arranges is " 1 ", and the value of described the 2nd GPIO pin after arranging is " 0 ", enters the described quick startup brush machine pattern corresponding with " 10 "; Or,
If the value of the described GPIO pin after described setting unit arranges is " 1 ", and the value of described the 2nd GPIO pin after arranging is " 1 ", enters the described reparation brush machine pattern corresponding with " 11 ".
In conjunction with the possible implementation of the first of aforesaid second aspect or second aspect to any implementation in the third possible implementation, in the 4th kind of possible implementation,
Described the first instruction that described receiving element receives is the key value of at least one button default in described remote controller.
The method that enters debugging mode and intelligent television that the embodiment of the present invention provides, the first instruction sending by receiving remote controller, the first instruction is used to indicate the value of a GPIO pin and the value of the 2nd GPIO pin is set, and according to the first instruction, the value of the one GPIO pin and the value of the 2nd GPIO pin are set, and the value of the 2nd GPIO pin according to the value of the GPIO pin after arranging and after arranging, enter with arrange after a GPIO pin value and arrange after debugging mode corresponding to the value of the 2nd GPIO pin.By this scheme, due to intelligent television can according to user use a teleswitch send instruction, by the value of corresponding GPIO pin is arranged, to enter each corresponding different debugging mode, and without repeatedly entering certain debugging mode with duration by certain the several button on intelligent television body according to user, therefore can enter fast each debugging mode, thereby improve debugging efficiency, shorten debugging cycle.
Accompanying drawing explanation
A kind of method flow diagram one that enters debugging mode that Fig. 1 provides for the embodiment of the present invention;
A kind of method flow diagram two that enters 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
A kind of method and the intelligent television that the enters debugging mode embodiment of the present invention being provided below in conjunction with accompanying drawing is described in detail.
Embodiment mono-
The embodiment of the present invention provides a kind of method that enters 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 the one GPIO(General Purpose Input Output, universal input/output are set) value of pin and the value of the 2nd GPIO pin.
In intelligent television development process, commissioning staff need carry out various debugging to intelligent television.In the method that enters debugging mode that the embodiment of the present invention provides, intelligent television can receive commissioning staff use a teleswitch send the first instruction, and according to this first instruction, value by the value to a GPIO pin and the 2nd GPIO pin arranges, to enter corresponding debugging mode, wherein, the first instruction can be used for indicating intelligent TV the value of the one GPIO pin and the value of the 2nd GPIO pin is set.
It will be appreciated by those skilled in the art that, GPIO can be called bus extender, it is to utilize industrial standard I2C(Inter-Integrated Circuit, internal integrated circuit) bus, SMBus(System Management Bus, System Management Bus) or SPI(Serial Peripheral Interface, Serial Peripheral Interface (SPI)) simplified the expansion of I/O mouth.When microcontroller or chipset do not have enough I/O ports, or when system need to adopt far-end serial communication or control, GPIO product can provide extra control & monitor function.
It should be noted that, an above-mentioned GPIO pin and the 2nd GPIO pin can be default.The first instruction can be the key value of at least one button default 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 voluntarily brush machine.The method that enters debugging mode that the embodiment of the present invention provides can make commissioning staff and domestic consumer enter rapidly debugging mode intelligent television is debugged, and can under each debugging mode, switch easily, thereby improved debugging efficiency, shortened debugging cycle.
S102, intelligent television, according to the first instruction, arrange the value of a GPIO pin and the value of the 2nd GPIO pin.
Intelligent television receives after the first instruction of remote controller transmission, intelligent television can be according to the first instruction, the value of the one GPIO pin and the value of the 2nd GPIO pin are set, be that intelligent television receives after the first instruction, intelligent television can be according to the difference of the first instruction, and the value of a GPIO pin and the value of the 2nd GPIO pin are set respectively.
It should be noted that, generally, the state of GPIO pin can comprise high level and two states of low level, if " 1 " expression for high level, " 0 " expression for low level, each GPIO pin all has " 1 ", " 0 " two states.In the embodiment of the present invention, adopt two pin combinations of a GPIO pin and the 2nd GPIO pin can represent four kinds of states, these four kinds of states can be " 00 ", " 01 ", " 10 ", " 11 " respectively, can use four kinds of different debugging modes of these four kinds of state representation.
The value of S103, the two GPIO pin of intelligent television according to the value of the GPIO pin after arranging and after arranging, enter with arrange after a GPIO pin value and arrange after debugging mode corresponding to the value of the 2nd GPIO pin.
After intelligent television arranges the value of a GPIO pin and the value of the 2nd GPIO pin, intelligent television can be according to the value of the GPIO pin after arranging and after arranging the value of the 2nd GPIO pin, enter with arrange after a GPIO pin value and arrange after debugging mode corresponding to the value of the 2nd GPIO pin.
Further, in the method that enters debugging mode that the embodiment of the present invention provides, commissioning staff or domestic consumer can trigger the first instruction by remote controller, and remote controller can be sent to intelligent television by this first instruction, make intelligent television the value of the one GPIO pin and the value of the 2nd GPIO pin to be set according to the first instruction receiving, and the value of the 2nd GPIO pin according to the value of the GPIO pin after arranging and after arranging, enter with arrange after a GPIO pin value and arrange after debugging mode corresponding to the value of the 2nd GPIO pin, can enter rapidly each corresponding debugging mode, thereby raising debugging efficiency, shorten debugging cycle.
The embodiment of the present invention provides a kind of method that enters debugging mode, by intelligent television, receive the first instruction that remote controller sends, the first instruction is used to indicate intelligent television the value of the one GPIO pin and the value of the 2nd GPIO pin is set, and according to the first instruction, the value of the one GPIO pin and the value of the 2nd GPIO pin are set, and the value of two GPIO pin of intelligent television according to the value of the GPIO pin after arranging and after arranging, enter with arrange after a GPIO pin value and arrange after debugging mode corresponding to the value of the 2nd GPIO pin.By this scheme, due to intelligent television can according to user use a teleswitch send instruction, by the value of corresponding GPIO pin is arranged, to enter each corresponding different debugging mode, and without repeatedly entering certain debugging mode with duration by certain the several button on intelligent television body according to user, therefore can enter fast each debugging mode, thereby improve debugging efficiency, shorten debugging cycle.
Embodiment bis-
The embodiment of the present invention provides a kind of method that enters 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) brush machine instruction and recovery(reparation) instruction of brush machine.
In intelligent television development process, commissioning staff need carry out various debugging to intelligent television.In the method that enters debugging mode that the embodiment of the present invention provides, intelligent television can receive commissioning staff use a teleswitch send the first instruction, and according to this first instruction, value by the value to a GPIO pin and the 2nd GPIO pin arranges, to enter corresponding debugging mode, wherein, the first instruction can be used for indicating intelligent TV the value of the one GPIO pin and the value of the 2nd GPIO pin is set.
It will be understood by those skilled in the art that GPIO can be called bus extender, it is to utilize industrial standard I2C bus, SMBus or SPI to simplify the expansion of I/O mouth.When microcontroller or chipset do not have enough I/O ports, or when system need to 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, fastboot brush machine instruction 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 system of intelligent television); Fastboot brush machine pattern can be used for opening fastboot debugging, and software developer is by USB(Universal Serial Bus, USB) connecting line programming and/or wipe specified partition; Recovery brush machine pattern can be used for entering recovery debugging, in search external mobile equipment, whether there is the software upgrade package of the system of intelligent television, if there is the software upgrade package of the system of intelligent television in external mobile equipment, intelligent television is used 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, intelligent television carries out factory reset in external mobile equipment.
It should be noted that, an above-mentioned GPIO pin and the 2nd GPIO pin can be default.The first instruction can be the key value of at least one button default 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 voluntarily brush machine.The method that enters debugging mode that the embodiment of the present invention provides can make commissioning staff and domestic consumer enter rapidly debugging mode intelligent television is debugged, and can under each debugging mode, switch easily, thereby improved debugging efficiency, shortened 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 as start-up command, AccessPort instruction, fastboot brush machine instruction or the instruction of recovery brush machine.
Concrete, after intelligent television receives the key value of at least one button that represents the first instruction, intelligent television can contrast first key value of preserving in advance in the system of the key value of this at least one button and intelligent television, if the key value of this at least one button is identical with this first key value, intelligent television determines that this first instruction is start-up command, AccessPort instruction, fastboot brush machine instruction or the instruction of recovery brush machine.Wherein, the first key value can in the system of intelligent television, preserve in advance for representing the key value of start-up command, key value, the key value of fastboot brush machine instruction or the key value of recovery brush machine instruction of AccessPort instruction.
Exemplary, if the first instruction is start-up command, the button corresponding with the key value that represents start-up command can be " Power(start) " key; If the first instruction is AccessPort instruction, the button corresponding with the key value that represents AccessPort instruction can be " 1+4+7+Enter(determines key) " key; If the first instruction is the instruction of fastboot brush machine, the button corresponding with the key value that represents the instruction of fastboot brush machine can be " 2+5+8+Enter " key; If the first instruction is the instruction of recovery brush machine, the button corresponding with the key value that represents the instruction of recovery brush machine can be " 3+6+9+Enter " key.
It should be noted that, in actual use, the key value of above-mentioned expression the first instruction can design according to actual user demand, and the button corresponding with the key value that represents the first instruction 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 can be according to the first instruction, and the value of a GPIO pin and the value of the 2nd GPIO pin are set.
It should be noted that, generally, the state of GPIO pin can comprise high level and two states of low level, if " 1 " expression for high level, " 0 " expression for low level, each GPIO pin all has " 1 ", " 0 " two values.In the embodiment of the present invention, adopt the combination of the value of a GPIO pin and two pins of the 2nd GPIO pin can represent four kinds of states, these four kinds of states can be expressed as respectively " 00 ", " 01 ", " 10 ", " 11 ", can use four kinds of different debugging modes of these four kinds of state representation.
Concrete, because above-mentioned the first instruction can comprise: start-up command, AccessPort instruction, fastboot brush machine instruction and the instruction of recovery brush machine, therefore, for above-mentioned each instruction, it is that different value is to form the combination of different values that intelligent television all can arrange the value of a GPIO pin and the value of the 2nd GPIO pin, be that intelligent television receives after the first instruction, intelligent television can be according to the difference of the first instruction, the value of a GPIO pin and the value of the 2nd GPIO pin is set respectively to form the combination of different values.The description of stating S203-S206 specific as follows.
If S203 the first instruction is start-up command, intelligent television is according to start-up command, and the value that a GPIO pin is set is " 0 ", and the value that the 2nd GPIO pin is set is " 0 ".
After intelligent television judges the first instruction, if intelligent television is determined the first instruction, be start-up command, intelligent television can be according to start-up command, and the value that a GPIO pin is set is " 0 ", and the value that the 2nd GPIO pin is set is " 0 ".
If S204 the first instruction is AccessPort instruction, intelligent television is according to AccessPort instruction, and the value that a GPIO pin is set is " 0 ", and the value that the 2nd GPIO pin is set is " 1 ".
Accordingly, after intelligent television judges the first instruction, if intelligent television is determined the first instruction, be AccessPort instruction, intelligent television can be according to AccessPort instruction, the value that the one GPIO pin is set is " 0 ", and the value that the 2nd GPIO pin is set is " 1 ".
If S205 the first instruction is the instruction of fastboot brush machine, intelligent television is according to the instruction of fastboot brush machine, and the value that a GPIO pin is set is " 1 ", and the value that the 2nd GPIO pin is set is " 0 ".
Accordingly, after intelligent television judges the first instruction, if intelligent television is determined the first instruction, be the instruction of fastboot brush machine, intelligent television can be brushed machine instruction according to fastboot, the value that the one GPIO pin is set is " 1 ", and the value that the 2nd GPIO pin is set is " 0 ".
If S206 the first instruction is the instruction of recovery brush machine, intelligent television is according to the instruction of recovery brush machine, and the value that a GPIO pin is set is " 1 ", and the value that the 2nd GPIO pin is set is " 1 ".
Accordingly, after intelligent television judges the first instruction, if intelligent television is determined the first instruction, be the instruction of recovery brush machine, intelligent television can be brushed machine instruction according to recovery, the value that the one GPIO pin is set is " 1 ", and the value that the 2nd GPIO pin is set is " 1 ".
It should be noted that, the value of a GPIO pin of intelligent television setting and the combination of the value of the 2nd GPIO pin that above-mentioned S203-S206 describes are not only confined to above-mentioned each combination, respectively can be corresponding to above-mentioned four kinds of instructions by four kinds of states of " 0 " and " 1 " combination, its corresponding relation can be not limited to the corresponding relation of foregoing description.For example, 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 combination of the value of the employing that the embodiment of the present invention provides the one GPIO pin and the value of the 2nd GPIO pin represents the method for debugging mode, also can be for adopting two kinds of debugging modes of value representation of a GPIO pin, can also be for the combination of the value of the multiple GPIO pins of employing represents multiple debugging mode, the present invention does not limit.The method that represents debugging mode for the combination of the value of other employings GPIO pin and the value of multiple GPIO pins is all within protection scope of the present invention.
Further, after intelligent television arranges the value of a GPIO pin and the value of the 2nd GPIO pin, intelligent television can be according to the value of the GPIO pin after arranging and after arranging the value of the 2nd GPIO pin, enter with arrange after a GPIO pin value and arrange after debugging mode corresponding to the value of the 2nd GPIO pin.
Concrete, corresponding to above-mentioned the 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, for above-mentioned each debugging mode, intelligent television all can detect the value of a default GPIO pin and the value of the 2nd GPIO pin, and the value of the 2nd GPIO pin according to the value of the GPIO pin after arranging and after arranging enters the different debugging mode of each correspondence, be that intelligent television arranges after the value of a GPIO pin and the value of the 2nd GPIO pin according to the first instruction, intelligent television can according to the value of the GPIO pin after arranging with arrange after the 2nd GPIO pin value difference enter respectively corresponding debugging mode.The description of stating S207-S210 specific as follows.
If the value of the GPIO pin after S207 arranges is " 0 ", and the value of the 2nd GPIO pin after arranging is " 0 ", and intelligent television enters the power on mode corresponding with " 00 ".
After intelligent television arranges the value of a GPIO pin and the value of the 2nd GPIO pin, if the value of the GPIO pin after intelligent television arranges is " 0 ", and the value of the 2nd GPIO pin after arranging is " 0 ", intelligent television can enter the power on mode corresponding with " 00 ".
If the value of the GPIO pin after S208 arranges is " 0 ", and the value of the 2nd GPIO pin after arranging is " 1 ", and intelligent television enters the AccessPort pattern corresponding with " 01 ".
Accordingly, after intelligent television arranges the value of a GPIO pin and the value of the 2nd GPIO pin, if the value of the GPIO pin after intelligent television arranges is " 0 ", and the value of the 2nd GPIO pin after arranging is " 1 ", and intelligent television can enter the AccessPort pattern corresponding with " 01 ".
If the value of the GPIO pin after S209 arranges is " 1 ", and the value of the 2nd GPIO pin after arranging is " 0 ", and intelligent television enters the fastboot brush machine pattern corresponding with " 10 ".
Accordingly, after intelligent television arranges the value of a GPIO pin and the value of the 2nd GPIO pin, if the value of the GPIO pin after intelligent television arranges is " 1 ", and the value of the 2nd GPIO pin after arranging is " 0 ", intelligent television can enter the fastboot brush machine pattern corresponding with " 10 ".
If the value of the GPIO pin after S210 arranges is " 1 ", and the value of the 2nd GPIO pin after arranging is " 1 ", and intelligent television enters the recovery brush machine pattern corresponding with " 11 ".
Accordingly, after intelligent television arranges the value of a GPIO pin and the value of the 2nd GPIO pin, if the value of the GPIO pin after intelligent television arranges is " 1 ", and the value of the 2nd GPIO pin after arranging is " 1 ", intelligent television can enter the recovery brush machine pattern corresponding with " 11 ".
It should be noted that, the corresponding relation between the value of above-mentioned the first instruction and a GPIO pin and the combination of the value of the 2nd GPIO pin, need and debugging mode are corresponding with the corresponding relation between the value of a GPIO pin and the combination of the value of the 2nd GPIO pin.For example, if the first instruction is start-up command, being combined as of the value of a GPIO pin after corresponding with the first instruction setting and the value of the 2nd GPIO pin " 00 ", the debugging mode corresponding with this combination " 00 " should be power on mode.
Further, in the method that enters debugging mode that the embodiment of the present invention provides, commissioning staff or domestic consumer can trigger the first instruction by remote controller, and remote controller can be sent to intelligent television by this first instruction, make intelligent television the value of the one GPIO pin and the value of the 2nd GPIO pin to be set according to the first instruction receiving, and the value of the 2nd GPIO pin according to the value of the GPIO pin after arranging and after arranging, enter with arrange after a GPIO pin value and arrange after debugging mode corresponding to the value of the 2nd GPIO pin, can enter rapidly each corresponding debugging mode, thereby raising debugging efficiency, shorten debugging cycle.
The embodiment of the present invention provides a kind of method that enters debugging mode, by intelligent television, receive the first instruction that remote controller sends, the first instruction is used to indicate intelligent television the value of the one GPIO pin and the value of the 2nd GPIO pin is set, and according to the first instruction, the value of the one GPIO pin and the value of the 2nd GPIO pin are set, and the value of two GPIO pin of intelligent television according to the value of the GPIO pin after arranging and after arranging, enter with arrange after a GPIO pin value and arrange after debugging mode corresponding to the value of the 2nd GPIO pin.By this scheme, due to intelligent television can according to user use a teleswitch send instruction, by the value of corresponding GPIO pin is arranged, to enter each corresponding different debugging mode, and without repeatedly entering certain debugging mode with duration by certain the several button on intelligent television body according to user, therefore can enter fast each debugging mode, thereby improve debugging efficiency, shorten debugging cycle.
Embodiment tri-
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, the first instruction sending for receiving remote controller, described the first instruction is used to indicate the value of a GPIO pin and the value of the 2nd GPIO pin is set.
Setting unit 11, for described the first instruction receiving according to described receiving element 10, arranges the value of a described GPIO pin and the value of described the 2nd GPIO pin.
Enter unit 12, the value of described the 2nd GPIO pin for the value of the described GPIO pin after arranging according to described setting unit 11 and after arranging, enter with arrange after a described GPIO pin value and arrange after debugging mode corresponding to the value of described the 2nd GPIO pin.
Optionally, described the first instruction that described receiving element 10 receives comprises: start-up command, AccessPort instruction, fastboot brush machine instruction and the instruction of recovery brush machine.
Optionally, described setting unit 11, if described the first instruction receiving specifically for described receiving element 10 is described start-up command, according to described start-up command, the value that a described GPIO pin is set is " 0 ", and the value that described the 2nd GPIO pin is set is " 0 "; Or,
If described the first instruction that described receiving element 10 receives is described AccessPort instruction, according to described AccessPort instruction, the value that a described GPIO pin is set is " 0 ", and the value that described the 2nd GPIO pin is set is " 1 "; Or,
If described the first instruction that described receiving element 10 receives is the instruction of described fastboot brush machine,, according to the instruction of described fastboot brush machine, the value that a described GPIO pin is set is " 1 ", and the value that described the 2nd GPIO pin is set is " 0 "; Or,
If described the first instruction that described receiving element 10 receives is the instruction of described recovery brush machine,, according to the instruction of described recovery brush machine, the value that a described GPIO pin is set is " 1 ", and the value that described the 2nd GPIO pin is set is " 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 the described GPIO pin after arranging specifically for described setting unit 11 is " 0 ", and the value of described the 2nd GPIO pin after arranging is " 0 ", enters the described power on mode corresponding with " 00 "; Or,
If the value of the described GPIO pin after described setting unit 11 arranges is " 0 ", and the value of described the 2nd GPIO pin after arranging is " 1 ", enters the described AccessPort pattern corresponding with " 01 "; Or,
If the value of the described GPIO pin after described setting unit 11 arranges is " 1 ", and the value of described the 2nd GPIO pin after arranging is " 0 ", enters the described fastboot brush machine pattern corresponding with " 10 "; Or,
If the value of the described GPIO pin after described setting unit 11 arranges is " 1 ", and the value of described the 2nd GPIO pin after arranging is " 1 ", enters the described recovery brush machine pattern corresponding with " 11 ".
Optionally, described the first instruction that described receiving element 10 receives is the key value of at least one button default 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, the first instruction is used to indicate intelligent television the value of the one GPIO pin and the value of the 2nd GPIO pin is set, and according to the first instruction, the value of the one GPIO pin and the value of the 2nd GPIO pin are set, and the value of two GPIO pin of this intelligent television according to the value of the GPIO pin after arranging and after arranging, enter with arrange after a GPIO pin value and arrange after debugging mode corresponding to the value of the 2nd GPIO pin.By this scheme, due to intelligent television can according to user use a teleswitch send instruction, by the value of corresponding GPIO pin is arranged, to enter each corresponding different debugging mode, and without repeatedly entering certain debugging mode with duration by certain the several button on intelligent television body according to user, therefore can enter fast each debugging mode, thereby improve debugging efficiency, shorten debugging cycle.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only with the division of above-mentioned each functional module, be illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to 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, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed apparatus and method can realize by another way.For example, device embodiment described above is only schematic.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be a physical location or multiple physical location, can be positioned at a place, or also can be distributed to multiple different local.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized and during as production marketing independently or use, can be stored in a read/write memory medium using the form of SFU software functional unit.Based on such understanding, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprise that some instructions are in order to make an equipment (can be single-chip microcomputer, chip etc.) or processor (processor) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory, magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in 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 (10)

1. a method that enters debugging mode, is characterized in that, comprising:
Receive the first instruction that remote controller sends, described the first instruction is used to indicate the value of first universal input/output GPIO pin and the value of the 2nd GPIO pin is set;
According to described the first instruction, the value of a described GPIO pin and the value of described the 2nd GPIO pin are set;
The value of described the 2nd GPIO pin according to the value of the described GPIO pin after arranging and after arranging, enter with arrange after a described GPIO pin value and arrange after debugging mode corresponding to the value of described the 2nd GPIO pin.
2. the method that enters debugging mode according to claim 1, is characterized in that, described the first instruction comprises: start-up command, AccessPort instruction, start the instruction of brush machine and repair the instruction of brush machine fast.
3. the method that enters debugging mode according to claim 2, is characterized in that, described according to described the first instruction, and the value of a described GPIO pin and the value of described the 2nd GPIO pin are set, and specifically comprises:
If described the first instruction is described start-up command, according to described start-up command, the value that a described GPIO pin is set is " 0 ", and the value that described the 2nd GPIO pin is set is " 0 "; Or,
If described the first instruction is described AccessPort instruction, according to described AccessPort instruction, the value that a described GPIO pin is set is " 0 ", and the value that described the 2nd GPIO pin is set is " 1 "; Or,
If described the first instruction is the instruction of described quick startup brush machine,, according to the instruction of described quick startup brush machine, the value that a described GPIO pin is set is " 1 ", and the value that described the 2nd GPIO pin is set is " 0 "; Or,
If described the first instruction is the instruction of described reparation brush machine,, according to the instruction of described reparation brush machine, the value that a described GPIO pin is set is " 1 ", and the value that described the 2nd GPIO pin is set is " 1 ".
4. the method that enters debugging mode according to claim 3, is characterized in that, described debugging mode comprises: power on mode, AccessPort pattern, start brush machine pattern and repair brush machine pattern fast,
Wherein, the value of described described the 2nd GPIO pin according to the value of the described GPIO pin after arranging and after arranging, enter with arrange after a described GPIO pin value and arrange after debugging mode corresponding to the value of described the 2nd GPIO pin, specifically comprise:
If the value of the described GPIO pin after arranging is " 0 ", and the value of described the 2nd GPIO pin after arranging is " 0 ", enters the described power on mode corresponding with " 00 "; Or,
If the value of the described GPIO pin after arranging is " 0 ", and the value of described the 2nd GPIO pin after arranging is " 1 ", enters the described AccessPort pattern corresponding with " 01 "; Or,
If the value of the described GPIO pin after arranging is " 1 ", and the value of described the 2nd GPIO pin after arranging is " 0 ", enters the described quick startup brush machine pattern corresponding with " 10 "; Or,
If the value of the described GPIO pin after arranging is " 1 ", and the value of described the 2nd GPIO pin after arranging is " 1 ", enters the described reparation brush machine pattern corresponding with " 11 ".
5. according to the method that enters debugging mode described in claim 1-4 any one, it is characterized in that,
Described the first instruction is the key value of at least one button default in described remote controller.
6. an intelligent television, is characterized in that, comprising:
Receiving element, the first instruction sending for receiving remote controller, described the first instruction is used to indicate the value of a GPIO pin and the value of the 2nd GPIO pin is set;
Setting unit, for described the first instruction receiving according to described receiving element, arranges the value of a described GPIO pin and the value of described the 2nd GPIO pin;
Enter unit, the value of described the 2nd GPIO pin for the value of the described GPIO pin after arranging according to described setting unit and after arranging, enter with arrange after a described GPIO pin value and arrange after debugging mode corresponding to the value of described the 2nd GPIO pin.
7. intelligent television according to claim 6, is characterized in that,
Described the first instruction that described receiving element receives comprises: start-up command, AccessPort instruction, start the instruction of brush machine and repair the instruction of brush machine fast.
8. intelligent television according to claim 7, is characterized in that,
Described setting unit, if described the first instruction receiving specifically for described receiving element is described start-up command, according to described start-up command, the value that a described GPIO pin is set is " 0 ", the value that described the 2nd GPIO pin is set is " 0 "; Or,
If described the first instruction that described receiving element receives is described AccessPort instruction, according to described AccessPort instruction, the value that a described GPIO pin is set is " 0 ", and the value that described the 2nd GPIO pin is set is " 1 "; Or,
If described the first instruction that described receiving element receives is the instruction of described quick startup brush machine,, according to the instruction of described quick startup brush machine, the value that a described GPIO pin is set is " 1 ", and the value that described the 2nd GPIO pin is set is " 0 "; Or,
If described the first instruction that described receiving element receives is the instruction of described reparation brush machine,, according to the instruction of described reparation brush machine, the value that a described GPIO pin is set is " 1 ", and the value that described the 2nd GPIO pin is set is " 1 ".
9. intelligent television according to claim 8, 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 the described GPIO pin after arranging specifically for described setting unit is " 0 ", and the value of described the 2nd GPIO pin after arranging is " 0 ", enters the described power on mode corresponding with " 00 "; Or,
If the value of the described GPIO pin after described setting unit arranges is " 0 ", and the value of described the 2nd GPIO pin after arranging is " 1 ", enters the described AccessPort pattern corresponding with " 01 "; Or,
If the value of the described GPIO pin after described setting unit arranges is " 1 ", and the value of described the 2nd GPIO pin after arranging is " 0 ", enters the described quick startup brush machine pattern corresponding with " 10 "; Or,
If the value of the described GPIO pin after described setting unit arranges is " 1 ", and the value of described the 2nd GPIO pin after arranging is " 1 ", enters the described reparation brush machine pattern corresponding with " 11 ".
10. according to the intelligent television described in claim 6-9 any one, it is characterized in that,
Described the first instruction that described receiving element receives is the key value of at least one button default 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 true CN103747239A (en) 2014-04-23
CN103747239B 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)

Cited By (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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093813A1 (en) * 1998-11-09 2003-05-15 Shintani Peter Rae Bi-directional remote control unit and method of using the same
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093813A1 (en) * 1998-11-09 2003-05-15 Shintani Peter Rae Bi-directional remote control unit and method of using the same
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

Cited By (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

Also Published As

Publication number Publication date
CN103747239B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN102609286B (en) A kind of FPGA configurator remote update system based on processor control and method thereof
CN103870425A (en) Bridge device, automated production system and method thereof for storage device
CN102567135B (en) Refreshing/recovering method and electronic equipment
CN102708077A (en) State recognition method and state recognition apparatus
CN102646044A (en) System and method for loading programs for multiple touch screens
CN102075710B (en) Starting operation method for television and television
CN103761129A (en) Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer
CN103488516A (en) System repair method and electronic equipment
CN103747239B (en) A kind of method and intelligent television entering debugging mode
CN102169442A (en) Method, equipment, device and system for performing system boot by using USB (universal serial bus) device
CN112306937B (en) Setting selection circuit, method, device and medium for mainboard device in server
CN104166521A (en) Computer with a memory card
CN103890713A (en) Apparatus and method for managing register information in a processing system
CN100410893C (en) Method and apparatus for master-controlled applied programm of self-repairing built-in equipment
US9619355B2 (en) Booting verification method of computer and electronic device
US8954717B2 (en) System capable of booting through a universal serial bus device and method thereof
CN103747335A (en) Smart television mode switching method and device
CN105718338A (en) Information processing method and electronic device
CN100552627C (en) A kind of method of electronic product being carried out Data Update
CN100367147C (en) Method and device for setting working clock by detecting state of BIOS
CN103677881A (en) Method for controlling electronic device, and electronic device
CN102193609B (en) Setting method for power supply locking and electronic device thereof
CN101807148B (en) Computer system, memory circuit on main-board and starting method thereof
CN103455454A (en) Method and device for controlling startup of memory
CN115422110B (en) Port configuration method of electronic equipment and PCIE Switch chip

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

Effective date of registration: 20170721

Granted publication date: 20151125

PP01 Preservation of patent right
PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20200721

Granted publication date: 20151125

CP03 Change of name, title or address
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.

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20210201

Granted publication date: 20151125