Ensure that user normally uses the method and device of intelligent television
Technical field
The present invention relates to intelligent television technical field, in particular, relate to ensure that user normally uses
The method and device of intelligent television.
Background technology
Intelligent television, is to have full open model platform, is equipped with operating system, and, client is general in appreciation
While logical television content, types of applications software can be installed and uninstalled voluntarily, in order to persistently function is carried out
Expand and the new tv product of upgrading.This tv product is widely used in most families.
Existing intelligent television uses Android (Android) operating system mostly, and Android operation is
System is the operating system released for mobile terminal, and it possesses six kinds of patterns, i.e. general startup (normal)
Pattern, safety (safe) pattern, recovery (recovery) pattern, guiding (bootloader) pattern,
Quickly start (fastboot) pattern and diagnosis (diagnostic) pattern.Wherein, in the secure mode,
Owing to operating system is not loaded with third-party application software, accordingly, it is possible to avoid because of third-party application software
And cause the problem that operating system makes mistakes.
But, the present inventor finds under study for action, when intelligent television starts, is likely to be due to use
The maloperation at family and enter safe mode, now user will be unable to use any third-party application software.
I.e., for a user, owing to entering by mistake through safe mode, intelligent television cannot normally use, and then gives
The use of user brings inconvenience.
Summary of the invention
In view of this, the invention provides a kind of method that user of guarantee normally uses intelligent television, with gram
Take in prior art when intelligent television starts, be likely to be due to the maloperation of user and enter safe mode,
Intelligent television cannot normally use, and then the problem bringing inconvenience to the use of user.
For achieving the above object, the present invention provides following technical scheme:
A kind of user of guarantee normally uses the method for intelligent television, including:
Judge whether to detect that controlling operating system enters the control instruction of safe mode;
When described control instruction being detected, whether the currency of detection flag mark is preset value, described
Preset value is used for indicating operating system not enter safe mode;
If the currency of flag mark is preset value, retain the currency of flag mark;
If the currency of flag mark is not preset value, the currency that flag identifies is changed to preset value.
Preferably, described control instruction enters safe mode for indicating intelligent TV.
Preferably, described in judge whether to detect that controlling operating system enters the control instruction of safe mode,
Including:
Receive the coded pulse signal that infrared receiving circuit reports, described coded pulse signal and infrared remote control
The button of device is corresponding;
Physics code is parsed from described coded pulse signal;
Described physics code is mapped as key assignments;
Judge whether described key assignments is the key assignments entering safe mode for indicating intelligent TV;
When described key assignments is to enter the key assignments of safe mode for indicating intelligent TV, determines and control detected
Operating system processed enters the control instruction of safe mode.
Preferably, the described key assignments for indicating intelligent TV entrance safe mode includes:
The long key assignments determining button by IR remote controller.
Preferably, the described key assignments for indicating intelligent TV entrance safe mode includes:
The long key assignments pressing IR remote controller menu key.
A kind of user of guarantee normally uses the device of intelligent television, including:
Judging unit, for judging whether to detect that controlling operating system enters the control instruction of safe mode;
Detector unit, for when described control instruction being detected, whether the currency of detection flag mark
For preset value, described preset value is used for indicating operating system not enter safe mode;
First arranges unit, if the currency for flag mark is preset value, retains flag mark
Currency;
Second arranges unit, if the currency for flag mark is not preset value, is identified by flag
Currency changes to preset value.
Preferably, described control instruction enters safe mode for indicating intelligent TV.
Preferably, described judging unit includes:
Receive unit, for receiving the coded pulse signal that infrared receiving circuit reports, described coded pulse
Signal is corresponding with the button of IR remote controller;
Resolution unit, for parsing physics code from described coded pulse signal;
Map unit, for being mapped as key assignments by described physics code;
Judging unit, for judging whether described key assignments is to enter safe mode for indicating intelligent TV
Key assignments;
Determine unit, be used for when described key assignments is to enter the key assignments of safe mode for indicating intelligent TV,
Determine and detect that controlling operating system enters the control instruction of safe mode.
Preferably, the described key assignments for indicating intelligent TV entrance safe mode includes:
The long key assignments determining button by IR remote controller.
Preferably, the described key assignments for indicating intelligent TV entrance safe mode includes:
The long key assignments pressing IR remote controller menu key.
Understand via above-mentioned technical scheme, compared with prior art, the invention discloses a kind of guarantee and use
Family normally uses the method and device of intelligent television, it may be judged whether detect that control operating system enters safety
The control instruction of pattern, when described control instruction being detected, whether the currency of detection flag mark is
Preset value, described preset value is used for indicating operating system not enter safe mode, if flag mark work as
Front value is preset value, retains the currency of flag mark, if the currency of flag mark is not preset value,
The currency that flag identifies is changed to preset value.This makes it possible to effectively solve when intelligent television starts,
Being likely to be due to the maloperation of user and enter safe mode, intelligent television cannot normally use, and then gives use
The problem that the use at family brings inconvenience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below,
Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not
On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the method that a kind of user of guarantee disclosed in the embodiment of the present invention one normally uses intelligent television
Idiographic flow schematic diagram;
Fig. 2 is the another kind of method ensureing that user normally uses intelligent television disclosed in the embodiment of the present invention two
Idiographic flow schematic diagram;
Fig. 3 is a kind of coded pulse schematic diagram disclosed in the embodiment of the present invention two;
Fig. 4 is the corresponding relation signal of a kind of coded pulse disclosed in the embodiment of the present invention two and binary number
Figure;
Fig. 5 is the another kind of method ensureing that user normally uses intelligent television disclosed in the embodiment of the present invention three
Idiographic flow schematic diagram;
Fig. 6 is the device that a kind of user of guarantee disclosed in the embodiment of the present invention four normally uses intelligent television
Concrete structure schematic diagram;
Fig. 7 is the device that another kind of guarantee user disclosed in the embodiment of the present invention five normally uses intelligent television
Concrete structure schematic diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " etc.
It is for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that
The term so used can exchange in the appropriate case, and this is only right in description embodiments of the invention
The differentiation mode that the object of same alike result is used when describing.Additionally, term " includes " and " having "
And their any deformation, it is intended that cover non-exclusive comprising, in order to comprise a series of unit
Process, method, system, product or equipment are not necessarily limited to those unit, but can include the most clearly
That list or for intrinsic other unit of these processes, method, product or equipment.
From background technology, in prior art, when intelligent television starts, it is likely to be due to the mistake of user
Operating and enter safe mode, now user will be unable to use any third-party application software.That is, right
For user, owing to entering by mistake through safe mode, intelligent television cannot normally use, and then gives user's
Use brings inconvenience.
To this end, the invention discloses a kind of user of guarantee normally use the method and device of intelligent television, sentence
The disconnected control instruction whether detecting that control operating system enters safe mode, when detecting that described control refers to
When making, the currency that flag identifies being set to preset value, described preset value is used for indicating operating system not
Enter safe mode, this makes it possible to effectively solve, when intelligent television starts, to be likely to be due to the mistake of user
Operating and enter safe mode, intelligent television cannot normally use, and then brings many to the use of user
The problem of inconvenience.
Be related to above-mentioned guarantee user normally use intelligent television method idiographic flow and ensure user just
The concrete structure often using the device of intelligent television will be described in detail by following example.
Embodiment one
Referring to accompanying drawing 1, disclosed in the embodiment of the present invention one, a kind of guarantee user normally uses intelligent television
Method, the method specifically includes following steps:
S101: judge whether to detect that controlling operating system enters the control instruction of safe mode.
The control instruction controlling operating system entrance safe mode is sent by remote controller by user, should
Remote controller matches with current intelligent television, can be common IR remote controller, it is also possible to be with infrared
Remote controller has the mobile terminal of identical function, and this mobile terminal can be smart mobile phone, palm PC etc.,
This is not done any restriction by the present invention.
S102: when described control instruction being detected, whether the currency of detection flag mark is preset value,
Described preset value is used for indicating operating system not enter safe mode.
S103: if the currency of flag mark is preset value, retain the currency of flag mark.
S104: if the currency of flag mark is not preset value, the currency that flag identifies is changed to
Preset value.
Flag mark is positioned at operating system software aspect, is a variable in code, and it has preset value,
In prior art, during intelligent television is opened, if be detected that control operating system to enter safety
The control instruction of pattern, the value of this flag mark can change to non-preset value, can control operating system and enter
Entering the value of safe mode, concrete, System Server can start all services in start-up course,
Then detect whether it is safe mode, wherein can pass through function detect Safe Mode, be specifically used to detection
Whether have determine bond distance by, and flag value is set.If it is notice Activity Manager Service
Entering safe mode, Activity Manager Service notifies that again Package Manager Service enters
Safe mode, then the lower left corner at TV shows the word of " safe mode ".Said process is existing
Technology, the present embodiment no longer describes in detail.
In the present embodiment, after the control instruction controlling operating system entrance safe mode being detected,
The currency that flag identifies is set to preset value, and such operating system cannot enter safe mode.
It should be noted that flag mark is an abstract concept in the present embodiment, it can set
Being set to other forms, such as m Safe Mode identifies.
Present embodiment discloses a kind of method that user of guarantee normally uses intelligent television, it may be judged whether detection
The control instruction of safe mode, when described control instruction being detected, detection is entered to control operating system
Whether the currency of flag mark is preset value, and described preset value is used for indicating operating system not enter safe mould
Formula, if the currency of flag mark is preset value, retains the currency of flag mark, if flag mark
The currency known is not preset value, and the currency that flag identifies is changed to preset value.This makes it possible to have
Effect solves when intelligent television starts, and is likely to be due to the maloperation of user and enters safe mode, Intelligent electric
Depending on cannot normally use, and then the problem bringing inconvenience to the use of user.
On the basis of the invention described above disclosed embodiment, the invention also discloses guarantee user and normally make
By other modes of intelligent television, will be described in detail by following example below.
Embodiment two
Referring to accompanying drawing 2, disclosed in the embodiment of the present invention two, a kind of guarantee user normally uses intelligent television
Method, the method specifically includes:
S201: receiving the coded pulse signal that infrared receiving circuit reports, described coded pulse signal is with red
The button of outer remote controller is corresponding.
S202: parse physics code from described coded pulse signal.
S203: described physics code is mapped as key assignments.
After the actuation of keys receiving user, needing to be resolved to physics code, concrete passes through
Following manner realizes, and generally, the coded pulse of one-touch action at least carries a guidance code and
Individual constituted physics code (as shown in Figure 3) by 32 Bits Serial binary values.In physics code first 16
Negate the part of correspondence for the address code in user code, i.e. accompanying drawing 3 and address code, user code is not with button
Difference and change, it is the identification mark arranged to represent specific user, to distinguish difference
The infrared remote-controlled signal that the IR remote controller of type is launched, thus prevent maloperation.In physics code rear 16
Position is the numeric data code in operation code (being referred to as function code) and radix-minus-one complement thereof, i.e. accompanying drawing 3 and numeric data code
The part that radix-minus-one complement is corresponding, wherein, first 8 is operation code, and latter 8 is the radix-minus-one complement of operation code, operation code
Change along with the difference of button, be the identification mark of button.
It addition, in coded pulse, do not represent " 1 " or " 0 " in binary system by high level or low level,
But represented by pulse width.Such as, refer to accompanying drawing 4, for binary value " 0 ", one
Pulse width accounts for 1.12ms;For binary value " 1 ", a pulse width accounts for 2.25ms.Therefore, infrared
Remote controller driver needs to parse from remote control code pulse according to the width of pulse each in coded pulse
Physics code.
After physics code parses, need the mapping relations according to the physics code preset before with key assignments,
Physics code is mapped as corresponding key assignments.
S204: judge whether described key assignments is the long key assignments determining button by IR remote controller.
The key assignments that different buttons is corresponding is different, and after obtaining key assignments, operating system just can be according to key assignments
Judge whether described key assignments is long by the key assignments determining button.
S205: when determining that described key assignments is the long key assignments determining button by IR remote controller, detection flag mark
Whether the currency known is preset value, and described preset value is used for indicating operating system not enter safe mode.
S206: if the currency of flag mark is preset value, retain the currency of flag mark.
S207: if the currency of flag mark is not preset value, the currency that flag identifies is changed to
Preset value.
In sum, present embodiment discloses a kind of method that user of guarantee normally uses intelligent television, will
Physics code is mapped as key assignments, the key assignments mapped for each, it is judged that whether described key assignments is long by determining
The key assignments of button.When determining that described key assignments is to grow the key assignments by determining button, it is current that detection flag identifies
Whether value is preset value, and described preset value is used for indicating operating system not enter safe mode, if flag
The currency of mark is preset value, retains the currency of flag mark, if the currency of flag mark is not
It is preset value, the currency that flag identifies is changed to preset value., this makes it possible to effectively solve in intelligence
When TV starts, being likely to be due to the maloperation of user and enter safe mode, intelligent television cannot normally make
With, and then the problem bringing inconvenience to the use of user.
Determine that key may cause intelligent television to enter safety it should be noted that prior art is pressed with the head of a household
Pattern, to this, this problem can specific aim be solved by the above-mentioned scheme stating embodiment two, but, existing
In technology, intelligent television enter safe mode mode the most multiple, below the present invention will again illustrate
Bright.
Embodiment three
Referring to accompanying drawing 5, disclosed in the embodiment of the present invention three, a kind of guarantee user normally uses intelligent television
Method, the method specifically includes:
S301: receiving the coded pulse signal that infrared receiving circuit reports, described coded pulse signal is with red
The button of outer remote controller is corresponding.
S302: parse physics code from described coded pulse signal.
S303: described physics code is mapped as key assignments.
It should be noted that step S301~S303 are similar to step S201 in embodiment two~S203
Step, the present embodiment repeats no more.
S304: judge whether described key assignments is long by the key assignments of IR remote controller menu key.
The key assignments that different buttons is corresponding is different, and after obtaining key assignments, operating system just can be according to key assignments
Judge whether described key assignments is long by the key assignments of menu key.
S305: when determining that described key assignments is long by the key assignments of IR remote controller menu key, detection flag mark
Whether the currency known is preset value, and described preset value is used for indicating operating system not enter safe mode.
S306: if the currency of flag mark is preset value, retain the currency of flag mark.
S307: if the currency of flag mark is not preset value, the currency that flag identifies is changed to
Preset value.
In sum, present embodiment discloses a kind of method that user of guarantee normally uses intelligent television, will
Physics code is mapped as key assignments, the key assignments mapped for each, it is judged that whether described key assignments is long by menu
The key assignments of button.When determining that described key assignments is long by the key assignments of menu key, it is current that detection flag identifies
Whether value is preset value, and described preset value is used for indicating operating system not enter safe mode, if flag
The currency of mark is preset value, retains the currency of flag mark, if the currency of flag mark is not
It is preset value, the currency that flag identifies is changed to preset value, this makes it possible to effectively solve in intelligence
When TV starts, being likely to be due to the maloperation of user and enter safe mode, intelligent television cannot normally make
With, and then the problem bringing inconvenience to the use of user.
It should be noted that the above-mentioned scheme stating embodiment three enters peace to growing in prior art by Menu key
The problem of syntype has carried out specific aim solution, but, in prior art, intelligent television enters safe mould
The mode of formula is in addition to length is pressed and determined that key or length press Menu key, the most multiple, the most another to this present invention
One explanation, but, use guarantee user disclosed by the invention normally to use the principle of intelligent television, equal energy
Ensureing that intelligent television does not enter safe mode, therefore, other modes are all in scope.
Describing method in detail in the invention described above disclosed embodiment, the method for the present invention can use
The device of various ways realizes, and therefore the invention also discloses a kind of device, concrete enforcement is given below
Example is described in detail.
Embodiment four
Referring to accompanying drawing 6, disclosed in the embodiment of the present invention four, a kind of guarantee user normally uses intelligent television
Device, this device specifically includes:
Judging unit 11, for judging whether that control control operating system entrance safe mode being detected refers to
Order.
Detector unit 12, for when described control instruction being detected, the currency of detection flag mark is
No for preset value, described preset value is used for indicating operating system not enter safe mode.
First arranges unit 13, if the currency for flag mark is preset value, retains flag mark
Currency.
Second arranges unit 14, if the currency for flag mark is not preset value, is identified by flag
Currency change to preset value.
It should be noted that the functional realiey about above-mentioned unit has been carried out in embodiment of the method in detail
Describing in detail bright, the present embodiment repeats no more, and specifically refers to the associated description in embodiment of the method.
Embodiment five
Referring to accompanying drawing 7, disclosed in the embodiment of the present invention five, another kind of guarantee user normally uses Intelligent electric
Depending on device, this device specifically includes:
Receive unit 21, for receiving the coded pulse signal that infrared receiving circuit reports, described coding arteries and veins
Rush signal corresponding with the button of IR remote controller;
Resolution unit 22, for parsing physics code from described coded pulse signal;
Map unit 23, for being mapped as key assignments by described physics code;
Judging unit 24, is used for judging whether described key assignments is to enter safe mode for indicating intelligent TV
Key assignments.
It should be noted that the described key assignments for indicating intelligent TV entrance safe mode includes: length is pressed
IR remote controller determines the key assignments of button or long by the key assignments of IR remote controller menu key.
Determine unit 25, be used for when described key assignments is the key assignments entering safe mode for indicating intelligent TV
Time, determine and detect that controlling operating system enters the control instruction of safe mode.
Detector unit 26, for when described control instruction being detected, the currency of detection flag mark is
No for preset value, described preset value is used for indicating operating system not enter safe mode;
First arranges unit 27, if the currency for flag mark is preset value, retains flag mark
Currency;
Second arranges unit 28, if the currency for flag mark is not preset value, is identified by flag
Currency change to preset value.
It should be noted that the functional realiey about above-mentioned unit has been carried out in embodiment of the method in detail
Describing in detail bright, the present embodiment repeats no more, and specifically refers to the associated description in embodiment of the method.
In sum:
The invention discloses a kind of user of guarantee and normally use the method and device of intelligent television, relate to intelligence
TV technology, it may be judged whether detect that controlling operating system enters the control instruction of safe mode, when
When described control instruction being detected, whether the currency of detection flag mark is preset value, described preset value
For indicating operating system not enter safe mode, if the currency of flag mark is preset value, retain
The currency of flag mark, if the currency of flag mark is not preset value, identified by flag is current
Value changes to preset value.This makes it possible to effectively solve, when intelligent television starts, to be likely to be due to user's
Maloperation and enter safe mode, intelligent television cannot normally use, so give user use bring all
The problem of many inconvenience.
In this specification, each embodiment uses the mode gone forward one by one to describe, and each embodiment stresses
Being the difference with other embodiments, between each embodiment, identical similar portion sees mutually.
For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so describing
Fairly simple, relevant part sees method part and illustrates.
Additionally it should be noted that, device embodiment described above is only schematically, wherein said
The unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or also may be used
To be distributed on multiple NE.Some or all of mould therein can be selected according to the actual needs
Block realizes the purpose of the present embodiment scheme.It addition, in the device embodiment accompanying drawing of present invention offer, mould
Annexation between block represents have communication connection between them, specifically can be implemented as one or more
Communication bus or holding wire.Those of ordinary skill in the art are not in the case of paying creative work, i.e.
It is appreciated that and implements.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive this
Invention can add the mode of required common hardware by software and realize, naturally it is also possible to pass through specialized hardware
Realize including special IC, dedicated cpu, private memory, special components and parts etc..General feelings
Under condition, all functions completed by computer program can realize with corresponding hardware easily, and
And, the particular hardware structure being used for realizing same function can also be diversified, such as analog circuit,
Digital circuit or special circuit etc..But, the most more in the case of software program realize be more
Good embodiment.Based on such understanding, technical scheme is the most in other words to existing skill
The part that art contributes can embody with the form of software product, and this computer software product stores
In the storage medium that can read, such as the floppy disk of computer, USB flash disk, portable hard drive, read only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic
Dish or CD etc., including some instructions with so that computer equipment (can be personal computer,
Server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
In sum, above example only in order to technical scheme to be described, is not intended to limit;
Although being described in detail the present invention with reference to above-described embodiment, those of ordinary skill in the art should
Work as understanding: the technical scheme described in the various embodiments described above still can be modified by it, or to it
Middle part technical characteristic carries out equivalent;And these amendments or replacement, do not make appropriate technical solution
Essence depart from various embodiments of the present invention technical scheme spirit and scope.