CN105847855A - Program processing method and system - Google Patents
Program processing method and system Download PDFInfo
- Publication number
- CN105847855A CN105847855A CN201610320238.1A CN201610320238A CN105847855A CN 105847855 A CN105847855 A CN 105847855A CN 201610320238 A CN201610320238 A CN 201610320238A CN 105847855 A CN105847855 A CN 105847855A
- Authority
- CN
- China
- Prior art keywords
- program
- node
- message
- instruction
- deleted
- 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
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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- 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/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23116—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving data replication, e.g. over plural servers
-
- 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4335—Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
-
- 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/60—Network 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/63—Control 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/633—Control signals issued by server directed to the network components or 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/60—Network 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/63—Control 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/637—Control signals issued by the client directed to the server or network components
-
- 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/60—Network 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/63—Control 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/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a program processing method and system. The method comprises the following steps: a main node generates a program deleting message corresponding to a first object node, the first object node reads the program deleting message, the first object node downloads an object program from a second object node according to the program deleting message, a flag bit modification instruction is generated after the first object node completes downloading the object program, and a state notification flag bit in the program deleting message is modified into a downloading completion state Via a technical solution of the invention, the first object node can share and play the object program at the second object node before the object program on the second object node is deleted; the main node can timely know that the object program is downloaded by the first object node, the main node is enabled to know timely a program sharing state, a program deletion progress can be grasped, and the program deleting message can be prevented from being generated repeatedly.
Description
Technical field
The present invention relates to field of terminal technology, particularly to program processing method and system.
Background technology
In the related, occurred in that a lot of data receiver playback equipment (as TV box,
Set Top Box), and these data receiver playback equipments solely be used in local scope, as being used only in certain family
In or be used in certain zonule, and zones of different in use data receiver playback equipment cannot realize
Data sharing, this data receiver playback equipment allowing for certain region cannot play the data in another region
The various data such as the program in reception playback equipment.
Summary of the invention
The present invention provides program processing method and system, in order to host node generate program delete message time, the
One destination node deletes message by reading this program, can target program on clear and definite second destination node will
Can be deleted, during in order to avoid this second program of needs, will be unable to obtain from the second destination node again target
Program, first object node can be deleted message according to this program, download this target from the second destination node
Program, after having downloaded this target program, generates flag bit amendment instruction, and is deleted in message by program
State notifying flag bit is revised as downloading completion status, thus has both achieved and deleted on the second destination node
Before target program, first object node can be shared, play the target program at this second destination node,
Make again this host node can understand this first object node in time to have been downloaded by this target program, from
And make host node understand program in time and share state, control program and delete progress, and avoid repeatedly generating this joint
Mesh deletes message.
The invention provides a kind of program processing method, including:
Host node generates the program corresponding with first object node and deletes message, and wherein, described program is deleted
Message is for indicating the target program on described first object node the second destination node to be deleted, wherein,
Described first object node includes: each from node belonging to described host node;
Described first object node reads described program and deletes message;
Described first object node deletes message according to described program, downloads institute from described second destination node
State target program;
Described first object node, after having downloaded described target program, generates flag bit amendment instruction, will
Described program is deleted the state notifying flag bit in message and is revised as downloading completion status.
In one embodiment, delete message at described first object node according to described program, from described the
Before downloading described target program on two destination nodes, described method also includes:
When described first object node reads described program deletion message, described first object node is by institute
The described state notifying flag bit stated in program deletion message is revised as reading state.
In one embodiment, described method also includes:
The state notifying flag bit deleted in message when described program be modified to described download completion status it
After, described host node generates program and deletes instruction, and wherein, described program is deleted instruction and is used for indicating described the
Two destination nodes delete described target program;
Described second destination node, when reading described program and deleting instruction, deletes instruction according to described program
Delete described target program, and be revised as having downloaded by the state notifying flag bit that described program is deleted in instruction
One-tenth state.
In one embodiment, described method also includes:
State notifying flag bit and described program in described program deletes message delete the state in instruction
When notification flag position is download completion status, the state that described program is deleted in message is led to by described host node
Know that flag bit and described program delete the state of the state notifying flag bit in instruction by downloading completion status more
Change deletion task completion status into.
In one embodiment, when described second destination node is described host node, described program is deleted and is disappeared
The number of breath is each from the interstitial content sum of node equal to described, and described interstitial content sum program is deleted
Message is the most corresponding from node with described respectively;
When described second destination node be described each arbitrary from node from node time, described program is deleted and is disappeared
The number of breath is each from the difference of the interstitial content sum of node Yu 1 equal to described, and described difference program is deleted
Except message respectively with described each from node except described arbitrary from node in addition to other are corresponding from node.
The present invention also provides for a kind of program processing system, including:
Host node, deletes message, wherein, described joint for generating the program corresponding with first object node
Mesh is deleted message and is used for indicating the target program on described first object node the second destination node to be deleted,
Wherein, described first object node includes: each from node belonging to described host node;
Described first object node, is used for reading described program and deletes message;
Described first object node, is additionally operable to delete message, from described second destination node according to described program
Upper download described target program;
Described first object node, is additionally operable to after having downloaded described target program, generates flag bit amendment
Instruction, deletes described program the state notifying flag bit in message and is revised as downloading completion status.
In one embodiment, described first object node is additionally operable to:
According to described program delete message, download from described second destination node described target program it
Before, when reading described program and deleting message, described program is deleted the described state notifying mark in message
Reading state is revised as in will position.
In one embodiment, described host node is additionally operable to:
The state notifying flag bit deleted in message when described program be modified to described download completion status it
After, generate program and delete instruction, wherein, described program is deleted instruction and is used for indicating described second destination node
Delete described target program;
Described second destination node is additionally operable to:
When reading described program and deleting instruction, delete instruction according to described program and delete described target joint
Mesh, and be revised as downloading completion status by the state notifying flag bit in the deletion instruction of described program.
In one embodiment, described host node is additionally operable to:
State notifying flag bit and described program in described program deletes message delete the state in instruction
When notification flag position is download completion status, described program is deleted the state notifying flag bit in message and
Described program is deleted the state of the state notifying flag bit in instruction and is changed to deletion times by downloading completion status
It is engaged in completion status.
In one embodiment, when described second destination node is described host node, described program is deleted and is disappeared
The number of breath is each from the interstitial content sum of node equal to described, and described interstitial content sum program is deleted
Message is the most corresponding from node with described respectively;
When described second destination node be described each arbitrary from node from node time, described program is deleted and is disappeared
The number of breath is each from the difference of the interstitial content sum of node Yu 1 equal to described, and described difference program is deleted
Except message respectively with described each from node except described arbitrary from node in addition to other are corresponding from node.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
When host node generates program deletion message, first object node deletes message by reading this program,
Can will be deleted, in order to avoid this second program of needs by the target program on clear and definite second destination node
Time, will be unable to obtain from the second destination node again target program, first object node can be according to this program
Delete message, from the second destination node, download this target program, after having downloaded this target program, generate
Flag bit amendment instruction, and program is deleted the state notifying flag bit in message be revised as download and complete shape
State, thus both achieved before the target program deleted on the second destination node, first object node can
Share, play the target program at this second destination node, make again this host node can understand in time this
This target program has been downloaded by one destination node, so that host node is understood program in time and shared shape
State, controls program and deletes progress, and avoid repeatedly generating this program deletion message.
Other features and advantages of the present invention will illustrate in the following description, and, partly from explanation
Book becomes apparent, or understands by implementing the present invention.The purpose of the present invention and other advantages can
Realize by structure specifically noted in the specification write, claims and accompanying drawing and obtain
?.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for specification, with this
Bright embodiment is used for explaining the present invention together, is not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to a kind of program processing method shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the another kind of program processing method shown in an exemplary embodiment.
Fig. 3 is the flow chart according to another program processing method shown in an exemplary embodiment.
Fig. 4 is the block diagram according to a kind of program processing system shown in an exemplary embodiment.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that described herein
Preferred embodiment is merely to illustrate and explains the present invention, is not intended to limit the present invention.
In the related, occurred in that a lot of data receiver playback equipment (as TV box,
Set Top Box), and these data receiver playback equipments solely be used in local scope, as being used only in certain family
In or be used in certain zonule, and zones of different in use data receiver playback equipment cannot realize
Data sharing, this data receiver playback equipment allowing for certain region cannot play the data in another region
The various data such as the program in reception playback equipment.
In order to solve above-mentioned technical problem, disclosure embodiment provides program processing method, and the method is suitable for
In program processing routine, system or device, as it is shown in figure 1,
In step S101, host node generates the program corresponding with first object node and deletes message, its
In, program deletes message for indicating the target program on first object node the second destination node to be deleted
Removing, wherein, first object node includes: each from node belonging to host node, and wherein, host node is corresponding
Data receiver playback equipment is the TV box in some big region (such as regional), Set Top Box etc., and
The magnanimity program (including: TV play, film, music, video etc.) that storage is exclusive in having this big region,
And this first object node can each from node, the number that this first object node is corresponding belonging to this host node
According to reception equipment can be sold to all parts of the world other regions (i.e. region outside China, as the U.S.,
The regions such as Africa) TV box, Set Top Box etc., and the data receiver that this first object node is corresponding
For all devices of some programs directly or indirectly can be obtained at this host node, such as: should
The data receiver that first object node is corresponding may is that and directly can obtain at this host node
The equipment of program or be can from data source from certain of this host node close together at node between
Ground connection obtains the equipment of the program in host node, and when certain that the second destination node is host node is from node
Time, this first object node is that distance should be from nearer another of nodal distance from node;
Secondly, target program can be that this second destination node (broadcast by the data receiver corresponding from host node
Put equipment) request to and be pre-stored in this locality data receiver playback equipment or be pre-stored in should
Certain storage device that the data receiver playback equipment that second destination node is corresponding is connected is (such as server, shifting
Dynamic hard disk etc.) in program;
It addition, it can be that program personnel dispose need according to program that this program that host node generates deletes message
Ask, be manually entered, or when receiving the certain operations action of program personnel (as by host node
The file of the target program mapped mutually with the second destination node of storage on corresponding data receiver playback equipment
Folder carries out the operation deleted) time, automatically generate.
Finally, due to the target program deleted on the second destination node means that first object node will be unable to
This target program is obtained again, therefore, it is possible to generate and first object node phase from this second destination node
Corresponding program deletes message, to notify this deletion task of this first object node in time.
In step s 102, first object node reads program and deletes message;
In step s 103, first object node deletes message according to program, upper and lower from the second destination node
Carry target program;
In step s 103, first object node, after having downloaded target program, generates flag bit amendment
Instruction, deletes program the state notifying flag bit in message and is revised as downloading completion status.
When host node generates program deletion message, first object node deletes message by reading this program,
Can will be deleted, in order to avoid this second program of needs by the target program on clear and definite second destination node
Time, will be unable to obtain from the second destination node again target program, first object node can be according to this program
Delete message, from the second destination node, download this target program, after having downloaded this target program, generate
Flag bit amendment instruction, and program is deleted the state notifying flag bit in message be revised as download and complete shape
State, thus both achieved before the target program deleted on the second destination node, first object node can
Share, play the target program at this second destination node, make again this host node can understand in time this
This target program has been downloaded by one destination node, so that host node is understood program in time and shared shape
State, controls program and deletes progress, and avoid repeatedly generating this program deletion message.
Secondly, host node and its affiliated each can have identical platform such as cloud platform from node, the most main
Node generates program when deleting message on the platform, all just can be transferred through logging in this platform from node and reads
Take this program delete message, and generate flag bit amendment instruction state notifying flag bit is modified;
It addition, the imperative structures that this program that host node generates deletes message may is that the second destination node
First object node dell target program state notification flag position (wherein, this order knot
In structure, the second destination node represents uniquely identifying such as address, similarly, first object of this second destination node
Node represents uniquely identifying such as address of this first object node), such as: when this program deletes message instruction
When node 1 will delete the program 1 host node, this program delete message may is that host node from
Node 1 dell program 11, wherein, the 1 of state notifying flag bit can represent this state
Notification flag position is notice state, when having downloaded this program 1 from node 1 at this host node, and can be with hand
Move input or automatically generate the amendment instruction of this flag bit, so that this state notifying flag bit is changed to 3 by 1,
Correspondingly, the 3 of state notifying flag bit mean that this state notifying flag bit is for downloading completion status;Or
The most such as: when this program deletes message instruction from node 2 by when deleting program 2 from node 1,
This program is deleted message and be may is that from node 1 from node 2 dell program 21, wherein,
The 1 of state notifying flag bit can represent that this state notifying flag bit is notice state, when from node 2 from this
When asking and downloaded this program 2 at node 1, can be manually entered or automatically generate this flag bit and repair
Change instruction, so that this state notifying flag bit is changed to 3 by 1, it may be assumed that use 3 these state notifying marks of expression
Will position is for downloading completion status.
As in figure 2 it is shown, in one embodiment, before performing step S103, method also includes:
In step s 201, when first object node reads program deletion message, first object node
The state notifying flag bit deleted by program in message is revised as reading state.
When this first object node reads this program deletion message, can first this program be deleted in message
State notifying flag bit be revised as reading state, so that this host node can understand this first mesh in time
Mark node has read this program and has deleted message, and avoids owing to takeing for this first object node not yet
Solve this program to share task and repeatedly generate this program deletion message, and the amendment process of state notifying flag bit
As follows:
Such as: this program is deleted message " the second destination node first object node dell
Target program state notification flag position " in state notifying flag bit be revised as 2 by 1, it may be assumed that use
2 represent that these state notifying flag bits are reading state.
As it is shown on figure 3, in one embodiment, after performing step S301, said method also can wrap
Include:
In step S301, the state notifying flag bit in program deletes message is modified to download and completes
After state, host node generates program and deletes instruction, and wherein, program deletes instruction for instruction the second target
Knot removal target program;
In step s 302, the second destination node, when reading program and deleting instruction, is deleted according to program
Instruction delete target program, and the state notifying flag bit that program is deleted in instruction is revised as download completes shape
State.
State notifying flag bit in host node reads this program deletion message has been modified into downloading
After completion status, host node target program the most to be deleted by each from node (the i.e. first mesh
Mark node) download be over, i.e. respectively at this second destination node, get this destination node from node,
Therefore, it is possible to generate program delete instruction, such second destination node read program delete instruction time,
Instruction will be deleted according to this program and be automatically deleted this target program, and the state that program is deleted in instruction is led to
Know that flag bit is revised as downloading completion status, both the most real before deleting the target program of the second destination node
Show program to share, completed again the demand of the target program deleted on the second destination node, and make winner save
Point can understand the deletion progress of this target program in time, it is to avoid repeatedly generates program and deletes instruction;
It addition, the structure that this program deletes instruction may is that " host node the second destination node dell
Target program state notification flag position ", wherein, the 1 of state notifying flag bit can represent this
State notifying flag bit is notice state, such as: when this program deletes the joint on instruction instruction deletion of node 1
During mesh 1, this program is deleted instruction and be may is that host node is from node 1 dell program 1
1, wherein, the 1 of state notifying flag bit can represent that this state notifying flag bit is notice state, when from
When node 1 reads this instruction, this state notifying flag bit is changed to 2 by 1, it may be assumed that use 2 expressions
This state notifying flag bit is reading state, when deleting this program 1 from node 1, by this state notifying
Flag bit is changed to 3 by 1, it may be assumed that use 3 these state notifying flag bits of expression for downloading completion status.
In one embodiment, method also includes:
State notifying flag bit and program in program deletes message delete the state notifying mark in instruction
When position is download completion status, program is deleted the state notifying flag bit in message by host node and program is deleted
Except the state of the state notifying flag bit in instruction changes to deletion task and completed shape by downloading completion status
State.
When host node read with respectively from the corresponding program of node delete the state notifying flag bit message and
When being download completion status with each state notifying flag bit from the deletion instruction of node corresponding program, main
Node deletes the state notifying in instruction by program is deleted the state notifying flag bit in message and program
The state of flag bit changes to deletion task completion status by downloading completion status, host node and all from joint
Point the most clearly this deletion task has completed, and the target program on this second destination node is by complete deletion, tool
Body ground, when host node find all orders (including: with respectively from node this program corresponding deletion message and with
Respectively delete instruction from node this program corresponding) state notifying flag bit when being all 3, by all mandamuses
State notification flag position is all revised as 9, it may be assumed that using 9 these state notifying flag bits of expression is that deletion task is the completeest
One-tenth state.
In one embodiment, when the second destination node is host node, program is deleted the number of message and is equal to
Each from the interstitial content sum of node, and interstitial content sum program delete message respectively with respectively from node phase
Corresponding;
When this second destination node is host node, all from node (i.e. this first object node) in order to notify
Target program on second destination node will be deleted, and need to generate the deletion of corresponding program for each from node
Message, to notify each some program will deleted host node from node, so, this program deletes message
Number be equal to each from the interstitial content sum of node, and each program delete message respectively with each from node
Corresponding.
When the second destination node be each arbitrary from node from node time, program is deleted the number of message and is equal to
Each from the difference of the interstitial content sum of node Yu 1, and difference program deletion message respectively with respectively from node
In except arbitrary from node in addition to other are corresponding from node.
When this second destination node be each arbitrary from node from node time, in order to notify that this is arbitrary from node
Outside all target programs from node (i.e. this first object node) this second destination node will be deleted
Remove, need for these arbitrary all outside node from node (i.e. this difference from node) each from
Node generate corresponding program delete message, with notify this arbitrary outside node all from node (this
Difference is from node) each from node, so, this program is deleted the number of message and is equal to this difference,
And this difference program delete each program in message delete message respectively with in addition to this is arbitrary from node
Other are corresponding from node.
As shown in Figure 4, the present invention also provides for a kind of program processing system, including:
Host node 401, is configurable to generate the program corresponding with first object node 402 and deletes message,
Wherein, described program deletion message is configured to indicate described first object node 402 second destination node
Target program on 403 will be deleted, and wherein, described first object node 402 includes: described host node
Each from node belonging to 401;
Described first object node 402, is configured to read described program and deletes message;
Described first object node 402, is additionally configured to delete message, from described second according to described program
Described target program is downloaded on destination node 403;
Described first object node 402, is additionally configured to after having downloaded described target program, generates mark
The amendment instruction of will position, is revised as download by the state notifying flag bit in described program deletion message and completes shape
State.
In one embodiment, described first object node 402 is also configured to
Delete message according to described program, from described second destination node 403, download described target program
Before, when reading described program and deleting message, described program is deleted the described state notifying in message
Flag bit is revised as reading state.
In one embodiment, described host node 401 is also configured to
The state notifying flag bit deleted in message when described program be modified to described download completion status it
After, generate program and delete instruction, wherein, described program is deleted instruction and is configured to indicate described second target
Node 403 deletes described target program;
Described second destination node 403 is configured to:
When reading described program and deleting instruction, delete instruction according to described program and delete described target joint
Mesh, and be revised as downloading completion status by the state notifying flag bit in the deletion instruction of described program.
In one embodiment, described host node 401 is also configured to
State notifying flag bit and described program in described program deletes message delete the state in instruction
When notification flag position is download completion status, described program is deleted the state notifying flag bit in message and
Described program is deleted the state of the state notifying flag bit in instruction and is changed to deletion times by downloading completion status
It is engaged in completion status.
In one embodiment, when described second destination node 403 is described host node 401, described joint
The number that mesh deletes message is each from the interstitial content sum of node equal to described, and described interstitial content sum
It is the most corresponding from node with described respectively that program deletes message;
When described second destination node 403 be described each arbitrary from node from node time, described program is deleted
Except the number of message is each from the difference of the interstitial content sum of node Yu 1 equal to described, and described difference joint
Mesh delete message respectively with described each from node except described arbitrary from node in addition to other are relative from node
Should.
A kind of program processing method that the present invention provides, may also include that
Host node generates program push instruction;
First object node reads the program push instruction that host node generates, and wherein, program push instruction is used for
First segment mesh is downloaded in instruction from the second destination node, and wherein, the data receiver that this host node is corresponding is play and set
Standby can be the TV box in certain big region (such as China), Set Top Box etc., and wherein, the first program is permissible
It is that this second destination node has been asked (from the data receiver playback equipment that host node is corresponding) and pre-
It is stored in the data receiver playback equipment of this locality or is pre-stored in the data corresponding with this second destination node
Receive the program in certain storage device that playback equipment is connected;
It addition, this program push instruction that host node generates can be that program personnel dispose need according to program
Ask, be manually entered, or when receiving the certain operations action of program personnel (as by first segment
Mesh is dragged on the data receiver playback equipment that host node is corresponding the corresponding with on the second destination node of storage
File) time, automatically generate.
First object node instructs according to program push, download first segment mesh from the second destination node, wherein,
This second destination node can be host node or belonging to host node certain or several are from node,
And when this second destination node be certain or several from node time, this certain or several are from node pair
The data receiver playback equipment answered can be (the i.e. district outside China, other regions being sold to all parts of the world
Territory, such as the region such as the U.S., Africa) TV box, Set Top Box etc.;
First object node, after having downloaded the first program, generates flag bit amendment instruction, by program push
State notifying flag bit in instruction is revised as downloading completion status.
When host node generates program push instruction, first object node instructs by reading this program push,
Host node expectation can be specified come by the first program push at the second destination node, with realize sharing this
The first program at two destination nodes, therefore, it is possible to instruct according to this program push, from the second destination node
This first program of upper download, after having downloaded this first program, generates flag bit amendment instruction, and by program
Push the state notifying flag bit in instruction to be revised as downloading completion status, thus both make first object node
Can share, play the first program at the second destination node, make again this host node can understand this in time
This first segment has been carried by first object node now, so that host node is understood program in time and shared shape
State, and avoid repeatedly generating the instruction of this program push.
Secondly, host node and its affiliated each can have identical platform such as cloud platform from node, the most main
When node generates program push instruction on the platform, all just can read by logging in this platform from node
This program push instruct, and generate flag bit amendment instruction state notifying flag bit is modified;
It addition, the imperative structures that this program push that host node generates instructs may is that the second destination node
First object node pull the first program state notifying flag bit, such as: when this program
Pushing instruction instruction from node 1 from host node during program downloading 1, the instruction of this program push may is that master
Node is from node 1 pull program 11, and wherein, the 1 of state notifying flag bit is permissible
Represent that this state notifying flag bit is notice state, when having downloaded this program 1 at this host node from node 1
Time, can be manually entered or automatically generate this flag bit amendment instruction, with by this state notifying flag bit by
1 changes to 3, and correspondingly, the 3 of state notifying flag bit mean that this state notifying flag bit is for have downloaded
One-tenth state;Or
The most such as: when this program push instruction instruction from node 2 from program downloading 2 from node 1 time, should
Program push instruction may is that from node 1 from node 2 pull program 21, wherein,
The 1 of state notifying flag bit can represent that this state notifying flag bit is notice state, when from node 2 from this
When asking and downloaded this program 2 at node 1, can be manually entered or automatically generate this flag bit and repair
Change instruction, so that this state notifying flag bit is changed to 3 by 1, it may be assumed that use 3 these state notifying marks of expression
Will position is for downloading completion status.
In one embodiment, instructing according to program push, from the second destination node, downloading first segment mesh
Before, said method may also include that
When this first object node reads program push instruction, the state notifying during program push is instructed
Flag bit is revised as reading state.
When this first object node reads the instruction of this program push, in can first this program push being instructed
State notifying flag bit be revised as reading state, so that this host node can understand this first mesh in time
Mark node has read the instruction of this program push, and avoids owing to takeing for this first object node not yet
Solve this program to share task and repeatedly generate the instruction of this program push, and the amendment process of state notifying flag bit
As follows: such as: this program push is instructed " the second destination node first object node pull
First program state notifying flag bit " in state notifying flag bit be revised as 2 by 1, it may be assumed that make
Represent that this state notifying flag bit is for reading state with 2.
In one embodiment, said method may also include that
First object node reads on address and the 3rd destination node of the 3rd destination node of host node broadcast
The second program of storage, wherein, host node has downloaded second at the 3rd destination node from the 4th destination node
During program (the i.e. the 3rd destination node downloads certain program first from the 4th destination node), broadcast the 3rd mesh
The second program of storage on mark address of node and the 3rd destination node;
Wherein, this second destination node includes: all from node belonging to host node or host node
First from node, and the 3rd destination node may include that all belonging to host node from node except this
One outside node any second from node, the 4th destination node may include that host node or all
From node except first in addition to node and second is from node the 3rd from node;
Secondly, the 3rd destination node can download this second program from the 4th destination node, is also source
The joint downloading second program for instruction the 3rd destination node from the 4th destination node is generated in host node
Mesh pushes and instructs, namely in this application, only after host node generates the instruction of corresponding program push,
Certain program could be downloaded at node or host node from another, to realize program altogether accordingly from node
Enjoy, and ensure that host node can understand the program downloading in each node in real time, in order to preferably carry out
Program scheduling;
It addition, host node is when the 3rd destination node has downloaded second program from the 4th destination node, will
Broadcast address and the second program of storage on the 3rd destination node of the 3rd destination node, so that first
Destination node can read on address and the 3rd destination node of the 3rd destination node of this host node broadcast
The second program of storage, such host node and each have recorded which node each program is stored in from node
On, carry out scheduling of resource during to facilitate user's request program, such as: when the request receiving second program,
First object node can generate address and the request of second section destination name comprising the 3rd destination node,
And send this request to host node, host node generate instruction first object node from the 3rd destination node
Place downloads the program push instruction of this second program, so that host node instructs from this according to this program push
Download this second program at 3rd destination node, thus realize sharing of second program.
In one embodiment, the step of the program push instruction that first object node reads host node generation can
It is performed as:
First object node is according to default read cycle, and that reads host node generation respectively pushes instruction, to determine
Program push instructs.
Owing to program scheduling demand is ever-changing, thus, this host node may generate at any time accordingly
Program push instructs, and in order to avoid the reading task of first object node is the heaviest, simultaneously in order to avoid
First object node misses the related-program of host node generation and pushes instruction and do not obtain download in time and share
Program node at relevant to the instruction of this program push, first object node can read week according to default
Phase, that reads the generation of this host node respectively pushes instruction, periodically to identify the program push instruction about oneself,
Thus at certain node, download in time certain program needing to share, share and play realizing program.
Correspondingly, a kind of program processing system that the present invention provides, may also include that
Host node, for read generation program push instruction, wherein, program push instruction for instruction from
First segment mesh is downloaded on second destination node;
First object node, for instructing according to program push, downloads first segment mesh from the second destination node;
First object node, is additionally operable to after having downloaded the first program, generates flag bit amendment instruction, will
State notifying flag bit in program push instruction is revised as downloading completion status.
In one embodiment, first object node is additionally operable to:
Before downloading first segment mesh on the second destination node, when reading program push instruction, will joint
The state notifying flag bit that mesh pushes in instruction is revised as reading state.
In one embodiment, first object node is additionally operable to:
The second section of storage on the address of the 3rd destination node of reading host node broadcast and the 3rd destination node
Mesh, wherein, host node, when the 3rd destination node has downloaded second program from the 4th destination node, is broadcasted
The second program of storage on the address of the 3rd destination node and the 3rd destination node.
In one embodiment, the second destination node includes: belonging to host node or host node all from
In node first from node (arbitrary from node),
3rd destination node includes: host node or all from node in addition to first from node
Two from node,
4th destination node includes: host node or all from node except first from node and second from
Outside node the 3rd is from node.
First object node is additionally operable to:
According to default read cycle, that reads host node generation respectively pushes instruction, to determine that program push instructs.
About the system in above-described embodiment, wherein each node performs the concrete mode of operation relevant
The embodiment of the method is described in detail, explanation will be not set forth in detail herein.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot
The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more
Computer-usable storage medium containing computer usable program code (include but not limited to magnetic disc store and
Optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention
The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, embedding
The processor of formula processor or other programmable data processing device is to produce a machine so that by calculating
The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one
The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set
In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart
The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices
Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one
The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention
The spirit and scope of invention.So, if these amendments of the present invention and modification belong to the claims in the present invention
And within the scope of equivalent technologies, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. a program processing method, it is characterised in that including:
Host node generates the program corresponding with first object node and deletes message, and wherein, described program is deleted
Message is for indicating the target program on described first object node the second destination node to be deleted, wherein,
Described first object node includes: each from node belonging to described host node;
Described first object node reads described program and deletes message;
Described first object node deletes message according to described program, downloads institute from described second destination node
State target program;
Described first object node, after having downloaded described target program, generates flag bit amendment instruction, will
Described program is deleted the state notifying flag bit in message and is revised as downloading completion status.
Method the most according to claim 1, it is characterised in that described first object node according to
Described program deletes message, before downloading described target program from described second destination node, described method
Also include:
When described first object node reads described program deletion message, described first object node is by institute
The described state notifying flag bit stated in program deletion message is revised as reading state.
Method the most according to claim 1, it is characterised in that described method also includes:
The state notifying flag bit deleted in message when described program be modified to described download completion status it
After, described host node generates program and deletes instruction, and wherein, described program is deleted instruction and is used for indicating described the
Two destination nodes delete described target program;
Described second destination node, when reading described program and deleting instruction, deletes instruction according to described program
Delete described target program, and be revised as having downloaded by the state notifying flag bit that described program is deleted in instruction
One-tenth state.
Method the most according to claim 1, it is characterised in that described method also includes:
State notifying flag bit and described program in described program deletes message delete the state in instruction
When notification flag position is download completion status, the state that described program is deleted in message is led to by described host node
Know that flag bit and described program delete the state of the state notifying flag bit in instruction by downloading completion status more
Change deletion task completion status into.
Method the most according to any one of claim 1 to 4, it is characterised in that
When described second destination node is described host node, described program deletes the number of message equal to described
Each from the interstitial content sum of node, and described interstitial content sum program deletion message respectively with described respectively
Corresponding from node;
When described second destination node be described each arbitrary from node from node time, described program is deleted and is disappeared
The number of breath is each from the difference of the interstitial content sum of node Yu 1 equal to described, and described difference program is deleted
Except message respectively with described each from node except described arbitrary from node in addition to other are corresponding from node.
6. a program processing system, it is characterised in that including:
Host node, deletes message, wherein, described joint for generating the program corresponding with first object node
Mesh is deleted message and is used for indicating the target program on described first object node the second destination node to be deleted,
Wherein, described first object node includes: each from node belonging to described host node;
Described first object node, is used for reading described program and deletes message;
Described first object node, is additionally operable to delete message, from described second destination node according to described program
Upper download described target program;
Described first object node, is additionally operable to after having downloaded described target program, generates flag bit amendment
Instruction, deletes described program the state notifying flag bit in message and is revised as downloading completion status.
System the most according to claim 6, it is characterised in that described first object node is additionally operable to:
According to described program delete message, download from described second destination node described target program it
Before, when reading described program and deleting message, described program is deleted the described state notifying mark in message
Reading state is revised as in will position.
System the most according to claim 6, it is characterised in that described host node is additionally operable to:
The state notifying flag bit deleted in message when described program be modified to described download completion status it
After, generate program and delete instruction, wherein, described program is deleted instruction and is used for indicating described second destination node
Delete described target program;
Described second destination node is used for:
When reading described program and deleting instruction, delete instruction according to described program and delete described target joint
Mesh, and be revised as downloading completion status by the state notifying flag bit in the deletion instruction of described program.
System the most according to claim 6, it is characterised in that described host node is additionally operable to:
State notifying flag bit and described program in described program deletes message delete the state in instruction
When notification flag position is download completion status, described program is deleted the state notifying flag bit in message and
Described program is deleted the state of the state notifying flag bit in instruction and is changed to deletion times by downloading completion status
It is engaged in completion status.
10. according to the system according to any one of claim 6 to 9, it is characterised in that
When described second destination node is described host node, described program deletes the number of message equal to described
Each from the interstitial content sum of node, and described interstitial content sum program deletion message respectively with described respectively
Corresponding from node;
When described second destination node be described each arbitrary from node from node time, described program is deleted and is disappeared
The number of breath is each from the difference of the interstitial content sum of node Yu 1 equal to described, and described difference program is deleted
Except message respectively with described each from node except described arbitrary from node in addition to other are corresponding from node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610320238.1A CN105847855A (en) | 2016-05-13 | 2016-05-13 | Program processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610320238.1A CN105847855A (en) | 2016-05-13 | 2016-05-13 | Program processing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105847855A true CN105847855A (en) | 2016-08-10 |
Family
ID=56592342
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610320238.1A Pending CN105847855A (en) | 2016-05-13 | 2016-05-13 | Program processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847855A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567237A (en) * | 2003-06-09 | 2005-01-19 | 浪潮电子信息产业股份有限公司 | Method for constructing high-available distributed memory system |
US20070294560A1 (en) * | 2006-05-31 | 2007-12-20 | Microsoft Corporation | Support self-heal tool |
CN101127882A (en) * | 2007-08-31 | 2008-02-20 | 中兴通讯股份有限公司 | Distributed storage method for distributed network TV system and this system |
CN101557424A (en) * | 2009-05-15 | 2009-10-14 | 腾讯科技(深圳)有限公司 | Point-to-point download system and resource caching method thereof |
US20100217657A1 (en) * | 1999-06-10 | 2010-08-26 | Gazdzinski Robert F | Adaptive information presentation apparatus and methods |
CN102026023A (en) * | 2009-09-10 | 2011-04-20 | 浙江省公众信息产业有限公司 | System and method for downloading and playing streaming media |
CN103974138A (en) * | 2014-04-15 | 2014-08-06 | 上海聚力传媒技术有限公司 | Method and device for preloading videos in CDN |
-
2016
- 2016-05-13 CN CN201610320238.1A patent/CN105847855A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100217657A1 (en) * | 1999-06-10 | 2010-08-26 | Gazdzinski Robert F | Adaptive information presentation apparatus and methods |
CN1567237A (en) * | 2003-06-09 | 2005-01-19 | 浪潮电子信息产业股份有限公司 | Method for constructing high-available distributed memory system |
US20070294560A1 (en) * | 2006-05-31 | 2007-12-20 | Microsoft Corporation | Support self-heal tool |
CN101127882A (en) * | 2007-08-31 | 2008-02-20 | 中兴通讯股份有限公司 | Distributed storage method for distributed network TV system and this system |
CN101557424A (en) * | 2009-05-15 | 2009-10-14 | 腾讯科技(深圳)有限公司 | Point-to-point download system and resource caching method thereof |
CN102026023A (en) * | 2009-09-10 | 2011-04-20 | 浙江省公众信息产业有限公司 | System and method for downloading and playing streaming media |
CN103974138A (en) * | 2014-04-15 | 2014-08-06 | 上海聚力传媒技术有限公司 | Method and device for preloading videos in CDN |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2020531976A (en) | A device that provides a set of cryptographically protected, filtered, and sorted transaction datasets for blockchain links. | |
US10754869B2 (en) | Managing data format of data received from devices in an internet of things network | |
JP2015207316A5 (en) | ||
CN103701817B (en) | Method and device for generating configuration file | |
CN107438102A (en) | A cloud platform image production system and method thereof | |
CN106028092A (en) | Television screenshot sharing method and device | |
CN103338121B (en) | A kind of system management server, method and system thereof | |
CN110532021A (en) | The processing method and processing device of the configuration file of dcs | |
CN103647756A (en) | Advertisement broadcasting method, server, client and system | |
EP2669821A2 (en) | Control system asset management | |
KR20090078244A (en) | User-friendly Robot Contents Authoring System in Web Environment | |
CN105791080A (en) | Group message processing method and system, and electronic device | |
JP6587997B6 (en) | Sliding window management method and system for time machine function | |
CN106775720A (en) | The method and apparatus of integrated player SDK and the method and apparatus that player SDK is set | |
CN104822079A (en) | Video file real-time publication method and system | |
CN104243469B (en) | A kind of method for controlling to play, apparatus and system | |
CN105847855A (en) | Program processing method and system | |
US8245182B2 (en) | Class selectable design sharing | |
CN105027079A (en) | Object life cycle management in a publish-subscribe environment | |
US20140375686A1 (en) | Apparatus, method, and device | |
JP6687037B2 (en) | Itinerary planning support program, itinerary planning support method and itinerary planning support device | |
CN107113557B (en) | An information processing method and device | |
CN105872600A (en) | Program pushing method and device | |
CN104809033A (en) | Backup method and system | |
CN105378674B (en) | Multi-core operating system process processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160810 |