CN105516750B - A kind of plug-in unit unloading and deletion and update method based on object label - Google Patents
A kind of plug-in unit unloading and deletion and update method based on object label Download PDFInfo
- Publication number
- CN105516750B CN105516750B CN201510884999.5A CN201510884999A CN105516750B CN 105516750 B CN105516750 B CN 105516750B CN 201510884999 A CN201510884999 A CN 201510884999A CN 105516750 B CN105516750 B CN 105516750B
- Authority
- CN
- China
- Prior art keywords
- plug
- unit
- object label
- new
- unloading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4432—Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/62—Uninstallation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8543—Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8549—Creating video summaries, e.g. movie trailer
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
It the plug-in unit unloading that the invention discloses a kind of based on object label and deletes and update method, including server and client side, comprising the following steps: (1) user end to server sends html page of the access with object label and requests;(2) server returns to the html page for having object label to client;(3) client parses object label, parses whether the label contains unloading or delete command, if so, then unloading or deleting the plug-in unit.If containing more newer command in object label, user end to server sends the plug-in's data packet for updating request, and receiving server transmission, is updated to plug-in unit.The method proposed through the invention, operator automatically can be updated, unloaded or deleted to the plug-in unit of client by server, can be discharged the storage space for the plug-in unit occupancy that is of little use, can be enhanced user experience, and can reduce the maintenance cost of operator again.
Description
Technical field
The present invention relates to set-top box plug-in management field, particularly relates to a kind of plug-in unit unloading based on object label and delete
It removes and update method.
Background technique
With enriching for digital television function, more functions are showed on the set-top box of limited memory space, it is more next
More functions exist with card format, to meet the needs of different user.
Plug-in unit is once downloaded on set-top box, unless user deletes manually or plug-in unit upgrading, otherwise this plug-in unit meeting
Always present on set-top box, when some pin functions realize that poor or user downloading, utilization rate are very low, need user manual
It goes to unload, otherwise plug-in unit can occupy always user storage space, influence user experience.
Summary of the invention
The present invention propose it is a kind of based on object label plug-in unit unloading and delete and update method, being capable of Force Deletion
The plug-in unit being of little use is unloaded, also automatically updated common plug-in unit, enhances user experience.
The technical scheme of the present invention is realized as follows: a kind of plug-in unit unloading and delet method based on object label,
Including server and client side, comprising the following steps:
(1) user end to server sends html page of the access with object label and requests;
(2) server returns to the html page for having object label to client;
(3) client parses object label, parses whether the label contains unloading or delete command, if so, then unloading
Or delete the plug-in unit.
Contain classid field in object label, classid field includes the Name & Location of plug-in unit;
Step (3) specifically includes the following steps:
(301) client parses object label, if containing field action=" delete " in object label, unloads
It carries and deletes the plug-in unit containing the field;If nothing, (302) are entered step;
(302) if containing field action=" uninstall " in object label, only unloading is with the slotting of the field
Part enters step (303) if nothing;
(303) if containing field action=" delete_data " in object label, inserting containing the field is deleted
The related data of part.
In step (3) unloading or delete plug-in unit the following steps are included:
The order for unloading or deleting plug-in unit is sent to plugin manager by a, client;
B, plugin manager searches the plug-in unit specified in object label, if the plug-in unit is not present, sends to client
Otherwise failure command enters step c;
C, plugin manager is performed corresponding processing according to the instruction in object label, and is sent successfully to client
Instruction.
Further, client is DTV or computer or set-top box.
Further, plugin manager includes receiving unit, for receiving plug-in registration message, is taken in plug-in registration message
Store path with plug-in unit, download unit, the store path download plug-in of the plug-in unit for being received according to receiving unit, plug-in unit
Configuration file and the corresponding application page of plug-in unit;Register installation unit, the configuration file for downloading to according to download unit
Plug-in unit is registered and installed, is operated normally convenient for the application plug-in dependent on plug-in component operation;Transmission unit, for pacifying in registration
After dress unit installs plug-in unit, the instruction message that plug-in unit installs is sent, the instruction message instruction plug-in unit that plug-in unit installs is
It is installed in plugin manager;Receiving unit is also used to receive plug-in unit load instruction message, or for receiving plug-in unit unloading
Command information;Plug-in unit loading unit, the plug-in unit for being received according to receiving unit load instruction message, load plug-in unit, so as to
It is operated normally in the application plug-in dependent on plug-in component operation;Unloading unit, the plug-in unit unloading for being received according to receiving unit
Command information unloads plug-in unit and the corresponding application page of plug-in unit.
The invention also provides a kind of update of plug-in method based on object label, including client and server, packets
Include following steps:
Step 1, user end to server send html page of the access with object label and request;
Step 2, server return to the html page for having object label to client;Include in object label
The information of plug-in unit to be updated, the information of plug-in unit include the title of plug-in unit, position;
Step 3, client parse object label, parse whether the label contains more newer command, if so, then to service
Device, which is sent, updates request;Whether parsing has more newer command, is just to look in object label with the presence or absence of field action=
" update ", if there is action=" update ", user end to server sends request download plug-in updated data package;
Step 4, server send plug-in's data packet to client;
Step 5, client parses plug-in's data packet, and updates plug-in unit.
Further, object label contains field action=" update ".
Further, client includes Plug Controller, and Plug Controller includes receiving unit, for receiving server hair
The plug-in download instruction sent, plug-in download instruction instruction Plug Controller download new plug-in unit;Download unit, in receiving unit
After receiving plug-in download instruction, corresponding new plug-in unit compressed package is downloaded according to plug-in download instruction, is wrapped in new plug-in unit compressed package
Include new plug-in unit, the configuration file of new plug-in unit and the corresponding application page of new plug-in unit;Decompression unit, for being downloaded in download unit
To after new plug-in unit compressed package, new plug-in unit compressed package is decompressed;Transmission unit, for decompressing new plug-in unit compression in decompression unit
Bao Hou sends plug-in registration message to plugin manager, the store path of new plug-in unit is carried in plug-in registration message, makes inserter tube
It manages device and new plug-in unit, the configuration file of new plug-in unit and the corresponding application page of new plug-in unit, root is downloaded according to the store path of new plug-in unit
New plug-in unit is registered and installed according to configuration file, is operated normally convenient for the application plug-in dependent on new plug-in component operation;It receives single
Member is also used to receive the instruction message that the new plug-in unit that plugin manager is sent installs, the instruction that new plug-in unit installs
Message indicates that new plug-in unit installs in plugin manager;Unit is deleted, for receiving new plug-in unit peace in receiving unit
After installing complete instruction message, the configuration file in the new plug-in unit, new plug-in unit being locally stored and the corresponding application of new plug-in unit are deleted
The page.Further, Plug Controller further includes transmission unit, is also used to send plug-in unit load instruction message to plug-in management
Device, instruction plugin manager load new plug-in unit, in order to operate normally dependent on the application plug-in of new plug-in component operation;It receives single
Member, is also used to receive the plug-in unit unloading command message of server transmission, and plug-in unit unloading command message carries the plug-in unit to be unloaded letter
Breath;Transmission unit is also used to send plug-in unit unloading command information to plugin manager, inserts plugin manager according to what is unloaded
The unloading of part information will unload plug-in unit application page corresponding with plug-in unit to be unloaded.
Automatically the plug-in unit of client can be updated by server the beneficial effects of the present invention are: operator,
Unloading is deleted, and can be discharged the storage space for the plug-in unit occupancy that is of little use, can be enhanced user experience, and can reduce operator again
Maintenance cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of plug-in unit unloading and delet method based on object label of the present invention;
Fig. 2 is a kind of flow chart of the update of plug-in method based on object label of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, the plug-in unit unloading that the invention proposes a kind of based on object label and delet method, including service
Device and client, client are DTV or computer or set-top box.Server is controlled by operator, and operator need to pass through service
Device safeguards the various plug-in units of client, and when certain plug-in units are of little use, user deletes plug-in unit without timing again, thus
Cause the experience effect of client poor, allow user to generate discontented, moreover, operator also increases maintenance cost, at this time, it is necessary to
Operator can independently select delete plug-in unit, unloading and delete plug-in unit method specifically includes the following steps:
(1) user end to server sends html page of the access with object label and requests;Every time when booting, client
End can send html page request to server, simultaneously, moreover it is possible to start-up picture is replaced, in addition, server can also be in html page
Upper increase advertisement.User end to server send request can by the wireless mobile network of GSM, GPRS, 3G or 4G or internet into
Row, server are the WEB server based on TCP/IP, UDP, IPX, HTTP or File Transfer Protocol, and client is additionally provided with reservoir,
Including Nor-flash, Nand-flash, SD card, Mini-SD card, mmc card, T-Flash card and Memory-stick etc., HTML
Settable video and/or audio and/or picture on the page;The video of the animation includes dot pattern and/or vector graphics, is
H.263 or H.264 Mpeg4, Mjpg, 3gp, the figure of format;The audio be Midi, Mp3, AMR, AMR-NB, AAC or
One of AAC+;The picture includes dot pattern and/or vector graphics, is the figure of jpg, bmp, gif or png format
Piece.In addition, client, which actively sends request also to server, to be carried out or be prohibited according to the demand timing of client.
(2) server returns to the html page for having object label to client;Contain classid in object label
Field, classid field include the Name & Location of plug-in unit.Object label is used to define the object of an insertion.It can be used
This element adds multimedia to the XHTML page.This element allows the data and parameter of the object in regulation insertion html document, with
And it can be used to show the code with operation data.Other information can be also carried in addition to plugin information in object label.
(3) client parses object label, parses whether the label contains unloading or delete command, if so, then unloading
Or delete the plug-in unit.Specifically includes the following steps:
(301) client parses object label, if containing field action=" delete " in object label, unloads
It carries and deletes the plug-in unit containing the field;If nothing, (302) are entered step;
(302) if containing field action=" uninstall " in object label, only unloading is with the slotting of the field
Part enters step (303) if nothing;
(303) if containing field action=" delete_data " in object label, inserting containing the field is deleted
The related data of part.If not having these three fields in object label, representative server does not assign deletion or unloads plug-in unit
Order.In addition, different orders can be also defined in object label using other words.
Specifically, client is to the treatment process of plug-in unit the following steps are included: a, client will unload or delete plug-in unit
Order is sent to plugin manager;B, plugin manager search object label in specify plug-in unit, specified plug-in unit by
The plug-in unit that classid is directed toward sends failure command to client and otherwise enters step c if the plug-in unit is not present;C, plug-in unit
Manager is performed corresponding processing according to the instruction in object label, and is sent to client and successfully instructed.
Plugin manager includes receiving unit, for receiving plug-in registration message, carries plug-in unit in plug-in registration message
Store path, download unit, the store path download plug-in of the plug-in unit for being received according to receiving unit, the configuration of plug-in unit are literary
Part and the corresponding application page of plug-in unit;Installation unit is registered, the configuration file for downloading to according to download unit is registered and pacified
Part is plugged, is operated normally convenient for the application plug-in dependent on plug-in component operation;Transmission unit, in registration installation unit dress
After complete plug-in unit, the instruction message that plug-in unit installs is sent, the instruction message instruction plug-in unit that plug-in unit installs is in inserter tube
It is installed on reason device;Receiving unit is also used to receive plug-in unit load instruction message, or for receiving plug-in unit unloading command letter
Breath;Plug-in unit loading unit, the plug-in unit for being received according to receiving unit load instruction message, plug-in unit are loaded, in order to rely on
It is operated normally in the application plug-in of plug-in component operation;Unloading unit, the plug-in unit unloading command letter for being received according to receiving unit
Breath unloading plug-in unit and the corresponding application page of plug-in unit.Plugin manager can manage the downloading of plug-in unit, update, unloading and deletion
Deng.Plugin manager is equipped with plugin information list.
As shown in Fig. 2, the invention also provides a kind of update of plug-in method based on object label, including client and
Server, comprising the following steps:
Step 1, user end to server send html page of the access with object label and request;
Server receives html page request, extracts the banner or page elements mark of the html page, webpage
Mark can be web page address URL, and page elements refer to various texts, picture, audio, animation, video on the page etc., separately
Outside, the also extractable corresponding hypertext markup language html text of html page of server.Then, server is according to the webpage
Mark and/or page elements mark extract corresponding resources requirement in preset Resource Configuration Database.Resources requirement
It may include among the quantity requested in the unit time, network flow, disk read-write value, database access amount and CPU occupation value
One or more;It can be with the corresponding relationship of preset the web page address URL and resources requirement, example in Resource Configuration Database
It is 100 to the quantity that server sends request that A webpage, which is such as opened, within the unit time;Or the category of the preset page elements
The corresponding relationship of property value and resources requirement, for example, the requirement to current CPU is occupancy less than 70% when opening certain video,
I.e. resources requirement is 70%.Judge whether the resources requirement is greater than current resource distribution amount, if so, according to preset
Rule generates content of pages and returns.
Step 2, server return to the html page for having object label to client;Object label contains field
Action=" update ".It include the information of plug-in unit to be updated in object label.The information of plug-in unit includes the name of plug-in unit
Claim, position, size etc..
Step 3, client parse object label, parse whether the label contains more newer command, if so, then to service
Device, which is sent, updates request;Whether parsing has more newer command, is just to look in object label with the presence or absence of field action=
" update ", if there is action=" update ", user end to server sends request download plug-in updated data package.
Step 4, server send plug-in's data packet to client;Specific server can be by wireless network or because of spy
Net carries out transmission data.
Step 5, client parses plug-in's data packet, and updates plug-in unit.Contain update of plug-in configuration file in data packet,
Update of plug-in configuration file includes plugin information list and preset update of plug-in rule, and client is completed to update, and by plug-in unit
The information such as version number of all plug-in units are updated in information list.The process of update of plug-in has update of plug-in queue, when need
When updating multiple plug-in units simultaneously, it can be updated according to update of plug-in queue.The sequence of update of plug-in queue is by update of plug-in
Rule settings.It include title, unique identification, explanation and the download address etc. of plug-in unit, unique mark here in plugin information list
Knowledge is MD5 (message digest algorithm5, the message digest algorithm 5) value or SHA1 (secure Hash of plug-in unit
Algorithm1, Secure Hash Algorithm 1) value etc., specifically, the unique hash that can calculate plug-in unit by MD5 algorithm (is breathed out
It is uncommon) value, i.e. MD5 value, the typical case of MD5 algorithm is to generate informative abstract to a segment information, and to prevent from being tampered, MD5 will be whole
A file regards a big text information, converts algorithm by its irreversible character string, produces unique MD5 information and pluck
It wants.
Client includes Plug Controller, and Plug Controller includes receiving unit, for receiving the plug-in unit of server transmission
Download instruction, plug-in download instruction instruction Plug Controller download new plug-in unit;Download unit, it is slotting for being received in receiving unit
After part download instruction, corresponding new plug-in unit compressed package is downloaded according to plug-in download instruction, include in new plug-in unit compressed package new plug-in unit,
The configuration file and the corresponding application page of new plug-in unit of new plug-in unit;Decompression unit, for downloading to new plug-in unit in download unit
After compressed package, new plug-in unit compressed package is decompressed;Transmission unit, for sending out after decompression unit decompresses new plug-in unit compressed package
It send plug-in registration message to plugin manager, the store path of new plug-in unit is carried in plug-in registration message, makes plugin manager root
New plug-in unit, the configuration file of new plug-in unit and the corresponding application page of new plug-in unit are downloaded according to the store path of new plug-in unit, according to configuration
New plug-in unit is registered and installed to file, is operated normally convenient for the application plug-in dependent on new plug-in component operation;Receiving unit is also used
In the instruction message that the new plug-in unit that reception plugin manager is sent installs, the instruction message that new plug-in unit installs is indicated
New plug-in unit installs in plugin manager;Unit is deleted, for receiving what new plug-in unit installed in receiving unit
After instruction message, the configuration file and the corresponding application page of new plug-in unit in the new plug-in unit, new plug-in unit being locally stored are deleted.More into
One step, Plug Controller further includes transmission unit, is also used to send plug-in unit load instruction message to plugin manager, instruction is inserted
Part manager loads new plug-in unit, in order to operate normally dependent on the application plug-in of new plug-in component operation;Receiving unit is also used to connect
The plug-in unit unloading command message that server is sent is received, plug-in unit unloading command message carries the plugin information to be unloaded;Transmission unit,
It is also used to send plug-in unit unloading command information to plugin manager, plugin manager according to the plugin information to be unloaded unloading
Unload plug-in unit application page corresponding with plug-in unit to be unloaded.
Operator automatically can be updated, unloaded or be deleted to the plug-in unit of client by server, can be discharged not
The storage space that common plug-in unit occupies, can enhance user experience, and can reduce the maintenance cost of operator again.
The above is merely preferred embodiments of the present invention, be not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of plug-in unit unloading and delet method based on object label, including server and client side, which is characterized in that packet
Include following steps:
(1) client sends html page of the access with object label to the server and requests;
(2) server returns to the html page for having object label to the client;
(3) client parses object label, parses whether the label contains unloading or delete command, if so, then unloading
Or delete the plug-in unit;
Contain classid field in the object label, the classid field includes the Name & Location of plug-in unit;
Step (3) specifically includes the following steps:
(301) client parses object label, if containing field action=" delete " in object label, unloads simultaneously
Delete the plug-in unit containing the field;If nothing, (302) are entered step;
(302) if containing field action=" uninstall " in object label, only unloading has the plug-in unit of the field,
If nothing, (303) are entered step;
(303) if containing field action=" delete_data " in object label, the plug-in unit containing the field is deleted
Related data.
2. a kind of plug-in unit unloading and delet method based on object label according to claim 1, which is characterized in that institute
Stating client is DTV or computer or set-top box.
3. a kind of plug-in unit unloading and delet method based on object label according to claim 1, which is characterized in that step
Suddenly in (3) unloading or delete plug-in unit the following steps are included:
The order for unloading or deleting plug-in unit is sent to plugin manager by a, the client;
B, the plugin manager searches the plug-in unit specified in the object label, if the plug-in unit is not present, to the visitor
Family end sends failure command and otherwise enters step c;
C, the plugin manager are performed corresponding processing according to the instruction in the object label, and to the client
It sends and successfully instructs.
4. a kind of plug-in unit unloading and delet method based on object label according to claim 3, which is characterized in that institute
Stating plugin manager includes
Receiving unit, for receiving plug-in registration message, the store path of carrying plug-in unit in the plug-in registration message,
The store path of download unit, the plug-in unit for being received according to the receiving unit downloads the plug-in unit, the plug-in unit
Configuration file and the corresponding application page of the plug-in unit;
Installation unit is registered, the configuration file for downloading to according to the download unit is registered and installed the plug-in unit, is convenient for
Application plug-in dependent on the plug-in component operation is operated normally;
Transmission unit, for after the registration installation unit installs the plug-in unit, sending the instruction message that plug-in unit installs,
The instruction message that the plug-in unit installs indicates that the plug-in unit installs in plugin manager;
Receiving unit is also used to receive plug-in unit load instruction message, or for receiving plug-in unit unloading command information;
Plug-in unit loading unit, the plug-in unit for being received according to the receiving unit load instruction message, load the plug-in unit, with
Convenient for being operated normally dependent on the application plug-in of the plug-in component operation;
Unloading unit, the plug-in unit unloading command information unloading plug-in unit and plug-in unit for being received according to the receiving unit are corresponding
Application page.
5. a kind of update of plug-in method based on object label, including client and server, which is characterized in that including following
Step:
Step 1, the client send html page of the access with object label to the server and request;
Step 2, the server return to the html page for having object label to the client;It is wrapped in object label
Information containing plug-in unit to be updated, the information of plug-in unit include the title of plug-in unit, position;
Step 3, the client parse object label, parse whether the label contains more newer command, if so, then Xiang Suoshu
Server, which is sent, updates request;Whether parsing has more newer command, is just to look in object label with the presence or absence of field action
=" update ", if there is action=" update ", user end to server sends request download plug-in updated data package;
Step 4, the server send plug-in's data packet to the client;
Step 5, the client parses the plug-in's data packet, and updates the plug-in unit.
6. a kind of update of plug-in method based on object label according to claim 5, which is characterized in that described
Object label contains field action=" update ".
7. a kind of update of plug-in method based on object label according to claim 5, which is characterized in that the client
End includes Plug Controller, and the Plug Controller includes
Receiving unit, for receiving the plug-in download instruction of server transmission, the plug-in download instruction instruction Plug Controller
Download new plug-in unit;
Download unit, for being instructed and being downloaded according to the plug-in download after the receiving unit receives plug-in download instruction
Corresponding new plug-in unit compressed package includes new plug-in unit, the configuration file of the new plug-in unit and described new in the new plug-in unit compressed package
The corresponding application page of plug-in unit;
Decompression unit, for decompressing the new plug-in unit pressure after the download unit downloads to the new plug-in unit compressed package
Contracting packet;
Transmission unit, for after the decompression unit decompresses the new plug-in unit compressed package, send plug-in registration message to
Plugin manager carries the store path of the new plug-in unit in the plug-in registration message, makes the plugin manager according to institute
The store path for stating new plug-in unit downloads the new plug-in unit, the configuration file of the new plug-in unit and the corresponding applications pages of the new plug-in unit
The new plug-in unit is registered according to the configuration file and is installed in face, is obtained convenient for the application plug-in dependent on the new plug-in component operation
To normal operation;
The receiving unit is also used to receive the instruction message that the new plug-in unit that the plugin manager is sent installs, institute
It states the instruction message that new plug-in unit installs and indicates that the new plug-in unit installs in plugin manager;
Unit is deleted, for deleting and depositing locally after the instruction message that the receiving unit receives that new plug-in unit installs
The configuration file and the corresponding application page of the new plug-in unit of the new plug-in unit, the new plug-in unit that store up.
8. a kind of update of plug-in method based on object label according to claim 7, which is characterized in that the plug-in unit
Controller further includes
The transmission unit is also used to send plug-in unit load instruction message to plugin manager, indicates that the plugin manager adds
The new plug-in unit is carried, in order to operate normally dependent on the application plug-in of the new plug-in component operation;
The receiving unit is also used to receive the plug-in unit unloading command message of server transmission, the plug-in unit unloading command message
Carry the plugin information to be unloaded;
The transmission unit is also used to send the plug-in unit unloading command information to plugin manager, makes the plugin manager
Plug-in unit application page corresponding with plug-in unit to be unloaded is unloaded according to the plugin information the to be unloaded unloading.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510884999.5A CN105516750B (en) | 2015-12-03 | 2015-12-03 | A kind of plug-in unit unloading and deletion and update method based on object label |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510884999.5A CN105516750B (en) | 2015-12-03 | 2015-12-03 | A kind of plug-in unit unloading and deletion and update method based on object label |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105516750A CN105516750A (en) | 2016-04-20 |
CN105516750B true CN105516750B (en) | 2019-04-30 |
Family
ID=55724339
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510884999.5A Active CN105516750B (en) | 2015-12-03 | 2015-12-03 | A kind of plug-in unit unloading and deletion and update method based on object label |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105516750B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108762771B (en) * | 2018-04-18 | 2022-06-10 | 北京奇虎科技有限公司 | Plug-in unloading method and electronic terminal |
CN109933335A (en) * | 2019-03-18 | 2019-06-25 | 山东浪潮通软信息科技有限公司 | The plug-in method of additions and deletions functional characteristic under a kind of mixed developing mode |
CN110286926B (en) * | 2019-06-20 | 2021-05-11 | 西北工业大学 | Industrial machine updating method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102110168A (en) * | 2011-03-16 | 2011-06-29 | 深圳市五巨科技有限公司 | Method and device for extending functions of mobile terminal browser |
CN102609267A (en) * | 2012-02-16 | 2012-07-25 | 深圳市酷开网络科技有限公司 | Plug-in unit management method based on Android browser and system therefor |
CN103399792A (en) * | 2013-07-24 | 2013-11-20 | 佳都新太科技股份有限公司 | Implementation scheme of Android-based plug-in applications |
CN103617193A (en) * | 2013-11-07 | 2014-03-05 | 北京奇虎科技有限公司 | Cookie information processing method and cookie information processing browser |
CN104866512A (en) * | 2014-02-26 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Method, device and system for extracting webpage content |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8418165B2 (en) * | 2009-05-27 | 2013-04-09 | Microsoft Corporation | Package design and generation |
CN102411508B (en) * | 2011-10-27 | 2014-06-18 | 深圳市茁壮网络股份有限公司 | Plugin managing method, plugin controller, plugin managing device and set top box |
CN102523295B (en) * | 2011-12-20 | 2014-07-09 | 深圳市茁壮网络股份有限公司 | Plug-in registration method and system thereof |
-
2015
- 2015-12-03 CN CN201510884999.5A patent/CN105516750B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102110168A (en) * | 2011-03-16 | 2011-06-29 | 深圳市五巨科技有限公司 | Method and device for extending functions of mobile terminal browser |
CN102609267A (en) * | 2012-02-16 | 2012-07-25 | 深圳市酷开网络科技有限公司 | Plug-in unit management method based on Android browser and system therefor |
CN103399792A (en) * | 2013-07-24 | 2013-11-20 | 佳都新太科技股份有限公司 | Implementation scheme of Android-based plug-in applications |
CN103617193A (en) * | 2013-11-07 | 2014-03-05 | 北京奇虎科技有限公司 | Cookie information processing method and cookie information processing browser |
CN104866512A (en) * | 2014-02-26 | 2015-08-26 | 腾讯科技(深圳)有限公司 | Method, device and system for extracting webpage content |
Also Published As
Publication number | Publication date |
---|---|
CN105516750A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6938047B2 (en) | Methods, data structures, and systems for processing media data streams | |
US8381114B2 (en) | Method of managing character fonts within multimedia scenes, and the corresponding computer program and terminal | |
US9715370B2 (en) | Method and system for providing content | |
US9846649B1 (en) | Providing files with cacheable portions | |
CN105610954B (en) | Media information processing method and system | |
CN103650525B (en) | Method, system and equipment for the extension of the trigger parameter table of interactive television | |
CN102523268B (en) | Client side upgrading method and system | |
CN105516750B (en) | A kind of plug-in unit unloading and deletion and update method based on object label | |
CN106598673B (en) | Application program upgrading method and system | |
CN102414681A (en) | Methods and systems for processing document object models (DOM) to process video content | |
US20080222504A1 (en) | Script-based system to perform dynamic updates to rich media content and services | |
WO2009023362A1 (en) | Method and system for user receipt of digital content | |
CN112468839B (en) | Playback method, system, device and readable storage medium of live content | |
CN101977217A (en) | Widget updating method and system as well as Widget client and Widget server | |
CN105677646A (en) | Word stock generation method and system, and server | |
CN108008971A (en) | A kind of offline compressed package based on HTML5 downloads the method for realizing mobile APP module upgrades | |
CN108600331A (en) | Interactive interface rendering method, client, terminal and system | |
US20120030309A1 (en) | Computer-implemented method, a computer program product and an embedded system for increasing the speed of data retrieval by a client on the embedded system | |
KR20140051310A (en) | Method and system for downloading font file | |
KR100670605B1 (en) | System and method for servicing multimedia contents and recording medium thereof | |
CN103118049A (en) | Method and system downloading files through network caching | |
CN105282238A (en) | Resource management method | |
AU2019222873B2 (en) | Method and system for providing content | |
CN101673290B (en) | Media application implement method and media application terminal | |
CN107515763A (en) | The processing method and server, terminal device of a kind of application program and its installation resource |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |