CN110445869A - A kind of content delivery method, terminal and server subscribed to based on distribution - Google Patents
A kind of content delivery method, terminal and server subscribed to based on distribution Download PDFInfo
- Publication number
- CN110445869A CN110445869A CN201910742799.4A CN201910742799A CN110445869A CN 110445869 A CN110445869 A CN 110445869A CN 201910742799 A CN201910742799 A CN 201910742799A CN 110445869 A CN110445869 A CN 110445869A
- Authority
- CN
- China
- Prior art keywords
- resource
- node
- server
- content
- node server
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of content delivery method, terminal and servers subscribed to based on distribution, which comprises receives the release information of user terminal transmission;The release information is transmitted to corresponding subscription node server so that the system file for subscribing to node server and obtaining publishing content resource from the resource memory node and updating subscription node server, wherein, publishing content resource is that user terminal is received to store the publishing content resource after the publishing content resource of user's transmission and obtained to the resource memory node, the present invention can quickly to user deliver content, the flexibility for enhancing system, reduce website maintenance cost purpose.
Description
Technical field
The present invention relates to content distribution management technical field more particularly to a kind of content issuers subscribed to based on distribution
Method, terminal and server.
Background technique
With the fast development of internet, also in continuous Quick Extended, web sites function, user data constantly expand for corporate business
Greatly, various new business and new demand are constantly pouring in, and need constantly to carry out system update to Website server by content publication,
To promote user experience.Existing content distribution management scheme there are content publication speed it is slow, flexibility is poor and O&M cost is high
The problem of.
Summary of the invention
It is an object of the present invention to provide a kind of content delivery methods subscribed to based on distribution, quickly to user
Deliver content, enhance system flexibility, reduce website maintenance cost purpose.It is another object of the present invention to provide
A kind of distributed collaborative server.It is yet a further object of the present invention to provide a kind of user terminals.An also mesh of the invention
Be a kind of subscription node server is provided.
In order to reach the goals above, one aspect of the present invention discloses a kind of content delivery method subscribed to based on distribution,
Include:
Receive the release information of user terminal transmission;
The release information is transmitted to corresponding subscription node server so that the subscription node server is from described
Resource memory node obtains publishing content resource and updates the system file for subscribing to node server, wherein publishing content resource
The publishing content resource is stored to resource storage section after receiving the publishing content resource of user's transmission for user terminal
What point obtained.
Preferably, the method also includes:
It obtains and subscribes to the pre-effective content page that node server is formed according to the updated system file;
Pre-effective content page is compared with corresponding publishing content resource, if comparing successfully, to subscription node
Server returns to publication successful information, so that the subscription node server is formally effective according to the generation of updated system file
Content page;If comparing failure, the subscription node server is marked to be node to be released and record the frequency of failure;
All subscription node servers are successively determined with the presence or absence of vertex ticks to be released, if so, repeating to obtain the hair
Cloth content resource and update subscribe to node server system file until all subscription node servers be not present it is to be released
Vertex ticks or the frequency of failure are more than preset times.
Preferably, the method also includes:
When the frequency of failure is more than preset times, creates to subscribe to node server and create to this and subscribe to node server hair
Release information is sent, so that the newly-built subscription node server obtains the publishing content resource simultaneously from the resource memory node
Update the system file of newly-built node server.
Preferably, the method also includes:
Receive subscription node server transmission retracts update request;
It updates request corresponding old version publication content with described retract to subscribing to node server transmission and being stored with and provides
The resource memory node information in source is sent out so as to subscribe to node server according to the resource memory node acquisition of information old version
Cloth content resource simultaneously updates system file.
Preferably, the method further includes by it is described release information be transmitted to corresponding subscription node server with
So that the subscription node server is obtained publishing content resource from the resource memory node and is updated and subscribes to node server
System file, before:
The release information is transmitted to preview node server so that the preview node server is deposited from the resource
Storage node obtains publishing content resource and updates the system file of preview node server, and according to updated system file shape
At the preview content page, the preview content page is shown to user.
The invention also discloses a kind of content delivery methods subscribed to based on distribution, comprising:
Receive the publishing content resource and release information of user's transmission;
The publishing content resource is stored to the resource memory node, and is sent to distribution for described
Collaboration server so that the distributed collaborative server by it is described release information be transmitted to corresponding subscription node server, with
So that the subscription node server is obtained the publishing content resource from the resource memory node and updates subscription node serve
The system file of device.
Preferably, the publishing content resource for receiving user's transmission and release information specifically include:
Publication Edition Contains interface is shown to user;
Publication is formed by the publication content and node configuration information of publication Edition Contains interface input according to user
Content resource and release information.
Preferably, described that confidence is matched by the publication content and node of publication Edition Contains interface input according to user
Breath forms publishing content resource and release information specifically includes:
The publication content inputted according to user by Edition Contains interface forms the publishing content resource of at least one version;
Publishing content resource corresponding with each subscription node server is determined according to the node configuration information of user setting
Version and form release information.
Preferably, described that hair corresponding with each subscription node server is determined according to the node configuration information of user setting
The version of cloth content resource simultaneously forms release information and specifically includes:
All nodal informations for subscribing to node server are determined according to the node configuration information of user setting, are saved according to subscribing to
In the nodal information of point server at least one of user information, user location, random user and user's ratio determine with
Subscribe to the version of the corresponding publishing content resource of node server.
The invention also discloses a kind of content delivery methods subscribed to based on distribution, comprising:
Receive the release information that distributed collaborative server is sent;
Publishing content resource is obtained from resource memory node according to the release information and updates system file, wherein hair
Cloth content resource and release information are the publishing content resource and release information that user terminal receives user's transmission, by the publication
Content resource is stored to the resource memory node, and is sent to distributed collaborative server so that described for described
Distributed collaborative server obtains.
Preferably, the method also includes:
The pre-effective content page formed according to the updated system file;
The pre-effective content page is transmitted to distributed collaborative server so that the distributed collaborative server will
Pre-effective content page is compared with corresponding publishing content resource, if comparing successfully, returns to node server is subscribed to
Successful information is issued, so that the subscription node server generates formally effective content pages according to the updated system file
Face;If comparing failure, the subscription node server is marked to be node to be released and record the frequency of failure;
All subscription node servers are successively determined with the presence or absence of vertex ticks to be released, repetition obtains the publication content
Resource simultaneously updates the system file for subscribing to node server until node mark to be released is not present in all subscription node servers
Note or the frequency of failure are more than preset times.
Preferably, the method further includes:
According to user retract more new command formation retract update request, by it is described retract update request be transmitted to distribution
Collaboration server;
It receives being stored with for the distributed collaborative server transport and updates the corresponding old version of request with described retract
The resource memory node information of publishing content resource, so as to subscribe to node server according to the resource memory node acquisition of information
Old version publishing content resource simultaneously updates system file.
The invention also discloses a kind of distributed collaborative servers, comprising:
Information process unit, for receiving the release information of user terminal transmission;
Content issues control unit, for the release information to be transmitted to corresponding subscription node server so that described
Node server is subscribed to obtain publishing content resource from the resource memory node and update the system text of subscription node server
Part, wherein by the publishing content resource after the publishing content resource that publishing content resource transmits for user terminal reception user
It stores and obtains to the resource memory node.
The invention also discloses a kind of user terminals, comprising:
Information input unit, for receiving the publishing content resource and release information of user's transmission;
Information forming unit, for storing the publishing content resource to the resource memory node, and by the hair
Cloth information is sent to distributed collaborative server so that the release information is transmitted to correspondence by the distributed collaborative server
Subscription node server so that the subscription node server obtains the publishing content resource from the resource memory node
And update the system file for subscribing to node server.
The invention also discloses a kind of subscription node servers, comprising:
Information receiving unit, for receiving the release information of distributed collaborative server transmission;
Content release unit, for obtaining publishing content resource from resource memory node according to the release information and updating
System file, wherein publishing content resource and release information receive the publishing content resource and hair that user is transmitted for user terminal
Cloth information stores the publishing content resource to the resource memory node, and is sent to distribution for described
Collaboration server is so that the distributed collaborative server obtained.
The invention also discloses a kind of computer equipment, including memory, processor and storage are on a memory and can
The computer program run on a processor,
The processor realizes method as described above when executing described program.
The invention also discloses a kind of computer-readable mediums, are stored thereon with computer program,
The program realizes method as described above when being executed by processor.
The present invention passes through distribution by the way that user's publishing content resource to be released to be stored in resource memory node
Formula collaboration server determines subscription node server to be updated according to the release information that user setting is formed, and makes to subscribe to node clothes
Device accessible resource memory node be engaged in obtain publishing content resource, system file is updated according to the publishing content resource, with reality
The publication of now new content page.The present invention issues content by distributed collaborative server and carries out centralized control, thus real
Now quickly to user deliver content, enhance system flexibility, reduce website maintenance cost purpose.
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 for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 shows a kind of one of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention;
Fig. 2 shows the two of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention;
Fig. 3 shows the three of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention;
Fig. 4 shows the four of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention;
Fig. 5 shows the five of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention;
Fig. 6 shows the six of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention;
Fig. 7 shows the seven of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention;
Fig. 8 shows the eight of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention;
Fig. 9 shows the nine of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention;
Figure 10 shows the ten of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention;
Figure 11 shows the ten of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention
One;
Figure 12 shows the ten of a kind of flow chart for the content delivery method specific embodiment subscribed to based on distribution of the present invention
Two;
Figure 13 shows a kind of structure chart of distributed collaborative server specific embodiment of the present invention;
Figure 14 shows a kind of structure chart of user terminal specific embodiment of the present invention;
Figure 15 shows a kind of structure chart for subscribing to node server specific embodiment of the present invention;
Figure 16 shows the structural schematic diagram for being suitable for the computer equipment for being used to realize the embodiment 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.
According to an aspect of the present invention, present embodiment discloses a kind of content delivery methods subscribed to based on distribution
(distributed collaborative server).As shown in Figure 1, in the present embodiment, the content delivery method subscribed to based on distribution includes:
S1100: the release information of user terminal transmission is received.
S1200: the release information is transmitted to corresponding subscription node server so that the subscription node server
Publishing content resource is obtained from the resource memory node and updates the system file of subscription node server, wherein in publication
Holding resource is to store the publishing content resource to the resource after user terminal receives the publishing content resource that user is transmitted
What memory node obtained.
The present invention passes through distribution by the way that user's publishing content resource to be released to be stored in resource memory node
Formula collaboration server determines subscription node server to be updated according to the release information that user setting is formed, and makes to subscribe to node clothes
Device accessible resource memory node be engaged in obtain publishing content resource, system file is updated according to the publishing content resource, with reality
The publication of now new content page.The present invention issues content by distributed collaborative server and carries out centralized control, thus real
Now quickly to user deliver content, enhance system flexibility, reduce website maintenance cost purpose.
Wherein, user terminal can realize human-computer interaction with user, can receive publishing content resource and the publication of user's transmission
Information stores the publishing content resource to the resource memory node, and is sent to distributed association for described
Make server so that the distributed collaborative server by it is described release information be transmitted to corresponding subscription node server so that
The subscription node server obtains the publishing content resource from the resource memory node and updates subscription node server
System file.
Preferably, user terminal can show publication Edition Contains interface to user, pass through the publication content according to user
The publication content and node configuration information of editing interface input form publishing content resource and release information.Specifically, user is whole
End may include content editing apparatus and content-message distributing device, the publication Edition Contains that user uses content editing apparatus to provide
Interface operation simultaneously generates content resource to be released, and after record to be released generates, user can also be set by content-message distributing device
It sets and subscribes to the information such as node server and configuration published method, the node that content-message distributing device is inputted according to user is with confidence
Breath forms release information, and release information is sent in distributed collaborative server, and distributed collaborative server can will receive
To release information be stored in release tasks inventory, so as to the acquisition when content is issued.
The publishing content resource that user terminal is formed need to be stored into resource memory node, and user terminal can be by the hair of formation
Cloth content resource is directly stored to corresponding resource memory node, and publishing content resource can also be first sent to distributed collaborative clothes
Business device, distributed collaborative server can as needed store publishing content resource into corresponding resource memory node, so as to
Content publication is managed concentratedly and controlled in distributed collaborative server.
In alternative embodiments, distributed collaborative server can take subscription publication mould based on distributed coordination device
Formula can establish long connection with distributed collaborative server when each subscription node server starts.Pass through the communication of long connection
Mode, the change conditions to release news in distributed collaborative server can be monitored in real time by subscribing to node server, when listening to point
When release information in cloth collaboration server changes, subscribing to node server can be obtained according to release information from resource memory node
The publishing content resource for taking this to change is issued.In optional other embodiment, distributed collaborative server can also
To node server active push release information is subscribed to, so that system file can be fast implemented more by subscribing to node server
Newly, to provide new service and function.
In a preferred embodiment, as shown in Fig. 2, the method also includes:
S1310: it obtains and subscribes to the pre-effective content page that node server is formed according to the updated system file.
S1320: pre-effective content page is compared with corresponding publishing content resource, if comparing successfully, to ordering
It reads node server and returns to publication successful information, so that the subscription node server generates just according to updated system file
The formula enabling disclosure page;If comparing failure, the subscription node server is marked to be node to be released and record the frequency of failure.
S1330: all subscription node servers are successively determined with the presence or absence of vertex ticks to be released, if so, repeating to obtain
The publishing content resource simultaneously updates the system file for subscribing to node server until all subscription node servers are not present
Vertex ticks to be released or the frequency of failure are more than preset times.
It is understood that the content distribution patterns of distributed collaborative server can also be supported to release mode incessantly.Pass through
Node server is subscribed in setting, makes to subscribe to node server after getting publishing content resource, according to updated system text
Part forms the content page of two kinds of forms, pre-effective and formally effective content page.Pre-effective content page external user can not
See, internal system designated user may have access to, and all users of formally effective content page under formally effective state are visible.
Publishing content resource is often distributed to a subscription node server, can be first according to the updated system file shape
At pre-effective content page.Distributed collaborative server, which can be got, subscribes to the pre-effective content pages that node server generates
Face compares pre-effective content page and publishing content resource, if comparing successfully, notifies to subscribe to node server for page status
It is switched to active states and externally issues, i.e., the formally effective concurrent characters show of content page is generated according to updated system file
To user.
Under mode of releasing incessantly, it is assumed that have n subscription node server, distributed collaborative server can successively traverse institute
There is subscription node server to be upgraded, each subscription node server is successively upgraded.No. 1 subscription node server publication
After errorless, distributed coordination device notifies No. 1 subscription node server formally externally to issue formally effective content page, and notifies
No. 2 subscription node servers are issued, and (it is the content page updated, n-1 subscription node that 1, which is subscribed to node server, at this time
Server is original page), No. 3 subscription node server publications are notified after No. 2 subscription node server publications are errorless, until institute
There is subscription node server publication to finish.If there is 1 subscription node server publication failure, the subscription node server is marked
For node to be released, and record the frequency of failure.If this takes turns all subscription node servers and issues successfully, knot is this time released incessantly
Beam.Node to be released if it exists, then the second wheel continues to traverse subscriptions node server to be released (wheel subscription node server is equal
Publication failure 1 time), the method same first round.
In a preferred embodiment, as shown in figure 3, the method also includes:
S1340: it when the frequency of failure is more than preset times, creates to subscribe to node server and create to this and subscribes to node clothes
Business device sends release information, so that the newly-built subscription node server obtains the publication content from the resource memory node
Resource and the system file for updating newly-built node server.
The settable preset times of distributed collaborative server, there are still unsuccessfully subscribe to after traversal wheel number reaches preset times
Node server then stops content publication or automatically creates to order with the same number of create of the subscription node server of failure
Read node server.It is furthermore preferred that may be selected to increase to guarantee the newly-built success rate subscribing to content after node server and issuing
Number than the subscription node server of failure more creates subscription node server, such as can increase the subscription section than failure
The number of point server more two newly-built subscription node servers.Such as it can be by creating new pod mode or other equivalent
Mode, which configures to create, subscribes to node server, then sends and releases news to the newly-built subscription node server, so that described new
Subscription node server is built to obtain the publishing content resource from the resource memory node and update newly-built node server
System file.Per a successfully newly-built subscription node server is newly issued, then a failure is rejected from subscription node server
Node.Successfully number is issued to newly-built subscription node server and is greater than or equal to number of nodes, deletes extra newly-built subscription node clothes
Business device.
In a preferred embodiment, as shown in figure 4, the method also includes:
S1410: receive subscription node server transmission retracts update request.
S1420: request corresponding old version publication is updated with described retract to subscribing to node server transmission and being stored with
The resource memory node information of content resource, so as to subscribe to node server according to the resource memory node acquisition of information history
Version publishing content resource simultaneously updates system file.
Distributed collaborative server also supports fast fallback to specified old version.It can be stored most in resource memory node
The publishing content resource (such as m may be selected 5) of nearly m version, the numerical value of m can be adjusted according to system requirements.After distribution
It needs under the scenes such as revocation, distributed collaborative Server assistance can be passed through and subscribe to node server realization fast fallback.It is distributed
Collaboration server can send the resource memory node information of corresponding old version publishing content resource to subscription node server,
The history publishing content resource of version to be restored can be got simultaneously from corresponding resource memory node by then subscribing to node server
System file is updated, the page formed according to system file is enable to quickly recover to old version, supports what is updated to recall.
In a preferred embodiment, the step of as shown in figure 5, the method also includes before S1200:
S1110: the release information is transmitted to preview node server so that the preview node server is from described
Resource memory node obtains publishing content resource and updates the system file of preview node server, and according to updated system
File forms the preview content page, shows the preview content page to user.
Distributed collaborative server can also support preview mechanism, preview node server and the displaying for subscribing to node server
It is consistent in logic.Content can first be distributed to preview node server before formal publication.System post staff can exist in advance
Bandwagon effect is carried out on preview node server and shows checking for content etc., it is ensured that formal distribution effect reduces going out for publication
Error rate.
Based on same principle, the present embodiment also discloses a kind of content delivery method (user's end subscribed to based on distribution
End), as shown in Figure 6, which comprises
S2100: the publishing content resource and release information of user's transmission are received.
S2200: the publishing content resource is stored to the resource memory node, and is sent to described
Distributed collaborative server is so that the release information is transmitted to corresponding subscription node clothes by the distributed collaborative server
Business device, so that the subscription node server obtains the publishing content resource from the resource memory node and updates subscription section
The system file of point server.
In a preferred embodiment, as shown in fig. 7, the publishing content resource and release information for receiving user's transmission
It specifically includes:
S2300: publication Edition Contains interface is shown to user.
S2400: the publication content and node configuration information shape of publication Edition Contains interface input are passed through according to user
At publishing content resource and release information.
In a preferred embodiment, as shown in figure 8, the S2400 is specific can include:
S2410: the publication content inputted according to user by Edition Contains interface is formed in the publication of at least one version
Hold resource.
S2420: it is determined in publication corresponding with each subscription node server according to the node configuration information of user setting
Hold the version of resource and forms release information.
In a preferred embodiment, as shown in figure 9, the S2420 is specific can include:
S2421: determining all nodal informations for subscribing to node server according to the node configuration information of user setting, according to
Subscribe at least one of user information, user location, random user and user's ratio in the nodal information of node server
Determine the version of publishing content resource corresponding with node server is subscribed to.
Since the principle that this method solves the problems, such as is similar with above method, the implementation of this method may refer to above-mentioned side
The implementation of method, details are not described herein.
Based on same principle, as shown in Figure 10, the present embodiment also discloses a kind of content publication subscribed to based on distribution
Method (subscribes to node server), which comprises
S3100: the release information that distributed collaborative server is sent is received.
S3200: obtaining publishing content resource from resource memory node according to the release information and update system file,
In, publishing content resource and release information receive the publishing content resource and release information that user is transmitted for user terminal, by institute
Publishing content resource is stated to store to the resource memory node, and by it is described be sent to distributed collaborative server with
Obtain the distributed collaborative server.
In a preferred embodiment, as shown in figure 11, the method also includes:
S3310: the pre-effective content page formed according to the updated system file.
S3320: being transmitted to distributed collaborative server for the pre-effective content page so that the distributed collaborative takes
Pre-effective content page is compared business device with corresponding publishing content resource, if comparing successfully, to subscription node serve
Device returns to publication successful information, so that the subscription node server is formally effective according to the updated system file generation
Content page;If comparing failure, the subscription node server is marked to be node to be released and record the frequency of failure.
S3330: all subscription node servers are successively determined with the presence or absence of vertex ticks to be released, repetition obtains the hair
Cloth content resource and update subscribe to node server system file until all subscription node servers be not present it is to be released
Vertex ticks or the frequency of failure are more than preset times.
In a preferred embodiment, as shown in figure 12, the method further includes:
S3410: according to user retract more new command formation retract update request, by it is described retract update request be transmitted to
Distributed collaborative server.
S3420: it receives being stored with for the distributed collaborative server transport and retracts update with described request is corresponding goes through
The resource memory node information of history version publishing content resource is believed so as to subscribe to node server according to the resource memory node
Breath obtains old version publishing content resource and updates system file.
Since the principle that this method solves the problems, such as is similar with above method, the implementation of this method may refer to above-mentioned side
The implementation of method, details are not described herein.
Based on same principle, the invention also discloses a kind of distributed collaborative servers, as shown in figure 13, the server
Control unit 12 is issued including information process unit 11 and content.
Information process unit 11 is used to receive the release information of user terminal transmission;
Content publication control unit 12 is used to the release information being transmitted to corresponding subscription node server so that institute
It states and subscribes to node server from resource memory node acquisition publishing content resource and update the system for subscribing to node server
File, wherein publishing content resource is to provide the publication content after user terminal receives the publishing content resource that user is transmitted
Source, which is stored, to be obtained to the resource memory node.
Since the principle that the server solves the problems, such as is similar with above method, the implementation of book server be may refer to
The implementation of method is stated, details are not described herein.
Based on same principle, the invention also discloses a kind of user terminals.As shown in figure 14, user terminal includes that information is defeated
Enter unit 21 and information forming unit 22.
Information input unit 21 is used to receive the publishing content resource and release information of user's transmission.
Information forming unit 22 is for storing the publishing content resource to the resource memory node, and by the hair
Cloth information is sent to distributed collaborative server so that the release information is transmitted to correspondence by the distributed collaborative server
Subscription node server so that the subscription node server obtains the publishing content resource from the resource memory node
And update the system file for subscribing to node server.
Since the principle that the terminal solves the problems, such as is similar with above method, the implementation of this terminal may refer to above-mentioned side
The implementation of method, details are not described herein.
Based on same principle, the invention also discloses a kind of subscription node servers.As shown in figure 15, node serve is subscribed to
Device includes information receiving unit 31 and content release unit 32.
Information receiving unit 31 is used to receive the release information of distributed collaborative server transmission.
Content release unit 32 is used to obtain publishing content resource and more from resource memory node according to the release information
New system file, wherein publishing content resource and release information be user terminal receive user transmission publishing content resource and
Release information, the publishing content resource is stored to the resource memory node, and be sent to distribution for described
Formula collaboration server is so that the distributed collaborative server obtained.
Since the principle that the server solves the problems, such as is similar with above method, the implementation of book server be may refer to
The implementation of method is stated, details are not described herein.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer equipment, specifically, computer is set
It is standby for example can for personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant,
Media player, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
In any equipment combination.
Computer equipment specifically includes memory, processor and storage on a memory simultaneously in a typical example
The computer program that can be run on a processor is realized when the processor executes described program and is held as described above by client
Capable method, alternatively, the processor realizes the method executed as described above by server when executing described program.
Below with reference to Figure 16, it illustrates the structures for the computer equipment 600 for being suitable for being used to realize the embodiment of the present application to show
It is intended to.
As shown in figure 16, computer equipment 600 includes central processing unit (CPU) 601, can be read-only according to being stored in
Program in memory (ROM) 602 is loaded into random access storage device (RAM) from storage section 608) program in 603
And execute various work appropriate and processing.In RAM603, also it is stored with system 600 and operates required various program sum numbers
According to.CPU601, ROM602 and RAM603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to
Bus 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 607 of spool (CRT), liquid crystal ultramagnifier (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.;
And including such as LAN card, the communications portion 609 of the network interface card of modem etc..Communications portion 609 via such as because
The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 606 as needed.Detachable media 611, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon
Computer program be mounted as needed such as storage section 608.
Particularly, according to an embodiment of the invention, may be implemented as computer above with reference to the process of flow chart description
Software program.For example, the embodiment of the present invention includes a kind of computer program product comprising be tangibly embodied in machine readable
Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this
In the embodiment of sample, which can be downloaded and installed from network by communications portion 609, and/or from removable
Medium 611 is unloaded to be mounted.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when application.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (17)
1. a kind of content delivery method subscribed to based on distribution characterized by comprising
Receive the release information of user terminal transmission;
The release information is transmitted to corresponding subscription node server so that the subscription node server is from the resource
Memory node obtains publishing content resource and updates the system file for subscribing to node server, wherein publishing content resource is to use
The publishing content resource is stored to the resource memory node after the publishing content resource of family terminal reception user's transmission and is obtained
It arrives.
2. content delivery method according to claim 1, which is characterized in that the method also includes:
It obtains and subscribes to the pre-effective content page that node server is formed according to the updated system file;
Pre-effective content page is compared with corresponding publishing content resource, if comparing successfully, to subscription node serve
Device returns to publication successful information, so that the subscription node server generates formally effective content according to updated system file
The page;If comparing failure, the subscription node server is marked to be node to be released and record the frequency of failure;
All subscription node servers are successively determined with the presence or absence of vertex ticks to be released, if so, repeating to obtain in the publication
Hold resource and updates the system file for subscribing to node server until node to be released is not present in all subscription node servers
Label or the frequency of failure are more than preset times.
3. content delivery method according to claim 2, which is characterized in that the method also includes:
When the frequency of failure is more than preset times, creates and subscribe to node server and send hair to the newly-built node server of subscribing to
Cloth information, so that the newly-built subscription node server obtains the publishing content resource from the resource memory node and updates
The system file of newly-built node server.
4. content delivery method according to claim 1, which is characterized in that the method also includes:
Receive subscription node server transmission retracts update request;
The corresponding old version publishing content resource of request is updated with described retract to subscribing to node server and sending to be stored with
Resource memory node information, so as to subscribe to node server according in resource memory node acquisition of information old version publication
Hold resource and updates system file.
5. content delivery method according to claim 1, which is characterized in that the method further includes by the hair
Cloth information is transmitted to corresponding subscription node server so that the subscription node server is obtained from the resource memory node
Publishing content resource simultaneously updates the system file for subscribing to node server, before:
The release information is transmitted to preview node server so that the preview node server stores section from the resource
Point obtains publishing content resource and updates the system file of preview node server, and is formed according to updated system file pre-
It lookes at content page, shows the preview content page to user.
6. a kind of content delivery method subscribed to based on distribution characterized by comprising
Receive the publishing content resource and release information of user's transmission;
The publishing content resource is stored to the resource memory node, and is sent to distributed collaborative for described
Server is so that the release information is transmitted to corresponding subscription node server by the distributed collaborative server, so that institute
Subscription node server is stated to obtain the publishing content resource from the resource memory node and update subscription node server
System file.
7. content delivery method according to claim 6, which is characterized in that the publication content money for receiving user's transmission
Source and release information specifically include:
Publication Edition Contains interface is shown to user;
Publication content is formed by the publication content and node configuration information of publication Edition Contains interface input according to user
Resource and release information.
8. content delivery method according to claim 7, which is characterized in that described to pass through the publication content according to user
The publication content and node configuration information of editing interface input form publishing content resource and release information specifically includes:
The publication content inputted according to user by Edition Contains interface forms the publishing content resource of at least one version;
According to the version of the determining publishing content resource corresponding with each subscription node server of the node configuration information of user setting
This simultaneously forms release information.
9. content delivery method according to claim 8, which is characterized in that the node according to user setting matches confidence
It ceases the version of determining publishing content resource corresponding with each subscription node server and forms release information and specifically include:
All nodal informations for subscribing to node server are determined according to the node configuration information of user setting, are taken according to node is subscribed to
At least one of user information, user location, random user and the user's ratio in the nodal information of device of being engaged in are determined and are subscribed to
The version of the corresponding publishing content resource of node server.
10. a kind of content delivery method subscribed to based on distribution characterized by comprising
Receive the release information that distributed collaborative server is sent;
Publishing content resource is obtained from resource memory node according to the release information and updates system file, wherein in publication
Hold resource and release information is the publishing content resource and release information that user terminal receives user's transmission, by the publication content
Resource is stored to the resource memory node, and is sent to distributed collaborative server so that the distribution for described
Formula collaboration server obtains.
11. content delivery method according to claim 10, which is characterized in that the method also includes:
The pre-effective content page formed according to the updated system file;
The pre-effective content page is transmitted to distributed collaborative server so that the distributed collaborative server is by pre- life
Effect content page is compared with corresponding publishing content resource, if comparing successfully, returns to publication to node server is subscribed to
Successful information, so that the subscription node server generates formally effective content page according to the updated system file;
If comparing failure, the subscription node server is marked to be node to be released and record the frequency of failure;
All subscription node servers are successively determined with the presence or absence of vertex ticks to be released, repetition obtains the publishing content resource
And update subscribe to node server system file until all subscription node servers be not present vertex ticks to be released or
The frequency of failure is more than preset times.
12. content delivery method according to claim 10, which is characterized in that the method further includes:
According to user retract more new command formation retract update request, by it is described retract update request be transmitted to distributed collaborative
Server;
It receives being stored with for the distributed collaborative server transport and updates request corresponding old version publication with described retract
The resource memory node information of content resource, so as to subscribe to node server according to the resource memory node acquisition of information history
Version publishing content resource simultaneously updates system file.
13. a kind of distributed collaborative server characterized by comprising
Information process unit, for receiving the release information of user terminal transmission;
Content issues control unit, for the release information to be transmitted to corresponding subscription node server so that the subscription
Node server obtains publishing content resource from the resource memory node and updates the system file of subscription node server,
In, publishing content resource be user terminal receive user transmission publishing content resource after by the publishing content resource store to
What the resource memory node obtained.
14. a kind of user terminal characterized by comprising
Information input unit, for receiving the publishing content resource and release information of user's transmission;
Information forming unit is believed for storing the publishing content resource to the resource memory node, and by the publication
Breath is sent to distributed collaborative server so that the release information is transmitted to corresponding order by the distributed collaborative server
Node server is read, so that the subscription node server obtains the publishing content resource and more from the resource memory node
The new system file for subscribing to node server.
15. a kind of subscription node server characterized by comprising
Information receiving unit, for receiving the release information of distributed collaborative server transmission;
Content release unit, for obtaining publishing content resource and more new system from resource memory node according to the release information
File, wherein publishing content resource and release information are believed for the publishing content resource of user terminal reception user's transmission and publication
Breath, the publishing content resource is stored to the resource memory node, and be sent to distributed collaborative for described
Server is so that the distributed collaborative server obtained.
16. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage
Computer program, which is characterized in that
The processor is realized when executing described program such as any one of claim 1-12 the method.
17. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that
It realizes when the program is executed by processor such as any one of claim 1-12 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910742799.4A CN110445869B (en) | 2019-08-13 | 2019-08-13 | Content publishing method, terminal and server based on distributed subscription |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910742799.4A CN110445869B (en) | 2019-08-13 | 2019-08-13 | Content publishing method, terminal and server based on distributed subscription |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110445869A true CN110445869A (en) | 2019-11-12 |
CN110445869B CN110445869B (en) | 2022-02-15 |
Family
ID=68434803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910742799.4A Active CN110445869B (en) | 2019-08-13 | 2019-08-13 | Content publishing method, terminal and server based on distributed subscription |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110445869B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113497719A (en) * | 2020-03-20 | 2021-10-12 | 广州汽车集团股份有限公司 | Service-oriented vehicle-mounted ECU software upgrading method and system and related equipment |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101021844A (en) * | 2006-02-15 | 2007-08-22 | 北京北大方正电子有限公司 | System and method for real-time issuing web site content |
CN101997896A (en) * | 2009-08-19 | 2011-03-30 | 中兴通讯股份有限公司 | Method and system for issuing document |
CN102193933A (en) * | 2010-03-10 | 2011-09-21 | 北大方正集团有限公司 | Method and system for webpage editing |
CN102508722A (en) * | 2011-12-02 | 2012-06-20 | 中科方德软件有限公司 | Inter-process communication method under embedded environment |
CN102609526A (en) * | 2012-02-13 | 2012-07-25 | 工购电子商务(上海)有限公司 | Internet website content management system |
CN103209162A (en) * | 2012-01-16 | 2013-07-17 | 中国科学院声学研究所 | Method and device for deploying Web-type business |
CN105488158A (en) * | 2015-11-30 | 2016-04-13 | 何磊 | Method and device for processing file |
CN107872334A (en) * | 2016-09-23 | 2018-04-03 | 中兴通讯股份有限公司 | The method and device that gray scale upgrades in a kind of micro services architecture system |
CN108282529A (en) * | 2018-01-23 | 2018-07-13 | 百度在线网络技术(北京)有限公司 | Publication and system, the method and apparatus for subscribing to data |
CN108880851A (en) * | 2017-11-07 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of method and interactive system that configuration updates |
CN110069758A (en) * | 2018-01-19 | 2019-07-30 | 北京搜狗科技发展有限公司 | A kind of dissemination method of multimedia messages, device and storage medium |
-
2019
- 2019-08-13 CN CN201910742799.4A patent/CN110445869B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101021844A (en) * | 2006-02-15 | 2007-08-22 | 北京北大方正电子有限公司 | System and method for real-time issuing web site content |
CN101997896A (en) * | 2009-08-19 | 2011-03-30 | 中兴通讯股份有限公司 | Method and system for issuing document |
CN102193933A (en) * | 2010-03-10 | 2011-09-21 | 北大方正集团有限公司 | Method and system for webpage editing |
CN102508722A (en) * | 2011-12-02 | 2012-06-20 | 中科方德软件有限公司 | Inter-process communication method under embedded environment |
CN103209162A (en) * | 2012-01-16 | 2013-07-17 | 中国科学院声学研究所 | Method and device for deploying Web-type business |
CN102609526A (en) * | 2012-02-13 | 2012-07-25 | 工购电子商务(上海)有限公司 | Internet website content management system |
CN105488158A (en) * | 2015-11-30 | 2016-04-13 | 何磊 | Method and device for processing file |
CN107872334A (en) * | 2016-09-23 | 2018-04-03 | 中兴通讯股份有限公司 | The method and device that gray scale upgrades in a kind of micro services architecture system |
CN108880851A (en) * | 2017-11-07 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of method and interactive system that configuration updates |
CN110069758A (en) * | 2018-01-19 | 2019-07-30 | 北京搜狗科技发展有限公司 | A kind of dissemination method of multimedia messages, device and storage medium |
CN108282529A (en) * | 2018-01-23 | 2018-07-13 | 百度在线网络技术(北京)有限公司 | Publication and system, the method and apparatus for subscribing to data |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113497719A (en) * | 2020-03-20 | 2021-10-12 | 广州汽车集团股份有限公司 | Service-oriented vehicle-mounted ECU software upgrading method and system and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110445869B (en) | 2022-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109891391B (en) | Method and system for on-demand resource provisioning | |
CN109412853B (en) | Distributed service registration storage method, system, device and storage medium | |
CN109684036B (en) | Container cluster management method, storage medium, electronic device and system | |
US20190306078A1 (en) | Apparatus, system, and method for ordering and provisioning variable bandwidth capacity on a network | |
CN111090423B (en) | Webhook framework system and method for realizing active calling and event triggering | |
US9848064B2 (en) | Generation and distribution of named, definable, serialized tokens | |
CN106899666A (en) | A kind of data processing method and device for service identification | |
CN104348793B (en) | The storage method of storage server system and data message | |
CN109241033A (en) | The method and apparatus for creating real-time data warehouse | |
CN115334025B (en) | Decentralized instant messaging method, decentralized instant messaging device, decentralized instant messaging equipment and storage medium | |
CN109672752A (en) | The synchronous method of data and node | |
CN110532493A (en) | Processing method and processing device, storage medium and the electronic device of data | |
CN108075914A (en) | A kind of method and the network equipment of dynamic capacity-expanding capacity reducing | |
CN110445869A (en) | A kind of content delivery method, terminal and server subscribed to based on distribution | |
US11632411B2 (en) | Method and apparatus for cascaded multi-input content preparation templates for 5G networks | |
CN111193661B (en) | Management method and device based on enterprise communication channel fusion system | |
CN110677443A (en) | Data transmitting and receiving method, transmitting end, receiving end, system and storage medium | |
CN106327559B (en) | Communication means, data processing method and computing system | |
CN110413427A (en) | Subscribe to data pull method, apparatus, equipment and storage medium | |
CN106211353A (en) | Data capture method, device and system | |
US10242111B2 (en) | Node controllers for hierarchical data structures | |
CN111327941B (en) | Offline video playing method, device, equipment and medium | |
CN106559454B (en) | Resource access method, device and system | |
CN109446183B (en) | Global anti-duplication method and device | |
Hao et al. | Poster: EPS: Edge-hosted Personal Services for Mobile Users |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |