CN107124627A - A kind of update method of interface typesetting - Google Patents

A kind of update method of interface typesetting Download PDF

Info

Publication number
CN107124627A
CN107124627A CN201710291969.2A CN201710291969A CN107124627A CN 107124627 A CN107124627 A CN 107124627A CN 201710291969 A CN201710291969 A CN 201710291969A CN 107124627 A CN107124627 A CN 107124627A
Authority
CN
China
Prior art keywords
data
interface
video
audio terminal
typesetting
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
CN201710291969.2A
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.)
Universal Wisdom Technology Beijing Co Ltd
Original Assignee
Universal Wisdom Technology Beijing 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 Universal Wisdom Technology Beijing Co Ltd filed Critical Universal Wisdom Technology Beijing Co Ltd
Priority to CN201710291969.2A priority Critical patent/CN107124627A/en
Publication of CN107124627A publication Critical patent/CN107124627A/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/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/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2407Monitoring of transmitted content, e.g. distribution time, number of downloads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Graphics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present embodiments relate to a kind of update method of interface typesetting, including:Video and audio terminal sends data packet request information by network interface to server;Data packet request information includes the device id of video and audio terminal and the version information of the current interface typesetting data of video and audio terminal;The renewal confirmation that the reception server confirms according to version information, and the AKU that the reception server is sent, the AKU include packet and data check value;Packet is stored in the memory of video and audio terminal;Calculate the MD5 values of packet;The completeness check of packet is carried out according to data check value and MD5 values;When verification passes through, according to the routing information of assigned catalogue, packet is decompressed under assigned catalogue, the interface typesetting data of storage is updated;Interface typesetting data after updating is obtained by assigned catalogue, and renders according to the interface typesetting data after renewal the interface of video and audio terminal.

Description

A kind of update method of interface typesetting
Technical field
The present invention relates to communication technical field, more particularly to a kind of update method of interface typesetting.
Background technology
With the popularization of the internet intelligent TV based on Android system, television interfaces can no longer be unalterable Appearance, by the hobby of user, various television interfaces can be showed for user.
And general interface of intelligent television all be exploitation when designed completion, can only be replaced according to existing typesetting appearance Different contents, can not change typesetting pattern.That is, can only in the case of immobile interface typesetting, replace interface Draw above piece and word, the method for realizing modification interface content.It is unable to the typesetting pattern at real-time update interface.
Based on this, update interface of intelligent television for dynamic in the industry and provide one kind by accessing server according to parameter list Solely ask the data at each interface and be cached in TV memory space, then according to the mode at Refresh Data interface.This mode The drawbacks of be refresh data all returned according to parameter request with stream socket, television can not carry out verification data Integrality and correctness, if data go wrong television can be caused can not to refresh display interface, in addition cause TV without Method is normally used.Also, need television constantly to go to access server in this way, whenever page layout switch is carried out all Page furbishing data are checked whether there is, very big network pressure is also result in, when network condition is bad, boundary can be caused Face can not normal load show that the normal of influence user is used.
The content of the invention
It is an object of the invention to provide a kind of update method of interface typesetting, solve current interface typesetting and update too late When, server just for the independent page request of data with stream socket transmit interface data, it is impossible to carry out asking for data school Topic, by overall interface data of packing, with data packet form transmit the interface typesetting data of each page, so as to be entered Row data integrity verifying, while reducing the visitation frequency to server, improves the stability of video and audio terminal work.
To achieve the above object, the invention provides a kind of update method of interface typesetting, including:
Video and audio terminal sends data packet request information by network interface to server;The data packet request packet Include the version information of the current interface typesetting data of device id and the video and audio terminal of the video and audio terminal;The interface Typesetting data includes the typesetting data of each page;
The renewal confirmation that the server confirms according to the version information is received, and receives the server and is sent AKU, the AKU include packet and data check value;
In the memory that the packet is stored in the video and audio terminal;
Calculate the MD5 values of the packet;
The completeness check of the packet is carried out according to the data check value and the MD5 values;
When verification passes through, according to the routing information of assigned catalogue, the packet is decompressed to the assigned catalogue Under, update the interface typesetting data of storage;
The interface typesetting data after the renewal is obtained by the assigned catalogue, and according to the interface after the renewal Typesetting data renders the interface of the video and audio terminal.
It is preferred that, before the video and audio terminal sends data packet request information by network interface to server, institute Stating method also includes:
The video and audio terminal receives telecommand;
The telecommand is parsed, and generates the data packet request information.
It is preferred that, after the video and audio terminal sends data packet request information by network interface to server, institute Stating method also includes:
Receive the renewal refusal information that the server confirms according to the version information.
It is further preferred that it is described receive renewal refusal information that the server confirms according to the version information it Afterwards, methods described also includes:
The current interface typesetting data of the video and audio terminal is obtained by the assigned catalogue;
The interface of the video and audio terminal is rendered according to the interface typesetting data.
It is preferred that, the acquisition of the interface typesetting data is specifically included:
Refurbishing procedure is called, the interface typesetting data of storage is read from the assigned catalogue.
It is preferred that, the video and audio terminal sends data packet request information to server by network interface and is specially:
The video and audio terminal sends data packet request information by network interface according to preset rules to server;
The preset rules include preset time and/or prefixed time interval.
It is preferred that, after the AKU that the server is sent is received, methods described also includes:
By the particular zones of video and audio terminal described in the data check parameter read-in.
The update method of interface typesetting provided in an embodiment of the present invention, by overall interface data of packing, with packet shape Formula transmit the interface typesetting data of each page, so as to be able to carry out data integrity verifying, while reducing to service The visitation frequency of device, improves the stability of video and audio terminal work.
Brief description of the drawings
Fig. 1 is the flow chart of the update method of interface typesetting provided in an embodiment of the present invention.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
The update method of interface typesetting provided in an embodiment of the present invention, is mainly used in video and audio terminal, in the present invention Video and audio terminal be primarily referred to as the video and audio playback equipments such as the internet intelligent TV based on Android system.
Fig. 1 is the flow chart of the update method of interface typesetting provided in an embodiment of the present invention, in this flow, technical scheme Executive agent be and video and audio terminal.The update method flow for the interface typesetting that the present embodiment is provided is as shown in figure 1, main bag Include following steps:
Step 110, video and audio terminal sends data packet request information by network interface to server;
Specifically, sending the trigger condition of data packet request can have a variety of.Such as can be to operate to initiate based on user , or initiated based on certain preset rules.
The trigger condition initiated is operated to be the telecommand that video and audio terminal receives user's input based on user, wherein Telecommand can be video and audio terminal unlatching operation, or a certain function start-up operation, by entering to telecommand Row parsing determines user's operation, and generates data packet request information.
It can be included according to preset rules based on trigger condition, sending data packet request to server by network interface believes Breath;Wherein, preset rules can include preset time, prefixed time interval etc..
Wherein, data packet request information includes the device id and the current interface typesetting number of video and audio terminal of video and audio terminal According to version information;Interface typesetting data includes the typesetting data of each page.
Step 120, the renewal confirmation that the reception server confirms according to version information, and the liter that the reception server is sent Level bag, AKU includes packet and data check value;
Specifically, in the server, the interface typesetting data being stored with for distinct device model may only retain newest Version, it is also possible to while retaining multiple versions.Interface typesetting data in server, is stored with data packet form.
Interface typesetting data can be the data developed according to distinct device model, can be corresponded to according to device id Unit type, can also directly include the information of unit type in device id.
During concrete implementation, the packet management terminal of interface typesetting data sends to server and deposited Storage.The version information of packet median surface typesetting data, can be that the administrator of management terminal side is carrying out data mining Or data upload when regulation write-in or server it is automatic according to the time of the interface typesetting data received Generation.Specific mechanism can be determined by prespecified setting.
Server carries out correspondence inquiry according to device id, and inquiry obtains the newest of the interface typesetting data stored in server Version.If latest edition updates than current version, illustrate to need to carry out data renewal, then generation updates confirmation, by Server is sent to video and audio terminal.
Certainly, if latest edition and current version are consistent, then need not carry out data renewal, server with regard to explanation Any feedback action can not be performed, renewal refusal information can also be generated as feedback information and be sent to video and audio terminal.
Step 130, packet is stored in the memory of video and audio terminal;
Specifically, video and audio terminal is after AKU is received, data parsing is carried out first, packet and data is obtained Check value.Data check value said herein is preferably MD5 values.Packet is stored in the storage of video and audio terminal by video and audio terminal In device, and the data subregions of obtained MD5 values write-in video and audio terminal will be parsed and the first MD5 values are stored as.
Mainly there are six subregions on android:Cache, misc, recovery, boot, system, data.
Wherein, there are Android bootstrap, including kernel and internal memory operation program on boot subregions.Without this point Area's equipment cannot be directed.This subregion can be wiped when recovery system, and bootstrap and ROM must be reinstalled System can just be restarted.
It is the whole operation system in addition to kernel and internal memory operation on system subregions, the inside contains Android User interface and preassembled system application.
Recovery subregions are considered as another boot partition, and starting device, which enters recovery consoles, can go to hold The senior system of row is recovered and management operation.
The in store user data of data subregions.Address list, short message, setting and the apps of installation are on this subregion.Wipe Except this subregion is equivalent to factory reset, when first time starting device or official or client are being mounted with This subregion of system meeting automatic Reconstruction after ROM.It is exactly to wipe this subregion when performing factory reset.
Cache subregions are the data that android system storage is frequently accessed and app place.Cache is spatial cache, The data cached and instruction that program and system are used just is deposited herein.Wipe this subregion and do not interfere with personal data, when you When being continuing with equipment, the data being wiped free of will be created automatically.
Misc subregions are set comprising the various complicated systems similar to on/off.These setting be probably USB configuration and Some hardware configuration informations.There is start-up loading control module (Bootloader Control Block, BCB) in the subregion, it is main If for depositing Recovery guidance informations.
Data subregions are arrived in the MD5 values storage for the upgrading data packet that video and audio terminal issues server.For the ease of distinguishing, The value of storage is referred to as the first MD5 values.
Step 140, the MD5 values of packet are calculated;
Specifically, MD5 is Message-Digest Algorithm 5, also referred to as Message-Digest Algorithm 5 is computer A kind of widely used hash function in security fields, the integrity protection to provide message, it is ensured that information transfer is completely consistent.
MD5 values are like " digital finger-print " of a file.The MD5 values of each file are different, if anyone is right File has done any change, i.e. its MD5 value corresponding " digital finger-print " will change.Such as download server is directed to One file is provided previously by a MD5 value, and user has been downloaded after this document, and the MD5 for downloading file is recalculated with this algorithm Value, by comparing, whether the two values identical, just can judge download file whether malfunction, the file downloaded in other words whether by Distort.
Step 150, the completeness check of packet is carried out according to data check value and MD5 values;
Specifically, video and audio terminal obtains deposited the first MD5 values from data subregions, it is determined that calculate obtained MD5 values and Whether the first MD5 values are consistent, i.e., the completeness check of the packet is carried out by data check value and MD5 values.When to be consistent When, verification passes through.Otherwise verification failure.
If verification passes through, step 160 and step 170 are performed:
Step 160, when verification passes through, according to the routing information of assigned catalogue, packet is decompressed to assigned catalogue Under, update the interface typesetting data of storage;
Step 170, the interface typesetting data after updating is obtained by assigned catalogue, and according to the interface typesetting data after renewal Render the interface of video and audio terminal.
Following step is performed if failure is verified:
Step 180, when verifying failure, prompt message is generated, and data are sent to server by network interface again Bag solicited message.
Further, step 110 video and audio terminal by network interface to server send data packet request information it Afterwards, if server end is not available for the packet updated, following step 210-230 is performed.
Step 210, information is refused in the renewal that the reception server is sent according to version information.
Step 220, the current interface typesetting data of video and audio terminal is obtained by assigned catalogue;
Step 230, the interface of video and audio terminal is rendered according to interface typesetting data.
The update method of interface typesetting provided in an embodiment of the present invention, by overall interface data of packing, with packet shape Formula transmit the interface typesetting data of each page, so as to be able to carry out data integrity verifying, while reducing to service The visitation frequency of device, improves the stability of video and audio terminal work.
Professional should further appreciate that, each example described with reference to the embodiments described herein Unit and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, hard in order to clearly demonstrate The interchangeability of part and software, generally describes the composition and step of each example according to function in the above description. These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme. Professional and technical personnel can realize described function to each specific application using distinct methods, but this realize It is not considered that beyond the scope of this invention.
The method that is described with reference to the embodiments described herein can use hardware, computing device the step of algorithm Software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described embodiment, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc. all should be included Within protection scope of the present invention.

Claims (7)

1. a kind of update method of interface typesetting, it is characterised in that methods described includes:
Video and audio terminal sends data packet request information by network interface to server;The data packet request information includes institute State the version information of the current interface typesetting data of device id and the video and audio terminal of video and audio terminal;The interface typesetting Data include the typesetting data of each page;
The renewal confirmation that the server confirms according to the version information is received, and receives the liter that the server is sent Level bag, the AKU includes packet and data check value;
In the memory that the packet is stored in the video and audio terminal;
Calculate the MD5 values of the packet;
The completeness check of the packet is carried out according to the data check value and the MD5 values;
When verification passes through, according to the routing information of assigned catalogue, the packet is decompressed under the assigned catalogue, more The interface typesetting data newly stored;
The interface typesetting data after the renewal is obtained by the assigned catalogue, and according to the interface typesetting after the renewal The interface of video and audio terminal described in data render.
2. the update method of interface typesetting according to claim 1, it is characterised in that pass through net in the video and audio terminal Network interface is sent to server before data packet request information, and methods described also includes:
The video and audio terminal receives telecommand;
The telecommand is parsed, and generates the data packet request information.
3. the update method of interface typesetting according to claim 1, it is characterised in that pass through net in the video and audio terminal Network interface is sent to server after data packet request information, and methods described also includes:
Receive the renewal refusal information that the server confirms according to the version information.
4. the update method of interface typesetting according to claim 3, it is characterised in that receive the server root described After the renewal refusal information confirmed according to the version information, methods described also includes:
The current interface typesetting data of the video and audio terminal is obtained by the assigned catalogue;
The interface of the video and audio terminal is rendered according to the interface typesetting data.
5. the update method of interface typesetting according to claim 1, it is characterised in that the acquisition of the interface typesetting data Specifically include:
Refurbishing procedure is called, the interface typesetting data of storage is read from the assigned catalogue.
6. the update method of interface typesetting according to claim 1, it is characterised in that the video and audio terminal passes through network Interface sends data packet request information to server:
The video and audio terminal sends data packet request information by network interface according to preset rules to server;
The preset rules include preset time and/or prefixed time interval.
7. the update method of interface typesetting according to claim 1, it is characterised in that receiving what the server was sent After AKU, methods described also includes:
By the particular zones of video and audio terminal described in the data check parameter read-in.
CN201710291969.2A 2017-04-28 2017-04-28 A kind of update method of interface typesetting Pending CN107124627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710291969.2A CN107124627A (en) 2017-04-28 2017-04-28 A kind of update method of interface typesetting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710291969.2A CN107124627A (en) 2017-04-28 2017-04-28 A kind of update method of interface typesetting

