CN106803902A - A kind of infrared remote control equipment electric quantity display method and display device - Google Patents

A kind of infrared remote control equipment electric quantity display method and display device Download PDF

Info

Publication number
CN106803902A
CN106803902A CN201710078572.5A CN201710078572A CN106803902A CN 106803902 A CN106803902 A CN 106803902A CN 201710078572 A CN201710078572 A CN 201710078572A CN 106803902 A CN106803902 A CN 106803902A
Authority
CN
China
Prior art keywords
electricity
charge value
remote control
control equipment
infrared remote
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
CN201710078572.5A
Other languages
Chinese (zh)
Other versions
CN106803902B (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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201710078572.5A priority Critical patent/CN106803902B/en
Publication of CN106803902A publication Critical patent/CN106803902A/en
Application granted granted Critical
Publication of CN106803902B publication Critical patent/CN106803902B/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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4108Peripherals receiving signals from specially adapted client devices characterised by an identification number or address, e.g. local network address
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42208Display device provided on the remote control
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Selective Calling Equipment (AREA)
  • Details Of Television Systems (AREA)

Abstract

The invention discloses a kind of infrared remote control equipment electric quantity display method, it is applied to the display device in display system, the display system also includes infrared remote control equipment, receive the infrared signal that infrared remote control equipment sends, obtain the address information in infrared signal, obtain the charge value of the infrared remote control equipment carried in address information, the charge value is infrared remote control equipment in detecting and being generated when self electric quantity changes and be added to the address information, the display of infrared remote control equipment electricity is carried out according to charge value, save key assignments resource, avoid the occupancy to key assignments resource during infrared remote control equipment electricity shows.

Description

A kind of infrared remote control equipment electric quantity display method and display device
Technical field
The present invention relates to infrared communication field, more particularly to a kind of infrared remote control equipment electric quantity display method, while also spy It is not related to a kind of display device.
Background technology
With the continuous lifting of development and the user's request of technology, application of the infrared equipment in life also becomes more next More extensive, the infrared remote control equipment in infrared equipment is all entered using battery as the important input equipment of intelligent television system to it Row power supply.
The electricity of infrared remote control equipment shows in the prior art is sent out to television by the form of one or more buttons Code value is sent to point out electricity, specific techniqueflow as shown in figure 1, by taking IR remote controller as an example, remote control itself carries out electricity Detection, when detecting electricity and changing, voltage value is sent to terminal device, end using infrared remote coding NEC End equipment receives the electricity of key value information display remote controller in user interface UI.
Inventor realize it is of the invention during be found that following shortcoming of the prior art:
Because UI display battery electric quantities are usually that in the form of percentage, scope wants accurate table from 1% to 100% Show battery electric quantity, just must represent battery electric quantity percentage using 100 different key assignments.And standard IR agreement, such as In NEC coded systems, button can only be represented using 8 key data codes, it is specific as shown in Fig. 2 and other parts coding is all each There is purposes, it is impossible to arbitrarily use.Due to 8 button data code 256 key assignments of maximum support, once subtract 100 expression batteries After the key assignments of electric quantity data, other functions 156 key assignments of offer are provided and are used.With developing rapidly for current intelligent television, TV functions are increasingly sophisticated, and except the physical button of presentation on remote control needs correspondence key assignments to support, also many functions need The virtual key sent from remote control end is received in a program realizing (it is not the entity key on remote control, but remote control The button that program itself sends, this part key user is sightless), this partial virtual button is also required to expend substantial amounts of key Value resource, therefore 156 key assignments are clearly inadequate for increasingly complicated functional requirement.
Based on above-mentioned the problems of the prior art, how to optimize and the electricity of infrared remote control equipment is shown become industry Personnel's problem demanding prompt solution.
The content of the invention
The invention provides a kind of infrared remote control equipment electric quantity display method and display device, it is intended to save key assignments resource, And improve the real-time that infrared remote control equipment electricity shows.
A kind of infrared remote control equipment electric quantity display method is the embodiment of the invention provides, the method is applied in display system Display device, the display system also includes infrared remote control equipment, and methods described includes:
The infrared signal that the infrared remote control equipment sends is received, the address information in the infrared signal is obtained;
The charge value of infrared remote control equipment described in the address information is obtained, the charge value is that the infrared remote control sets It is standby charge value to be generated according to self electric quantity and is added in the address information.
The display of the infrared remote control equipment electricity is carried out according to the charge value and the status information.
Preferably, the infrared signal that the infrared remote control equipment sends is received, obtains the address letter in the infrared signal Breath, specially:
The infrared signal is decoded, the electricity mark in the address information and the address information is obtained, Wherein, the address information includes multiple address codes;
Electricity mark in the address information obtains the charge value of the infrared remote control equipment, the electricity mark Address code where for determining the charge value.
Preferably, the electricity mark in the address information obtains the charge value of the infrared remote control equipment, specifically For:
Multiple address codes that the address information is included are obtained, and the address information is checked according to the multiple address code It is whether correct;
When the address information is correct, judge that the electricity is identified whether effectively;
If the electricity mark is effective, the address code according to where electricity mark determines the charge value;
The charge value is obtained in the address code where the charge value.
Preferably, the display of the infrared remote control equipment electricity is carried out according to the charge value, specially:
The electricity of the infrared remote control equipment is obtained according to the charge value;
Judge whether the charge value changes with last the first charge value for sending of the infrared remote control equipment;
If the charge value is inconsistent with first charge value, the display of the charge value is carried out.
Or,
The electricity display threshold of the infrared remote control equipment electricity is set;
When the charge value is more than the electricity display threshold with the electricity difference of first charge value, carry out described The display of charge value;
Or,
First power threshold and the second power threshold are set, and first power threshold is more than second power threshold;
If the charge value is more than first power threshold less than second power threshold or the charge value, carry out The display of the charge value.
Preferably, the electricity is designated the first electricity mark or the second electricity mark, and institute is carried out according to the charge value The display of infrared remote control equipment electricity is stated, is also included:
When electricity mark is effective, judge that the electricity identifies whether to be identified for the first electricity;
If the electricity is designated the first electricity mark, it is determined that the infrared remote control equipment is not at charged state, root Address code where determining the charge value according to first electricity mark, obtains institute in the address code where the charge value State charge value;
If the electricity is designated the second electricity mark, it is determined that the infrared remote control equipment is in charged state, according to Address code where the second electricity mark determination charge value, obtains described in the address code where the charge value Charge value.
Based on technical thought same as described above, the embodiment of the present invention also proposed a kind of display device, be applied to include In the display system of the display device and infrared remote control equipment, the display device includes:
Receiver module, for receiving the infrared signal that the infrared remote control equipment sends, in the acquisition infrared signal Address information;
Acquisition module, the charge value for obtaining infrared remote control equipment described in the address information, the charge value is The infrared remote control equipment generates charge value and is added in the address information according to self electric quantity.
Display module, for carrying out the aobvious of the infrared remote control equipment electricity according to the charge value and the status information Show.
Preferably, the receiver module specifically for:
The infrared signal is decoded, the electricity mark in the address information and the address information is obtained, Wherein, the address information includes multiple address codes;
Electricity mark in the address information obtains the charge value of the infrared remote control equipment, the electricity mark Address code where for determining the charge value.
Preferably, the acquisition module is used for:
Multiple address codes that the address information is included are obtained, and the address information is checked according to the multiple address code It is whether correct;
When the address information is correct, judge that the electricity is identified whether effectively;
If the electricity mark is effective, the address code according to where electricity mark determines the charge value;
The charge value is obtained in the address code where the charge value.
Preferably, the display module specifically for:
The electricity of the infrared remote control equipment is obtained according to the charge value;
Judge whether the charge value changes with last the first charge value for sending of the infrared remote control equipment;
If the charge value is inconsistent with first charge value, the display of the charge value is carried out.
Or,
The electricity display threshold of the infrared remote control equipment electricity is set;
When the charge value is more than the electricity display threshold with the electricity difference of first charge value, carry out described The display of charge value;
Or,
First power threshold and the second power threshold are set, and first power threshold is more than second power threshold;
If the charge value is more than first power threshold less than second power threshold or the charge value, carry out The display of the charge value.
Preferably, the electricity is designated the first electricity mark or the second electricity mark, and the acquisition module is additionally operable to:
When electricity mark is effective, judge that the electricity identifies whether to be identified for the first electricity;
If the electricity is designated the first electricity mark, it is determined that the infrared remote control equipment is not at charged state, root Address code where determining the charge value according to first electricity mark, obtains institute in the address code where the charge value State charge value;
If the electricity is designated the second electricity mark, it is determined that the infrared remote control equipment is in charged state, according to Address code where the second electricity mark determination charge value, obtains described in the address code where the charge value Charge value.
Compared with prior art, technical scheme comprises at least following beneficial effect:
The embodiment of the invention discloses a kind of infrared remote control equipment electric quantity display method, the display in display system is applied to Equipment, the display system also includes infrared remote control equipment, receives the infrared signal that infrared remote control equipment sends, and obtains infrared signal In address information, obtain address information in carry infrared remote control equipment charge value, the charge value is infrared remote control equipment In detecting and generating and be added to the address information when self electric quantity changes, infrared remote control equipment is carried out according to charge value The display of electricity, saves key assignments resource, it is to avoid infrared remote control equipment electricity show during to the occupancy of key assignments resource.
Brief description of the drawings
Fig. 1 is the infrared remote control equipment electricity flow for displaying figure of proposition in background of invention;
Fig. 2 is a kind of schematic diagram of NEC coded systems of proposition in background of invention;
Fig. 3 is a kind of infrared remote control equipment electric quantity display method schematic flow sheet that the embodiment of the present invention is proposed;
Fig. 4 is a kind of infrared remote control equipment electric quantity display method schematic flow sheet of proposition in the specific embodiment of the invention;
Fig. 5 is the infrared remote control equipment electricity flow for displaying figure of proposition in the specific embodiment of the invention;
Fig. 6 is a kind of display device structure schematic diagram that the embodiment of the present invention is proposed.
Specific embodiment
As stated in the Background Art, electricity is carried out by key assignments numeric data code in the prior art to show, infrared remote control equipment Charge value needs more key assignments to represent infrared remote control equipment battery electric quantity key assignments, occupies substantial amounts of key assignments resource, another Aspect, in the prior art, the flow that infrared remote control equipment electricity is reported is more long, takes more.
In view of above mentioned problem, the present invention proposes a kind of infrared remote control equipment electric quantity display method and display, with Realize saving key assignments resource, and improve the purpose of the real-time that infrared remote control equipment electricity shows.
The embodiment of the present invention proposes a kind of infrared remote control equipment electric quantity display method, is applied to the display in display system Equipment, the display system also includes infrared remote control equipment, receives the infrared signal that infrared remote control equipment sends, and obtains infrared letter Address information in number, obtains the electricity key assignments of the infrared remote control equipment carried in address information, the electricity key assignments and electricity mark Knowledge is infrared remote control equipment in detecting and being generated when self electric quantity changes and be added to the address information, according to electricity key Value carries out the display of infrared remote control equipment charge value, saves key assignments resource, and improve that infrared remote control equipment electricity shows it is real-time Property.
As shown in figure 3, being a kind of infrared remote control equipment electric quantity display method of embodiment of the present invention proposition, specific steps are such as Under:
Step 301, receives the infrared signal that infrared remote control equipment sends, and obtains the address information in infrared signal.
It should be noted that in the inventive solutions, infrared remote control equipment can also be that other possess infrared leading to The equipment of telecommunication function, such as remote control, infrared game paddle etc., and be then possess IR signal reception function for display device And the equipment itself with image or text importing function, such as television set, PC and other mobile terminals etc., these are belonged to In protection scope of the present invention.
Infrared remote control equipment is being detected when self electric quantity changes, it is necessary to notify display device, the electricity that will be collected enters Row infrared coding, in order to save key assignments resource, is not take up key assignments numeric data code, in the preferred embodiments of the present invention, it is necessary first to set It is fixed that the charge value of infrared remote control equipment deposited in into the address information of infrared signal, there are multiple addresses in general infrared protocol Code, generally only uses one of address code, naturally it is also possible to infrared remote control equipment is set with display in actual application Held consultation between standby, reconfigure a kind of agreement, and infrared protocol possesses multiple address codes, and it is infrared in actual application There is idle address code in consultation.
In specific application scenarios, by taking NEC infrared protocols as an example, there are two address codes in the NEC agreements, will adopt The electricity for collecting carries out infrared coding and generates corresponding charge value and be added thereto in an address code, specific address code choosing Surely can be made a distinction according to electricity mark.
In specific application scenarios, charge value can be that infrared remote control equipment is examined every Preset Time to self electric quantity Generated according to self electric quantity after survey, while can also be infrared remote control equipment when detecting self electric quantity and changing, according to from The current electric quantity generation charge value of body, and the charge value is deposited into an address code of infrared signal, wherein storage has this The address code of charge value is corresponding with electricity mark, and for display end, electricity mark action is identical, deposits for identifying Contain the address code of infrared remote control equipment electricity key assignments.
Step 302, obtains the charge value of the infrared remote control equipment carried in address information.
It should be noted that the infrared protocol is given tacit consent between infrared remote control equipment and display device have been started up, when aobvious Show equipment receive infrared remote control equipment transmission infrared signal when, according to corresponding infrared protocol to infrared signal in it is infrared Coding is decoded according to infrared protocol, obtains the other information that multiple address codes and infrared signal in address information are carried, Whether the data then in inspection address code are correct, predominantly detect data form and data type of the data of infrared carrying etc. It is whether correct, specifically comprising following two situations:
If 1) data that infrared signal is carried are incorrect, the data carried in the infrared signal are abandoned, not to infrared letter Number information make a response;
If 2) data that infrared signal is carried are correct, the electricity mark carried in infrared letter is obtained, if the electricity is identified Effectively, then address code according to where electricity mark judges the information about power of infrared remote control equipment, obtains command word therein, really Data type in address code is determined when whether the charge value in address code is effective charge value, for example, exist between 1-100 Electricity key assignments is effective electricity value, and the charge value beyond 100 or less than 0 is invalid charge value, after it is determined that charge value is effective, Charge value is stored in the remote control equipment electricity of display device caching.
It should be noted that the remote control equipment electricity in display device caches the charge value for storing remote control equipment, In specific application scenarios, may there are multiple remote control equipments in a display device, for convenience to the tracking of other equipment Control, can store, and made a distinction according to the device identification of remote control equipment itself to the charge value of all remote control equipments.
In specific application scenarios, the charge value of infrared remote control equipment storage mode in the display device can be with Lower two kinds:
1) charge value of current infrared remote control equipment is only preserved in electricity caching, when new charge value is received, is judged It is whether consistent with voltage value, do not processed if consistent, charge value is updated if inconsistent;
2) charge value of several infrared remote control equipments not in the same time is preserved in electricity caching, when charge value is being preserved During record current time, the charge value in the electricity caching of display is ranked up according to the time.
In the preferred embodiment of the application, when charger is in charged state, the demand based on user is, it is necessary to filling The current charged state of electrical equipment is shown, in order to solve the problem, electricity mark is configured, and electricity is designated the first electricity Amount mark or the second electricity mark, when display device receives infrared signal, first determine whether that electricity is designated the first electricity mark Know or the second electricity mark, specifically there are following two situations:
(1) when electricity is designated the first electricity to be identified, it is normal power consumption state to identify current infrared remote control equipment, is not located In charged state, the charge value that corresponding address code obtains infrared remote control equipment is identified according to the first electricity.
(2) when electricity is designated the second electricity to be identified, it is charged state to identify current infrared remote control equipment, according to second Electricity identifies the electricity that corresponding address code obtains infrared remote control equipment, and will be infrared distant in charged state write-in display device In the battery status of control equipment.
Specifically, the battery status flag that can set infrared remote control equipment is charged state when being 1, it is 0 Represent that infrared remote control equipment is not at charged state.
Step 303, the display of infrared remote control equipment electricity is carried out according to charge value.
When display device receives the infrared signal of infrared remote control equipment transmission, and address letter is obtained from infrared signal Breath, and after getting the charge value of infrared remote control equipment from address information, protected in the remote control equipment electricity caching according to itself The charge value deposited, is shown, preset strategy is specially according to preset strategy accordingly:
A) in specific application scenarios, electricity can be carried out according to the size degree of the electricity value changes of infrared remote control equipment Value shown, the electricity display threshold of infrared remote control equipment electricity is set first;When the new electricity that infrared remote control equipment sends When the electricity difference of the voltage value in value and display device remote control equipment electricity caching is more than electricity display threshold, carry out red The display of outer remote control equipment charge value.
B) in specific application scenarios, the charge value of moment display remoting equipment is not needed sometimes, when infrared distant During the use of control equipment, it is only necessary to show that infrared remote control equipment charges and the state that will exhaust of electricity, therefore can be with By setting the first power threshold and the second power threshold, the first power threshold is more than the second power threshold, the first power threshold For infrared remote control equipment electricity full of when show, the second power threshold is used for electricity of the electricity of infrared remote control equipment when exhausting Value shows, when the new charge value that infrared remote control equipment sends is more than the first power threshold, or, being less than the second power threshold When, carry out the display of infrared remote control equipment electricity.
C) additionally, it is necessary to the battery status current to infrared remote control equipment shows in the scene of part, now, just The battery status flag in above-mentioned steps 302 can be read, when the battery status flag is 1, then infrared remote control is carried out and is set Standby battery status shows, is shown as charged state, when battery status flag is 0, does not then carry out the electricity of infrared remote control equipment Pond status display.
A kind of infrared remote control equipment electric quantity display method proposed by the application embodiment of the present invention, it is infrared distant by receiving The infrared signal that control equipment sends, obtains the address information in infrared signal, obtains the infrared remote control carried in address information and sets Standby charge value, the charge value is that infrared remote control equipment is generated when self electric quantity change is detected and is added to the address letter In breath, the display of infrared remote control equipment electricity is carried out according to charge value, save key assignments resource, it is to avoid infrared remote control equipment electricity To the occupancy of key assignments resource during amount display.
In order to technological thought of the invention is expanded on further, in conjunction with specific application scenarios, to technical side of the invention Case is illustrated.A kind of infrared remote control equipment electricity acquisition methods are proposed in the specific embodiment of the invention, based on Fig. 1, Specifically by taking IR remote controller and TV as an example, as illustrated, for a kind of IR remote controller that the specific embodiment of the invention is proposed consumes Electric display methods schematic flow sheet, comprises the following steps that:
Step 401, remote control carries out self electric quantity detection;
Specifically, presetting the cycle of self electric quantity detection, the electric power detection of itself is carried out once every preset duration, Can also setting simultaneously carry out an electric power detection for IR remote controller after often carry out a key response for remote control.
Step 402, remote control carries out infrared coding to electricity and sends;
Specifically, the electricity for collecting carries out infrared coding, entered with NEC infrared coding forms in the specific embodiment of the invention Illustrated as a example by row coding, when it is 100 numerical value to show battery electric quantity, illustrate how to carry out by taking NEC infrared protocols as an example Coding (the use of address code being 0x1F).
Wherein, NEC forms (LSB is preferential) are as shown in table 1 below:
9ms 4.5ms 0x1F 0xF8 0x00 0x26
AGC burst space Address1 Address2 Command1 Command2
Table 1
Wherein:
(1) space of the AGC burst and 4.5ms of 9ms is the identification marking code that NEC specifies.
(2) address code and command code send twice respectively, for the second time for all positions negate.
Step 403, television set obtains the address information in the infrared information number that IR remote controller sends;
Specifically, television set is after the infrared signal for receiving IR remote controller transmission, obtains infrared coding and marked by NEC Standard is decoded, and takes out address code 1 and address code 2.
Step 404, television set obtains the electricity key assignments in address information.
Specifically, television set is after the address code 1 and address code 2 in getting infrared signal, whether inspection data is correct, Confirm whether address code is 0x1F if correct, if effectively, taking command word, and be confirmed whether effectively, to be effectively then written to In battery-driven capacity property values.
Step 405, television set carries out the display of IR remote controller charge value.
Specifically, as shown in figure 5, for television set carries out the flow chart that infrared remote control equipment electricity shows, electricity is related Information is written in capacity property values, and at this moment battery status oracle listener healthd just can be from/sys/class/ The battery status of current IR remote controller is got in power_supply/ir_battery/capacity, battery is monitored in real time Battery electric quantity state change in driving, and battery electric quantity service module is notified by BatteryProperties, to carry out electricity Charge value depending on showing IR remote controller in machine user interface UI.
The electricity of IR remote controller is carried out by the application above method to show, can save key assignments resource, and due to inciting somebody to action Electricity key assignments is deposited in the address code of infrared signal, is also differed for the flow that electricity shows:
Specifically, electricity report flow of the prior art is:The input subsystem of kernel->EventHub-> InputReader->InputDispatcher->InputChannel->WindowInputEventReceiver, flow compared with Long, holding time also compares many.And in the specific embodiment of the invention, the infrared driving of television can be according to address when coding is received Code makes a distinction, and the value that will be parsed in command when electricity address code is recognized is directly delivered to power_supply's In capacity attributes, the change that such BatteryService detects this value just can be by the UI of application program update Shown.Two flows of contrast can be seen that the pure all of button of button scheme all can be by Android system from lower to frequency Numerous button will also result in system burden, and the method after improvement is no longer communicated up for electricity by input subsystems, is also kept away Exempt from television system layer for the response of such event, for relatively long-term operation, also improve the stability of system.
And different user's requests are directed to, when user needs the charged state and electricity that carry out infrared remote control equipment to show When, in the still another embodiment of the application, the power management chip in infrared remote control equipment will detect electric quantity change and Charged state leads to the master chip for feeding back to infrared remote control equipment in the form of interrupting, then the infrared electricity coding of infrared remote control equipment The electricity that module is collected to main control chip carries out infrared coding, illustrates how to be encoded below by taking NEC infrared protocols as an example (it is 0x1F to use address code when being in table 2 and not charging, and it is 0x1E that address code is used when in table 3 to charge):
9ms 4.5ms 0x1F 0xE0 0x00 0xA5
AGC burst space Address1 Address2 Command1 Command2
Table 2
As shown in upper table 2, the address code of infrared electricity storage location is 0x1F.
9ms 4.5ms 0x1E 0xE1 0x00 0xA5
AGC burst space Address1 Address2 Command1 Command2
Table 3
As shown in upper table 3, the address code of infrared electricity storage location is 0x1E, coding when representing uncharged in table 2, Whether table 3 represents coding when charging, and thus carries out obtaining infrared remote control equipment in charged state.
Accordingly, when the signal that television reception to infrared remote control equipment sends, the address code in parsing infrared signal, root Judge that whether infrared remote control equipment, in charged state, then sets according to user's request according to the address code of electricity storage location Fixed different electricity display strategies show that specific infrared remote control sets carrying out the electricity and charged state of infrared remote control equipment Standby electricity display process is identical with above-mentioned specific embodiment process, will not be repeated here.
As can be seen here, a kind of infrared remote control equipment electric quantity display method for being proposed by the application specific embodiment of the invention, The display device in display system is applied to, the display system also includes infrared remote control equipment, receives infrared remote control equipment and send Infrared signal, obtain infrared signal in address information, obtain address information in carry infrared remote control equipment charge value, The charge value is infrared remote control equipment in detecting and being generated when self electric quantity changes and be added to the address information, according to Charge value carries out the display of infrared remote control equipment electricity, saves key assignments resource, it is to avoid infrared remote control equipment electricity display process In to the occupancy of key assignments resource, also further increasing the stability of system.
Based on technical thought same as described above, the embodiment of the present invention also proposed a kind of display device, be applied to include In the display system of the display device and infrared remote control equipment, as shown in fig. 6, being one kind of specific embodiment of the invention proposition Display device structure schematic diagram, the display device includes:
Receiver module 61, for receiving the infrared signal that the infrared remote control equipment sends, in the acquisition infrared signal Address information;
Acquisition module 62, the charge value for obtaining infrared remote control equipment described in the address information, the charge value It is that the infrared remote control equipment generates charge value and is added in the address information according to self electric quantity.
Display module 63, for carrying out the infrared remote control equipment electricity according to the charge value and the status information Display.
In specific application scenarios, the receiver module 61 specifically for:
The infrared signal is decoded, the electricity mark in the address information and the address information is obtained, Wherein, the address information includes multiple address codes;
Electricity mark in the address information obtains the charge value of the infrared remote control equipment, the electricity mark Address code where for determining the charge value.
In specific application scenarios, the acquisition module 62 specifically for:
Multiple address codes that the address information is included are obtained, and the address information is checked according to the multiple address code It is whether correct;
When the address information is correct, judge that the electricity is identified whether effectively;
If the electricity mark is effective, the address code according to where electricity mark determines the charge value;
The charge value is obtained in the address code where the charge value.
In specific application scenarios, the display module 63 specifically for:
The electricity of the infrared remote control equipment is obtained according to the charge value;
Judge whether the charge value changes with last the first charge value for sending of the infrared remote control equipment;
If the charge value is inconsistent with first charge value, the display of the charge value is carried out.
Or,
The electricity display threshold of the infrared remote control equipment electricity is set;
When the charge value is more than the electricity display threshold with the electricity difference of first charge value, carry out described The display of charge value;
Or,
First power threshold and the second power threshold are set, and first power threshold is more than second power threshold;
If the charge value is more than first power threshold less than second power threshold or the charge value, carry out The display of the charge value.
In specific application scenarios, the electricity is designated the first electricity mark or the second electricity mark, the acquisition Module 62 is additionally operable to:
When electricity mark is effective, judge that the electricity identifies whether to be identified for the first electricity;
If the electricity is designated the first electricity mark, it is determined that the infrared remote control equipment is not at charged state, root Address code where determining the charge value according to first electricity mark, obtains institute in the address code where the charge value State charge value;
If the electricity is designated the second electricity mark, it is determined that the infrared remote control equipment is in charged state, according to Address code where the second electricity mark determination charge value, obtains described in the address code where the charge value Charge value.
Compared with prior art, technical scheme comprises at least following beneficial effect:
The embodiment of the invention discloses a kind of infrared remote control equipment electric quantity display method, the display in display system is applied to Equipment, the display system also includes infrared remote control equipment, receives the infrared signal that infrared remote control equipment sends, and obtains infrared signal In address information, obtain address information in carry infrared remote control equipment charge value, the charge value is infrared remote control equipment In detecting and generating and be added to the address information when self electric quantity changes, infrared remote control equipment is carried out according to charge value The display of electricity, saves key assignments resource, it is to avoid infrared remote control equipment electricity show during to the occupancy of key assignments resource.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to Cross hardware realization, it is also possible to realize by the mode of software plus necessary general hardware platform.Based on such understanding, this hair Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories Medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in, including some instructions are used to so that a computer equipment (can be Personal computer, server, or network equipment etc.) perform method described in each implement scene of the invention.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for being preferable to carry out scene, module in accompanying drawing or Flow is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that module in device in implement scene can according to implement scene describe into Row is distributed in the device of implement scene, it is also possible to carry out one or more dresses that respective change is disposed other than this implement scene In putting.The module of above-mentioned implement scene can merge into a module, it is also possible to be further split into multiple submodule.
The invention described above sequence number is for illustration only, and the quality of implement scene is not represented.
Disclosed above is only several specific implementation scenes of the invention, but, the present invention is not limited to this, Ren Heben What the technical staff in field can think change should all fall into protection scope of the present invention.

Claims (10)

1. a kind of infrared remote control equipment electric quantity display method, is applied to the display device in display system, and the display system is also Including infrared remote control equipment, it is characterised in that methods described includes:
The infrared signal that the infrared remote control equipment sends is received, the address information in the infrared signal is obtained;
The charge value of infrared remote control equipment described in the address information is obtained, the charge value is the infrared remote control equipment root Charge value is generated according to self electric quantity and be added in the address information.
The display of the infrared remote control equipment electricity is carried out according to the charge value.
2. the method for claim 1, it is characterised in that receive the infrared signal that the infrared remote control equipment sends, obtain The address information in the infrared signal is taken, specially:
The infrared signal is decoded, the electricity mark in the address information and the address information is obtained, wherein, The address information includes multiple address codes;
Electricity mark in the address information obtains the charge value of the infrared remote control equipment, and the electricity is identified and is used for Address code where determining the charge value.
3. method as claimed in claim 2, it is characterised in that the electricity mark in the address information obtains described red The charge value of outer remote control equipment, specially:
Multiple address codes that the address information is included are obtained, and whether the address information is checked according to the multiple address code Correctly;
When the address information is correct, judge that the electricity is identified whether effectively;
If the electricity mark is effective, the address code according to where electricity mark determines the charge value;
The charge value is obtained in the address code where the charge value.
4. method as claimed in claim 3, it is characterised in that the infrared remote control equipment electricity is carried out according to the charge value Display, specially:
The electricity of the infrared remote control equipment is obtained according to the charge value;
Judge whether the charge value changes with the last charge value for sending of the infrared remote control equipment;
If the charge value is inconsistent with first charge value, the display of the charge value is carried out.
Or,
The electricity display threshold of the infrared remote control equipment electricity is set;
When the charge value is more than the electricity display threshold with the electricity difference of first charge value, the electricity is carried out The display of value;
Or,
First power threshold and the second power threshold are set, and first power threshold is more than second power threshold;
If the charge value is more than first power threshold less than second power threshold or the charge value, carry out described The display of charge value.
5. method as claimed in claim 3, it is characterised in that the electricity is designated the first electricity mark or the second electricity mark Know, the display of the infrared remote control equipment electricity is carried out according to the charge value, also include:
When electricity mark is effective, judge that the electricity identifies whether to be identified for the first electricity;
If the electricity is designated the first electricity mark, it is determined that the infrared remote control equipment is not at charged state, according to institute The address code where the first electricity mark determines the charge value is stated, the electricity is obtained in the address code where the charge value Value;
If the electricity is designated the second electricity mark, it is determined that the infrared remote control equipment is in charged state, according to described Address code where the second electricity mark determination charge value, obtains the electricity in the address code where the charge value Value.
6. a kind of display device, is applied in the display system for include the display device and infrared remote control equipment, and its feature exists In the display device includes:
Receiver module, for receiving the infrared signal that the infrared remote control equipment sends, obtains the address in the infrared signal Information;
Acquisition module, the charge value for obtaining infrared remote control equipment described in the address information, the charge value is described Infrared remote control equipment generates charge value and is added in the address information according to self electric quantity.
Display module, the display for carrying out the infrared remote control equipment electricity according to the charge value and the status information.
7. display device as claimed in claim 6, it is characterised in that the receiver module specifically for:
The infrared signal is decoded, the electricity mark in the address information and the address information is obtained, wherein, The address information includes multiple address codes;
Electricity mark in the address information obtains the charge value of the infrared remote control equipment, and the electricity is identified and is used for Address code where determining the charge value.
8. display device as claimed in claim 7, it is characterised in that the acquisition module is used for:
Multiple address codes that the address information is included are obtained, and whether the address information is checked according to the multiple address code Correctly;
When the address information is correct, judge that the electricity is identified whether effectively;
If the electricity mark is effective, the address code according to where electricity mark determines the charge value;
The charge value is obtained in the address code where the charge value.
9. display device as claimed in claim 3, it is characterised in that the display module specifically for:
The electricity of the infrared remote control equipment is obtained according to the charge value;
Judge whether the charge value changes with last the first charge value for sending of the infrared remote control equipment;
If the charge value is inconsistent with first charge value, the display of the charge value is carried out.
Or,
The electricity display threshold of the infrared remote control equipment electricity is set;
When the charge value is more than the electricity display threshold with the electricity difference of first charge value, the electricity is carried out The display of value;
Or,
First power threshold and the second power threshold are set, and first power threshold is more than second power threshold;
If the charge value is more than first power threshold less than second power threshold or the charge value, carry out described The display of charge value.
10. display device as claimed in claim 8, it is characterised in that the electricity is designated the first electricity mark or second Electricity is identified, and the acquisition module is additionally operable to:
When electricity mark is effective, judge that the electricity identifies whether to be identified for the first electricity;
If the electricity is designated the first electricity mark, it is determined that the infrared remote control equipment is not at charged state, according to institute The address code where the first electricity mark determines the charge value is stated, the electricity is obtained in the address code where the charge value Value;
If the electricity is designated the second electricity mark, it is determined that the infrared remote control equipment is in charged state, according to described Address code where the second electricity mark determination charge value, obtains the electricity in the address code where the charge value Value.
CN201710078572.5A 2017-02-14 2017-02-14 Electric quantity display method and display device of infrared remote control device Active CN106803902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710078572.5A CN106803902B (en) 2017-02-14 2017-02-14 Electric quantity display method and display device of infrared remote control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710078572.5A CN106803902B (en) 2017-02-14 2017-02-14 Electric quantity display method and display device of infrared remote control device

Publications (2)

Publication Number Publication Date
CN106803902A true CN106803902A (en) 2017-06-06
CN106803902B CN106803902B (en) 2022-04-12

Family

ID=58988541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710078572.5A Active CN106803902B (en) 2017-02-14 2017-02-14 Electric quantity display method and display device of infrared remote control device

Country Status (1)

Country Link
CN (1) CN106803902B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI647563B (en) * 2017-10-20 2019-01-11 黃國訓 Power reminding system of remote control

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1615042A (en) * 2003-11-03 2005-05-11 三星电子株式会社 Mobile terminal and system for providing total status information thereof at one time
US20050162172A1 (en) * 1997-11-03 2005-07-28 Midtronics, Inc. Wireless battery monitor
CN101719311A (en) * 2009-12-21 2010-06-02 成都九洲电子信息系统有限责任公司 Method for infrared remote control of computer
CN101753874A (en) * 2008-12-03 2010-06-23 深圳Tcl新技术有限公司 Remote controller, TV set and remote controller battery power quantity display method
CN102005115A (en) * 2010-12-13 2011-04-06 广东雅达电子股份有限公司 Infrared meter reading method
CN103297858A (en) * 2013-05-29 2013-09-11 深圳Tcl新技术有限公司 Smart television user state displaying system and smart television user state displaying method
CN103680122A (en) * 2013-12-30 2014-03-26 Tcl海外电子(惠州)有限公司 Custom control method and system for remote control equipment
CN104111426A (en) * 2013-07-05 2014-10-22 广东美的制冷设备有限公司 Remote controller electric quantity detection method and device
US20140354291A1 (en) * 2011-10-07 2014-12-04 Hitachi Vehicle Energy, Ltd. Battery monitoring system, host controller, and battery monitoring device
CN104835310A (en) * 2015-04-29 2015-08-12 广东欧珀移动通信有限公司 Infrared remote control system, infrared remote control terminal, and infrared remote control signal receiving terminal
CN105809931A (en) * 2016-05-17 2016-07-27 合网络技术(北京)有限公司 Remote control equipment and intelligent equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050162172A1 (en) * 1997-11-03 2005-07-28 Midtronics, Inc. Wireless battery monitor
CN1615042A (en) * 2003-11-03 2005-05-11 三星电子株式会社 Mobile terminal and system for providing total status information thereof at one time
CN101753874A (en) * 2008-12-03 2010-06-23 深圳Tcl新技术有限公司 Remote controller, TV set and remote controller battery power quantity display method
CN101719311A (en) * 2009-12-21 2010-06-02 成都九洲电子信息系统有限责任公司 Method for infrared remote control of computer
CN102005115A (en) * 2010-12-13 2011-04-06 广东雅达电子股份有限公司 Infrared meter reading method
US20140354291A1 (en) * 2011-10-07 2014-12-04 Hitachi Vehicle Energy, Ltd. Battery monitoring system, host controller, and battery monitoring device
CN103297858A (en) * 2013-05-29 2013-09-11 深圳Tcl新技术有限公司 Smart television user state displaying system and smart television user state displaying method
CN104111426A (en) * 2013-07-05 2014-10-22 广东美的制冷设备有限公司 Remote controller electric quantity detection method and device
CN103680122A (en) * 2013-12-30 2014-03-26 Tcl海外电子(惠州)有限公司 Custom control method and system for remote control equipment
CN104835310A (en) * 2015-04-29 2015-08-12 广东欧珀移动通信有限公司 Infrared remote control system, infrared remote control terminal, and infrared remote control signal receiving terminal
CN105809931A (en) * 2016-05-17 2016-07-27 合网络技术(北京)有限公司 Remote control equipment and intelligent equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
灰色的鱼: "《博客园》", 12 April 2013 *
酒友【五年行】: "《CSDN博客》", 24 October 2016 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI647563B (en) * 2017-10-20 2019-01-11 黃國訓 Power reminding system of remote control

Also Published As

Publication number Publication date
CN106803902B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN110851387B (en) Interface function configuration method and electronic equipment
CN111562507B (en) Battery electric quantity display method and device, electronic equipment and storage medium
CN101944057A (en) Method and system for indicating service condition of application program, and mobile terminal
CN104380769A (en) Information reminding method, apparatus, and electronic terminal
CN110446273B (en) Networking method and device based on electronic price tags
CN105100062A (en) Information push method, device and system
CN110167192A (en) Bluetooth connection management method and device, electronic equipment and non-transient storage media
CN108810654A (en) A kind of watermark adding method, device and electronic equipment
CN111157813A (en) Method and device for determining charging current
CN106803902A (en) A kind of infrared remote control equipment electric quantity display method and display device
CN106412296A (en) Terminal device control method and apparatus
CN107172259A (en) Terminal and its information interacting method, storage device based on Quick Response Code
CN106972558B (en) Charging control method and electronic equipment
CN112566228A (en) Method and system for reducing equipment power consumption in network video conference
CN107729207A (en) A kind of monitoring method and device of application program main thread
CN109269628B (en) Method for monitoring motor vibration, terminal device and computer readable storage medium
CN111158947A (en) Method for making pre-copy file, server and readable storage medium
CN107145456B (en) Method, device and system for identifying self-connection of equipment
CN111061355B (en) Power supply data acquisition method and equipment
CN104657152B (en) Data transfer management method and electronic equipment
CN209980307U (en) Mobile power supply charging terminal
US20200322289A1 (en) Information processing apparatus and non-transitory computer readable medium
CN112910875A (en) Display method and device
CN111401490A (en) Two-dimensional code obtaining method and related device
CN113747369B (en) Broadcast data processing method, apparatus, computer device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Visual Technology Co., Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant