CN111988549B - Television USB seat power supply method and device - Google Patents

Television USB seat power supply method and device Download PDF

Info

Publication number
CN111988549B
CN111988549B CN202010702736.9A CN202010702736A CN111988549B CN 111988549 B CN111988549 B CN 111988549B CN 202010702736 A CN202010702736 A CN 202010702736A CN 111988549 B CN111988549 B CN 111988549B
Authority
CN
China
Prior art keywords
usb
television
condition
file
usb device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010702736.9A
Other languages
Chinese (zh)
Other versions
CN111988549A (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.)
SHENZHEN CULTRAVIEW DIGITAL TECHNOLOGY CO LTD
Original Assignee
SHENZHEN CULTRAVIEW DIGITAL TECHNOLOGY 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 SHENZHEN CULTRAVIEW DIGITAL TECHNOLOGY CO LTD filed Critical SHENZHEN CULTRAVIEW DIGITAL TECHNOLOGY CO LTD
Priority to CN202010702736.9A priority Critical patent/CN111988549B/en
Publication of CN111988549A publication Critical patent/CN111988549A/en
Application granted granted Critical
Publication of CN111988549B publication Critical patent/CN111988549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/63Generation or supply of power specially adapted for television receivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/64Constructional details of receivers, e.g. cabinets or dust covers

Abstract

The application is applicable to the technical field of electronic equipment, and provides a television USB seat power supply method and device, wherein the method comprises the following steps: detecting whether a USB device electrically connected with a television USB seat exists or not; when the USB equipment is detected, detecting whether the USB equipment meets set conditions; if the USB equipment meets the set condition, supplying power to the USB equipment through the television USB seat; and if the USB equipment does not meet the set condition, refusing to supply power to the USB equipment through the television USB seat. Therefore, the USB socket is prevented from being in a power-on state all the time, power supply is carried out only when the connected USB equipment meets the set conditions, and the requirements of some special application scenes can be met.

Description

Television USB seat power supply method and device
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a power supply method and device for a television USB (universal serial bus) seat.
Background
A TV set is generally provided with a USB cradle, and the USB cradle can be used to transmit multimedia files or upgrade software of a TV (television) main board.
Currently, the USB socket is in a 5V normal power supply state, so that some problems may exist in some application scenarios. For example, in a television set in a prison scene, a prisoner in a prison may have certain risks in prison management and security by powering other electronic products through a USB receptacle or using the prisoner for other purposes. Thus, some televisions eliminate the USB receptacle to meet the needs of a personalized scene, such as a prison scene.
However, in a television without a USB socket, a TV motherboard can only execute functions implemented by the USB socket, such as function upgrade, file transmission, etc., through a VGA (Video Graphics Array) serial port during production or subsequent upgrade and maintenance, which causes inconvenience in operation and later maintenance.
Disclosure of Invention
In view of this, embodiments of the present application provide a method and an apparatus for supplying power to a USB cradle of a television, so as to solve at least the problems that the television without USB is inconvenient to maintain and the television with USB cannot be suitable for a personalized application scenario in the prior art.
A first aspect of an embodiment of the present application provides a method for supplying power to a USB cradle of a television, including: detecting whether a USB device electrically connected with a television USB seat exists or not; when the USB equipment is detected, detecting whether the USB equipment meets set conditions; if the USB equipment meets the set condition, supplying power to the USB equipment through the television USB seat; and if the USB equipment does not meet the set condition, refusing to supply power to the USB equipment through the television USB seat.
A second aspect of the embodiments of the present application provides a power supply device for a USB socket of a television, including: a USB device detection unit configured to detect whether a USB device electrically connected to the television USB cradle exists; a setting condition detecting unit configured to detect whether the USB device satisfies a setting condition when the USB device is detected; a power supply control unit configured to supply power to the USB device through the television USB cradle if the USB device satisfies the set condition, and to refuse power supply to the USB device through the television USB cradle if the USB device does not satisfy the set condition.
A third aspect of embodiments of the present application provides a mobile terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the steps of the method as described above.
A fifth aspect of embodiments of the present application provides a computer program product, which, when run on a mobile terminal, causes the mobile terminal to implement the steps of the method as described above.
Compared with the prior art, the embodiment of the application has the advantages that:
when the television mainboard controller detects the USB equipment electrically connected with the television USB seat, whether the USB equipment is supplied with power through the USB seat is correspondingly determined by detecting whether the USB equipment meets the set condition. Therefore, the USB seat is not always in a power-on state, but the USB seat is determined whether to be powered on or powered by detecting the connected USB device, for example, power can be supplied to only authorized USB devices, so that the television with the USB can meet the requirement of a personalized scene (for example, a prison scene).
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 shows a flow chart of an example of a television USB cradle power supply method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating an example of detecting whether a USB device satisfies a set condition according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating an example of a circuit connection for a USB cradle of a television according to an embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating an example of powering the USB receptacle of the television set shown in FIG. 3 according to an embodiment of the present application;
fig. 5 is a schematic structural diagram illustrating an example of a USB cradle power supply apparatus for a television according to an embodiment of the present application;
fig. 6 is a schematic diagram of an example of a mobile terminal according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the devices described above are not portable communication devices, but rather are desktop computers having touch-sensitive surfaces (e.g., touch screen displays and/or touch pads).
In the discussion that follows, a mobile terminal is described that includes a display and a touch-sensitive surface. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
In addition, in the description of the present application, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
Fig. 1 shows a flowchart of an example of a power supply method for a USB cradle of a television according to an embodiment of the present application. Regarding the execution subject of the method of the embodiment of the present application, it may be a television motherboard controller or other types of controllers in a television.
As shown in fig. 1, in step 110, it is detected whether there is a USB device electrically connected to the USB cradle of the tv set. Illustratively, the USB receptacle may be a USB female port, and the USB device may be an electronic device having a USB male port to enable a USB connection between the television and the USB device. Here, the initial state (or default state) of the USB cradle is a power-on state to detect a connected USB device.
If the detection result in step 110 indicates that there is no connected (or plugged-in) USB device, it jumps to step 110 to continuously monitor the connected USB device. If the detection result in step 110 indicates the presence of a connected (or plugged) USB device, it jumps to step 120.
In step 120, it is detected whether the USB device satisfies a set condition. Here, the setting conditions may be diversified, such as hardware conditions and software conditions, to identify whether the USB device is an authorized (or legitimate) USB device.
If the detection result in step 120 indicates that the USB device satisfies the setting condition, it jumps to step 131. If the detection result in step 120 indicates that the USB device does not satisfy the setting condition, it jumps to step 133.
In step 131, power is supplied to the USB device through the television USB cradle. For example, the USB receptacle may continue to be powered up.
In step 133, power to the USB device through the television USB cradle is denied. For example, the USB receptacle may be placed in a powered down state, or the access to the USB device may be cut off.
In the embodiment of the application, whether power is supplied to the USB equipment is determined by identifying the legality (namely, whether the set condition is met) of the USB equipment connected with the television USB, so that the television USB base can only supply power to the set type of USB equipment, and the personalized application scene can be met. In combination with the prison scene, when a prison inserts unauthorized USB equipment into the USB seat of the television, the unauthorized USB equipment cannot be powered on because the unauthorized USB equipment does not meet the set conditions (or authorization conditions), so that the prison management pressure is reduced, the normal functional use of the authorized USB equipment is guaranteed, and the operation and the later maintenance are facilitated. In addition, compared with a television without a USB, the method and the device have the advantages that adaptive development of the VGA communication function of the mainboard by a developer is not needed, and development burden is reduced.
Regarding step 120 above, in some embodiments, when a USB device is detected, it is detected whether the USB device satisfies a set condition for a set period of time. Accordingly, if the USB device is detected to meet the set condition within the set time period, power can be supplied to the USB device through the USB socket of the television. In addition, if the USB device is not detected to meet the set condition within the set time period, power supply to the USB device through the USB seat of the television can be refused. Here, the set time period may be determined according to application scenario requirements and hardware processing capability, for example, the set time period may be greater than processing time required for the television motherboard controller to recognize whether the USB device is an authorized device.
As described above, the initial state of the USB cradle is the power-on state, and when the USB device does not satisfy the setting condition (or the USB device is not an authorized device), the USB device is turned off after the power-on continues for the set time period, so that long-time power supply of the USB cradle to an unauthorized device is avoided. In combination with a prison scene, as the USB equipment of a prisoner is not authorized and cannot meet set conditions, the power of the prisoner can be cut off after the USB equipment of the prisoner is powered on for a set time period.
Fig. 2 is a flowchart illustrating an example of detecting whether a USB device satisfies a setting condition according to an embodiment of the present application.
As shown in fig. 2, in step 210, a file stored in the USB device is read.
In step 220, it is detected whether the read file meets a preset file condition.
If the detection result in step 220 indicates that the read file does not conform to the preset file condition, it jumps to step 231. If the detection result in step 220 indicates that the read file does not meet the preset file condition, it jumps to step 233.
In step 231, it is determined that the USB device satisfies the setting condition.
In step 233, it is determined that the USB device does not satisfy the setting condition.
According to the embodiment of the application, the file in the USB equipment connected with the USB socket is read, whether the USB equipment meets the set condition (or the authorization condition) is determined by identifying whether the file meets the set file condition, and the USB equipment capable of continuously (or for a long time) supplying power by using the USB socket is managed, controlled and configured in a file identification mode.
In some examples of the embodiment of the present application, the preset file condition includes a format of a television motherboard upgrade package, that is, a file stored in the USB device includes a television upgrade package, and at this time, the television motherboard controller may perform an upgrade operation on the television based on the read file. Therefore, when the USB equipment comprises the file upgrading packet, the USB seat can continuously supply power and call the television upgrading packet in the USB equipment to upgrade the television.
Fig. 3 is a schematic structural diagram illustrating an example of circuit connection for a USB cradle of a television according to an embodiment of the present application.
As shown in fig. 3, the USB socket 130 is connected to the interfaces (for example, USBA _ DM _1 and USBA _ DP _1) of the tv main board 110, and the level controller 120 is connected to the interface (i.e., GPIOA _0 pin) of the tv main board 110 to control the 5V power supply line for switching the USB socket. Illustratively, the GPIOA _0 pin defaults to high, when the 5V supply line for the USB socket is on and the USB socket 130 is live (e.g., 5V voltage).
In some examples of embodiments of the present application, if the USB device satisfies the setting condition, the television motherboard interface (e.g., GPIOA _0 pin) is set to a high state to turn on the power supply line of the USB cradle (e.g., 5V power supply line of the USB cradle), and if the USB device does not satisfy the setting condition, the television motherboard interface (e.g., GPIOA _0 pin) is set to a low state to turn off the power supply line of the USB cradle (e.g., 5V power supply line of the USB cradle).
Fig. 4 is a schematic flow chart illustrating an example of powering the USB cradle of the television set shown in fig. 3 according to an embodiment of the application.
In step 410, the television is started. At this time, the television main board and other controller units can perform initialization operations.
In step 420, the television motherboard may set the GPIOA _0 pin to high level to turn on the 5V power line of the USB socket.
In step 430, the main board of the television set may determine whether a special file exists in the connected USB device within 10 seconds.
If the determination in step 430 indicates that a special file exists in the USB device, it may jump to step 440. If the determination in step 430 indicates that no special files exist in the USB device, it may jump to step 450.
In step 440, the tv motherboard reads the file in the USB device.
In step 450, the television motherboard sets the GPIOA _0 pin low, turning on the 5V power line of the USB cradle.
In step 460, the operation ends.
In some application scenarios, the special file may be a television upgrade package file. For example, in the default state, the GPIOA _0 pin is high, the 5V power supply line of the USB socket is turned on, and if a special boot file for upgrading is recognized in the USB device (e.g., a USB disk) within 10 seconds, the upgrade mode is entered. After entering the upgrade mode, the television main board can read the upgrade file in the usb disk to the cache of the television. After the file is read, the television motherboard can set the GPIOA _0 pin to low level to disconnect the 5V power supply line of the USB cradle. Then, the television mainboard enters a normal upgrading mode, so that the USB socket is powered on when upgrading is carried out, and the USB socket is not powered on when not upgrading. In addition, if no upgraded special boot file in the USB disk is recognized in the boot 10S, the GPIOA _0 pin may be set to low level, and the 5V power supply line of the USB socket may be disconnected.
According to the embodiment of the application, the USB seat can be normally powered on only during upgrading, and is powered off under normal other use conditions, so that the requirement of a personalized scene (for example, a prison scene) can be met.
Fig. 5 is a schematic structural diagram illustrating an example of a USB cradle power supply apparatus for a television according to an embodiment of the present application.
As shown in fig. 5, the tv USB cradle power supply apparatus 500 includes a USB device detecting unit 510, a setting condition detecting unit 520, and a power supply control unit 530.
The USB device detecting unit 510 is configured to detect whether there is a USB device connected to the television USB cradle.
The setting condition detecting unit 520 is configured to detect whether the USB device satisfies a setting condition when the USB device is detected.
The power supply control unit 530 is configured to supply power to the USB device through the tv USB cradle if the USB device satisfies the set condition, and to refuse to supply power to the USB device through the tv USB cradle if the USB device does not satisfy the set condition.
In some examples of embodiments of the present application, the USB cradle is connected to a television motherboard interface, wherein the power supply control unit 530 includes a level setting module (not shown). Here, the level setting module is configured to set the television set motherboard interface to a high level state if the USB device satisfies the setting condition, and to set the television set motherboard interface to a low level state if the USB device does not satisfy the setting condition.
In some examples of the embodiments of the present application, the setting condition detecting unit 520 includes a reading module (not shown), a file condition detecting module (not shown), and a setting condition detecting module (not shown).
The reading module is configured to read a file stored in the USB device.
The file condition detection module is configured to detect whether the read file meets a preset file condition.
The setting condition detection module is configured to correspondingly determine whether the USB equipment meets the setting conditions according to the detection result aiming at the preset file conditions.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Fig. 6 is a schematic diagram of an example of a mobile terminal (e.g., a television) according to an embodiment of the present application. As shown in fig. 6, the mobile terminal 600 of this embodiment includes: a processor 610, a memory 620, and a computer program 630 stored in the memory 620 and executable on the processor 610. The processor 610, when executing the computer program 630, implements the steps in the above-described database updating method embodiments, such as the steps 110 to 133 shown in fig. 1. Alternatively, the processor 610, when executing the computer program 630, implements the functions of each module/unit in the above-described device embodiments, such as the functions of the units 510 to 530 shown in fig. 5.
Illustratively, the computer program 630 may be partitioned into one or more modules/units that are stored in the memory 620 and executed by the processor 610 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program 630 in the mobile terminal 600. For example, the computer program 630 may be divided into a USB device detection module, a setting condition detection module, and a power supply control module, and the specific functions of each module are as follows:
and the USB device detection module is configured to detect whether a USB device connected with the USB socket of the television exists.
A setting condition detection module configured to detect whether the USB device satisfies a setting condition when the USB device is detected.
A power supply control module configured to supply power to the USB device through the television USB cradle if the USB device satisfies the set condition, and to deny power to the USB device through the television USB cradle if the USB device does not satisfy the set condition.
The mobile terminal 600 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The mobile terminal may include, but is not limited to, a processor 610, a memory 620. Those skilled in the art will appreciate that fig. 6 is only an example of a mobile terminal 600 and is not intended to be limiting of the mobile terminal 600, and that it may include more or less components than those shown, or some components may be combined, or different components, e.g., the mobile terminal may also include input-output devices, network access devices, buses, etc.
The Processor 610 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 620 may be an internal storage unit of the mobile terminal 600, such as a hard disk or a memory of the mobile terminal 600. The memory 620 may also be an external storage device of the mobile terminal 600, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the mobile terminal 600. Further, the memory 620 may also include both an internal storage unit and an external storage device of the mobile terminal 600. The memory 620 is used for storing the computer program and other programs and data required by the mobile terminal. The memory 620 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/mobile terminal and method may be implemented in other ways. For example, the above-described apparatus/mobile terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The above units can be implemented in the form of hardware, and also can be implemented in the form of software.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present application, and they should be construed as being included in the present application.

Claims (7)

1. A power supply method for a USB seat of a television is characterized by comprising the following steps:
detecting whether a USB device electrically connected with a television USB seat exists or not;
when the USB equipment is detected, detecting whether the USB equipment meets set conditions;
if the USB equipment meets the set condition, supplying power to the USB equipment through the television USB seat; and
if the USB equipment does not meet the set condition, refusing to supply power to the USB equipment through the television USB seat;
the detecting whether the USB equipment meets the set condition includes:
reading a file stored in the USB device;
detecting whether the read file meets a preset file condition or not;
if the read file is detected to meet the preset file condition, determining that the USB equipment meets the set condition; and
if the read file is detected to be not in accordance with the preset file condition, determining that the USB equipment does not meet the set condition;
the preset file conditions comprise the format of an upgrade package of a television mainboard,
when the read file is detected to have the television upgrade package format, the method further comprises the following steps:
and upgrading the television based on the read file.
2. The method for supplying power to a USB cradle of a television set according to claim 1, wherein said detecting whether the USB device satisfies a set condition when the USB device is detected comprises:
when the USB equipment is detected, whether the USB equipment meets set conditions or not is detected within a set time period.
3. The method of claim 1, wherein the power line of the USB cradle is connected to the motherboard interface of the tv, the method further comprising:
if the USB equipment meets the set condition, setting the television mainboard interface to be in a high level state so as to conduct the power supply circuit of the USB seat; and
and if the USB equipment does not meet the set condition, setting the television mainboard interface to be in a low level state so as to disconnect the power supply line of the USB seat.
4. A power supply device for a USB cradle of a television, comprising:
a USB device detection unit configured to detect whether a USB device connected to a USB cradle of a television exists;
a setting condition detecting unit configured to detect whether the USB device satisfies a setting condition when the USB device is detected;
a power supply control unit configured to supply power to the USB device through the television USB cradle if the USB device satisfies the set condition, and to refuse to supply power to the USB device through the television USB cradle if the USB device does not satisfy the set condition;
the setting condition detecting unit includes:
a reading module configured to read a file stored in the USB device;
the file condition detection module is configured to detect whether the read file meets a preset file condition or not;
the setting condition detection module is configured to determine that the USB equipment meets the setting condition if the read file is detected to meet the preset file condition, the preset file condition comprises a television mainboard upgrading package format, when the read file is detected to have the television upgrading package format, the television is upgraded based on the read file, and if the read file is detected not to meet the preset file condition, the USB equipment is determined not to meet the setting condition.
5. The USB cradle power supply apparatus of claim 4, wherein the USB cradle is connected to a tv main board interface, and wherein the power supply control unit comprises:
a level setting module configured to set the television motherboard interface to a high level state if the USB device satisfies the setting condition, and set the television motherboard interface to a low level state if the USB device does not satisfy the setting condition.
6. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 3 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN202010702736.9A 2020-07-21 2020-07-21 Television USB seat power supply method and device Active CN111988549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010702736.9A CN111988549B (en) 2020-07-21 2020-07-21 Television USB seat power supply method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010702736.9A CN111988549B (en) 2020-07-21 2020-07-21 Television USB seat power supply method and device

Publications (2)

Publication Number Publication Date
CN111988549A CN111988549A (en) 2020-11-24
CN111988549B true CN111988549B (en) 2022-09-09

Family

ID=73437881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010702736.9A Active CN111988549B (en) 2020-07-21 2020-07-21 Television USB seat power supply method and device

Country Status (1)

Country Link
CN (1) CN111988549B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003219561A (en) * 2002-01-23 2003-07-31 Nec Gumma Ltd Controller for power supply to power-supplied device
CN102244746A (en) * 2011-04-29 2011-11-16 深圳市康冠技术有限公司 Television parameter setting method, exporting method and television
CN102810880B (en) * 2011-05-31 2015-04-29 联想(北京)有限公司 Power supply control method, power supply control device and electronic device
CN106292989A (en) * 2015-06-01 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106453964A (en) * 2016-11-30 2017-02-22 努比亚技术有限公司 Control device and method of charging of mobile terminal
CN108268389A (en) * 2016-12-30 2018-07-10 维沃移动通信有限公司 The insertion detection method and mobile terminal of a kind of equipment
CN107729171B (en) * 2017-10-30 2023-06-02 努比亚技术有限公司 Self-adaptive activation method and device of USB interface, terminal equipment and storage medium
CN108023388A (en) * 2018-01-03 2018-05-11 广东小天才科技有限公司 Method of supplying power to, power supply unit, electronic equipment and computer-readable recording medium
CN110046108A (en) * 2019-01-09 2019-07-23 阿里巴巴集团控股有限公司 USB peripheral control device, system and its control method
CN110336355B (en) * 2019-07-11 2022-04-22 Oppo广东移动通信有限公司 Charging method, charging device and terminal equipment

Also Published As

Publication number Publication date
CN111988549A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
US10515040B2 (en) Data bus host and controller switch
US20140207924A1 (en) Systems and methods for communicating and switching between components in a hybrid computing environment
CN108038112B (en) File processing method, mobile terminal and computer readable storage medium
CN108845655B (en) Electronic equipment control method and device, control circuit and electronic equipment
US20130290746A1 (en) System, apparatus, and method of performing charging operation in host mode
CN108920397B (en) Device identification method and device, storage medium and electronic device
KR20130003863A (en) System for performing remote control using remote device driver and method for performing the same
CN110096329B (en) Display content control method, electronic device and computer readable storage medium
CN105264507A (en) Apparatus and method of recognizing external device in a communication system
CN112764817A (en) Equipment function awakening method and device
US20100036991A1 (en) Apparatus and method for docking of mobile device supporting docking station
CN111988549B (en) Television USB seat power supply method and device
US20130135266A1 (en) Information processing apparatus and display processing method
CN112433689A (en) Data transmission method and device for same-screen device, same-screen device and medium
CN107609119B (en) File processing method, mobile terminal and computer readable storage medium
CN108668236B (en) Tracking method and device of terminal equipment and terminal equipment
CN112290639B (en) Interface circuit and electronic equipment charge
CN110750408A (en) Method, device and apparatus for controlling USB debug mode switch, and storage medium
CN107969012B (en) Network access method, mobile terminal and computer readable storage medium
CN112015459A (en) Method and device for upgrading image file, terminal and readable storage medium
CN112036858A (en) Secure payment method, device and system
US20180131211A1 (en) Battery fast charging using multiple adaptor inputs
US11854500B2 (en) Display brightness management for loading content
US20240111849A1 (en) Media docking device and media transfer method
CN115391139A (en) Method, system and device for controlling GPU and readable storage medium

Legal Events

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