CN104602114A - Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller - Google Patents

Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller Download PDF

Info

Publication number
CN104602114A
CN104602114A CN201510011411.5A CN201510011411A CN104602114A CN 104602114 A CN104602114 A CN 104602114A CN 201510011411 A CN201510011411 A CN 201510011411A CN 104602114 A CN104602114 A CN 104602114A
Authority
CN
China
Prior art keywords
transfer
data
data bag
upgrade file
remote controller
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
CN201510011411.5A
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510011411.5A priority Critical patent/CN104602114A/en
Publication of CN104602114A publication Critical patent/CN104602114A/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]
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4432Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Abstract

The invention discloses a method for transmitting and receiving upgrade documents, an intelligent, a remote controller and a system matched with the method. The method comprises the steps that: the upgrade file is divided into multiple sub-files, each sub-file data packets are encapsulated by a transport protocol, each data packet transmitted sequentially over the wireless network to transfer from the smart TV remote control send for the remote control in the local synthesis of the upgrade file for the upgrade process.

Description

Transmit and receive the method for upgrade file, system, intelligent television and remote controller
Technical field
The present invention relates to intelligent television field, particularly relate to a kind of method of transmission and reception upgrade file, system, intelligent television and remote controller.
Background technology
Along with the development of intelligent television, in the face of various what's new, generally speaking, the remote controller of its correspondence also must be upgraded what's new.In addition, when remote controller generation problem, also need to repair problem by software upgrading.
When carrying out remote controller upgrading, often need to send upgrade file by intelligent television to remote controller.The transmission of upgrade file needs first divided file, and then is combined and verify.
But the method that current market adopts, usually needs the integrality verifying received upgrade file by complicated algorithm algorithms such as () such as MD5 or CRC, therefore needs more calculation resources.
Summary of the invention
Based on the problems referred to above, the invention provides a kind of transmit upgrade file method and system and intelligent television and remote controller, and verify the integrality of the upgrade file received.In addition, the present invention also provides a kind of intelligent television and the remote controller with its pairing.This upgrade file is transferred to remote controller from intelligent television.
The method of transmission upgrade file provided by the invention comprises: upgrade file is divided into multiple subfile according to preset rules; Each subfile is encapsulated as respectively corresponding transfer of data bag; By the host-host protocol preset, each transfer of data bag is sequentially passed through wireless network according to Preset Transfer and sends remote controller to, synthesize described upgrade file for described remote controller in this locality and carry out upgrading processing.
Preferably, respectively this subfile is 32 bytes.This host-host protocol is 2.4G host-host protocol.
Preferably, each transfer of data handbag draws together a sequence area, a capacity region and a data field, the wherein order of recognizable respectively this transfer of data bag in this sequence area, this data field is the data storing this subfile, and the capacity of recognizable respectively this transfer of data bag in this capacity region.In addition, each transfer of data bag also comprises a tag slot, is used for identifying this upgrade file.Described sequence area more comprises discrimination bit, is used for indicating last transfer of data bag.
The method of reception upgrade file provided by the invention comprises: the transfer of data bag being received multiple host-host protocol transmission by presetting by wireless network; Verify the whether complete reception of each transfer of data bag; Judge whether to receive all transfer of data bags completely; And after each transfer of data bag is completely received and all transfer of data bags are all received, merge all transfer of data bags, form upgrade file at remote controller.
Each transfer of data bag is by the segmentation subfile package of 32 bytes.Each transfer of data bag is the remote controller being transferred to pairing by 2.4G host-host protocol from this intelligent television.Each transfer of data handbag draws together a sequence area, a capacity region and a data field, wherein the order of recognizable respectively this transfer of data bag in this sequence area, and this data field is the data storing this subfile, and the capacity of recognizable respectively this transfer of data bag in this capacity region.Each transfer of data bag also comprises a tag slot, is used for identifying this upgrade file.Described sequence area more comprises discrimination bit, is used for indicating last transfer of data bag; Judge whether to receive all transfer of data bags completely, also comprise: according to sequence number and the discrimination bit of this sequence area, judge whether that all transfer of data bags have received.
Preferably, verify the whether complete reception of each transfer of data bag, comprise: the tag slot of the individual data transmission package of current reception is detected, verify the transfer of data bag whether described individual data transmission package is this upgrade file, and judge whether the actual capacity size of described individual data transmission package conforms to the capacity indicated in the capacity region of described individual data transmission package; If conform to, then temporarily preserve the individual data transmission package of the described current reception of storage.
Judge whether to receive all transfer of data bags completely, also comprise: all transfer of data bags received are resolved, calculate the content-data in data field in each transfer of data bag, described content-data is calculated and asks summation; The summation described content-data being calculated gained compares with the total capacity of the upgrade file obtained in advance; If both conform to, then in remote controller side, described upgrade file is installed; If not, then delete the described upgrade file combining and obtain and all transfer of data bags received, and ask described intelligent television to stress all transfer of data bags of new transmission.
The method of transmission upgrade file provided by the invention is particularly useful for intelligent television, and therefore the present invention also provides a kind of intelligent television, and upgrade file can be transferred to the remote controller of pairing by it.This intelligent television comprises: segmentation module, a package module and a transport module.Segmentation module is used for upgrade file to be divided into multiple subfile according to preset rules.Package module is used for each subfile to be encapsulated as corresponding transfer of data bag respectively.Transport module is used for, by the host-host protocol preset, each transfer of data bag being sequentially passed through wireless network according to Preset Transfer and sending remote controller to, synthesize described upgrade file carry out upgrading processing for described remote controller in this locality.
Preferably, this host-host protocol is 2.4G host-host protocol, and respectively this subfile is 32 bytes.Each transfer of data handbag draws together a sequence area, a capacity region and a data field, wherein the order of recognizable respectively this transfer of data bag in this sequence area, and this data field is the data storing this subfile, and the capacity of recognizable respectively this transfer of data bag in this capacity region.
The method of reception upgrade file provided by the invention is particularly useful for the remote controller matched with intelligent television, and therefore the present invention also provides a kind of remote controller, and itself and intelligent television match and receive a upgrade file.This remote controller comprises: receiver module, correction verification module and processing module.Receiver module is used for by wireless network by the transfer of data bag receiving multiple host-host protocol transmission by presetting.Correction verification module is for verifying the whether complete reception of each transfer of data bag.Processing module, after each transfer of data bag is completely received and all transfer of data bags are all received, described processing module merges all transfer of data bags, and forms upgrade file at this remote controller.
It is also preferred that, this host-host protocol is 2.4G host-host protocol, and respectively this subfile is 32 bytes.Each transfer of data handbag draws together a sequence area, a capacity region and a data field, wherein the order of recognizable respectively this transfer of data bag in this sequence area, and this data field is the data storing this subfile, and the capacity of recognizable respectively this transfer of data bag in this capacity region.
The present invention also provides a kind of system transmitting upgrade file, and it comprises: aforesaid intelligent television, and aforesaid remote controller.
The invention provides the method for transmission and reception upgrade file, system, intelligent television and remote controller.The method of transmission upgrade file is particularly useful for intelligent television, and the present invention by the method, makes file be divided into be convenient to the packet of complete reception, from intelligent television complete be sent to remote controller.The method of reception upgrade file of the present invention is particularly suitable for remote controller, and by repeatedly verifying, it is once the completeness check to each transfer of data bag completeness check, all transfer of data bags, and the completeness check to the upgrade file combined, therefore can ensure integrality and the correctness of the content received.And verification scheme of the present invention, without the need to taking too many resource to calculate, therefore can provide mechanism more easily to transmit and receive upgrade file.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is be transferred to the schematic diagram with the remote controller of its pairing from intelligent television by upgrade file;
Fig. 2 is the method flow diagram according to transmission upgrade file of the present invention;
Fig. 3 is the structural representation according to each transfer of data bag of the present invention;
Fig. 4 is the structural representation of the intelligent television that can transmit upgrade file;
Fig. 5 is the method flow diagram according to reception upgrade file of the present invention;
Fig. 6 is the structural representation of the remote controller that can receive upgrade file; And
Fig. 7 is the another structural representation of the remote controller that can receive upgrade file.
Embodiment
Describe cooperation drawings and Examples in detail embodiments of the present invention below, by this to the present invention how application technology means solve technical problem and the implementation procedure reaching technology effect can fully understand and implement according to this.
embodiment one
Please refer to Fig. 1, in general, when remote controller 2 needs what's new or repairs damage, just need to write upgrade file at remote controller 2, make remote controller 2 can control intelligent television 1 smoothly.Therefore, the invention provides transmission and method of reseptance upgrade file is transferred to the remote controller 2 with its pairing from intelligent television 1.The method of transmission of the present invention and reception upgrade file, can verify the integrality of received upgrade file.Below will be described in detail.
Please refer to Fig. 2, the flow chart of its display first embodiment of the present invention: the method flow diagram of transmission upgrade file, it comprises following steps.
Step S21: upgrade file is divided into multiple subfile according to preset rules.
Further, upgrade file can be sent to local intelligent television 1 by first distally server end, and this upgrade file is divided into multiple subfile according to the byte number of predetermined quantity by intelligent television 1.Preferably, this upgrade file is split into multiple subfile comprising 32 bytes (byte).Namely intelligent television 1 reads 32 bytes of upgrade file is a unit (subfile), sequentially reads upgrade file.But usually due to the multiple that the size of upgrade file is not 32 bytes, so when assigning to last subfile, data volume is not enough to reach 32 bytes, after filling up data, also leave a lot of rooms, at this moment these rooms are filled up with 0, finally obtain the subfile of 32 bytes.The cutting techniques adopted in the embodiment of the present invention can be usual in prior art dividing method, do not repeat them here.
Step S22: each subfile is packaged into respectively corresponding transfer of data bag.
In this step, each subfile can be packaged into a corresponding transfer of data bag, and multiple subfile then can be packaged into the transfer of data bag of multiple correspondence.
Step S23: by host-host protocol, is transferred to remote controller with its pairing according to Preset Transfer order from this intelligent television by each transfer of data bag, synthesizes described upgrade file carry out upgrading processing for described remote controller in this locality.
Preferably, this host-host protocol is 2.4G host-host protocol.Each transfer of data bag is transferred to remote controller with its pairing according to transmission sequence from this intelligent television with single-threaded.
For the ease of the verification (being described in further detail in the embodiment two of method receiving upgrade file below) during receipt of subsequent, the present invention is while being transferred to the remote controller with its pairing from intelligent television by each transfer of data bag, or before, or afterwards, first the information of upgrade file total capacity can be sent to remote controller from intelligent television.Also can send the information of the quantity of transfer of data bag to remote controller from intelligent television further.These two information can simultaneously or asynchronous transmission.In addition further, please refer to Fig. 3, each transfer of data bag 3 comprises capacity region, sequence area 32, one 33 and a data field 34; Further, each transfer of data bag 3 also comprises a tag slot 31.Sequence area 32, except having the sequence number of identification order, also includes discrimination bit.Whether the recognizable current transfer of data bag of discrimination bit is last transfer of data bag.
Tag slot 31 is used to identify this upgrade file, the unique identification of this upgrade file (normally the mark of 2 byte positions) can write in tag slot 31 when encapsulation of data transmission package 3 by transmitting terminal (intelligent television 1), transfer of data bag 3 is received like this at receiving terminal (remote controller 2), can first recognize tag slot 31, be confirmed whether the transfer of data bag into upgrade file.
The order of sequence area 32 each transfer of data bag recognizable, transmitting terminal (intelligent television 1) can be that each transfer of data is responsible for assigning sequence number according to sending order when encapsulation of data transmission package 3, and sequence number being write in the sequence area 31 of each transfer of data bag, such sequence number just can be used for differentiating these transfer of data bags.Because receiving terminal (remote controller 2) not necessarily order receives each transfer of data bag 3, after receiving transfer of data bag, can recognize whether the transfer of data bag that receives has repetition by sequence area, can also recognize whether lack transfer of data bag by sequence area in addition, can also be retransmitted to the transfer of data bag of transmitting terminal (intelligent television 1) request with regard to corresponding sequence number by the sequence number in sequence area if lacked.About the integrality of checking data transmission package, describe in detail in the embodiment receiving the method for upgrade file down below again.
33, capacity region is the amount of capacity of single transmission packet after record encapsulation, and this capacity region can be used for verifying the integrality of each single transmission packet.
34, data field is for storing the content-data of the subfile of segmentation, and the size of the content-data stored in this data field 34 is 32 bytes at the present embodiment.
The present invention, by the method for transmission upgrade file, makes upgrade file be divided into be convenient to the transmission packet of complete reception, and can be sent to remote controller from the transmission that intelligent television is complete, thus make remote controller can complete upgrade file smoothly.Further describe for the method receiving upgrade file below, and illustrate how to verify received transmission packet.
embodiment two
Next please refer to Fig. 5, second embodiment of the present invention---receive the method for upgrade file, it comprises:
Step S51: the transfer of data bag being received multiple host-host protocol transmission by presetting by wireless network.
Preferably, each transfer of data bag be by 2.4G host-host protocol from this intelligent television with the single-threaded remote controller being transferred to pairing.But multiple transfer of data bag of the present invention is not limited to the remote controller being transferred to pairing from this intelligent television, namely, multiple transfer of data Bao Yike is from smart mobile phone or computer transmission to the remote controller of pairing.The present embodiment preferably above-mentioned first embodiment of single-threaded received in sequence splits the transfer of data bag of rear package, namely each transfer of data bag is encapsulated by the segmentation subfile of 32 bytes (byte) to form, each transfer of data bag 3 comprises capacity region, sequence area 32, one 33 and a data field 34, its function is described above, therefore it is no longer repeated.
Next need to judge whether transfer of data bag receives complete.Here complete reception has two layers of meaning, the whether complete reception of the first each transmission packet, and it two is whether all transfer of data bags receive all.What first detect below is when receiving single transmission packet, the whether complete reception of single transmission packet.
Perform step S52: judge whether the transfer of data bag be currently received receives complete.
In this step, when receiving transfer of data bag, first the tag slot 31 of the transfer of data bag be currently received being detected, recognizing the transfer of data bag of the transfer of data bag that is currently received whether upgrade file.If detected by tag slot 31 and find that the transfer of data bag be currently received is not the transfer of data bag of upgrade file, illustrate that the transfer of data bag be currently received does not have complete reception, then perform step S58.
In this step, when receiving transfer of data bag, also to judge whether the capacity of nominal in the actual size of received transfer of data bag and the capacity region of transfer of data bag conforms to.Namely, transmitting terminal (intelligent television) before sending transfer of data bag can first calculated data transmission package capacity (size) and first write the capacity region of transfer of data bag, during reception, receiving terminal (remote controller) is also the actual capacity (size) first calculating received transfer of data bag, then compared with the capacity (size) of nominal in capacity region.If when judging that the capacity of transfer of data bag is not identical with the capacity (size) of capacity region, just represent that transfer of data bag is not intactly received, then perform step S58.
If detected by tag slot 31 and find that the transfer of data bag be currently received is the transfer of data bag of upgrade file, and the capacity of nominal conforms in the actual size of the transfer of data bag received and the capacity region of transfer of data bag, illustrate that the transfer of data bag be currently received is the transfer of data bag of upgrade file, and the transfer of data bag be currently received intactly is received, then perform step S521.
Step S58: the transfer of data bag (not being received if lack transfer of data bag, then without the need to abandoning) of not complete reception described in abandoning, and the transfer of data bag again transmitting not complete reception to transmitting terminal (intelligent television) request.The sequence number in this transfer of data packet sequence district 32 is carried, so that transmitting terminal (intelligent television) knows which transfer of data bag of this repeating transmission in the request sent.Then return step S51, receiving terminal (remote controller 2) receives the transfer of data bag of repeating transmission again.
Step S521: temporal data transmission package, and perform step S53.
In the temporary memory block of remote controller, the transfer of data bag of the temporary integrity authentication through step S52 received.
Step S53: judge whether to receive all transfer of data bags completely.
Sequence area 32 according to transfer of data bag 3 judges, namely, described sequence area 32 more comprises discrimination bit, is used for indicating last transfer of data bag.。Therefore, receiving terminal receives transfer of data Bao Kecong sequence area 32 to determine whether last.Utilize single-threaded sequential delivery, when received transfer of data bag is last transfer of data bag, just represent that all transfer of data Bao Douyi are done reception.
Certainly a kind of situation is also had, in single-threaded sequential delivery process, the situation having packet loss or make a mistake, in this case often need to retransmit, therefore cause transmitting is not likely in order, but upset, now wrap in last transfer of data of packing the record done sequence area 32 simply by virtue of transmitting terminal and go to detect whether complete transmission is inadequate, because the transfer of data bag whether not yet retransmitted in addition after this transfer of data bag can not be confirmed whether.Therefore need to receive and the transfer of data bag of keeping in detects all the temporary memory block of remote controller, whether the sequence number detecting these transfer of data bags is continuous whole, and to have the transfer of data bag of " last " discrimination bit in sequence area 32 as end.Such as, the discrimination bit of the sequence area 32 of last transfer of data bag is set to " 0 ", and the discrimination bit of the sequence area 32 of other transfer of data bags is set to " 1 ".If the sequence number of these transfer of data bags is continuous whole, then can guarantee to receive all transfer of data bags completely.Simultaneously by process that whether sequence number of these transfer of data bags of above-mentioned detection is continuous whole, the transfer of data bag that sequence number repeats can also be found out, and by verifying the data content of transfer of data bag thus the transfer of data bag duplicate removal that will really repeat.
If step S53 is judged as "No", do not receive all transfer of data bags completely, the transfer of data bag currently may not receiving and make to have " last " discrimination bit in sequence area 32 is described, obviously now transfer of data bag does not also transfer, although be also likely have received the transfer of data bag making to have " last " discrimination bit in sequence area 32, but lost some transfer of data bags by detecting discovery, now need to ask the transfer of data bag to losing to retransmit, then perform step S58.
If step S53 is judged as "Yes", guarantee to receive all transfer of data bags completely, then perform step S54.
Step S54: merge all transfer of data bags, forms upgrade file at this remote controller.
By the transfer of data Packet analyzing of keeping in memory block is corresponding subfile in remote controller side, and merging according to resolving all subfiles obtained, being combined to form upgrade file.
Step S55: complete checks is carried out to the upgrade file formed in step S54.
Except judging whether (verification) individual data transmission package has intactly received and all transfer of data bags whether to be intactly received, whether the present invention also verifies the upgrade file after merging all transfer of data bags further complete, and the content merged misses transfer of data bag.
In this step, receiving terminal (remote controller) is resolved the actual all transfer of data bags received, calculate the content-data in data field 34 in each transfer of data bag, reject in particular for 0 filling part in data field 34 in last transfer of data bag, then these content-datas are calculated summation.
In addition, before issuing transfer of data bag, receiving terminal (remote controller) has received the information of the total capacity of the upgrade file that need transmit from transmitting terminal (intelligent television).
Compare calculating the information of the summation of trying to achieve the content-data received with the total capacity receiving the upgrade file that need transmit, if both conform to (namely step S55 is judged as "Yes"), just illustrate and define complete, correct upgrade file, then perform step S56.If both do not conform to (namely step S55 is judged as "No"), just illustrate and do not define complete, correct upgrade file, then perform step S57.
Step S56: by complete upgrade file write remote controller, install in remote controller.
Step S57: the upgrade file that obtains will be merged and delete, and by the temporary memory block of remote controller the total data transmission package of keep in delete, return step S51, receiving terminal (remote controller 2) asks again to receive all transfer of data bags.
Because file of the present invention is split into the subfile of 32 bytes, during verification, only need comparison summation, therefore without the need to too many calculation resources.Verification can be completed faster, and then upgrade file.In addition, by the verification of twice, transmission of the present invention and method of reseptance can provide more accurately complete upgrade file, for user, can have simpler and easy and accurate experience.
embodiment three
The method of above-mentioned transmission upgrade file is particularly useful for intelligent television, and therefore the present invention also provides a kind of intelligent television (intelligent television 1 such as shown in Fig. 1).Upgrade file can be transferred to the remote controller 2 of pairing by intelligent television 1.
Please refer to Fig. 4, intelligent television comprises: segmentation module 41, package module 42 and a transport module 43.
Segmentation module 41 is for being divided into multiple subfile by upgrade file according to preset rules.Namely by sequentially reading certain byte number (such as 32 bytes) of upgrade file, upgrade file is divided into multiple subfile.Namely intelligent television 1 reads 32 bytes of upgrade file is a unit (subfile), sequentially reads upgrade file.But usually due to the multiple that the size of upgrade file is not 32 bytes, so when assigning to last subfile, data volume is not enough to reach 32 bytes, after filling up data, also leave a lot of rooms, at this moment these rooms are filled up with 0, finally obtain the subfile of 32 bytes.
Package module 42, for being packaged into corresponding transfer of data bag respectively by each subfile.Each subfile is packaged into a corresponding transfer of data bag by package module 42, and multiple subfile then can be packaged into the transfer of data bag of multiple correspondence.
Each transfer of data bag 3 comprises capacity region, sequence area 32, one 33 and a data field 34; Further, each transfer of data bag 3 also comprises a tag slot 31.Sequence area 32, except having the sequence number of identification order, also includes discrimination bit.Whether the recognizable current transfer of data bag of discrimination bit is last transfer of data bag.Detailed content about transfer of data bag 3 illustrates in the first embodiment, therefore it is no longer repeated.
Transport module 43, for the host-host protocol (such as 2.4G host-host protocol) by presetting, each transfer of data bag is transmitted to remote controller 2 by wireless network from intelligent television 1 according to Preset Transfer order (such as single-threaded) send, synthesizes described upgrade file for described remote controller 2 in this locality and carry out upgrading processing.
Upgrade file needed for remote controller 2 can carry out splitting by intelligent television 1 of the present invention, package and transmitting, especially by the Signal transmissions of 2.4G host-host protocol, its range of receiving large (distance can reach 10 meters), signal stabilization, transmission rate match in excellence or beauty bluetooth, and are not easily interfered.
embodiment four
The method of above-mentioned reception upgrade file is particularly useful for the remote controller matched with intelligent television 1, and therefore the present invention also provides a kind of remote controller 2, and itself and intelligent television 1 match and receive upgrade file.But as mentioned above, remote controller 2 of the present invention also can match with smart mobile phone or computer, receive the upgrade file sent from smart mobile phone or computer.
Please refer to Fig. 6, this remote controller 2 comprises receiver module 61, correction verification module 62 and a processing module 63.
Receiver module 61, transmits for being received the outside host-host protocol by presetting by wireless network each transfer of data bag sent.Such as, the receiver module 61 of this remote controller 2 receives each transfer of data bag of being sent by 2.4G host-host protocol of intelligent television 1 by wireless network.The present embodiment is preferably with the transfer of data bag of package after single-threaded received in sequence above-described embodiment segmentation, namely each transfer of data bag is encapsulated by the segmentation subfile of 32 bytes (byte) to form, each transfer of data bag 3 comprises capacity region, sequence area 32, one 33 and a data field 34, its function is described above, therefore it is no longer repeated.
Correction verification module 62, for verifying the whether complete reception of each transfer of data bag.Namely correction verification module 62 first detects the tag slot 31 of the transfer of data bag be currently received, and recognizes the transfer of data bag of the transfer of data bag that is currently received whether upgrade file.Correction verification module 62 also will judge whether the capacity of nominal in the actual size of received transfer of data bag and the capacity region of transfer of data bag conforms to.Namely, transmitting terminal (intelligent television) before sending transfer of data bag can first calculated data transmission package capacity (size) and first write the capacity region of transfer of data bag, during reception, the correction verification module 62 of receiving terminal (remote controller) first calculates the actual capacity (size) of received transfer of data bag, then compared with the capacity (size) of nominal in capacity region.
Further, correction verification module 62 is the sequence number of identification sequence area 32 and the discrimination bit of last transfer of data bag more, judges whether receive all transfer of data bags.The detailed content of verification as hereinbefore, therefore does not repeat to repeat.
To be completely received and after all transfer of data bags are all received, processing module 63 merges all transfer of data bags, and forms upgrade file at this remote controller 2 when correction verification module 62 verifies out each transfer of data bag.
Specifically, when correction verification module 62 verifies the whether complete reception of each transfer of data bag, need verify the whether complete reception of each transfer of data bag and verify the whether complete reception of all transfer of data bags.
The whether complete reception of verification individual data transmission package, refer to: the tag slot of the individual data transmission package be currently received is detected, recognize the transfer of data bag of described individual data transmission package whether upgrade file, and judge whether the actual size of described individual data transmission package conforms to the capacity of nominal in the capacity region of described individual data transmission package; Find that described individual data transmission package is the transfer of data bag of upgrade file if detected, and the actual size of described individual data transmission package conforms to the capacity of nominal in the capacity region of described individual data transmission package, illustrates that the described individual data transmission package be currently received is completely received; Find that described individual data transmission package is not the transfer of data bag of upgrade file if detected, and/or the actual size of described individual data transmission package does not conform to the capacity of nominal in the capacity region of described individual data transmission package, illustrates that the described individual data transmission package be currently received is not completely received.
Verify the whether complete reception of all transfer of data bags, refer to: whether detect in all transfer of data bags of receiving has in the sequence area of transfer of data bag that to have recorded respective data transfer bag be last transfer of data bag; Find to exist in the sequence area of transfer of data bag that to have recorded respective data transfer bag be last transfer of data bag if detected, then illustrate that all transfer of data bags are completely received, otherwise illustrate that all transfer of data bags are not completely received.
Verify the whether complete reception of all transfer of data bags, can also refer to: whether continuous wholely detect the sequence that the sequence number in the sequence area of all transfer of data bags received forms, and in sequence the respective data transfer bag of last sequence number tactic sequence area in whether to have recorded respective data transfer bag be last transfer of data bag; Find that whether sequence is continuous whole if detected, and to have recorded respective data transfer bag in the respective data transfer packet sequence district of last sequence number be last transfer of data bag, then illustrate that all transfer of data bags are completely received, otherwise illustrate that all transfer of data bags are not completely received.
Specifically, the process of processing module 63 comprises, when the complete reception of individual data transmission package and all transfer of data Bao Douyi complete reception time, the complete reception of each transfer of data bag is described, be then corresponding subfile in remote controller side by each transfer of data Packet analyzing, and be combined into described upgrade file according to resolving all subfiles obtained; When there is the not complete reception of transfer of data bag, the transfer of data bag of not complete reception described in abandoning, and ask described intelligent television to stress the transfer of data bag of not complete reception described in new transmission.
Remote controller 2 of the present invention receives the multiple transfer of data bags sent from outside by wireless network, and passes through the integrality of twice complete reception of checking data transmission package and upgrade file, reaches the accuracy of the document upgrading of remote controller 2.Especially, only need comparison summation during verification, therefore without the need to too many calculation resources, be therefore especially applicable to the process of remote controller 2, and without the need to increasing the hardware of remote controller 2.
embodiment five
Please refer to Fig. 7, in embodiment four receiver module 61, correction verification module 62 and processing module 63 basis on, this remote controller 2, also comprises: check processing module 64.Receiver module 61, correction verification module 62 and processing module 63 are identical with previous embodiment, therefore it is no longer repeated.
Check processing module 64, for carrying out complete checks to the described upgrade file formed according to each transfer of data bag, the all transfer of data bags received are resolved, calculates the content-data in data field in each transfer of data bag, described content-data is calculated summation; The total capacity of the upgrade file that the summation of calculating being tried to achieve the content-data received is transmitted with the need obtained in advance compares; If both conform to, illustrate that the upgrade file of combination is effectively complete, in remote controller side, described upgrade file is installed; Otherwise, delete the described upgrade file and all transfer of data bags received that combine and obtain, and ask described intelligent television to stress all transfer of data bags of new transmission.
embodiment six
The present invention also provides a kind of system transmitting upgrade file.This system comprises: intelligent television and remote controller; Such as, the intelligent television of three and the remote controller of embodiment four or five is implemented.Intelligent television 4 comprises: segmentation module 41, package module 42 and a transport module 43.Remote controller 2 comprises receiver module 61, correction verification module 62 and a processing module 63; Or remote controller 2 comprises receiver module 61, correction verification module 62, processing module 63 and a check processing module 64.Because the content of intelligent television and remote controller describes in detail as above, therefore it is no longer repeated.
From the intelligent television embodiment three to six, remote controller and system, all corresponding with the method in embodiment one, two, the weak point therefore in embodiment three to six, please refer to the part of the method in embodiment one, two.
The present invention is by repeatedly verifying, and to each transfer of data bag, to the completeness check of all transfer of data bags and the completeness check to the upgrade file combined, therefore can ensure integrality and the correctness of the content received.And verification scheme of the present invention, without the need to taking too many resource to calculate, therefore can provide mechanism more easily to transmit and receive upgrade file.
The part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprise all or part of step of some instructions in order to make an equipment (can be single-chip microcomputer, chip etc.) or processor (processor) perform each embodiment method of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
In addition those skilled in the art can be well understood to, for convenience and simplicity of description, intelligent television and remote controller are only illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by intelligent television is divided into different functional modules, to complete all or part of function described above.The intelligent television of foregoing description or the specific works process of remote controller, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Above-mentioned explanation illustrate and describes some preferred embodiments of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in invention contemplated scope described herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the present invention, then all should in the protection range of claims of the present invention.