Publications (1)

Publication Number Publication Date
CN107124627A true CN107124627A (en) 2017-09-01

Family

ID=59724989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710291969.2A Pending CN107124627A (en) 2017-04-28 2017-04-28 A kind of update method of interface typesetting

Country Status (1)

Country Link
CN (1) CN107124627A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602093A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device and computer readable storage medium
CN110781191A (en) * 2019-10-30 2020-02-11 聚好看科技股份有限公司 Processing method of layout data and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426077A (en) * 2008-12-05 2009-05-06 深圳创维-Rgb电子有限公司 Method for on-line updating television set software through Internet
CN105389177A (en) * 2015-10-16 2016-03-09 Tcl集团股份有限公司 Software version confirmation method, device and system
US20160277785A1 (en) * 2013-03-15 2016-09-22 Apple Inc. Multi-screen video user interface
CN106358083A (en) * 2016-09-05 2017-01-25 深圳Tcl数字技术有限公司 Method and system for updating television application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426077A (en) * 2008-12-05 2009-05-06 深圳创维-Rgb电子有限公司 Method for on-line updating television set software through Internet
US20160277785A1 (en) * 2013-03-15 2016-09-22 Apple Inc. Multi-screen video user interface
CN105389177A (en) * 2015-10-16 2016-03-09 Tcl集团股份有限公司 Software version confirmation method, device and system
CN106358083A (en) * 2016-09-05 2017-01-25 深圳Tcl数字技术有限公司 Method and system for updating television application

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602093A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Data processing method and device and computer readable storage medium
CN110781191A (en) * 2019-10-30 2020-02-11 聚好看科技股份有限公司 Processing method of layout data and server

Similar Documents

Publication Publication Date Title
EP2946290B1 (en) Peer-to-peer software updates
CN103973475B (en) Different patch packet generation method and method for down loading, server, client
CN102982141B (en) A kind of method and device realizing distributed data base agency
CN100471117C (en) Data automatic updating method
CN107291516A (en) A kind of firmware upgrade method and system
US8364635B2 (en) Temporary session data storage
CN110544097A (en) Intelligent contract version control, calling and upgrading method, equipment and storage medium
CN106033322B (en) A kind of date storage method and device
CN109002312A (en) Method for upgrading software, device and upgrade server and equipment
US20170185311A1 (en) Data Processing Method and Smart Device
CN105450682A (en) Method, device, and system for data synchronous storage and synchronizing data to client
CN105786636B (en) A kind of system repair and device
CN107124627A (en) A kind of update method of interface typesetting
CN106227541A (en) A kind of program updates download process method and mobile terminal
CN107135430A (en) A kind of processing system updated for interface typesetting
JP2010079523A (en) Method of sharing session data
KR100524588B1 (en) succeeding method of data in mobile
US20110060806A1 (en) Using in-the-cloud storage for computer health data
KR101690066B1 (en) Server, system and the method for on-line game patch
US9979731B1 (en) Single use identifier values for network accessible devices
CN107124625A (en) A kind of update method of interface typesetting
CN111654398B (en) Configuration updating method and device, computer equipment and readable storage medium
CN112506705B (en) Distributed storage configuration information backup method and device
CN104166820A (en) Data management method and system
CN111913730A (en) User-insensitive application program internal updating method, user side and program server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170901