CN106534075A - Updated content processing method and device - Google Patents
Updated content processing method and device Download PDFInfo
- Publication number
- CN106534075A CN106534075A CN201610899874.4A CN201610899874A CN106534075A CN 106534075 A CN106534075 A CN 106534075A CN 201610899874 A CN201610899874 A CN 201610899874A CN 106534075 A CN106534075 A CN 106534075A
- Authority
- CN
- China
- Prior art keywords
- update content
- accounts information
- data
- page structure
- belonging
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
- H04L65/764—Media network packet handling at the destination
-
- 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/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- 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/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- 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/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to an updated content processing method and device, used for displaying an updated content of second account information in a page structure, which first account information belongs to. The method comprises the following steps of: obtaining the updated content of the second account information; analyzing the page structure of the updated content; detecting whether the page structure, which the first account information belongs to, is the same as the page structure of the updated content or not; when the page structure, which the first account information belongs to, is the same as the page structure of the updated content, loading the updated content in the page structure, which the first account information belongs to; and, when the page structure, which the first account information belongs to, is different from the page structure of the updated content, decomposing the updated content, and respectively loading a character part and a non-character part obtained by decomposition in the page structure, which the first account information belongs to. The updated content processing method and device disclosed by the invention have the benefits that: the updated content obtained from another platform can be completely displayed in a current platform in time; and furthermore, the effect of supporting multiple different updated content data forms can be realized.
Description
Technical field
The present embodiments relate to technical field of data processing, more particularly to a kind of processing method and dress of update content
Put.
Background technology
Live is the recent new technique for rising, and is uploaded to direct broadcast server in real time by the video for recording photographic head, and
The video recorded is played by direct broadcast server and realizes data transfer.
Many practical problems can be solved using live, for example, by live, supervisor can watch each employee's of company
Working condition, the head of a family can watch learning life situation of the child in kindergarten, and spectators can be by the video observing of main broadcaster
See certain movable field scene, etc..
However, during current use, its problem for running into is, the related live account in direct broadcast server
When the relevant information of other platforms associated with the live account is shown, updating the data on another platform directly cannot show
Live platform is shown in, causes update content loading relatively slow, update content completely show and renewal cannot be obtained in time
The problems such as content is updated, this is extremely bad experience for a user, and can cause the loss of live platform user,
Therefore, one that the update content on other platforms is current urgent need to resolve in being preferably shown in live platform how is made to ask
Topic, there is presently no the method or device appearance for solving the problem now.
The content of the invention
The present invention provides a kind of processing method and processing device of update content, to realize that a kind of update content on platform can be with
Another platform is shown in time and intactly.
In a first aspect, embodiments provide a kind of processing method of update content, for by the second accounts information
Update content be shown in the page structure belonging to the first accounts information, methods described includes:
Obtain the update content of second accounts information;
Parse the page structure of the update content;
Detect whether the page structure belonging to first accounts information is identical with the page structure of the update content;
When the page structure belonging to first accounts information is identical with the page structure of the update content, described
The update content is loaded in page structure belonging to first accounts information;
When the page structure belonging to first accounts information is different from the page structure of the update content, to described
Update content is decomposed, and the word segment and non-legible part that decomposition is obtained is respectively loaded on the first accounts information institute
In the page structure of category.
It is with reference on the other hand, in a kind of possible embodiment on the other hand, described to obtain the second account letter
The update content of breath, including:
Obtain the network address of the update content of second accounts information in affiliated server;
The network address is stored in the server belonging to first accounts information;
When the network address of storage changes, judge that second accounts information there are update content, from described
Server request belonging to second accounts information simultaneously downloads the update content.
On the other hand with reference to, in a kind of possible embodiment on the other hand, it is described by the second accounts information more
New content is shown in the page structure belonging to the first accounts information, including:
Obtain the time tag of the update content;
Between detection current time and the time tag, whether difference is more than a predetermined threshold value;
When difference is more than a predetermined threshold value between the current time and the time tag, second account is obtained
The update content of information the page structure being shown in belonging to first accounts information;
When between the current time and the time tag, difference, not less than a predetermined threshold value, keeps first account
The current state of information.
With reference on the other hand, in a kind of possible embodiment on the other hand, methods described also includes:
Obtain the frequency of occurrences of data in the update content;
Detect whether the frequency of occurrences of data in the update content exceedes predeterminated frequency;
When the frequency of occurrences of data in the update content exceedes predeterminated frequency, data in the update content are carried out
Caching.
With reference on the other hand, in a kind of possible embodiment on the other hand, methods described also includes:
In judging the update content, whether data are data cached;
When in the update content, data are data cached, load from caching described data cached;
When in the update content, data are non-caching data, load from the corresponding network address of the update content
The non-caching data.
Second aspect, present invention also offers a kind of processing meanss of update content, its specific technical scheme is as follows:
A kind of processing meanss of update content, for the update content of the second accounts information is shown in the first accounts information
Affiliated page structure, described device include:
Update content acquisition module, is configured to obtain the update content of second accounts information;
Parsing module, is configured to parse the page structure of the update content;
Detection module, is configured to detect the page of the page structure belonging to first accounts information and the update content
Whether face structure is identical;
Module is loaded directly into, the page structure being configured as belonging to first accounts information and the update content
When page structure is identical, the update content is loaded in the page structure belonging to first accounts information;
Decompose load-on module, the page structure being configured as belonging to first accounts information and the update content
When page structure is different, the update content is decomposed, the word segment and non-legible part that decomposition is obtained adds respectively
It is loaded onto in the page structure belonging to first accounts information.
Above-mentioned processing meanss, the update content acquisition module, including:
Address acquisition submodule, is configured to obtain the update content of second accounts information in affiliated server
The network address;
Sub-module stored, is configured to for the network address to be stored in the server belonging to first accounts information
In;
Judging submodule, when being configured as the network address change for storing, judges that second accounts information is deposited
There is update content, from the server request belonging to second accounts information and the update content is downloaded.
Above-mentioned processing meanss, the update content by the second accounts information are shown in the page belonging to the first accounts information
Face structure, including:
Time-obtaining module, is configured to obtain the time tag of the update content;
Time detecting module, is configured to detect whether difference is default more than one between current time and the time tag
Threshold value;
The module that is loaded directly into is additionally configured to:When between the current time and the time tag difference more than one
During predetermined threshold value, obtain the update content of second accounts information and be shown in the knot of the page belonging to first accounts information
Structure;
Module is kept, difference between the current time and the time tag is configured as and threshold is preset not less than one
Value, keeps the current state of first accounts information.
Above-mentioned processing meanss, described device also include:
Frequency acquisition module, is configured to obtain the frequency of occurrences of data in the update content;
Frequency detection module, is configured to detect whether the frequency of occurrences of data in the update content exceedes default frequency
Rate;
Cache module, when being configured as the frequency of occurrences of data in the update content more than predeterminated frequency, to described
In update content, data are cached.
Above-mentioned processing meanss, described device also include:
Caching judge module, in being configured to judge the update content, whether data are data cached;
Caching load-on module, be configured as in the update content data for it is data cached when, institute is loaded from caching
State data cached;
Non-caching load-on module, when being configured as that data are non-caching data in the update content, from the renewal
The non-caching data are loaded in the corresponding network address of content.
The present invention is by detecting the page structure whether phase of page structure and the platform belonging to update content of current platform
Together, update content is judged if appropriate in the page structure for loading on current platform, and to being not suitable for loading on current platform
Update content in page structure is parsed the page knot for more making update content load on current platform after parsing respectively
The disparate modules of structure, solve the problems, such as that update content cannot be shown in the page structure of current platform in time and intactly, realize
The update content obtained from another platform can be shown in the page structure of current platform in time and intactly, and can support many
Plant the effect of the data mode of different update content.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The present invention can be limited.
Description of the drawings
During accompanying drawing herein is merged in description and the part of this specification is constituted, show the enforcement for meeting the present invention
Example, and be used for explaining the principle of the present invention together with description.
Fig. 1 is a kind of main flow chart of the processing method of the update content according to an exemplary embodiment.
Fig. 2 is flow process when re-starting content update when the network address changes according to an exemplary embodiment
Figure.
Fig. 3 is flow chart when being upgraded in time by time tag according to an exemplary embodiment.
Fig. 4 is flow process when being loaded according to data under frequency of occurrences caching situation according to an exemplary embodiment
Figure.
Fig. 5 is a kind of main block diagram of the processing meanss of the update content according to an exemplary embodiment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The process described as flow chart or method.It is although each step to be described as in flow chart the process of order, therein to be permitted
Multi-step can concurrently, concomitantly or while implement.Additionally, the order of each step can be rearranged, when its operation
Process when completing can be terminated, it is also possible to have other steps being not included in accompanying drawing.Process and can correspond to
In method, function, code, subroutine, subprogram etc..
The present invention relates to a kind of processing method and processing device of update content, which mainly applies to need another platform more
New content is timely and intactly loads on the scene in current platform, and its basic thought is:By in the renewal to another platform
The analysis and the parsing to update content of the page structure of page structure and current platform belonging to holding so that update content energy
It is enough in time, to be intactly shown in the page structure of current platform.
The present embodiment is applicable in the live platform with data processing module be updated the feelings of the process of content
In condition, the method can be performed by live client, and wherein the client can be realized by software and/or hardware, typically
Ground can be integrated in live platform, as shown in figure 1, the main flow for a kind of processing method of update content of the present invention is illustrated
Figure, which is mainly used in for the update content of the second accounts information being shown in the page structure belonging to the first accounts information, at this
In a kind of embodiment of bright exemplary embodiment, first accounts information can belonging to live platform, second account letter
Breath can belonging to microblog, the update content is the fresh information issued in the microblog, with reference to diagram, the side
Method specifically may include steps of:
In step 110, obtain the update content of second accounts information;
The update content is have tool by include word, picture, audio frequency, video and hyperlink etc. that user issues
The data of body content information, the type data carry identity, you can correspond with user is issued.
In a kind of feasible embodiment, such as in live platform, the spectators with certain authority can also pass through
The mode for searching for a certain main broadcaster's title obtains update content of the main broadcaster on another platform in such as microblog so that the tool
The spectators for having certain authority obtain the content of microblog that main broadcaster updates by may be implemented in current live platform.
In the step 120, parse the page structure of the update content;
When the update content is got, while the page structure to the update content in its affiliated platform is carried out
Parsing, draws order of each several part data of update content in the page structure and composition information.
In step 130, detect the page knot of the page structure belonging to first accounts information and the update content
Whether structure is identical;
Page structure belonging to first accounts information, can be for showing at the exclusive interface of first accounts information
Show the update content in its second platform belonging to the second accounts information, the page structure can be by multiple different display modules
Composition, such as animation display module, text importing module, dynamic picture display module etc..
In step 140, when the page structure belonging to first accounts information and the page structure of the update content
When identical, the update content is loaded in the page structure belonging to first accounts information;
The page structure of the two is identical, you can judge that the update content of current second accounts information can load on the first account
In page structure belonging to information.
In step 150, when the page structure belonging to first accounts information and the page structure of the update content
When different, the update content is decomposed, the word segment and non-legible part that decomposition is obtained is respectively loaded on described
In page structure belonging to first accounts information.
Word segment therein is the descriptive text of the word property in the update content issued, and its non-legible part can be with
For picture, video, Streaming Media, link etc., word segment therein also includes the word of the description to non-legible part.
Different display modules according to included by page structure, can add each described respectively in variant display module
Word segment and non-legible part, so that the word segment of update content and non-legible part are respectively loaded on page structure
In different display modules.
In a kind of implement scene of exemplary embodiment of the present, each word segment and non-is can record in resolving
The parsing order of word segment, and according to the order of the display module in the parsing order adjustment page structure, so that in the page
Former update content can be reduced according to parsing sequential full in the structure of face, update content will not be caused to exist as order is different
Association situation chaotic after showing occurs.
By the method for exemplary embodiment of the present, by the parsing of the update content of user on the second platform and
The analysis of the page structure of current platform and the second platform so that the update content shown on the second platform can be in time and complete
Be shown in current platform dynamic bar page structure in so that other users of current platform can check in current platform
To fresh information of the specific user in the second platform, it is that the user of spectators' property has saved the time, it is also possible to reduce using
The resource occupation of the used equipment in family, greatly improves Consumer's Experience.
In another kind of implement scene of exemplary embodiment of the present, the renewal for obtaining second accounts information
Content is also included dumping in the server that the first accounts information is located simultaneously the update content of the second accounts information
It is formed in the server that can be located via first accounts information when again reading off to directly read, with through the network address
The server request update content being directly located to the second accounts information, as shown in Fig. 2 this process may include following process:
In step 210, obtain the network address of the update content of second accounts information in affiliated server;
In a step 220, the network address is stored in the server belonging to first accounts information;
In step 230, when the network address of storage changes, judge that second accounts information there are renewal
Content, from the server request belonging to second accounts information and downloads the update content.
The network address is preserved in server belonging to first accounts information, the network address institute is not preserved
Corresponding update content, can greatly reduce the resource occupation in the server that first accounts information is located.
Before each renewal is preserved in the form of the address list in the server that first accounts information is located and
The network address after renewal so that can be clicked on by address list check the user of the second accounts information it is recent it is all more
New content, and obtain update content when the network address changes more in time, it is that user brings great convenience.
In another kind of implement scene of exemplary embodiment of the present, the update content by the second accounts information shows
The page structure being shown in belonging to the first accounts information, judges including according to time tag whether update content needs to exist in time
It is updated in page structure belonging to first accounts information, as shown in figure 3, this process may include following steps:
In the step 310, obtain the time tag of the update content;
The time tag is the renewal time of the update content, its portability in the data message of update content,
The time tag of the update content can be obtained by way of temporal information is extracted.
In step 320, detect that whether difference is more than a predetermined threshold value between current time and the time tag;
The predetermined threshold value is arranged in the way of it can set, and its data is transformable, typically may be configured as 10 minutes
Integral multiple, is similarly a temporal information by the difference between the time shown in current time and time tag, and which can be accurate to
Millisecond, such as current time are 21:22 ' 20 ", the time that time tag shows is 20:42 ' 38 ", then now its difference is:
39 ' 42 ", and predetermined threshold value is set as 35 ', then now detection process be 39 ' 42 " and 35 ' between comparison.
In a step 330, when between the current time and the time tag, difference is more than a predetermined threshold value, obtain
The update content of second accounts information the page structure being shown in belonging to first accounts information;
When its difference is:39 ' 42 ", predetermined threshold value when being set as 35 ', i.e. its difference exceedes predetermined threshold value, and the time is
The default time is spent, the update content of second accounts information can be reacquired and the first accounts information institute is shown in
The page structure of category.
In step 340, when between the current time and the time tag difference not less than a predetermined threshold value, keep
The current state of first accounts information.
In another kind of implement scene of exemplary embodiment of the present, current time is 21:00:00, difference is:17’
22 ", and predetermined threshold value is when being set as 35 ', then can be determined that its difference, not less than predetermined threshold value, now, can keep current state,
And step 310 is re-started again through one second Preset Time.
The update content of the second accounts information to the appearance in the first accounts information is capable of achieving by the method for the present invention
Upgrade in time, it is ensured that the user of spectators' property can view the update content of specific user in time on current platform,
Saving time and efficiency, while so that current platform ensure that more recoverable amounts.
In another kind of implement scene of exemplary embodiment of the present, methods described also includes normal to Jing in update content
The data of appearance are cached with the step of customer flow is reduced, as shown in figure 4, this process may include following steps:
In step 410, obtain the frequency of occurrences of data in the update content;
The custom of specific user makes so, can fix and be furnished with a certain picture or link when which is updated the issue of content,
For the partial data in update content can then be cached, with it is upper once update when directly by caching in read the number
According to the load time of saving update content.
In a kind of implement scene of exemplary embodiment of the present, the partial data in update content can be occurred
The statistics of frequency, such as the image data in non-legible part, for the word segment in update content can then be not counted in statistics,
Statistical method and according to actually used situation sets itself.
At step 420, detect whether the frequency of occurrences of data in the update content exceedes predeterminated frequency;
The predeterminated frequency is calculated according to big data by current platform, it is also possible to by user's sets itself, and its numerical value can
It is transformable.
In step 430, when the frequency of occurrences of data in the update content exceedes predeterminated frequency, in the renewal
In appearance, data are cached.
Exceed the partial data in the update content of predeterminated frequency to the frequency of occurrences to cache, may be selected to be stored in first
In platform belonging to accounts information.
In another kind of implement scene of exemplary embodiment of the present, with reference to above-mentioned example embodiment, when to second
During the loading of the platform request update content belonging to accounts information, can judge to whether the data of update content cache,
By the different pieces of information in update content carry out it is different in the way of load, with reference to shown in Fig. 4, this process may include following steps:
Also include:
In step 440, in judging the update content, whether data are data cached;
Data cached judgement can be carried out to the partial data in the update content or total data.
In step 450, when data are data cached in the update content, the caching number is loaded from caching
According to;
When in the update content, data are data cached, which is at least the partial data in the update content for caching
Data, then the partial data can be loaded from caching, and the data of other parts are then needed from belonging to the second accounts information
Platform in make requests on and load on current platform.
In step 460, when in the update content, data are non-caching data, from the corresponding net of the update content
The non-caching data are loaded in network address.
When data are non-caching data in the update content, the total data in update content is referred to not slow
Middle storage is deposited, then the total data of update content is now loaded to the platform request belonging to second accounts information.
The method of exemplary embodiment of the present, the data asked possibly for Jing frequentations in update content are cached, and are made
The data reduced when the renewal of content is updated every time to the platform request loading belonging to the second accounts information are obtained, so that
The update content of current platform loading is able to faster more timely update and shows.
A kind of structural representation of the processing meanss of update content that Fig. 5 is provided for exemplary embodiment of the present, the dress
Put and can be realized by software and/or hardware, be usually integrated in live platform, can be by the processing method of update content come real
It is existing.As illustrated, the present embodiment can be based on above-described embodiment, there is provided a kind of processing meanss of update content, it is used for
The update content of the second accounts information is shown in into the page structure belonging to the first accounts information, which mainly includes update content
Acquisition module 510, parsing module 520, detection module 530, be loaded directly into module 540 and decompose load-on module 550, it is therein
Connection can be communicated two-by-two between module, and each module can be connected with the communication of the Central Control Module of live platform.
Update content acquisition module 510 therein, is configured to obtain the update content of second accounts information;
Parsing module therein 520, is configured to parse the page structure of the update content;
Detection module therein 530, be configured to detect page structure belonging to first accounts information with it is described more
Whether the page structure of new content is identical;
It is therein to be loaded directly into module 540, be configured as page structure belonging to first accounts information with it is described
When the page structure of update content is identical, the update content is loaded in the page structure belonging to first accounts information;
Decomposition load-on module 550 therein, be configured as page structure belonging to first accounts information with it is described
When the page structure of update content is different, the update content is decomposed, the word segment that obtains and non-legible will be decomposed
Part is respectively loaded in the page structure belonging to first accounts information.
In another kind of implement scene of exemplary embodiment of the present, the update content acquisition module, including:
Address acquisition submodule, is configured to obtain the update content of second accounts information in affiliated server
The network address;
Sub-module stored, is configured to for the network address to be stored in the server belonging to first accounts information
In;
Judging submodule, when being configured as the network address change for storing, judges that second accounts information is deposited
There is update content, from the server request belonging to second accounts information and the update content is downloaded.
In another kind of implement scene of exemplary embodiment of the present, the update content by the second accounts information shows
The page structure being shown in belonging to the first accounts information, including:
Time-obtaining module, is configured to obtain the time tag of the update content;
Time detecting module, is configured to detect whether difference is default more than one between current time and the time tag
Threshold value;
The module that is loaded directly into is additionally configured to:When between the current time and the time tag difference more than one
During predetermined threshold value, obtain the update content of second accounts information and be shown in the knot of the page belonging to first accounts information
Structure;
Module is kept, difference between the current time and the time tag is configured as and threshold is preset not less than one
Value, keeps the current state of first accounts information.
In another kind of implement scene of exemplary embodiment of the present, described device also includes:
Frequency acquisition module, is configured to obtain the frequency of occurrences of data in the update content;
Frequency detection module, is configured to detect whether the frequency of occurrences of data in the update content exceedes default frequency
Rate;
Cache module, when being configured as the frequency of occurrences of data in the update content more than predeterminated frequency, to described
In update content, data are cached.
In another kind of implement scene of exemplary embodiment of the present, described device also includes:
Caching judge module, in being configured to judge the update content, whether data are data cached;
Caching load-on module, be configured as in the update content data for it is data cached when, institute is loaded from caching
State data cached;
Non-caching load-on module, when being configured as that data are non-caching data in the update content, from the renewal
The non-caching data are loaded in the corresponding network address of content.
In the executable present invention of the processing meanss of the update content provided in above-described embodiment provided in any embodiment
Update content processing method, possess the corresponding functional module of execution the method and beneficial effect, not in the above-described embodiments
The ins and outs of detailed description, can be found in the processing method of the update content provided in any embodiment of the present invention.
It will be appreciated that, the present invention also extends to the computer program for being suitable for putting the invention into practice, particularly
Computer program on carrier or in carrier.Program can be with source code, object code, code intermediate source and such as part volume
The form of the object code of the form translated, or with any other shape being adapted to used in the realization according to the method for the present invention
Formula.Also it will be noted that, such program may have many different frame designs.For example, realize the side according to the present invention
Functional program code of method or system may be subdivided into one or more subroutine.
For will be obvious for technical personnel in the functional many different modes of these subroutine intermediate distributions.
Subroutine can be collectively stored in an executable file, so as to form self-contained program.Such executable file can
With including computer executable instructions, such as processor instruction and/or interpreter instruction (for example, Java interpreter instruction).Can
Alternatively, one or more or all subroutines of subroutine is may be stored at least one external library file, and
And statically or dynamically (such as at runtime) links with mastery routine.Mastery routine contains at least one of subroutine
At least one call.Subroutine can also be included to mutual function call.It is related to the embodiment bag of computer program
Include the computer executable instructions of each step of process step corresponding at least one of illustrated method method.These refer to
Order can be subdivided into subroutine and/or be stored in the file of one or more possible static or dynamic link.
Another embodiment for being related to computer program include corresponding in illustrated system and/or product at least
The computer executable instructions of each device in the device of.These instructions can be subdivided into subroutine and/or be stored
In the file of one or more possible static or dynamic link.
The carrier of computer program can be any entity or device that can deliver program.For example, carrier can be wrapped
Containing storage medium, such as (ROM such as CDROM or quasiconductor ROM) or magnetic recording media (such as floppy disk or hard disk).Enter
One step ground, carrier can be the carrier that can be transmitted, such as electricity or optical signalling, its can via cable or optical cable, or
Person passes through radio or other means are transmitted.When program is embodied as such signal, carrier can be by such cable
Or device composition.Alternatively, carrier can be the integrated circuit for being wherein embedded with program, and the integrated circuit is suitable for holding
Row correlation technique, or for correlation technique execution used by.
Should be noted that, embodiment mentioned above is to illustrate the present invention, rather than limits the present invention, and this
The technical staff in field is possible to design many alternate embodiments, without departing from scope of the following claims.In power
During profit is required, any reference markss being placed between round parentheses are not to be read as being limitations on claims.Verb " bag
Include " and its paradigmatic depositing using the element or step that are not excluded in addition to those recorded in the claims
.Article " one " or " one " before element is not excluded for the presence of a plurality of such elements.The present invention can pass through
Including the hardware of several visibly different components, and realized by properly programmed computer.Enumerating several devices
In device claim, several in these devices can be embodied by the same item of hardware.In mutually different appurtenance
Profit states in requiring that the simple fact of some measures is not intended that the combination of these measures can not be used to benefit.
If desired, difference in functionality discussed herein can be performed and/or be performed simultaneously with one another with different order.
In addition, if desired, one or more functions described above can be optional or can be combined.
If desired, each step is not limited to the execution sequence in each embodiment, different step as discussed above
Can perform and/or perform simultaneously with one another with different order.Additionally, in other embodiments, described above one or many
Individual step can be optional or can be combined.
Although various aspects of the invention are given in the independent claim, the other side of the present invention include from
The combination of the dependent claims of the feature of described embodiment and/or the feature with independent claims, and not only
It is the combination be clearly given in claim.
It should be noted herein that, although the example embodiment of the present invention is the foregoing described, but these descriptions are not
Should be understood in a limiting sense.Conversely, several changing and modifications can be carried out will without departing from the right as appended by
The scope of the present invention defined in asking.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present invention can be with general meter
Calculate device to realize, each module can be concentrated in the group of networks of single computing device or computing device composition, and the present invention is real
The device in example is applied corresponding to the method in previous embodiment, which can be realized by executable program code, it is also possible to logical
Cross the mode of integrated circuit combination to realize, therefore the invention is not limited in specific hardware or software and its combination.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present invention can be with general shifting
Realizing, each module can be concentrated in the device combination of single mobile terminal or mobile terminal composition dynamic terminal, the present invention
Corresponding to the method in previous embodiment, which can be realized device in embodiment by editing executable program code,
Can be realized by way of integrated circuit combination, therefore the invention is not limited in specific hardware or software and its knot
Close.
Note, above are only the exemplary embodiment and institute's application technology principle of the present invention.Those skilled in the art can manage
Solution, the invention is not restricted to specific embodiment described here, can carry out various obvious changes for a person skilled in the art
Change, readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is entered by above example
Go and be described in further detail, but the present invention has been not limited only to above example, without departing from the inventive concept,
More other Equivalent embodiments can also be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of processing method of update content, for the update content of the second accounts information is shown in the first accounts information institute
The page structure of category, it is characterised in that methods described includes:
Obtain the update content of second accounts information;
Parse the page structure of the update content;
Detect whether the page structure belonging to first accounts information is identical with the page structure of the update content;
When the page structure belonging to first accounts information is identical with the page structure of the update content, described first
The update content is loaded in page structure belonging to accounts information;
When the page structure belonging to first accounts information is different from the page structure of the update content, to the renewal
Content is decomposed, and the word segment and non-legible part that decomposition is obtained is respectively loaded on belonging to first accounts information
In page structure.
2. processing method according to claim 1, it is characterised in that in the renewal of the acquisition second accounts information
Hold, including:
Obtain the network address of the update content of second accounts information in affiliated server;
The network address is stored in the server belonging to first accounts information;
When the network address of storage changes, judge that second accounts information there are update content, from described second
Server request belonging to accounts information simultaneously downloads the update content.
3. method according to claim 1, it is characterised in that the update content by the second accounts information is shown in
Page structure belonging to one accounts information, including:
Obtain the time tag of the update content;
Between detection current time and the time tag, whether difference is more than a predetermined threshold value;
When difference is more than a predetermined threshold value between the current time and the time tag, second accounts information is obtained
Update content and the page structure that is shown in belonging to first accounts information;
When between the current time and the time tag, difference, not less than a predetermined threshold value, keeps first accounts information
Current state.
4. according to the arbitrary described method of claims 1 to 3, it is characterised in that methods described also includes:
Obtain the frequency of occurrences of data in the update content;
Detect whether the frequency of occurrences of data in the update content exceedes predeterminated frequency;
When the frequency of occurrences of data in the update content exceedes predeterminated frequency, data in the update content are delayed
Deposit.
5. method according to claim 1, it is characterised in that methods described also includes:
In judging the update content, whether data are data cached;
When in the update content, data are data cached, load from caching described data cached;
When in the update content, data are non-caching data, load from the corresponding network address of the update content described
Non-caching data.
6. a kind of processing meanss of update content, for the update content of the second accounts information is shown in the first accounts information institute
The page structure of category, it is characterised in that described device includes:
Update content acquisition module, is configured to obtain the update content of second accounts information;
Parsing module, is configured to parse the page structure of the update content;
Detection module, is configured to detect the page knot of the page structure belonging to first accounts information and the update content
Whether structure is identical;
Module is loaded directly into, the page of the page structure belonging to first accounts information and the update content is configured as
When structure is identical, the update content is loaded in the page structure belonging to first accounts information;
Decompose load-on module, be configured as the page of the page structure belonging to first accounts information and the update content
When structure is different, the update content is decomposed, the word segment and non-legible part that decomposition is obtained is respectively loaded on
In page structure belonging to first accounts information.
7. processing meanss according to claim 6, it is characterised in that the update content acquisition module, including:
Address acquisition submodule, is configured to obtain net of the update content of second accounts information in affiliated server
Network address;
Sub-module stored, is configured to the network address is stored in the server belonging to first accounts information;
Judging submodule, when being configured as the network address change for storing, judges that second accounts information there are
Update content, from the server request belonging to second accounts information and downloads the update content.
8. device according to claim 6, it is characterised in that the update content by the second accounts information is shown in
Page structure belonging to one accounts information, including:
Time-obtaining module, is configured to obtain the time tag of the update content;
Time detecting module, is configured to detect that whether difference is more than a default threshold between current time and the time tag
Value;
The module that is loaded directly into is additionally configured to:When between the current time and the time tag, difference is default more than one
During threshold value, the page structure for obtaining the update content of second accounts information and being shown in belonging to first accounts information;
Module is kept, difference between the current time and the time tag is configured as and, not less than a predetermined threshold value, is protected
Hold the current state of first accounts information.
9. according to the arbitrary described device of claim 6~8, it is characterised in that described device also includes:
Frequency acquisition module, is configured to obtain the frequency of occurrences of data in the update content;
Frequency detection module, is configured to detect whether the frequency of occurrences of data in the update content exceedes predeterminated frequency;
Cache module, when being configured as the frequency of occurrences of data in the update content more than predeterminated frequency, to the renewal
In content, data are cached.
10. device according to claim 6, it is characterised in that described device also includes:
Caching judge module, in being configured to judge the update content, whether data are data cached;
Caching load-on module, be configured as in the update content data for it is data cached when, load from caching described slow
Deposit data;
Non-caching load-on module, when being configured as that data are non-caching data in the update content, from the update content
The non-caching data are loaded in the corresponding network address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610899874.4A CN106534075A (en) | 2016-10-14 | 2016-10-14 | Updated content processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610899874.4A CN106534075A (en) | 2016-10-14 | 2016-10-14 | Updated content processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106534075A true CN106534075A (en) | 2017-03-22 |
Family
ID=58332087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610899874.4A Pending CN106534075A (en) | 2016-10-14 | 2016-10-14 | Updated content processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106534075A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109698975A (en) * | 2019-01-16 | 2019-04-30 | 上海哔哩哔哩科技有限公司 | New content real time playing method, device and storage medium |
CN110502169A (en) * | 2018-05-18 | 2019-11-26 | 华为技术有限公司 | A kind of display control method and terminal |
CN112148744A (en) * | 2020-09-22 | 2020-12-29 | 北京字节跳动网络技术有限公司 | Page display method and device, electronic equipment and computer readable medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982181A (en) * | 2012-12-18 | 2013-03-20 | 北京奇虎科技有限公司 | Method and device for showing webpage data on browser side |
CN103678639A (en) * | 2013-12-20 | 2014-03-26 | 北京奇虎科技有限公司 | Method and device for reminding information updating in browser |
CN103714078A (en) * | 2012-09-29 | 2014-04-09 | 百度在线网络技术(北京)有限公司 | Method, system and device for providing update contents of web pages |
CN104660635A (en) * | 2013-11-20 | 2015-05-27 | 腾讯科技(北京)有限公司 | Message synchronizing method, device and system |
-
2016
- 2016-10-14 CN CN201610899874.4A patent/CN106534075A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103714078A (en) * | 2012-09-29 | 2014-04-09 | 百度在线网络技术(北京)有限公司 | Method, system and device for providing update contents of web pages |
CN102982181A (en) * | 2012-12-18 | 2013-03-20 | 北京奇虎科技有限公司 | Method and device for showing webpage data on browser side |
CN104660635A (en) * | 2013-11-20 | 2015-05-27 | 腾讯科技(北京)有限公司 | Message synchronizing method, device and system |
CN103678639A (en) * | 2013-12-20 | 2014-03-26 | 北京奇虎科技有限公司 | Method and device for reminding information updating in browser |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110502169A (en) * | 2018-05-18 | 2019-11-26 | 华为技术有限公司 | A kind of display control method and terminal |
CN109698975A (en) * | 2019-01-16 | 2019-04-30 | 上海哔哩哔哩科技有限公司 | New content real time playing method, device and storage medium |
CN112148744A (en) * | 2020-09-22 | 2020-12-29 | 北京字节跳动网络技术有限公司 | Page display method and device, electronic equipment and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Kremers et al. | Enterprise resource planning: ERP system migrations | |
US20190087871A1 (en) | Platform for serving online content | |
CA2508480C (en) | Advertising on mobile devices | |
CN107924527A (en) | Advertisement is shown in application launcher | |
CN105190665A (en) | Mobile creative management system | |
CN106686419A (en) | Screensaver display method and display device | |
CN112948226B (en) | User portrait drawing method and device | |
CN110795311B (en) | Event playback method and device | |
CN106534075A (en) | Updated content processing method and device | |
CN110780856B (en) | Electricity data release platform based on micro-service | |
CN108170497A (en) | A kind of method and device of page rendering | |
CN111131848A (en) | Video live broadcast data processing method, client and server | |
CN105512910A (en) | Target user screening method and apparatus | |
CN101207851A (en) | Wireless application access system, client end equipment and server | |
CN110519327A (en) | User enlivens type judgement method, device, computer equipment and storage medium | |
CN110908880A (en) | Embedded point code injection method, event reporting method and related equipment thereof | |
CN102857795A (en) | Method for adding dynamic cinema advertisement to video player | |
CN105978858B (en) | Using method, apparatus and the application server of registering | |
CN113032278B (en) | Application running mode, and method and device for confirming grade of terminal equipment | |
CN106779823A (en) | The display methods and device of advertisement | |
US8140318B2 (en) | Method and system for generating application simulations | |
CN108073638B (en) | Data diagnosis method and device | |
CN106549943A (en) | The correlating method and device of more new content | |
CN115760273A (en) | Commodity label generating and displaying method, equipment and computer readable medium | |
CN114943005A (en) | Picture display processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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: 20170322 |