CN105657504A - Remote controller upgrading method and set-top box - Google Patents

Remote controller upgrading method and set-top box Download PDF

Info

Publication number
CN105657504A
CN105657504A CN201511031612.8A CN201511031612A CN105657504A CN 105657504 A CN105657504 A CN 105657504A CN 201511031612 A CN201511031612 A CN 201511031612A CN 105657504 A CN105657504 A CN 105657504A
Authority
CN
China
Prior art keywords
telepilot
top box
set top
class
upgrading
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.)
Pending
Application number
CN201511031612.8A
Other languages
Chinese (zh)
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 Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth 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 Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201511031612.8A priority Critical patent/CN105657504A/en
Publication of CN105657504A publication Critical patent/CN105657504A/en
Pending legal-status Critical Current

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
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44231Monitoring of peripheral device or external card, e.g. to detect processing problems in a handheld device or the failure of an external recording device
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention discloses a remote controller upgrading method and a set-top box. The remote controller upgrading method comprises the steps that: the set-top box sends a request instruction of requesting to read a remote controller upgrading identifier to a remote controller that establishes a communication connection with the set-top box, wherein the request instruction is used for indicating the remote controller to send a remote controller update identifier to the set-top box; the set-top box obtains the remote controller upgrading identifier fed back by the remote controller by responding to the request instruction; the set-top box detects whether the remote controller needs to be upgraded according to the obtained remote controller upgrading identifier; and if detecting that the remote controller needs to be upgraded, the set-top box sends a pre-stored upgrading file to the remote controller. By remote controller upgrading method in the technical scheme provided by the embodiment of the invention is conducive to reducing the subsequent use cost of the remote controller and saving the resources, and is also beneficial for a user to experience the new functions of the upgraded remote controller.

Description

A kind of telepilot upgrade method and Set Top Box
Technical field
The present invention relates to field of set-top, it is specifically related to a kind of telepilot upgrade method and Set Top Box.
Background technology
Digital video switching box (SetTopBox, STB), so-called Set Top Box is the equipment connecting televisor and outside source. The numerary signal of compression can be changed into television content by it, and shows on a television set. Digital TV set box remote control device is the equipment that user is used for operating DTV STB, sends user operation instruction by signalling methodss such as infrared or bluetooths to Set Top Box. The infrared rays receptor of the necessary alignment machine top box of conventional red outside line remote control, also frequent appearance operates ineffective phenomenon. Therefore, now more and more Set Top Boxes supports the use blue Tooth remote controller, and blue Tooth remote controller more power saving, cost is lower, reflection is faster, supports that overlength effectively connects the functions such as distance, encryption, transmitting file.
But in prior art, the built-in program of blue Tooth remote controller is write dead in telepilot when dispatching from the factory, and Set Top Box cannot carry out follow-up upgrading or renewal for telepilot. Therefore, once telepilot occurs abnormal and cannot carry out normal operation, user can only select to change telepilot, adds use cost, wastes resource.
Summary of the invention
Embodiments provide a kind of telepilot upgrade method and Set Top Box, cannot carry out for the built-in program of telepilot that the use cost that follow-up upgrading causes increases, the problem of the wasting of resources to solving Set Top Box.
Embodiment of the present invention first aspect provides a kind of telepilot upgrade method, comprising:
Set Top Box sends for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, and described request instruction is used to indicate described telepilot and sends telepilot more new logo to described Set Top Box;
Described Set Top Box obtains the telepilot upgrading mark of described remote controller response described request instruction feedback;
Described Set Top Box upgrades telepilot described in label detection the need of upgrading based on the telepilot of described acquisition;
If detecting, described telepilot needs upgrading, and described Set Top Box sends the upgrading file prestored to described telepilot.
Optionally, described Set Top Box is connected by bluetooth with described telepilot, and Set Top Box sends for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, comprising:
Described Set Top Box creates central authorities' class and central authorities' readjustment class;
By the service of described central authorities class, described Set Top Box finds that interface obtains the service class set of described telepilot;
Described Set Top Box determines that the general identifications symbol UUID of the service class that described service class is concentrated is destination service class with the service class of the general unique identifier match prestored;
Described Set Top Box obtains the feature class in described destination service class, and preset field writes the value of described feature class;
Described Set Top Box sends the request instruction of the request reading telepilot upgrading mark carrying described preset field by the reading feature interface of described central authorities class to described telepilot.
Optionally, described Set Top Box obtains the telepilot upgrading mark of described remote controller response described request instruction feedback, comprising:
Described Set Top Box obtains described telepilot upgrading mark by the reading characteristic results interface of described central authorities readjustment class.
Optionally, described Set Top Box sends the upgrading file prestored to described telepilot, comprising:
What described Set Top Box called described feature class arranges the value of interface by eight byte write feature classes of described upgrading file;
When interpretation goes out last eight bytes that described eight bytes are not described upgrading file, described Set Top Box call described central authorities class write described eight bytes that feature interface sends described upgrading file to described telepilot;
Described Set Top Box obtains transmission result by the characteristic results interface of writing of described central readjustment class, if described transmission result is for send successfully, described Set Top Box calls the remainder bytes arranging the interface continuation described upgrading file of transmission of feature class again.
Optionally, described Set Top Box sends the upgrading file prestored to described telepilot, comprising:
What described Set Top Box called described feature class arranges the value of interface by eight byte write feature classes of described upgrading file;
When interpretation goes out last eight bytes that described eight bytes are described upgrading file, described Set Top Box call described central authorities class write described eight bytes that feature interface sends described upgrading file to described telepilot;
Described Set Top Box obtains transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, described Set Top Box exits telepilot upgrade application.
Optionally, described Set Top Box upgrades telepilot described in label detection the need of, after upgrading, described method also comprises based on the telepilot of described acquisition:
If detecting, described telepilot does not need upgrading, and described Set Top Box exits telepilot upgrade application.
Embodiment of the present invention second aspect provides a kind of Set Top Box, comprising:
Sending module, for sending for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, described request instruction is used to indicate described telepilot and sends telepilot more new logo to described Set Top Box;
Acquisition module, for obtaining the telepilot upgrading mark of described remote controller response described request instruction feedback;
Detection module, for telepilot described in the telepilot upgrading label detection based on described acquisition the need of upgrading;
Upgraded module, if detecting that described telepilot needs upgrading for detection module, sends the upgrading file prestored to described telepilot.
Optionally, described Set Top Box is connected by bluetooth with described telepilot, and described sending module comprises:
Creating unit, for creating central authorities' class and central authorities' readjustment class;
By the service of described central authorities class, acquiring unit, for finding that interface obtains the service class set of described telepilot;
Determining unit, the service class for the general identifications symbol UUID with the general unique identifier match prestored that determine the service class that described service class is concentrated is destination service class;
Described acquiring unit, also feature class for obtaining in described destination service class;
Write unit, for writing the value of described feature class by preset field;
Send unit, for being sent the request instruction of the request reading telepilot upgrading mark carrying described preset field to described telepilot by the reading feature interface of described central authorities class.
Optionally, described acquisition module, specifically for obtaining described telepilot upgrading mark by the reading characteristic results interface of described central authorities readjustment class.
Optionally, described upgraded module comprises:
First write unit, arranges the value of interface by eight byte write feature classes of described upgrading file for what call described feature class;
First judging unit is not last eight bytes of described upgrading file for described in interpretation eight bytes;
First upgrade unit, for when interpretation goes out last eight bytes that described eight bytes are not described upgrading file, what described Set Top Box called described central authorities class writes described eight bytes that feature interface sends described upgrading file to described telepilot;
Cycle control unit, for obtaining transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, that again calls feature class arranges the remainder bytes that interface continues to send described upgrading file.
Optionally, described upgraded module comprises:
2nd write unit, arranges the value of interface by eight byte write feature classes of described upgrading file for what call described feature class;
2nd judging unit is not last eight bytes of described upgrading file for described in interpretation eight bytes;
2nd upgrade unit, for when going out, in interpretation, last eight bytes that described eight bytes are described upgrading file, what described Set Top Box called described central authorities class writes described eight bytes that feature interface sends described upgrading file to described telepilot;
Exiting unit, for obtaining transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, described Set Top Box exits telepilot upgrade application.
Optionally, described Set Top Box also comprises:
Exiting module, if detecting that described telepilot does not need upgrading for detection module, exiting telepilot upgrade application.
Can find out, in embodiment of the present invention technical scheme, Set Top Box sends for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, obtain the telepilot upgrading mark of described remote controller response described request instruction feedback, telepilot based on described acquisition upgrades telepilot described in label detection the need of upgrading, if detecting, described telepilot needs upgrading, and described Set Top Box sends the upgrading file prestored to described telepilot. By implementing the embodiment of the present invention, be conducive to reducing the follow-up use cost of telepilot, save resource, and the new function of the telepilot after being conducive to Consumer's Experience to upgrade.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, it is briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of telepilot upgrade method that first embodiment of the invention provides;
Fig. 2 is the schematic flow sheet of a kind of telepilot upgrade method that second embodiment of the invention provides;
Fig. 3 is the structural representation of a kind of Set Top Box that third embodiment of the invention provides;
Fig. 4 is the structural representation of a kind of Set Top Box that fourth embodiment of the invention provides;
Fig. 5 is the structural representation of a kind of Set Top Box that fifth embodiment of the invention provides.
Embodiment
In order to make those skilled in the art understand the present invention program better, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Term " first " in the specification sheets of the present invention and claim book and above-mentioned accompanying drawing, " the 2nd " etc. are for distinguishing different object, instead of for describing particular order. In addition, term " comprising " and " having " and their any distortion, it is intended that cover and do not arrange his comprising. Such as contain the process of series of steps or unit, method, system, product or equipment and it is not defined in the step or unit listed, but selection of land can also comprise the step or unit do not listed, or selection of land can also comprise other steps intrinsic for these processes, method, product or equipment or unit.
" embodiment " is mentioned it is intended that the special characteristic, structure or the characteristic that describe can be included at least one embodiment of the present invention in conjunction with the embodiments herein. Each position in the description occurs that this phrase might not all refer to identical embodiment, neither with the independent of other embodiment mutual exclusion or alternative embodiment. Those skilled in the art's explicitly and implicitly understanding, embodiment described herein can combine with other embodiment.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of telepilot upgrade method that first embodiment of the invention provides, and as shown in Figure 1, the telepilot upgrade method in the embodiment of the present invention comprises the following steps:
S101, Set Top Box send for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, and described request instruction is used to indicate described telepilot and sends telepilot more new logo to described Set Top Box.
Being appreciated that, after Set Top Box opening remote control device upgrade application, first judge whether Bluetooth function is opened, when Set Top Box Bluetooth function is opened, search sets up the remote control identification of bluetooth relation with described Set Top Box, then performs step S102 in continuation.
Wherein, in Bluetooth Low Energy (BLE) agreement, there are two roles, periphery (Periphery) and central authorities (Central). Periphery is data suppliers, and central authorities are that data use/process person, and central authorities can connect multiple periphery simultaneously, but a periphery a certain moment can only connect central authorities. In embodiments of the present invention, Set Top Box is as central authorities, and telepilot is as periphery.
Optionally, described Set Top Box is connected by bluetooth with described telepilot, and Set Top Box sends for asking the specific implementation reading the request instruction of described telepilot upgrading mark to be to the telepilot established a communications link with described Set Top Box:
Described Set Top Box creates central authorities' class and central authorities' readjustment class;
By the service of described central authorities class, described Set Top Box finds that interface obtains the service class set of described telepilot;
Described Set Top Box determines that the general identifications symbol UUID of the service class that described service class is concentrated is destination service class with the service class of the general unique identifier match prestored;
Described Set Top Box obtains the feature class in described destination service class, and preset field writes the value of described feature class;
Described Set Top Box sends the request instruction of the request reading telepilot upgrading mark carrying described preset field by the reading feature interface of described central authorities class to described telepilot.
It is appreciated that, in the Software development process of Android Bluetooth Low Energy, have four crucial classes. GATT service class (BluetoothGattServer), it provides data as periphery; GATT service readjustment class (BluetoothGattServerCallback), for returning the state of periphery; GATT central authorities' class (BluetoothGatt), it uses as central authorities and processes data; GATT central authorities' readjustment class (BluetoothGattCallback), its data provided for the state and periphery that return central authorities, carry out with GATT service class alternately.
Wherein, optionally, more new logo can the software version number of telepilot for above-mentioned telepilot, it is possible to be the software upgrading time of telepilot.
S102, described Set Top Box obtain the telepilot upgrading mark of described remote controller response described request instruction feedback.
Wherein, the specific implementation of the telepilot upgrading mark that described Set Top Box obtains described remote controller response described request instruction feedback can be:
Described Set Top Box obtains described telepilot upgrading mark by the reading characteristic results interface of described central authorities readjustment class.
S103, described Set Top Box upgrade telepilot described in label detection the need of upgrading based on the telepilot of described acquisition.
It is appreciated that, when the software version number that above-mentioned telepilot upgrading mark is telepilot, described Set Top Box compares with the software version number to be upgraded prestored based on the described telepilot version number obtained, if the described Remote software version number of described acquisition is less than the software version number to be upgraded prestored, then described Set Top Box detects that described telepilot needs upgrading; If the described Remote software version number of described acquisition is more than or equal to the software version number to be upgraded prestored, then described Set Top Box detects that described telepilot does not need upgrading, exits upgrade application.
Optionally, when the software upgrading time that above-mentioned telepilot upgrading mark is telepilot, described Set Top Box compares with the software upgrading time to be upgraded prestored based on the described Remote software update time obtained, if the described Remote software update time of described acquisition is early than the software upgrading time to be upgraded prestored, then described Set Top Box detects that described telepilot needs upgrading; If the described Remote software update time of described acquisition early than or equal the software version number to be upgraded that prestores, then described Set Top Box detects that described telepilot does not need upgrading, exits upgrade application.
If S104 detects that described telepilot needs upgrading, described Set Top Box sends the upgrading file prestored to described telepilot.
Wherein, the specific implementation that described Set Top Box sends, to described telepilot, the upgrading file prestored can be:
What described Set Top Box called described feature class arranges the value of interface by eight byte write feature classes of described upgrading file;
When interpretation goes out last eight bytes that described eight bytes are not described upgrading file, described Set Top Box call described central authorities class write described eight bytes that feature interface sends described upgrading file to described telepilot;
Described Set Top Box obtains transmission result by the characteristic results interface of writing of described central readjustment class, if described transmission result is for send successfully, described Set Top Box calls the remainder bytes arranging the interface continuation described upgrading file of transmission of feature class again.
Optionally implement mode as one, when interpretation goes out last eight bytes that described eight bytes are described upgrading file, described Set Top Box call described central authorities class write described eight bytes that feature interface sends described upgrading file to described telepilot;
Described Set Top Box obtains transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, described Set Top Box exits telepilot upgrade application.
It is appreciated that, Set Top Box reads eight bytes of upgrading file every time, that then calls feature class arranges the value of interface by eight byte write feature classes of reading, then by calling the feature interface of writing of central authorities' class, eight bytes of the value of write-in characteristic class is sent to described telepilot. The characteristic results interface of writing that Set Top Box adjusts back class by central authorities obtains the result every time sent, if sending successfully, then the Set Top Box next one eight bytes again, until file reading complete, be sent; If fruit sends failure, it may occur that the communication connection of the Set Top Box of telepilot is disconnected even, then, when waiting that Set Top Box reopens telepilot upgrade application next time, Set Top Box can carry out telepilot updating operation automatically.
Optionally implementing mode as one, described Set Top Box upgrades telepilot described in label detection the need of, after upgrading, described method also comprises based on the telepilot of described acquisition:
If detecting, described telepilot does not need upgrading, and described Set Top Box exits telepilot upgrade application.
Can find out, in embodiment of the present invention technical scheme, Set Top Box sends for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, obtain the telepilot upgrading mark of described remote controller response described request instruction feedback, telepilot based on described acquisition upgrades telepilot described in label detection the need of upgrading, if detecting, described telepilot needs upgrading, and described Set Top Box sends the upgrading file prestored to described telepilot. By implementing the embodiment of the present invention, be conducive to reducing the follow-up use cost of telepilot, save resource, and the new function of the telepilot after being conducive to Consumer's Experience to upgrade.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of a kind of telepilot upgrade method that second embodiment of the invention provides, and as shown in Figure 2, the telepilot upgrade method in the embodiment of the present invention comprises the following steps::
S201, Set Top Box opening remote control device upgrade application.
Whether S202, Set Top Box detection Bluetooth function is opened.
S203, when detecting that Bluetooth function starts, Set Top Box obtains, by bluetooth general-purpose interface, the equipment information matched.
S204, Set Top Box are whether the equipment infomation detection matched exists telepilot to be upgraded.
If S205 Set Top Box is at the equipment infomation detection matched to there is telepilot to be upgraded, described Set Top Box creates central authorities' class and central authorities' readjustment class.
By the service of described central authorities class, S206, described Set Top Box find that interface obtains the service class set of described telepilot.
S207, described Set Top Box determine that the general identifications symbol UUID of the service class that described service class is concentrated is destination service class with the service class of the general unique identifier match prestored.
S208, described Set Top Box obtain the feature class in described destination service class, and preset field writes the value of described feature class.
S209, described Set Top Box send the request instruction of the request reading telepilot upgrading mark carrying described preset field by the reading feature interface of described central authorities class to described telepilot.
S210, described Set Top Box obtain described telepilot upgrading mark by the reading characteristic results interface of described central authorities readjustment class.
S211, described Set Top Box upgrade telepilot described in label detection the need of upgrading based on the telepilot of described acquisition.
If S212 detects that described telepilot needs upgrading, what described Set Top Box called described feature class arranges the value of interface by eight byte write feature classes of described upgrading file.
S213, when interpretation goes out last eight bytes that described eight bytes are not described upgrading file, described Set Top Box call described central authorities class write described eight bytes that feature interface sends described upgrading file to described telepilot.
S214, described Set Top Box obtain transmission result by the characteristic results interface of writing of described central readjustment class, if described transmission result is for send successfully, described Set Top Box calls the remainder bytes arranging the interface continuation described upgrading file of transmission of feature class again.
S215, when interpretation goes out last eight bytes that described eight bytes are described upgrading file, described Set Top Box call described central authorities class write described eight bytes that feature interface sends described upgrading file to described telepilot.
S216, described Set Top Box obtain transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, described Set Top Box exits telepilot upgrade application.
It is appreciated that, Set Top Box reads eight bytes of upgrading file every time, that then calls feature class arranges the value of interface by eight byte write feature classes of reading, then by calling the feature interface of writing of central authorities' class, eight bytes of the value of write-in characteristic class is sent to described telepilot. The characteristic results interface of writing that Set Top Box adjusts back class by central authorities obtains the result every time sent, if sending successfully, then the Set Top Box next one eight bytes again, until file reading complete, be sent; If fruit sends failure, it may occur that the communication connection of the Set Top Box of telepilot is disconnected even, then, when waiting that Set Top Box reopens telepilot upgrade application next time, Set Top Box can carry out telepilot updating operation automatically.
It is apparatus of the present invention embodiment below, apparatus of the present invention embodiment is for performing the inventive method embodiment one and the method for embodiment two realization, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete technology details does not disclose, and please refer to the embodiment of the present invention one and embodiment two.
Referring to Fig. 3, Fig. 3 is the structural representation of a kind of Set Top Box that third embodiment of the invention provides, and as shown in Figure 3, the Set Top Box in the embodiment of the present invention comprises with lower module:
Sending module 301, for sending for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, described request instruction is used to indicate described telepilot and sends telepilot more new logo to described Set Top Box;
Acquisition module 302, for obtaining the telepilot upgrading mark of described remote controller response described request instruction feedback;
Detection module 303, for telepilot described in the telepilot upgrading label detection based on described acquisition the need of upgrading;
Upgraded module 304, if detecting that described telepilot needs upgrading for detection module, sends the upgrading file prestored to described telepilot.
Can find out, in embodiment of the present invention technical scheme, Set Top Box sends for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, obtain the telepilot upgrading mark of described remote controller response described request instruction feedback, telepilot based on described acquisition upgrades telepilot described in label detection the need of upgrading, if detecting, described telepilot needs upgrading, and described Set Top Box sends the upgrading file prestored to described telepilot. By implementing the embodiment of the present invention, be conducive to reducing the follow-up use cost of telepilot, save resource, and the new function of the telepilot after being conducive to Consumer's Experience to upgrade.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of Set Top Box that fourth embodiment of the invention provides, as shown in Figure 4, the Set Top Box in the embodiment of the present invention comprises the sending module 301 in the 3rd embodiment, acquisition module 302, detection module 303 and upgraded module 304.
Optionally, described Set Top Box is connected by bluetooth with described telepilot, and described sending module 301 comprises further:
Creating unit 3011, for creating central authorities' class and central authorities' readjustment class;
By the service of described central authorities class, acquiring unit 3012, for finding that interface obtains the service class set of described telepilot;
Determining unit 3013, the service class for the general identifications symbol UUID with the general unique identifier match prestored that determine the service class that described service class is concentrated is destination service class;
Described acquiring unit 3012, also feature class for obtaining in described destination service class;
First write unit 3024, for writing the value of described feature class by preset field;
Send unit 3015, for being sent the request instruction of the request reading telepilot upgrading mark carrying described preset field to described telepilot by the reading feature interface of described central authorities class.
Optionally, described acquisition module 302, specifically for obtaining described telepilot upgrading mark by the reading characteristic results interface of described central authorities readjustment class.
Optionally, described upgraded module 304 may further include:
2nd write unit 3041, arranges the value of interface by eight byte write feature classes of described upgrading file for what call described feature class;
First judging unit 3042 is not last eight bytes of described upgrading file for described in interpretation eight bytes;
First upgrade unit 3043, for when interpretation goes out last eight bytes that described eight bytes are not described upgrading file, what described Set Top Box called described central authorities class writes described eight bytes that feature interface sends described upgrading file to described telepilot;
Cycle control unit 3044, for obtaining transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, that again calls feature class arranges the remainder bytes that interface continues to send described upgrading file.
Optionally, described upgraded module 304 may further include:
3rd write unit 3045, arranges the value of interface by eight byte write feature classes of described upgrading file for what call described feature class;
2nd judging unit 3046 is not last eight bytes of described upgrading file for described in interpretation eight bytes;
2nd upgrade unit 3047, for when going out, in interpretation, last eight bytes that described eight bytes are described upgrading file, what described Set Top Box called described central authorities class writes described eight bytes that feature interface sends described upgrading file to described telepilot;
Exiting unit 3048, for obtaining transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, described Set Top Box exits telepilot upgrade application.
Optionally, described Set Top Box can further include:
Exiting module 305, if detecting that described telepilot does not need upgrading for detection module, exiting telepilot upgrade application.
Can find out, in embodiment of the present invention technical scheme, Set Top Box sends for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, obtain the telepilot upgrading mark of described remote controller response described request instruction feedback, telepilot based on described acquisition upgrades telepilot described in label detection the need of upgrading, if detecting, described telepilot needs upgrading, and described Set Top Box sends the upgrading file prestored to described telepilot. By implementing the embodiment of the present invention, be conducive to reducing the follow-up use cost of telepilot, save resource, and the new function of the telepilot after being conducive to Consumer's Experience to upgrade.
Please refer to Fig. 5, Fig. 5 is the structural representation of a kind of Set Top Box that fifth embodiment of the invention provides. As shown in Figure 5, the Set Top Box in the embodiment of the present invention comprises: at least one treater 501, such as CPU, at least one receptor 503, at least one storer 504, at least one transmitter 505, at least one communication bus 502. Wherein, the connection communication of communication bus 502 for realizing between these assemblies. Wherein, in the embodiment of the present invention, the receptor 503 of device and transmitter 505 can be wired transmission ports, it is also possible to be wireless device, such as, comprise antenna installation, for carrying out the communication of signaling or data with other node devices. Storer 504 can be high-speed RAM storer, it is also possible to be non-labile storer (non-volatilememory), such as at least one multiple head unit. Storer 504 can also be optionally that at least one is positioned at the storing device away from aforementioned processor 501. Storer 504 stores one group of program code, and described treater 501 is by communication bus 502, call in storer 504 code stored to perform the function being correlated with.
Described treater 501, for sending for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, described request instruction is used to indicate described telepilot and sends telepilot more new logo to described Set Top Box; Obtain the telepilot upgrading mark of described remote controller response described request instruction feedback; Telepilot based on described acquisition upgrades telepilot described in label detection the need of upgrading; If detecting, described telepilot needs upgrading, sends the upgrading file prestored to described telepilot.
Optionally, described Set Top Box is connected by bluetooth with described telepilot, described treater 501, when for sending for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, specifically for: create central authorities' class and central authorities' readjustment class; Find that interface obtains the service class set of described telepilot by the service of described central authorities class; Determine that the general identifications symbol UUID of the service class that described service class is concentrated is destination service class with the service class of the general unique identifier match prestored; Obtain the feature class in described destination service class, and preset field is write the value of described feature class; Sent the request instruction of the request reading telepilot upgrading mark carrying described preset field to described telepilot by the reading feature interface of described central authorities class.
Optionally, described treater 501 for obtain described remote controller response described request instruction feedback telepilot upgrading mark time, specifically for: by described central authorities readjustment class reading characteristic results interface obtain described telepilot upgrading mark.
Optionally, described treater 501 for described Set Top Box to described telepilot send prestore upgrading file time specifically for: that calls described feature class arranges the value of interface by eight byte write feature classes of described upgrading file; When interpretation goes out last eight bytes that described eight bytes are not described upgrading file, that calls described central authorities class writes described eight bytes that feature interface sends described upgrading file to described telepilot; Obtaining transmission result by the characteristic results interface of writing of described central readjustment class, if described transmission result is for send successfully, described Set Top Box calls the remainder bytes arranging the interface continuation described upgrading file of transmission of feature class again.
Optionally, described treater 501 for described Set Top Box to described telepilot send prestore upgrading file time specifically for: that calls described feature class arranges the value of interface by eight byte write feature classes of described upgrading file; When interpretation goes out last eight bytes that described eight bytes are described upgrading file, that calls described central authorities class writes described eight bytes that feature interface sends described upgrading file to described telepilot; Obtain transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, exit telepilot upgrade application.
Optionally, described treater 501 for based on described acquisition telepilot upgrading label detection described in telepilot the need of upgrading after, if also for detect described telepilot do not need upgrading, exit telepilot upgrade application.
Can find out, in embodiment of the present invention technical scheme, Set Top Box sends for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, obtain the telepilot upgrading mark of described remote controller response described request instruction feedback, telepilot based on described acquisition upgrades telepilot described in label detection the need of upgrading, if detecting, described telepilot needs upgrading, and described Set Top Box sends the upgrading file prestored to described telepilot. By implementing the embodiment of the present invention, be conducive to reducing the follow-up use cost of telepilot, save resource, and the new function of the telepilot after being conducive to Consumer's Experience to upgrade.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can have program stored therein, and comprises in aforesaid method embodiment the part or all of step of any a kind of monitoring method serving process recorded when this program performs.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of operation, because according to the present invention, some step can adopt other orders or carry out simultaneously. Secondly, those skilled in the art also should know, the embodiment described in specification sheets all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, certain embodiment there is no the part described in detail, it is possible to see the associated description of other embodiments.
In several embodiments that the application provides, it should be appreciated that, disclosed device, realizes by other mode. Such as, device embodiment described above is only schematic, the such as division of described unit, it is only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or does not perform. Another point, shown or discussed coupling each other or directly coupling or communication connection can be the indirect coupling by some interfaces, device or unit or communication connection, it is possible to be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or can also be distributed on multiple NE. Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to is that the independent physics of each unit exists, it is also possible to two or more unit are in a unit integrated. Above-mentioned integrated unit both can adopt the form of hardware to realize, it is also possible to adopts the form of software functional unit to realize.
If described integrated unit realize using the form of software functional unit and as independent production marketing or when using, it is possible to be stored in a computer read/write memory medium. Based on such understanding, the technical scheme of the present invention in essence or says that part prior art contributed or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage media, comprises some instructions with so that computer equipment (can be Personal Computer, server or the network equipment etc.) performs all or part of step of method described in each embodiment of the present invention. And aforesaid storage media comprises: USB flash disk, read-only storage (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The all or part of step that one of ordinary skill in the art will appreciate that in the various methods of above-described embodiment can be completed by the hardware that program carrys out instruction relevant, this program can be stored in a computer-readable recording medium, storage media can comprise: flash disk, read-only storage are (English: Read-OnlyMemory, be called for short: ROM), random access device (English: RandomAccessMemory, RAM), disk or CD etc. be called for short:.
A kind of telepilot upgrade method embodiment of the present invention provided above and Set Top Box are described in detail, apply specific case herein the principle of the present invention and enforcement mode to have been set forth, illustrating just for helping the method understanding the present invention and core concept thereof of above embodiment; Meanwhile, for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a telepilot upgrade method, it is characterised in that, comprising:
Set Top Box sends for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, and described request instruction is used to indicate described telepilot and sends telepilot more new logo to described Set Top Box;
Described Set Top Box obtains the telepilot upgrading mark of described remote controller response described request instruction feedback;
Described Set Top Box upgrades telepilot described in label detection the need of upgrading based on the telepilot of described acquisition;
If detecting, described telepilot needs upgrading, and described Set Top Box sends the upgrading file prestored to described telepilot.
2. the method for claim 1, it is characterized in that, described Set Top Box is connected by bluetooth with described telepilot, and Set Top Box sends for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, comprising:
Described Set Top Box creates central authorities' class and central authorities' readjustment class;
By the service of described central authorities class, described Set Top Box finds that interface obtains the service class set of described telepilot;
Described Set Top Box determines that the general identifications symbol UUID of the service class that described service class is concentrated is destination service class with the service class of the general unique identifier match prestored;
Described Set Top Box obtains the feature class in described destination service class, and preset field writes the value of described feature class;
Described Set Top Box sends the request instruction of the request reading telepilot upgrading mark carrying described preset field by the reading feature interface of described central authorities class to described telepilot.
3. method as claimed in claim 2, it is characterised in that, described Set Top Box obtains the telepilot upgrading mark of described remote controller response described request instruction feedback, comprising:
Described Set Top Box obtains described telepilot upgrading mark by the reading characteristic results interface of described central authorities readjustment class.
4. method as claimed in claim 3, it is characterised in that, described Set Top Box sends the upgrading file prestored to described telepilot, comprising:
What described Set Top Box called described feature class arranges the value of interface by eight byte write feature classes of described upgrading file;
When interpretation goes out last eight bytes that described eight bytes are not described upgrading file, described Set Top Box call described central authorities class write described eight bytes that feature interface sends described upgrading file to described telepilot;
Described Set Top Box obtains transmission result by the characteristic results interface of writing of described central readjustment class, if described transmission result is for send successfully, described Set Top Box calls the remainder bytes arranging the interface continuation described upgrading file of transmission of feature class again.
5. method as claimed in claim 3, it is characterised in that, described Set Top Box sends the upgrading file prestored to described telepilot, comprising:
What described Set Top Box called described feature class arranges the value of interface by eight byte write feature classes of described upgrading file;
When interpretation goes out last eight bytes that described eight bytes are described upgrading file, described Set Top Box call described central authorities class write described eight bytes that feature interface sends described upgrading file to described telepilot;
Described Set Top Box obtains transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, described Set Top Box exits telepilot upgrade application.
6. method as described in item as arbitrary in claim 1 to 5, it is characterised in that, described Set Top Box based on described acquisition telepilot upgrading label detection described in telepilot the need of, after upgrading, described method also comprises:
If detecting, described telepilot does not need upgrading, and described Set Top Box exits telepilot upgrade application.
7. a Set Top Box, it is characterised in that, comprising:
Sending module, for sending for asking the request instruction reading described telepilot upgrading mark to the telepilot established a communications link with described Set Top Box, described request instruction is used to indicate described telepilot and sends telepilot more new logo to described Set Top Box;
Acquisition module, for obtaining the telepilot upgrading mark of described remote controller response described request instruction feedback;
Detection module, for telepilot described in the telepilot upgrading label detection based on described acquisition the need of upgrading;
Upgraded module, if detecting that described telepilot needs upgrading for detection module, sends the upgrading file prestored to described telepilot.
8. Set Top Box as claimed in claim 7, it is characterised in that, described Set Top Box is connected by bluetooth with described telepilot, and described sending module comprises:
Creating unit, for creating central authorities' class and central authorities' readjustment class;
By the service of described central authorities class, acquiring unit, for finding that interface obtains the service class set of described telepilot;
Determining unit, the service class for the general identifications symbol UUID with the general unique identifier match prestored that determine the service class that described service class is concentrated is destination service class;
Described acquiring unit, also feature class for obtaining in described destination service class;
Write unit, for writing the value of described feature class by preset field;
Send unit, for being sent the request instruction of the request reading telepilot upgrading mark carrying described preset field to described telepilot by the reading feature interface of described central authorities class.
9. Set Top Box as claimed in claim 8, it is characterised in that,
Described acquisition module, specifically for obtaining described telepilot upgrading mark by the reading characteristic results interface of described central authorities readjustment class.
10. Set Top Box as claimed in claim 9, it is characterised in that, described upgraded module comprises:
First write unit, arranges the value of interface by eight byte write feature classes of described upgrading file for what call described feature class;
First judging unit is not last eight bytes of described upgrading file for described in interpretation eight bytes;
First upgrade unit, for when interpretation goes out last eight bytes that described eight bytes are not described upgrading file, what described Set Top Box called described central authorities class writes described eight bytes that feature interface sends described upgrading file to described telepilot;
Cycle control unit, for obtaining transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, that again calls feature class arranges the remainder bytes that interface continues to send described upgrading file.
11. Set Top Boxes as claimed in claim 9, it is characterised in that, described upgraded module comprises:
2nd write unit, arranges the value of interface by eight byte write feature classes of described upgrading file for what call described feature class;
2nd judging unit is not last eight bytes of described upgrading file for described in interpretation eight bytes;
2nd upgrade unit, for when going out, in interpretation, last eight bytes that described eight bytes are described upgrading file, what described Set Top Box called described central authorities class writes described eight bytes that feature interface sends described upgrading file to described telepilot;
Exiting unit, for obtaining transmission result by the characteristic results interface of writing of described central authorities readjustment class, if described transmission result is for send successfully, described Set Top Box exits telepilot upgrade application.
Set Top Box as described in 12. items as arbitrary in claim 7 to 11, it is characterised in that, described Set Top Box also comprises:
Exiting module, if detecting that described telepilot does not need upgrading for detection module, exiting telepilot upgrade application.
CN201511031612.8A 2015-12-31 2015-12-31 Remote controller upgrading method and set-top box Pending CN105657504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511031612.8A CN105657504A (en) 2015-12-31 2015-12-31 Remote controller upgrading method and set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511031612.8A CN105657504A (en) 2015-12-31 2015-12-31 Remote controller upgrading method and set-top box

Publications (1)

Publication Number Publication Date
CN105657504A true CN105657504A (en) 2016-06-08

Family

ID=56490134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511031612.8A Pending CN105657504A (en) 2015-12-31 2015-12-31 Remote controller upgrading method and set-top box

Country Status (1)

Country Link
CN (1) CN105657504A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109386936A (en) * 2018-09-27 2019-02-26 Tcl空调器(中山)有限公司 Burning, remote control method, air-conditioning, remote controler and the system of air conditioner electric control plate

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030163542A1 (en) * 2002-02-28 2003-08-28 Koninklijke Philips Electronics N.V. Remote control signals updated and stored via network
CN201163445Y (en) * 2008-02-04 2008-12-10 深圳市同洲电子股份有限公司 Remote controller emitting set and its remote control system
US20090235244A1 (en) * 2008-03-12 2009-09-17 Ikumi Enomori Software update system for information equipment
KR101056516B1 (en) * 2010-10-27 2011-08-11 조용대 Updatable remote controller system having wireless tag
CN102651161A (en) * 2011-02-28 2012-08-29 冠捷投资有限公司 Remote controller with remote updating function
CN103024549A (en) * 2012-12-06 2013-04-03 青岛海信电器股份有限公司 Method for upgrading software of peripheral equipment of television
CN103457620A (en) * 2013-09-09 2013-12-18 深圳市富斯遥控模型技术有限公司 Method and updating system for achieving system updating of model remote controller receiving machine
CN104602114A (en) * 2015-01-09 2015-05-06 乐视致新电子科技(天津)有限公司 Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030163542A1 (en) * 2002-02-28 2003-08-28 Koninklijke Philips Electronics N.V. Remote control signals updated and stored via network
CN201163445Y (en) * 2008-02-04 2008-12-10 深圳市同洲电子股份有限公司 Remote controller emitting set and its remote control system
US20090235244A1 (en) * 2008-03-12 2009-09-17 Ikumi Enomori Software update system for information equipment
KR101056516B1 (en) * 2010-10-27 2011-08-11 조용대 Updatable remote controller system having wireless tag
CN102651161A (en) * 2011-02-28 2012-08-29 冠捷投资有限公司 Remote controller with remote updating function
CN103024549A (en) * 2012-12-06 2013-04-03 青岛海信电器股份有限公司 Method for upgrading software of peripheral equipment of television
CN103457620A (en) * 2013-09-09 2013-12-18 深圳市富斯遥控模型技术有限公司 Method and updating system for achieving system updating of model remote controller receiving machine
CN104602114A (en) * 2015-01-09 2015-05-06 乐视致新电子科技(天津)有限公司 Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109386936A (en) * 2018-09-27 2019-02-26 Tcl空调器(中山)有限公司 Burning, remote control method, air-conditioning, remote controler and the system of air conditioner electric control plate

Similar Documents

Publication Publication Date Title
CN104618793B (en) A kind of information processing method and electronic equipment
WO2014051207A1 (en) Electronic device, server and control method thereof
EP3474273A1 (en) Electronic apparatus and method for voice recognition
CN101237256B (en) Electronic device and NFC-control method based on other electronic device
CN105516246A (en) Method for preventing application program downloading hijacking and server
CN104735607A (en) Data transmission method, mobile terminal and system
EP2753048B1 (en) Apparatus and method for providing a near field communication function in a portable terminal
CN104756080A (en) Augmenting capabilities of a host device
CN107038046B (en) Method and device for upgrading audio playing system and terminal
CN105007082A (en) Data compression method and device, and terminal
CN103209203A (en) Cross-platform application providing method and client
CN110278278A (en) A kind of data transmission method, system, device and computer media
CN106997302A (en) Firmware upgrade method, device and audio-frequence player device
CN104683002A (en) Method and device for pairing Bluetooth equipment
CN104123496A (en) Rogue software interception method, device and terminal
CN109918203A (en) Access server memory management optimization method, access server and communication system
CN105320616A (en) External device control method and device
CN103327021A (en) Method, devices and system of multi-device interaction
CN114866424A (en) Server management method, device, system, electronic equipment and readable storage medium
WO2017219872A1 (en) Set top box upgrading and channel changing methods and systems
CN111757123A (en) Distributed video decoding system, video decoding output method and device
CN109144586A (en) A kind of driving adaptation method, device, computer equipment and storage medium
CN105657504A (en) Remote controller upgrading method and set-top box
CN112615909A (en) Method for storing data in cascade storage server cluster and related equipment
CN104516743A (en) Upgrading method and system of embedded device firmware based on ActiveX

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160608

RJ01 Rejection of invention patent application after publication