Claims (15)

1. transmit a method for upgrade file, it is characterized in that, comprise:
Upgrade file is divided into multiple subfile according to preset rules;
Each subfile is encapsulated as respectively corresponding transfer of data bag;
By the host-host protocol preset, each transfer of data bag is sequentially passed through wireless network according to Preset Transfer and sends remote controller to, synthesize described upgrade file for described remote controller in this locality and carry out upgrading processing.
2. according to claim 1 wherein arbitrary described method, it is characterized in that, each transfer of data handbag draws together a sequence area, a capacity region and a data field, the wherein order of recognizable respectively this transfer of data bag in this sequence area, this data field is the data storing this subfile, and the capacity of recognizable respectively this transfer of data bag in this capacity region.
3. method according to claim 2, is characterized in that, each transfer of data bag also comprises a tag slot, is used for identifying this upgrade file.
4. method according to claim 3, is characterized in that, described sequence area also comprises discrimination bit, is used for indicating last transfer of data bag.
5. receive a method for upgrade file, it is characterized in that, the method comprises:
The transfer of data bag of multiple host-host protocol transmission by presetting is received by wireless network;
Verify the whether complete reception of each transfer of data bag;
Judge whether to receive all transfer of data bags completely; And
After each transfer of data bag is completely received and all transfer of data bags are all received, merge all transfer of data bags, form upgrade file at remote controller.
6. according to claim 5 wherein arbitrary described method, it is characterized in that, each transfer of data handbag draws together a sequence area, a capacity region and a data field, the wherein order of recognizable respectively this transfer of data bag in this sequence area, this data field is the data storing this subfile, and the capacity of recognizable respectively this transfer of data bag in this capacity region.
7. method according to claim 6, is characterized in that, each transfer of data bag also comprises a tag slot, is used for identifying this upgrade file.
8. method according to claim 7, is characterized in that, described sequence area more comprises discrimination bit, is used for indicating last transfer of data bag; Judge whether to receive all transfer of data bags completely, also comprise:
According to sequence number and the discrimination bit of this sequence area, judge whether that all transfer of data bags have received.
9. the method according to claim 6 or 7, is characterized in that, verifies the whether complete reception of each transfer of data bag, comprising:
The tag slot of the individual data transmission package of current reception is detected, verify the transfer of data bag whether described individual data transmission package is this upgrade file, and judge whether the actual capacity size of described individual data transmission package conforms to the capacity indicated in the capacity region of described individual data transmission package;
If conform to, then temporarily preserve the individual data transmission package of described current reception.
10. the method according to claim 6 or 7, is characterized in that, judges whether to receive all transfer of data bags completely, also comprises:
The all transfer of data bags received are resolved, calculates the content-data in data field in each transfer of data bag, described content-data is calculated and asks summation;
The summation described content-data being calculated gained compares with the total capacity of the upgrade file obtained in advance; If both conform to, then in remote controller side, described upgrade file is installed; If not, then delete the described upgrade file combining and obtain and all transfer of data bags received, and ask described intelligent television to stress all transfer of data bags of new transmission.
11. 1 kinds of intelligent televisions, is characterized in that, comprise:
Segmentation module, for being divided into multiple subfile by upgrade file according to preset rules;
Package module, for being encapsulated as corresponding transfer of data bag respectively by each subfile; And
Transport module, for the host-host protocol by presetting, sequentially passing through wireless network by each transfer of data bag according to Preset Transfer and sending remote controller to, synthesizing described upgrade file carry out upgrading processing for described remote controller in this locality.
12. intelligent televisions according to claim 11, it is characterized in that, each transfer of data handbag draws together a sequence area, a capacity region and a data field, the wherein order of recognizable respectively this transfer of data bag in this sequence area, this data field is the data storing this subfile, and the capacity of recognizable respectively this transfer of data bag in this capacity region.
13. 1 kinds of remote controllers, is characterized in that, comprise:
Receiver module, for receiving the transfer of data bag of multiple host-host protocol transmission by presetting by wireless network;
Correction verification module, for verifying the whether complete reception of each transfer of data bag; And
Processing module, after each transfer of data bag is completely received and all transfer of data bags are all received, described processing module merges all transfer of data bags, and forms upgrade file at this remote controller.
14. remote controllers according to claim 13, it is characterized in that, each transfer of data handbag draws together a sequence area, a capacity region and a data field, the wherein order of recognizable respectively this transfer of data bag in this sequence area, this data field is the data storing this subfile, and the capacity of recognizable respectively this transfer of data bag in this capacity region.
15. 1 kinds of systems transmitting upgrade file, is characterized in that, comprise: the intelligent television as described in claim 11 or 12, and the remote controller as described in claim 13 or 14.
CN201510011411.5A 2015-01-09 2015-01-09 Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller Pending CN104602114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510011411.5A CN104602114A (en) 2015-01-09 2015-01-09 Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510011411.5A CN104602114A (en) 2015-01-09 2015-01-09 Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller

Publications (1)

Publication Number Publication Date
CN104602114A true CN104602114A (en) 2015-05-06

Family

ID=53127549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510011411.5A Pending CN104602114A (en) 2015-01-09 2015-01-09 Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller

Country Status (1)

Country Link
CN (1) CN104602114A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657504A (en) * 2015-12-31 2016-06-08 深圳创维数字技术有限公司 Remote controller upgrading method and set-top box
CN105898490A (en) * 2016-06-22 2016-08-24 青岛海信电器股份有限公司 Upgrading method for remote controller, television and remote controller
CN108415716A (en) * 2018-03-10 2018-08-17 刘胜贵 A kind of remote management method for upgrading software of New-energy electric vehicle
CN108501655A (en) * 2018-03-10 2018-09-07 刘胜贵 A kind of hot systems method for remote management of mixed electrical automobile
CN108600892A (en) * 2018-06-15 2018-09-28 歌尔科技有限公司 A kind of upgrade method, device, wireless headset, TWS earphones and charging box
CN108833542A (en) * 2018-06-15 2018-11-16 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
CN108848163A (en) * 2018-06-15 2018-11-20 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
CN110166922A (en) * 2019-05-30 2019-08-23 深圳市安特信技术有限公司 Testing communication system and method based on bluetooth headset
CN110213020A (en) * 2019-05-31 2019-09-06 杭州涂鸦信息技术有限公司 Data transmission method, terminal, system and device based on bluetooth peripheral hardware
CN110427207A (en) * 2019-08-07 2019-11-08 成都易明半导体有限公司 A kind of LED road lamp controller updating firmware program method based on central controller
CN111147540A (en) * 2019-11-18 2020-05-12 深圳市元征科技股份有限公司 File transmission method, device, equipment and storage medium
CN112600848A (en) * 2020-12-17 2021-04-02 上海芯安信息科技有限公司 Software upgrading package encapsulation method and device and software upgrading package decapsulation method and device
CN112711431A (en) * 2020-12-29 2021-04-27 杭州当贝网络科技有限公司 Wireless remote controller upgrading method and system
CN117560285A (en) * 2024-01-08 2024-02-13 河北普兰特生物科技有限公司 Intelligent control internet of things OTA upgrading method, client and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2867493Y (en) * 2005-12-13 2007-02-07 厦门精博电子有限公司 Touching screen remote control device
CN101753878A (en) * 2008-12-09 2010-06-23 深圳Tcl新技术有限公司 Remote control method for touch screen remote controller
CN102567061A (en) * 2011-12-30 2012-07-11 深圳Tcl新技术有限公司 Method and system for bidirectionally updating television and remote controller
CN103024549A (en) * 2012-12-06 2013-04-03 青岛海信电器股份有限公司 Method for upgrading software of peripheral equipment of television
CN103916440A (en) * 2013-01-05 2014-07-09 尼尔森网联媒介数据服务有限公司 Remote upgrade method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2867493Y (en) * 2005-12-13 2007-02-07 厦门精博电子有限公司 Touching screen remote control device
CN101753878A (en) * 2008-12-09 2010-06-23 深圳Tcl新技术有限公司 Remote control method for touch screen remote controller
CN102567061A (en) * 2011-12-30 2012-07-11 深圳Tcl新技术有限公司 Method and system for bidirectionally updating television and remote controller
CN103024549A (en) * 2012-12-06 2013-04-03 青岛海信电器股份有限公司 Method for upgrading software of peripheral equipment of television
CN103916440A (en) * 2013-01-05 2014-07-09 尼尔森网联媒介数据服务有限公司 Remote upgrade method and device

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657504A (en) * 2015-12-31 2016-06-08 深圳创维数字技术有限公司 Remote controller upgrading method and set-top box
CN105898490A (en) * 2016-06-22 2016-08-24 青岛海信电器股份有限公司 Upgrading method for remote controller, television and remote controller
CN108415716A (en) * 2018-03-10 2018-08-17 刘胜贵 A kind of remote management method for upgrading software of New-energy electric vehicle
CN108501655A (en) * 2018-03-10 2018-09-07 刘胜贵 A kind of hot systems method for remote management of mixed electrical automobile
CN108600892B (en) * 2018-06-15 2020-05-22 歌尔科技有限公司 Upgrading method and device, wireless headset, TWS headset and charging box
CN108600892A (en) * 2018-06-15 2018-09-28 歌尔科技有限公司 A kind of upgrade method, device, wireless headset, TWS earphones and charging box
CN108833542A (en) * 2018-06-15 2018-11-16 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
CN108848163A (en) * 2018-06-15 2018-11-20 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
CN108833542B (en) * 2018-06-15 2022-04-12 歌尔科技有限公司 Upgrading method of TWS earphone and TWS earphone
CN108848163B (en) * 2018-06-15 2022-04-05 歌尔科技有限公司 Upgrading method of TWS earphone and TWS earphone
CN110166922A (en) * 2019-05-30 2019-08-23 深圳市安特信技术有限公司 Testing communication system and method based on bluetooth headset
CN110213020A (en) * 2019-05-31 2019-09-06 杭州涂鸦信息技术有限公司 Data transmission method, terminal, system and device based on bluetooth peripheral hardware
CN110427207A (en) * 2019-08-07 2019-11-08 成都易明半导体有限公司 A kind of LED road lamp controller updating firmware program method based on central controller
CN111147540A (en) * 2019-11-18 2020-05-12 深圳市元征科技股份有限公司 File transmission method, device, equipment and storage medium
CN112600848A (en) * 2020-12-17 2021-04-02 上海芯安信息科技有限公司 Software upgrading package encapsulation method and device and software upgrading package decapsulation method and device
CN112711431A (en) * 2020-12-29 2021-04-27 杭州当贝网络科技有限公司 Wireless remote controller upgrading method and system
CN117560285A (en) * 2024-01-08 2024-02-13 河北普兰特生物科技有限公司 Intelligent control internet of things OTA upgrading method, client and server
CN117560285B (en) * 2024-01-08 2024-04-09 河北普兰特生物科技有限公司 Intelligent control internet of things OTA upgrading method, client and server

Similar Documents

Publication Publication Date Title
CN104602114A (en) Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller
CN109358883B (en) Program upgrading method, system, application system and storage medium
CN103248452B (en) Data sending device, data receiving device, terminal and data transmission method
CN106464581A (en) Data transmission method and system and data receiving device
CN103259797B (en) data file transmission method and platform
WO2022116088A1 (en) Firmware data processing method and apparatus
WO2020211594A1 (en) Zero differential upgrade method, non-volatile storage medium and electronic device
CN101753586A (en) Method for transmitting data, process method for receiving data and device
KR102148757B1 (en) Method and apparatus for transmitting/receiving data in a communication system
CN104661042A (en) Method, device and system for transmitting transport stream
CN103685060B (en) data packet sending method and device
CN109495434A (en) A kind of document transmission method and device
CN110213756A (en) A kind of data transmission method, device and its relevant device
CN106549737A (en) A kind of data transmission method and device
CN106210032A (en) The method and device reported based on terminal data batch
CN109274636B (en) Data safety transmission method and device, system and train thereof
CN105550276A (en) Method and apparatus for judging completeness of audio upgrading file in network
CN101877793A (en) Data transmitting method, error detecting method, system thereof and device thereof
US20120112889A1 (en) Operation method of an rfid tag, operation method of an rfid reader, rfid tag, and rfid reader
CN104852785A (en) Data transmission method and data transmission device
CN107645747B (en) Method and equipment for sending and receiving data
CN112399446A (en) Edge gateway communication method, device, computer equipment and storage medium
CN104009982A (en) File grouping and mass texting device based on ultra-short wave radio station and file grouping and mass texting method
CN102404184A (en) Data transmission system and transmission method
CN104253900A (en) Smart phone and data transmission method and data transmission system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20181214

AD01 Patent right deemed abandoned