CN106713981A - Method and apparatus of identifying work mode of television host - Google Patents

Method and apparatus of identifying work mode of television host Download PDF

Info

Publication number
CN106713981A
CN106713981A CN201611182119.0A CN201611182119A CN106713981A CN 106713981 A CN106713981 A CN 106713981A CN 201611182119 A CN201611182119 A CN 201611182119A CN 106713981 A CN106713981 A CN 106713981A
Authority
CN
China
Prior art keywords
state
main frame
default port
mode
triode
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
CN201611182119.0A
Other languages
Chinese (zh)
Other versions
CN106713981B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611182119.0A priority Critical patent/CN106713981B/en
Publication of CN106713981A publication Critical patent/CN106713981A/en
Application granted granted Critical
Publication of CN106713981B publication Critical patent/CN106713981B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention relates to a method and an apparatus of identifying a work mode of a television host. The method comprises the steps of acquiring a state of a preset port of a CPU; when it is determined that the state of the preset port is a first level state, identifying the work mode of the television host as a television box; and when it is determined that the state of the preset port is a second level state, identifying the work mode of the television host as a split television. Through adoption of the method, the work mode of the television host is identified, so that subsequent operations can be performed according to the specific work mode, therefore, the television host works more stably, and the user experience is improved.

Description

The mode of operation recognition methods of TV main frame and device
Technical field
This disclosure relates to electrical technology, more particularly to a kind of TV main frame mode of operation recognition methods and device.
Background technology
With the development of the communication technology and television set, Split type television machine is occurred in that.Split type television machine includes TV Screen and TV main frame.
In correlation technique, the TV main frame in Split type television machine obtains electric energy from video screen.In addition, Split type electric Can also individually be sold depending on machine, now, Split type television machine can connect other video screens, due to other video screens In be not provided as the port of TV host supplying power, therefore, the Split type television machine individually sold is needed by single power supply Adapter is powered.
The content of the invention
To overcome problem present in correlation technique, the disclosure provide a kind of TV main frame mode of operation recognition methods and Device.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of mode of operation recognition methods of TV main frame, including:
Obtain the state of the default port of the central processor CPU of TV main frame;
When it is determined that the state of the default port is the first level state, the mode of operation for recognizing the TV main frame is As TV box;
When it is determined that the state of the default port is second electrical level state, the mode of operation for recognizing the TV main frame is As separate television.
With reference in a first aspect, in the first possible implementation of first aspect, the CPU for obtaining TV main frame The state of default port include:
Read the state of the register in the CPU corresponding with the default port;
Correspondingly, determine the state of the default port for the first level state includes:
If the state of the register is first state value, it is determined that the state for stating default port is the first level state;
Determine the state of the default port for second electrical level state includes:
If the state of the register is the second state value, it is determined that the state for stating default port is the first level state.
With reference to the first possible implementation of first aspect, in second possible implementation of first aspect In, methods described also includes:
By the power supply mode for detecting TV main frame described in electric circuit inspection;
The testing result of the detection circuit is exported to the default port;
By in the level state of default port write-in register corresponding with the default port.
With reference to second possible implementation of first aspect, in the third possible implementation of first aspect In, the detection circuit includes:
First resistor, second resistance, triode and 3rd resistor;Wherein,
One end of the first resistor is used for and be that the port of the TV host supplying power is connected in video screen, and described the The other end of one resistance is connected with the base stage of the triode, and one end of the second resistance connects with the base stage of the triode Connect, the other end of second resistance ground connection, the grounded emitter of the triode, the colelctor electrode of the triode and described the One end connection of three resistance, the other end of the 3rd resistor is connected with TV host computer system power supply, the current collection of the triode Pole is used to be connected with the default port of the central processor CPU of the TV main frame.
With reference to the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect In, the detection circuit also includes electric capacity, and one end of the electric capacity is connected with the base stage of the triode, the electric capacity it is another End ground connection.
With reference in the first possible implementation to the 4th kind of possible implementation of first aspect or first aspect Any one possible implementation, in the 5th kind of possible implementation of first aspect, methods described also includes:
When the mode of operation for recognizing the TV main frame is as the TV box period of the day from 11 p.m. to 1 a.m, in the electricity being connected with the TV main frame The resolution ratio of TV main frame output is set depending on onscreen cue user;
When the mode of operation for recognizing the TV main frame is as separate television, in the electricity for the TV host supplying power The parameter of the video screen is adjusted depending on onscreen cue user.
With reference to the 5th kind of possible implementation of first aspect, in the 6th kind of possible implementation of first aspect In, the default port is universal input/output GPIO mouthfuls.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of mode of operation identifying device of TV main frame, including:
Acquisition module, is configured as the state of the default port of the central processor CPU for obtaining TV main frame;
First identification module, when the state for being configured as determining the default port is the first level state, recognizes institute The mode of operation for stating TV main frame is as TV box;
Second identification module, when the state for being configured as determining the default port is second electrical level state, recognizes institute The mode of operation for stating TV main frame is as separate television.
With reference to second aspect, in the first possible implementation of second aspect, the acquisition module includes:
Reading submodule, is configured as reading the state of the register in the CPU corresponding with the default port;
Correspondingly, first identification module determines the state of the default port for the first level state includes:
When the state of the register is first state value, it is determined that the state for stating default port is the first level state;
Second identification module determines the state of the default port for second electrical level state includes:
When the state of the register is the second state value, it is determined that the state for stating default port is the first level state.
With reference to the first possible implementation of second aspect, in second possible implementation of second aspect In, described device also includes:
Detection module, is configured to detect the power supply mode of TV main frame described in electric circuit inspection;
Output module, is configured as exporting the testing result of the detection circuit to the default port;
Writing module, is configured as the level state of default port write-in deposit corresponding with the default port In device.
With reference to second possible implementation of second aspect, in the third possible implementation of second aspect In, the detection circuit includes:
First resistor, second resistance, triode and 3rd resistor;Wherein,
One end of the first resistor is used for and be that the port of the TV host supplying power is connected in video screen, and described the The other end of one resistance is connected with the base stage of the triode, and one end of the second resistance connects with the base stage of the triode Connect, the other end of second resistance ground connection, the grounded emitter of the triode, the colelctor electrode of the triode and described the One end connection of three resistance, the other end of the 3rd resistor is connected with TV host computer system power supply, the current collection of the triode Pole is used to be connected with the default port of the central processor CPU of the TV main frame.
With reference to the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect In, the detection circuit also includes electric capacity, and one end of the electric capacity is connected with the base stage of the triode, the electric capacity it is another End ground connection.
With reference in the first possible implementation to the 4th kind of possible implementation of second aspect or second aspect Any one possible implementation, in the 5th kind of possible implementation of second aspect, described device also includes:
First reminding module, the mode of operation for being configured as recognizing the TV main frame be as the TV box period of the day from 11 p.m. to 1 a.m, User's resolution ratio that the output of TV main frame is set is pointed out on the video screen being connected with the TV main frame;
Second reminding module, when the mode of operation for being configured as recognizing the TV main frame is as separate television, To point out user the parameter for adjusting the video screen on the video screen of the TV host supplying power.
With reference to the 5th kind of possible implementation of second aspect, in the 6th kind of possible implementation of second aspect In, the default port is universal input/output GPIO mouthfuls.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of mode of operation identifying device of TV main frame, including:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
Obtain the state of the default port of the central processor CPU of TV main frame;
When it is determined that the state of the default port is the first level state, the mode of operation for recognizing the TV main frame is As TV box;
When it is determined that the state of the default port is second electrical level state, the mode of operation for recognizing the TV main frame is As separate television.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In one embodiment, by obtaining the state of the default port of CPU, when it is determined that the state of default port is first During level state, the mode of operation for recognizing TV main frame is as TV box, when it is determined that the state of default port is the second electricity During level state, the mode of operation for recognizing TV main frame is the mode of operation that identification TV main frame is realized as separate television, with It is easy to carry out follow-up operation according to specific mode of operation, so that, improve the job stability and user's body of TV main frame Test.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the mode of operation recognition methods of the TV main frame according to an exemplary embodiment;
Fig. 2 is a kind of block diagram of the detection circuit according to an exemplary embodiment;
Fig. 3 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to another exemplary embodiment;
Fig. 6 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to further example embodiment;
Fig. 7 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope that the disclosure is conceived by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the mode of operation recognition methods of the TV main frame according to an exemplary embodiment. As shown in figure 1, the mode of operation recognition methods of the TV main frame of embodiment of the present disclosure offer is comprised the following steps:
In a step 101, the state of the default port of CPU is obtained.
The mode of operation recognition methods of the TV main frame that the embodiment of the present disclosure is provided can be performed by TV main frame.
In a kind of possible implementation, can be by reading central processing unit (Central corresponding with default port Processing Unit;Referred to as:The state of the register in CPU) come realize obtain CPU default port state.If this is posted The state of storage is first state value, it is determined that the state of default port is the first level state.If the state of the register is Second state value, it is determined that the state of default port is second electrical level state.For example, the first level state can be logic High level state, i.e., 1, second electrical level state can be logic low state, i.e., 0, and first state value can be 1, the second shape State value can be 0, then when the state in register is 1, it is determined that the state of default port is 1, when the state in register is 0 When, it is determined that the state of default port is 0.May be appreciated, it is also possible to be when the state of register is 0, it is determined that default port State be logic-high state, when the state of register is 1, it is determined that the state of default port is logic low shape State.
In the implementation, the different port of CPU corresponds to the different register in CPU respectively.The state of port can With in writing register.As a result, it is possible to achieve realizing obtaining pre- by reading the state of register corresponding with default port If the state of port.
In alternatively possible implementation, can be by reading the storage region in CPU corresponding with default port State come realize obtain CPU default port state.If the state of the storage region is first state value, it is determined that default The state of port is the first level state.If the state of the storage region is the second state value, it is determined that the state of default port It is second electrical level state.
Similar with above-mentioned implementation, multiple ports of CPU correspond to the different storage region in CPU respectively.Port State can be write in storage region.As a result, it is possible to achieve by read the state of storage region corresponding with default port come Realize obtaining the state of default port.
Optionally, before step 101, the method that the embodiment of the present disclosure is provided also includes:By detecting electric circuit inspection electricity Depending on the power supply mode of main frame;The testing result for detecting circuit is exported to default port;The level state of default port is write In register corresponding with default port.Can be detection electricity when the testing result that will detect circuit is exported to default port Road is exported to default port testing result by way of hardware, and afterwards, TV main frame is by way of software by default end The level state of mouth is write in register corresponding with default port.
Fig. 2 is a kind of block diagram of the detection circuit according to an exemplary embodiment.As shown in Fig. 2 the disclosure is implemented Detection circuit in example includes following component:
First resistor R11, second resistance R12, triode 13 and 3rd resistor R14.
Wherein, one end of first resistor R11 is used to be connected with the port in video screen for TV host supplying power, the first electricity Resistance one end is connected with the base stage of triode 13.One end of second resistance R12 is connected with the base stage b of triode 13, second resistance R12 The other end ground connection.The emitter e ground connection of triode 13, the colelctor electrode c of triode 13 is connected with one end of 3rd resistor R14. The other end of 3rd resistor R14 is connected with TV host computer system power supply VCC.The colelctor electrode of triode 13 is used for and TV main frame The default port connection of CPU.
In order that the TV main frame for selling separately and the TV main frame unification on hardware as a separate television part, with Improve production efficiency, is provided through the video screen circuit powered and is powered by power supply adaptor simultaneously in TV main frame Circuit.In this case, in order to determine subsequently to show which kind of User Interface and how set the network of TV main frame The problems such as address, is, it is necessary to detect the power supply mode of TV main frame.
Video screen in the embodiment of the present disclosure is video screen supporting when TV main frame dispatches from the factory, itself and TV main frame one Play composition Split type television machine.For the port of TV host supplying power is the port of output electric energy in video screen.Here port Can be for the port for TV host supplying power on video screen mainboard.Here port can also be wire, then, first One end of resistance R11 is used to be connected with the wire in video screen for TV host supplying power.
TV host computer system power supply as the detection circuit working power, it can be 3.3V.TV host computer system electricity Source can be the power supply of video screen power panel output, or the power supply of adapter output.With the colelctor electrode c of triode 13 The default port of the CPU of connection can be universal input/output (General Purpose Input Output of CPU;Letter Claim:GPIO) mouth, for example, GPIO27 mouthfuls of CPU.
Optionally, in the embodiment of the present disclosure, the voltage for being the port output of host supplying power is 5V.The resistance of first resistor is 33000 ohm.The resistance of second resistance is 10000 ohm.The resistance of 3rd resistor is 10000 ohm.The model of triode can Being LMBT3904LT1G.
The working condition to triode 13 is analyzed below:When Ib=Ic/hfe, it is believed that triode 13 is in Critical condition between saturation region and amplification region.In order that triode 13 enters complete saturation state, Ib can be chosen>5× Ic/hfe.Hfe is triode H parameters, i.e. common emitter low frequency small-signal output alternating short-circuit current amplification coefficient.Ib=(Vi- Vbe, to be the voltage that the port of TV host supplying power provides in video screen, Rb is the base resistance of triode 13 for)/Rb, Vi, Vbe is the conducting voltage of triode 13.In the disclosed embodiments, Vi=5/ (33+10) × 10=1.16V, Rb=33K × 10K/ (33K+10K)=7.67K, so Ib=(1.16-0.7)/7.67K=60uA, Ic=(3.3-Vce)/10K=(3.3- 0.4)/10K=290uA.For current triode, hfe minimum values are 40, Ic/hfe=7.25uA.Then, 8 × Ic/hfe of Ib ≈, This ensure that the triode of the detection circuit can also enter saturation state in worst case.
The course of work of the detection circuit that the embodiment of the present disclosure is provided is as follows:By one end of first resistor R11 and TV screen Port in curtain for TV host supplying power is connected, and the colelctor electrode of triode is connected with the default port of the CPU of TV main frame. When TV main frame obtains electric energy by video screen, now, power supply is connected to equivalent on one end of first resistor R11, then Triode 13 is in the conduction state, also, understands that triode 13 is in saturation state.When triode 13 is in saturation state, Near short circuit between the colelctor electrode c and emitter e of triode 13, now, the output voltage of the colelctor electrode c of triode 13 is 0, i.e., Output logic low.When TV main frame obtains electric energy by power supply adaptor, now, the base stage b of triode 13 is without electricity Pressure, triode 13 is in cut-off state, and the output voltage of the colelctor electrode c of triode 13 is approximately VCC, that is, keeps logic high State.CPU can obtain the power supply mode of TV main frame by reading the state of default port, so that, the detection circuit reality Show the power supply mode of detection TV main frame, and export testing result to default port.
Optionally, in the detection circuit that the embodiment of the present disclosure is provided, can also include:Electric capacity C15.One end of electric capacity C15 It is connected with the base stage b of triode 13.The other end ground connection of electric capacity C15.The capacitance of electric capacity C15 can be 0.1 microfarad.Electricity is set Hold the interference signal that C15 can be shielded in the mode of operation identification circuit of TV main frame, improve the degree of accuracy of detection.
It is understood that based on the detection circuit shown in Fig. 2, the first level state is logic high, second electrical level State is logic low.
In a step 102, when it is determined that the state of default port is the first level state, the Working mould of TV main frame is recognized Formula is as TV box.
In step 103, when it is determined that the state of default port is second electrical level state, the Working mould of TV main frame is recognized Formula is as separate television.
In a step 102 with step 103 in, based in embodiment illustrated in fig. 2 to detect the circuit course of work description, when When the state of default port is the first level state, illustrate that triode is in cut-off state, one end of first resistor does not have power supply Access, illustrate that TV main frame is connected with other video screens, i.e., it is now for TV host power supply adapter is powered As TV box.When the state of default port is second electrical level state, illustrate that triode is in the conduction state, first resistor One end have plant-grid connection, illustrate now for video screen is powered, TV main frame is connected in the video screen supporting with its, i.e., It is as separate television.
Further, the mode of operation recognition methods of the TV main frame that the embodiment of the present disclosure is provided can also include following step Suddenly:When the mode of operation of identification TV main frame is, as the TV box period of the day from 11 p.m. to 1 a.m, to be pointed out on the video screen being connected with TV main frame User sets the resolution ratio of TV main frame output;It is being electricity when the mode of operation for recognizing TV main frame is as separate television Depending on pointing out user the parameter for adjusting the video screen on the video screen of host supplying power.Here the electricity being connected with TV main frame Screen curtain is referred to and the video screen that TV main frame is different manufacturers.For the video screen of TV host supplying power is and the electricity It is same all one's life manufacturer to regard main frame, and can be with the supporting video screen used as a set of separate television of the TV main frame.
When the mode of operation of identification TV main frame is, as the TV box period of the day from 11 p.m. to 1 a.m, to illustrate that now TV main frame is and other life factories What the video screen of business was used together.TV main frame needs to adjust the output resolution ratio of oneself, to adapt to the video screen, realizes Optimal display effect, improves Consumer's Experience.Therefore, in this case, TV main frame points out user to set on the tv screen Put the resolution ratio of TV main frame output.The resolution ratio that user can be supported according to the video screen, sets the output of TV main frame Resolution ratio.TV main frame can point out user to set TV main frame by way of showing user interface on the video screen The resolution ratio of output.
When the mode of operation for recognizing TV main frame is as separate television, illustrate that now TV main frame is as split type A part for television set is used together with energy and its supporting video screen.Now, TV main frame can adjust video screen Parameter, the dispaly state optimal to realize video screen.Here the parameter of video screen can include video screen backlight, The parameters such as tone, contrast.TV main frame can point out user to adjust by way of showing user interface on the video screen Save the parameter of video screen.
Further, the mode of operation recognition methods of the TV main frame that the embodiment of the present disclosure is provided can also include following step Suddenly:When the mode of operation of identification TV main frame is that used as the TV box period of the day from 11 p.m. to 1 a.m, then TV main frame obtains connected video screen The network address, and when it is determined that the network address of video screen is identical with the network address of oneself, change the network ground of oneself Location.The step can reduce the network conflict of TV main frame and video screen, improve the stability of TV host work.
The mode of operation recognition methods of the TV main frame that the embodiment of the present disclosure is provided, by the default port for obtaining CPU State, when it is determined that the state of default port is the first level state, the mode of operation for recognizing TV main frame is as TV box Son, when it is determined that the state of default port is second electrical level state, the mode of operation for recognizing TV main frame be as separate television, The mode of operation of identification TV main frame is realized, in order to carry out follow-up operation according to specific mode of operation, so that, improve The job stability and Consumer's Experience of TV main frame.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.For disclosure device reality The details not disclosed in example is applied, method of disclosure embodiment is refer to.
Fig. 3 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to an exemplary embodiment.Should The mode of operation identifying device of TV main frame can be implemented in combination with turning into comprising terminal device by software, hardware or both It is some or all of.As shown in figure 3, the mode of operation identifying device of the TV main frame of embodiment of the present disclosure offer includes:
Acquisition module 31, is configured as the state of the default port of the CPU for obtaining TV main frame.
First identification module 32, when the state for being configured as determining default port is the first level state, recognizes TV The mode of operation of main frame is as TV box.
Second identification module 33, when the state for being configured as determining default port is second electrical level state, recognizes TV The mode of operation of main frame is as separate television.
Optionally, it is GPIO mouthfuls to preset port.
The mode of operation identifying device of the TV main frame that the embodiment of the present disclosure is provided, by setting acquisition module, is configured To obtain the state of the default port of the CPU of TV main frame, the first identification module is configured as determining the state of default port During for the first level state, the mode of operation for recognizing TV main frame is that, used as TV box, the second identification module is configured as It is determined that when the state of default port is second electrical level state, the mode of operation for recognizing TV main frame is, as separate television, to realize The mode of operation of identification TV main frame, in order to carrying out follow-up operation according to specific mode of operation, so that, improve electricity Depending on the job stability and Consumer's Experience of main frame.
Fig. 4 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to an exemplary embodiment. On the basis of embodiment illustrated in fig. 3, the embodiment of the present disclosure is made one and is described in detail to the concrete composition of acquisition module 31.Such as Fig. 4 institutes Show, in the mode of operation identifying device that the embodiment of the present disclosure is provided, acquisition module 31 includes:
Reading submodule 311, is configured as reading the state of the register in CPU corresponding with default port.
Correspondingly, the first identification module 32 determines the state of default port for the first level state includes:If register State is first state value, it is determined that the state for stating default port is the first level state.Second identification module 33 determines default The state of port includes for second electrical level state:If the state of register is the second state value, it is determined that state the shape of default port State is the first level state.
The mode of operation identifying device of the TV main frame that the embodiment of the present disclosure is provided, by setting reading submodule, is matched somebody with somebody The state for reading the register in CPU corresponding with default port is set to, the default end that CPU is determined with convenient local formula is realized The state of mouth, improves the efficiency of identification process and the accuracy of recognition result.
Fig. 5 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to another exemplary embodiment. On the basis of embodiment illustrated in fig. 4, other modules to device make a detailed description to the embodiment of the present disclosure.As shown in figure 5, this The mode of operation identifying device of the TV main frame that open embodiment is provided also includes:
Detection module 51, is configured to detect the power supply mode of electric circuit inspection TV main frame.
Output module 52, is configured as to detect that the testing result of circuit is exported to default port.
Writing module 53, is configured as in the level state write-in register corresponding with default port by default port.
The implementation process and know-why of the detection circuit in the embodiment of the present disclosure are as shown in Fig. 2 here is omitted.
The mode of operation identifying device of the TV main frame that the embodiment of the present disclosure is provided, by setting detection module, is configured It is the power supply mode by detecting electric circuit inspection TV main frame, output module is configured as to detect that the testing result of circuit is defeated Go out to default port, writing module is configured as the level state of default port writing register corresponding with default port In, realize in the result write-in register that will detect circuit, for follow-up identification, improve the accuracy of recognition result.
Fig. 6 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to further example embodiment. On the basis of Fig. 3-embodiment illustrated in fig. 5, other modules to device make a detailed description to the embodiment of the present disclosure.Such as Fig. 6 institutes Show, the mode of operation identifying device of the TV main frame that the embodiment of the present disclosure is provided also includes:
First reminding module 61, be configured as recognize TV main frame mode of operation be as the TV box period of the day from 11 p.m. to 1 a.m, with User is pointed out the resolution ratio that the output of TV main frame is set on the video screen of TV main frame connection.
Second reminding module 62, is configured as recognizing the mode of operation of TV main frame when being as separate television, for User's parameter for adjusting video screen is pointed out on the video screen of TV host supplying power.
The mode of operation identifying device of the TV main frame that the embodiment of the present disclosure is provided, by setting the first reminding module, quilt It is configured to when the mode of operation of identification TV main frame is, as the TV box period of the day from 11 p.m. to 1 a.m, above to be carried in the video screen being connected with TV main frame Show that user sets the resolution ratio of TV main frame output, the second reminding module is configured as recognizing the mode of operation of TV main frame When being as separate television, user is pointed out the parameter for adjusting video screen on for the video screen of TV host supplying power, realized Different User Interfaces can be shown according to different recognition results, improve Consumer's Experience.
The built-in function and structure of the mode of operation identifying device of TV main frame are the foregoing described, Fig. 7 is according to an example Property implement the block diagram of the mode of operation identifying device of a kind of TV main frame that exemplifies.As shown in fig. 7, the work of the TV main frame Pattern recognition device can be realized:
Processor 71;
Memory 72 for storing the executable instruction of processor 71;
Wherein, processor 71 is configured as:
Obtain the state of the default port of the central processor CPU of TV main frame;
When it is determined that the state of default port is the first level state, the mode of operation for recognizing TV main frame is as TV Box;
When it is determined that the state of default port is second electrical level state, the mode of operation for recognizing TV main frame is as split TV.
Fig. 8 is a kind of block diagram of the mode of operation identifying device of the TV main frame according to an exemplary embodiment.Example Such as, the mode of operation identifying device 800 of TV main frame can be mobile phone, and computer, digital broadcast terminal, information receiving and transmitting sets It is standby, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 8, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, input/output (I/O) interface 812, sensor cluster 814, Yi Jitong Letter component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.Additionally, processing assembly 802 can include one or more modules, just Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, it is many to facilitate Interaction between media component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These data are shown Example includes the instruction for any application program or method operated on device 800, and contact data, telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 800.
Multimedia groupware 808 is included in one screen of output interface of offer between device 800 and user.In some realities Apply in example, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch-screen, to receive the input signal from user.Touch panel include one or more touch sensors with Gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or sliding action border, and And also detect duration and the pressure related to touch or slide.In certain embodiments, multimedia groupware 808 includes One front camera and/or rear camera.When device 800 is in operator scheme, such as screening-mode or during video mode is preceding Putting camera and/or rear camera can receive the multi-medium data of outside.Each front camera and rear camera can Being a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 812 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect the opening/closed mode of device 800, the relative positioning of component is for example described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, user is presence or absence of with what device 800 was contacted, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to be detected when without any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realization, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the Working mould of TV main frame During the computing device of formula identifying device so that the mode of operation identifying device of TV main frame is able to carry out above-mentioned TV main frame Mode of operation recognition methods.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claims are pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appending claims System.

Claims (15)

1. a kind of mode of operation recognition methods of TV main frame, it is characterised in that including:
Obtain the state of the default port of the central processor CPU of TV main frame;
When it is determined that the state of the default port is the first level state, the mode of operation for recognizing the TV main frame is conduct TV box;
When it is determined that the state of the default port is second electrical level state, the mode of operation for recognizing the TV main frame is conduct Separate television.
2. method according to claim 1, it is characterised in that the shape of the default port of the CPU of the acquisition TV main frame State includes:
Read the state of the register in the CPU corresponding with the default port;
Correspondingly, determine the state of the default port for the first level state includes:
If the state of the register is first state value, it is determined that the state of the default port is the first level state;
Determine the state of the default port for second electrical level state includes:
If the state of the register is the second state value, it is determined that the state of the default port is the first level state.
3. method according to claim 2, it is characterised in that methods described also includes:
By the power supply mode for detecting TV main frame described in electric circuit inspection;
The testing result of the detection circuit is exported to the default port;
By in the level state of default port write-in register corresponding with the default port.
4. method according to claim 3, it is characterised in that the detection circuit includes:
First resistor, second resistance, triode and 3rd resistor;Wherein,
One end of the first resistor is used for and be that the port of the TV host supplying power be connected in video screen, and described first is electric The other end of resistance is connected with the base stage of the triode, and one end of the second resistance is connected with the base stage of the triode, institute State the other end ground connection of second resistance, the grounded emitter of the triode, the colelctor electrode of the triode and the described 3rd electricity One end connection of resistance, the other end of the 3rd resistor is connected with TV host computer system power supply, and the colelctor electrode of the triode is used It is connected in the default port with the central processor CPU of the TV main frame.
5. method according to claim 4, it is characterised in that the detection circuit also includes electric capacity, the one of the electric capacity End is connected with the base stage of the triode, the other end ground connection of the electric capacity.
6. the method according to claim any one of 1-5, it is characterised in that methods described also includes:
When the mode of operation for recognizing the TV main frame is as the TV box period of the day from 11 p.m. to 1 a.m, in the TV screen being connected with the TV main frame User's resolution ratio that the output of TV main frame is set is pointed out on curtain;
When the mode of operation for recognizing the TV main frame is as separate television, in the TV screen for the TV host supplying power User's parameter for adjusting the video screen is pointed out on curtain.
7. method according to claim 6, it is characterised in that the default port is universal input/output GPIO mouthfuls.
8. a kind of mode of operation identifying device of TV main frame, it is characterised in that including:
Acquisition module, is configured as the state of the default port of the central processor CPU for obtaining TV main frame;
First identification module, when the state for being configured as determining the default port is the first level state, recognizes the electricity The mode of operation of main frame is regarded as TV box;
Second identification module, when the state for being configured as determining the default port is second electrical level state, recognizes the electricity The mode of operation of main frame is regarded as separate television.
9. device according to claim 8, it is characterised in that the acquisition module includes:
Reading submodule, is configured as reading the state of the register in the CPU corresponding with the default port;
Correspondingly, first identification module determines the state of the default port for the first level state includes:
When the state of the register is first state value, it is determined that the state for stating default port is the first level state;
Second identification module determines the state of the default port for second electrical level state includes:
When the state of the register is the second state value, it is determined that the state for stating default port is the first level state.
10. device according to claim 9, it is characterised in that described device also includes:
Detection module, is configured to detect the power supply mode of TV main frame described in electric circuit inspection;
Output module, is configured as exporting the testing result of the detection circuit to the default port;
Writing module, is configured as the level state of default port write-in register corresponding with the default port In.
11. devices according to claim 10, it is characterised in that the detection circuit includes:
First resistor, second resistance, triode and 3rd resistor;Wherein,
One end of the first resistor is used for and be that the port of the TV host supplying power be connected in video screen, and described first is electric The other end of resistance is connected with the base stage of the triode, and one end of the second resistance is connected with the base stage of the triode, institute State the other end ground connection of second resistance, the grounded emitter of the triode, the colelctor electrode of the triode and the described 3rd electricity One end connection of resistance, the other end of the 3rd resistor is connected with TV host computer system power supply, and the colelctor electrode of the triode is used It is connected in the default port with the central processor CPU of the TV main frame.
12. devices according to claim 11, it is characterised in that the detection circuit also includes electric capacity, the electric capacity One end is connected with the base stage of the triode, the other end ground connection of the electric capacity.
13. device according to claim any one of 8-12, it is characterised in that described device also includes:
First reminding module, the mode of operation for being configured as recognizing the TV main frame be as the TV box period of the day from 11 p.m. to 1 a.m, with institute State and pointed out on the video screen of TV main frame connection user's resolution ratio that the output of TV main frame is set;
Second reminding module, is being institute when the mode of operation for being configured as recognizing the TV main frame is as separate television State and pointed out on the video screen of TV host supplying power user's parameter for adjusting the video screen.
14. devices according to claim 13, it is characterised in that the default port is universal input/output GPIO mouthfuls.
A kind of 15. mode of operation identifying devices of TV main frame, it is characterised in that including:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
Obtain the state of the default port of the central processor CPU of TV main frame;
When it is determined that the state of the default port is the first level state, the mode of operation for recognizing the TV main frame is conduct TV box;
When it is determined that the state of the default port is second electrical level state, the mode of operation for recognizing the TV main frame is conduct Separate television.
CN201611182119.0A 2016-12-20 2016-12-20 The operating mode recognition methods of TV host and device Active CN106713981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611182119.0A CN106713981B (en) 2016-12-20 2016-12-20 The operating mode recognition methods of TV host and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611182119.0A CN106713981B (en) 2016-12-20 2016-12-20 The operating mode recognition methods of TV host and device

Publications (2)

Publication Number Publication Date
CN106713981A true CN106713981A (en) 2017-05-24
CN106713981B CN106713981B (en) 2019-09-20

Family

ID=58939164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611182119.0A Active CN106713981B (en) 2016-12-20 2016-12-20 The operating mode recognition methods of TV host and device

Country Status (1)

Country Link
CN (1) CN106713981B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021223460A1 (en) * 2020-05-08 2021-11-11 深圳Tcl数字技术有限公司 Machine core main board and display device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747335A (en) * 2013-11-29 2014-04-23 乐视致新电子科技(天津)有限公司 Smart television mode switching method and device
US20150077641A1 (en) * 2012-04-23 2015-03-19 Sharp Kabushiki Kaisha Display device, display system, method for controlling display device, program, and recording medium
CN105302518A (en) * 2015-12-01 2016-02-03 合肥联宝信息技术有限公司 Computer equipment and control method thereof
CN105915828A (en) * 2015-12-11 2016-08-31 乐视致新电子科技(天津)有限公司 Split television realization method and split television
CN105915827A (en) * 2015-12-14 2016-08-31 乐视致新电子科技(天津)有限公司 Audio and video playing device and power supply method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150077641A1 (en) * 2012-04-23 2015-03-19 Sharp Kabushiki Kaisha Display device, display system, method for controlling display device, program, and recording medium
CN103747335A (en) * 2013-11-29 2014-04-23 乐视致新电子科技(天津)有限公司 Smart television mode switching method and device
CN105302518A (en) * 2015-12-01 2016-02-03 合肥联宝信息技术有限公司 Computer equipment and control method thereof
CN105915828A (en) * 2015-12-11 2016-08-31 乐视致新电子科技(天津)有限公司 Split television realization method and split television
CN105915827A (en) * 2015-12-14 2016-08-31 乐视致新电子科技(天津)有限公司 Audio and video playing device and power supply method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021223460A1 (en) * 2020-05-08 2021-11-11 深圳Tcl数字技术有限公司 Machine core main board and display device

Also Published As

Publication number Publication date
CN106713981B (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN104991789B (en) Application program open method and device
CN105549732A (en) Method and device for controlling virtual reality device and virtual reality device
CN104281432A (en) Method and device for regulating sound effect
CN104238912A (en) Application control method and application control device
CN104506443A (en) Router setting interface display method and device
CN105426741A (en) Screen unlocking method, device and terminal
CN104732201A (en) Touch key press and fingerprint identification implementation device and method, and terminal device
CN106528131A (en) Application function display method and apparatus, and terminal device
CN104020924A (en) Label establishing method and device and terminal
CN105045504A (en) Image content extraction method and apparatus
CN104331166A (en) Set operation revocation method, set operation revocation device and electronic equipment
CN103914148A (en) Function interface display method and device and terminal equipment
CN105160320A (en) Fingerprint identification method and apparatus, and mobile terminal
CN108038034A (en) Electronic equipment adjustment method, adapter, device and storage medium
CN105139378A (en) Card boundary detection method and apparatus
CN106201126A (en) Touch screen and fingerprint recognition realize device and terminal unit
CN105354017A (en) Information processing method and apparatus
CN107239351A (en) Method of attaching and device
CN106201108A (en) Glove control mode touch mode control method and device and electronic equipment
CN104375760B (en) Method for information display and device
CN105975038A (en) Prompt method and device of charging port detection result
CN105187671A (en) Recording method and device
CN104503762A (en) Device and method for identifying electronic accessory
CN106547705A (en) USB (universal serial bus) operating mode control method and device
CN104501790A (en) Calibration method and device of electronic compass

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant