CN107071572A - The loading method and gateway device of start poster - Google Patents
The loading method and gateway device of start poster Download PDFInfo
- Publication number
- CN107071572A CN107071572A CN201710221452.6A CN201710221452A CN107071572A CN 107071572 A CN107071572 A CN 107071572A CN 201710221452 A CN201710221452 A CN 201710221452A CN 107071572 A CN107071572 A CN 107071572A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- gateway device
- agent
- sent
- agent events
- 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
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4668—Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
-
- 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/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present invention provides a kind of loading method and gateway device of poster of starting shooting.This method includes:Gateway device download agent event, Agent Events include the start poster of terminal device;The request message that gateway device receiving terminal apparatus is sent, request message includes the mark of Agent Events, and request message is used to indicate that Agent Events are sent to terminal device by gateway device;Agent Events are sent to terminal device by gateway device according to the mark of the Agent Events, so that terminal device display start poster.The technical scheme, start poster is downloaded for terminal device by gateway device in real time, and then ensure that the ageing of poster of starting shooting of terminal device, simultaneously, terminal device directly obtains start poster from gateway device, and then realization is to the quick obtaining for poster of starting shooting, so as to improve the commercial value of start poster.
Description
Technical field
The present embodiments relate to the communication technology, more particularly to a kind of loading method and gateway device of poster of starting shooting.
Background technology
Advertisement is the quick hair of a kind of quotidian publicity mode, the enhancing competed with advertising and multimedia equipment
Exhibition, start poster is produced therewith, i.e., poster is shown when multimedia equipment is started shooting, to improve the propagated and accessibility of advertisement.
At present, the method for down loading of start poster has two kinds, and the first is:In the case where media product is started shooting, service
Device is that multimedia equipment downloads the corresponding start poster of the multimedia equipment, and the start poster is sent into multimedia equipment,
Multimedia equipment is preserved the start poster, in start next time, shows the start poster.It is for second, in multimedia
During device power-up, multimedia equipment sends to server and asked, and request server is its download start poster, and server is in many matchmakers
It is its download start poster during body device power-up, and start poster is sent to media product, so that multimedia equipment exists
Shown when this time starting shooting.
From the foregoing, when downloading start poster using first method, the poster that user's start is seen is multimedia
What equipment last time downloaded when starting shooting, it is likely to result in the problem of poster is expired.When downloading start poster using second method, by
In the constraint of bandwidth, server rapidly can not download start poster for multimedia equipment, cause multimedia equipment to start shooting slowly
Problem.
The content of the invention
The embodiment of the present invention provides a kind of loading method and gateway device of poster of starting shooting, to realize that terminal device can be fast
Newest start poster is shown fastly.
In a first aspect, the embodiment of the present invention provides a kind of loading method for poster of starting shooting, including:
Gateway device download agent event, the Agent Events include the start poster of terminal device;
The gateway device receives the request message that the terminal device is sent, and the request message includes Agent Events
Mark, the request message is used to indicate that the Agent Events are sent to the terminal device by the gateway device;
The Agent Events are sent to the terminal device by the gateway device according to the mark of the Agent Events,
So that the terminal device shows the start poster.
Second aspect, the embodiment of the present invention provides a kind of gateway device, including:
Download module, for download agent event, the Agent Events include the start poster of terminal device;
Receiving module, for receiving the request message that the terminal device is sent in start, the request message includes
The mark of Agent Events, the request message is used to indicate that the Agent Events are sent to the terminal and set by the gateway device
It is standby;
The Agent Events, for the mark according to the Agent Events, are sent to the terminal device by sending module,
So that the terminal device shows the start poster.
The loading method and gateway device of start poster provided in an embodiment of the present invention, are terminal device by gateway device
Download agent event, when terminal device is started shooting, terminal device sends request message to gateway device, and gateway device is according to request
The corresponding Agent Events of the mark of the Agent Events are sent to terminal device by the mark of the Agent Events carried in message,
So that terminal device shows the start poster that the Agent Events are carried.That is the technical method of the present embodiment, gateway device is in real time
Terminal device downloads start poster, and then ensure that the ageing of poster of starting shooting of terminal device, prevents that start poster is expired
Problem is produced.Meanwhile, terminal device directly obtains start poster from gateway device in the present embodiment, and then realizes to start sea
The quick obtaining of report, so as to improve the commercial value of start poster.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
The application scenario diagram of the loading method for the start poster that Fig. 1 a provide for the present invention;
The signaling process schematic diagram of the loading method embodiment one for the start poster that Fig. 1 provides for the present invention;
The signaling process schematic diagram of the loading method embodiment two for the start poster that Fig. 2 provides for the present invention;
The signaling process schematic diagram of the loading method embodiment three for the start poster that Fig. 3 provides for the present invention;
The schematic flow sheet of the loading method example IV for the start poster that Fig. 4 provides for the present invention;
The signaling process schematic diagram of the loading method embodiment five for the start poster that Fig. 5 provides for the present invention;
The structural representation for the gateway device embodiment one that Fig. 6 provides for the present invention;
The structural representation for the gateway device embodiment two that Fig. 7 provides for the present invention;
The structural representation for the gateway device embodiment three that Fig. 8 provides for the present invention;
The structural representation for the gateway device example IV that Fig. 9 provides for the present invention;
The structural representation for the terminal device embodiment one that Figure 10 provides for the present invention;
The structural representation for the terminal device embodiment two that Figure 11 provides for the present invention;
The structural representation for the terminal device embodiment three that Figure 12 provides for the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 a are the application scenario diagram of the technical scheme of the present embodiment, and gateway device can be set with server and terminal respectively
Communicate, can be communicated between terminal device and server between standby.During normal use, gateway device can
Regularly to download start poster from server, and when terminal device is started shooting, the newest start poster of download is sent to
Terminal device is shown.
Technical scheme provided in an embodiment of the present invention, it is adaptable in the loading procedure of the start poster of intelligent appliance, be used for
It is that terminal device download start poster causes terminal device to start shooting again when terminal device works to solve prior art server
When the start poster seen it is expired the problem of, and for solving the constraint due to bandwidth, in terminal device booting moment
Request server for its start for causing of download start poster it is slow the problem of.The technical scheme of the present embodiment, gateway device timing
Start poster is downloaded for terminal device, and when terminal device is started shooting, the start poster of newest download is sent to terminal device,
And then realize that terminal device can rapidly show newest start poster.
Technical scheme is described in detail with specifically embodiment below.These specific implementations below
Example can be combined with each other, and may be repeated no more for same or analogous concept or process in some embodiments.
The signaling process schematic diagram of the loading method embodiment one for the start poster that Fig. 1 provides for the present invention.The present embodiment
Gateway device is referred to for terminal device download agent event, terminal device shows the specific of poster of starting shooting according to Agent Events
Process.As shown in figure 1, the method for the present embodiment can include:
S101, gateway device download agent event, the Agent Events include the start poster of terminal device.
The gateway device of the present embodiment can be the equipment such as router, and the gateway device is terminal equivalent to proxy server
Device downloads start poster.
In actual use, gateway device is being generally in normal working condition, therefore can be terminal device
Start poster is downloaded in time, and the problem of preventing start poster expired produces.
Terminal device in the present embodiment can be the equipment being connected with the LAN mouths of gateway device, such as Web TV,
The intelligent appliances such as smart mobile phone or media product etc..
, it is necessary to establishment of correspondent relationship, its detailed process reference before gateway device is terminal device download agent event
The description of subsequent embodiment.
Gateway device can download start poster in real time for terminal device, or when preparatory condition is met be terminal device
Start poster is downloaded, its downloading process is not influenceed by terminal device switching on and shutting down.For example, gateway device is at regular intervals for eventually
End equipment downloads poster of once starting shooting, or gateway device downloads start poster in the moment that terminal device is started shooting, and then ensures
Start poster it is time-bounded.
Gateway device is preserved to the Agent Events of download, for example, Agent Events are stored in gateway device, or
In other storage devices.When gateway device downloads an Agent Events at regular intervals, the generation downloaded using current time
Manage the Agent Events that event coverage previous moment is downloaded, it is ensured that the start poster that gateway device is preserved is newest start poster.
S102, terminal device send request message in start to gateway device, and the request message includes Agent Events
Mark, the request message be used for ask the gateway device that the Agent Events are sent into the terminal device.
Specifically, terminal sends request message when being arranged on start to gateway device, the request message includes acting on behalf of thing
The mark of part, the request message is used to ask gateway device by the first moment apart from the start moment of the terminal device recently
The Agent Events of download are sent to the terminal device.
S103, gateway device receive the request message that the terminal device is sent.
The Agent Events are sent to the terminal device by S104, gateway device according to the mark of the Agent Events.
It should be noted that a gateway device can be with multiple terminal devices establishment of correspondent relationship, the i.e. gateway device
It is not only the terminal device download agent event, is also other-end device downloads Agent Events.Therefore, gateway device can root
The corresponding Agent Events of mark of the Agent Events are obtained according to the mark of Agent Events.
Specifically, gateway device receiving terminal apparatus sends request message, according to the Agent Events carried in request message
Mark, the corresponding Agent Events of mark of the Agent Events are obtained from multiple Agent Events of preservation, and this is acted on behalf of into thing
Part is sent to terminal device.Specifically, the Agent Events are sent to corresponding end by gateway device according to the mark of terminal device
In end equipment.
S105, terminal device receive the Agent Events that the gateway device is sent.
S106, terminal device show the start poster.
Sent specifically, terminal device receives gateway device after Agent Events, obtain the start sea of Agent Events carrying
Report, and show the start poster when reaching at the display moment of the start poster.
The technical method of the present embodiment, the download of Agent Events is determined by gateway device completely, when gateway device is in just
Often during work, gateway device can be terminal device download agent event in the case where terminal device shuts down or starts shooting, and
During terminal device start next time, the Agent Events of newest download are sent to terminal device, so that terminal device can be shown most
New start poster, and then the ageing of poster of starting shooting ensured, the problem of preventing start poster expired produce.Meanwhile, this reality
It is directly that start poster is obtained from gateway device to apply terminal device in example, and then downloads and open at server when avoiding start
The start poster that machine poster is caused is slowly and start is slow obtains problem.
The loading method of start poster provided in an embodiment of the present invention, is terminal device download agent thing by gateway device
Part, when terminal device is started shooting, terminal device sends request message to gateway device, and gateway device is carried according in request message
Agent Events mark, the corresponding Agent Events of the mark of the Agent Events are sent to terminal device, so that terminal is set
It is standby to show the start poster that the Agent Events are carried.That is the technical method of the present embodiment, under gateway device is in real time terminal device
Start poster is carried, and then ensure that the ageing of poster of starting shooting of terminal device, the problem of preventing start poster expired produces.Together
When, the present embodiment, terminal device obtains start poster directly from gateway device, and then realizes quickly obtaining to start poster
Take, so as to improve the commercial value of start poster.
The signaling process schematic diagram of the loading method embodiment two for the start poster that Fig. 2 provides for the present invention.In above-mentioned reality
Apply on the basis of example, the present embodiment is referred to before gateway device download agent event, gateway device is set up with terminal device
The detailed process of agent relation.As shown in Fig. 2 the method for the present embodiment can include:
S201, gateway device send proxy requests to the terminal device, and the proxy requests are used to inquire the terminal
Whether equipment needs and the gateway device establishment of correspondent relationship.
S202, terminal receive the proxy requests that the gateway device is sent.
S203, terminal device send response message, the response message according to the proxy requests to the gateway device
Include the mark of the terminal device.
Before gateway device download agent event, gateway device needs and terminal device establishment of correspondent relationship.Specifically, net
Close equipment and send proxy requests to all terminal devices being connected with gateway device, for inquiring whether each terminal device needs
Start shooting poster agency.If terminal device needs gateway device for its download start poster, terminal device is sent to gateway device
Include the mark of terminal device in response message, the response message, can also optionally, in the response message carry and act on behalf of thing
The type (such as advertisement) of part.
S204, gateway device receive the response message that the terminal device is sent according to the proxy requests.
S205, gateway device, according to the mark of the terminal device, are the mark of the terminal device assignment agent event,
And the mark of the Agent Events is sent to the terminal device.
Specifically, the response message that gateway device receiving terminal apparatus is sent, and according to the end carried in the response message
The mark for being designated the terminal device assignment agent event of end equipment, and the terminal of the mark transmission of the Agent Events is set
It is standby.
Optionally, the mark of above-mentioned terminal device can be MAC (the Media Access Control, Jie of terminal device
Matter access control) address.
S206, terminal device receive the Agent Events mark that the gateway device is sent according to the mark of the terminal device
Know, and according to the mark of the Agent Events, obtain the URL of Agent Events position.
Specifically, preserving URL (the Uniform Resource Locator, unification of Agent Events in terminal device
URLs).Terminal device is received after the mark of the Agent Events of gateway device transmission, knows that the agent relation has set up
Complete.Then, terminal device obtains the corresponding URL of mark of the Agent Events (for example according to the mark of Agent Events
Www.abc.com/XXX/XXX), the URL illustrates the resource of start poster in the address of network side.
S207, terminal device act on behalf of message to gateway device transmission is described, and the message of acting on behalf of includes the URL,
The message of acting on behalf of is used to indicate that the gateway device downloads the Agent Events according to the URL.
S208, gateway device receive the terminal device and act on behalf of message according to what the mark of the Agent Events was sent.
Specifically, the URL of the Agent Events is told gateway device by terminal device in the way of acting on behalf of message, so that gateway
Equipment is that terminal device downloads start poster according to the URL.
After the agent relation between gateway device and terminal device has been set up according to above-mentioned steps, above-mentioned S101 may be used also
To be replaced with S209.
S209, gateway device on a preset condition based, the Agent Events are downloaded according to the URL.
Wherein, the preparatory condition includes the idle band for downloading frequency or the gateway device of the Agent Events
Wide data.
Specifically, gateway device receiving terminal apparatus send act on behalf of message, and obtain from message is acted on behalf of Agent Events
URL, on a preset condition based, according to the URL download agent events.
Wherein, above-mentioned preparatory condition can be the download frequency of Agent Events, such as gateway device every 48 it is small at present
Carry an Agent Events.Optionally, the preparatory condition can also be the idle bandwidth data of gateway device, such as gateway device
Idle bandwidth data download Agent Events when being more than a.In the present embodiment, the Agent Events covering that current time can be used to download
The Agent Events that previous moment is downloaded, to ensure the normal operation of gateway device.
The loading method of start poster provided in an embodiment of the present invention, sending agency to terminal device by gateway device please
Ask, terminal device sends response message according to proxy requests to gateway device, and gateway device is according to the end carried in response message
The mark for being designated terminal equipment configuration Agent Events of end equipment, terminal device is set according to the mark of the Agent Events to gateway
Preparation send the URL of Agent Events, and then completes the foundation of the agent relation of gateway device and terminal device, so that gateway device exists
According to URL download agent events under preparatory condition.
The signaling process schematic diagram of the loading method embodiment three for the start poster that Fig. 3 provides for the present invention.In above-mentioned reality
Apply on the basis of example, the present embodiment refers to gateway device and receives the terminal device according to the mark of Agent Events hair
Acting on behalf of for sending judges whether URL meets the detailed process of requirement after message.As shown in figure 3, the method for the present embodiment can be wrapped
Include:
S301, gateway device judge whether the URL is reachable.
S302, gateway device judge whether the size of the resource of the URL is less than the default storage sky of the gateway device
Between.
In the present embodiment, after what gateway device receiving terminal apparatus was sent acts on behalf of message, gateway device judges agency
The URL carried in message is judged.Specifically, gateway device extracts the information of url field, first have to first verify this URL
It can access, it is impossible to then reply " unreachable (unreachable) " to terminal device when accessing, tell terminal device not act on behalf of
Agent Events on the URL.
When gateway device judge the URL up to when, then resource size (the big of poster of starting shooting for judging to preserve in the URL
It is small) whether it is less than the default memory space of the gateway device, the default memory space is set with specific reference to actual conditions.Work as net
Close equipment detect URL resource it is excessive take excessive gateway device flash spaces when, it is necessary to be replied to terminal device
" insufficient space (no free speace) ", tells terminal device can not act on behalf of the corresponding Agent Events of the URL.
If S303, gateway device judge that the URL is reachable, and the size of the resource of the URL is less than the gateway device
Default memory space when, the gateway device on a preset condition based, the Agent Events is downloaded according to the URL.
Specifically, gateway device is reachable in the URL for judging Agent Events according to above-mentioned steps, and the size of URL resource
Less than gateway device default memory space when, gateway device sends the information that is successfully established of agent relation to terminal device.Connect
, gateway device is terminal device download agent event according to URL on a preset condition based, and Agent Events are preserved, with
Just when terminal device is started shooting, the Agent Events of preservation are sent to terminal device, so that terminal device shows newest start sea
Report.
The loading method of start poster provided in an embodiment of the present invention, gateway device receives the URL of terminal device transmission
Afterwards, it is necessary to judge the accessibility of the URL and the resource size of the URL, when terminal device judges that URL is reachable, and URL resource is small
When gateway device default memory space, gateway device improves agent relation and built just according to URL download agent events
Vertical reliability.
The schematic flow sheet of the loading method example IV for the start poster that Fig. 4 provides for the present invention.In above-described embodiment
On the basis of, the present embodiment is referred to when preparatory condition is the download frequency of the Agent Events, and gateway device is terminal
Device configuration first downloads frequency and terminal device judges the detailed process of the first download frequency.The method of the present embodiment can be with
Including:
The size of S401, the gateway device amount of bandwidth of gateway device and the resource of the URL according to current time,
Frequency is downloaded for Agent Events configuration first, and the described first download frequency is sent to the terminal device, so that institute
State terminal device and judge whether the first download frequency meets default downloading request.
When the preparatory condition of the present embodiment is the download frequency of Agent Events, gateway device is being whole according to preparatory condition
Need to set first to download frequency (i.e. between the time of download agent event for terminal device before end equipment download agent event
Every).
Specifically, gateway device is agency according to the size of the amount of bandwidth of current time gateway device and URL resource
Event configuration first downloads frequency.For example, gateway device according to:The bandwidth of gateway device is multiplied by COEFFICIENT K divided by URL resource
Size, obtains the first of Agent Events and downloads frequency, and the first download frequency is sent into terminal device.
S402, terminal device receive the first download frequency that the gateway device is sent.
S403, terminal device judge whether the first download frequency meets default downloading request, and will determine that result
It is sent to gateway device.
S404, gateway device judge that the first download frequency meets the default downloading request in the terminal device
When, download frequency according to described first and the URL downloads the Agent Events.
Terminal device is received after the first download frequency of gateway device transmission, judges that whether full the first download frequency is pre-
If download frequency.If the first download frequency meets default download frequency, terminal device is sent " OK " to gateway device
Deng information certainly.Gateway device receive terminal device transmission affirmative response message after, according to this first download frequency and
URL is terminal device download agent event.
S405, gateway device judge that the first download frequency is unsatisfactory for default downloading request in the terminal device
When, it is that frequency is downloaded in the Agent Events configuration second according to the default downloading request.
When terminal device judges that the first download frequency is unsatisfactory for default downloading request, terminal device is sent out to gateway device
The information of negatives such as " NO " is sent, and default downloading request is sent to gateway device.Gateway device receives the letter of the negative
After breath, gateway device is that terminal equipment configuration second downloads frequency according to default downloading request.Specifically, gateway device according to
The amount of bandwidth of current time gateway device, the size of URL resource and default download frequency are device configuration the in terminal
Two download frequency, so that gateway device is according to the second download frequency download agent event.
In a kind of possible implementation of the present embodiment, when terminal device judges that the first download frequency is unsatisfactory for presetting
Downloading request when, terminal device directly by it is default download frequency be sent to gateway device.Gateway device judges that this is default
Whether download frequency, which meets default requirement, (for example judges:It is default to download the size that frequency is multiplied by URL resource<Descending band
Width is multiplied by coefficient).If so, then according to the default download frequency download agent event.If it is not, then illustrating terminal device application
Resource is excessive or frequency that download is too high, influences user's online experience, gateway device disagrees establishment of correspondent relationship.
It should be noted that during download agent event, when acting on behalf of task timer and meeting interval time, net
Close equipment and start download agent event, when network downstream flow-rate ratio is larger, proxy task pause is extensive when network idle
Multiple to download, after the completion of download, record downloads the deadline.
The loading method of start poster provided in an embodiment of the present invention, is that terminal device is set under first by gateway device
Carrier frequency degree, terminal device is judged the first download frequency, when the first download frequency meets default downloading request,
Gateway device is according to the first download frequency download agent event, if the first download frequency is unsatisfactory for default downloading request
When, gateway device is that terminal device sets second to download frequency, so that gateway device is according to the second download frequency download agent
Event, and then ensure the reliability that gateway device is terminal device download agent event.
The signaling process schematic diagram of the loading method embodiment five for the start poster that Fig. 5 provides for the present invention.In above-mentioned reality
Apply on the basis of example, the present embodiment refers to the ageing of the Agent Events that terminal device is downloaded to gateway device and judged
Detailed process.As shown in figure 5, the method for the present embodiment can include:
S501, gateway device obtain the temporal information at first moment according to the mark of the Agent Events.
The temporal information at first moment is sent to the terminal device by S502, gateway device, so that the terminal
Equipment judges whether the temporal information at first moment meets predetermined threshold value.
Due to some cause specifics (power supply in such as room is cut off for a long time), gateway device termination work, therefore, terminal is set
It is standby to need to check the ageing of the Agent Events that gateway device is downloaded.
I.e. in the present embodiment, request message is sent to gateway device when terminal device is started shooting, gateway device is according to the request
The mark of Agent Events in message, when the last time of the Agent Events downloads completion when obtaining terminal device start first
Carve, using the completion moment as the first moment of the Agent Events, and obtain first moment corresponding temporal information (such as xx
During xx days xx of the moon).Then, the temporal information at first moment is sent to terminal device by gateway device.
S503, terminal device receive the temporal information at the first moment that the gateway device is sent.
S504, terminal device judge whether the temporal information at first moment meets predetermined threshold value.
Terminal device needs to check the ageing of the Agent Events that gateway device is downloaded, for example, when (current time-the first
Moment)/duty cycle>During N (N numerical value is confirmed by terminal device), determine that Agent Events are expired.Now, terminal device
Abandon using gateway device download Agent Events, but using server on the terminal device secondary start when download start sea
Report.
When S505, terminal device judge that the temporal information at first moment meets predetermined threshold value, to the gateway device
Response message is sent, the response message is used to indicate that the temporal information at first moment meets predetermined threshold value.
S506, gateway device receive the terminal device and meet predetermined threshold value in the temporal information for judging first moment
When the response message that sends, and according to the response message, the Agent Events are sent to the terminal device.
When terminal device judges that the temporal information at the first moment meets the start poster that predetermined threshold value, i.e. gateway device are downloaded
When not having expired, terminal device sends OK response message to gateway device.Gateway device is received after response message, by this most
Newly downloaded Agent Events are sent to terminal device, so as to merge display start poster in terminal.
Under the loading method of the start poster of the embodiment of the present invention, the Agent Events that terminal device is downloaded to gateway device
The load time is judged, further ensures the ageing of the start poster that terminal device is shown, it is to avoid terminal device was shown
The problem of phase poster, produces.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
The structural representation for the gateway device embodiment one that Fig. 6 provides for the present invention.The gateway device 100 of the present embodiment can
With including:
Download module 10, for download agent event, the Agent Events include the start poster of terminal device;
Receiving module 20, for receiving the request message that the terminal device is sent in start, the request message bag
The mark of Agent Events is included, the request message is used to indicate that the Agent Events are sent to the terminal by the gateway device
Equipment;
The Agent Events, for the mark according to the Agent Events, are sent to the terminal and set by sending module 30
It is standby, so that the terminal device shows the start poster.
The gateway device of the present embodiment, can be used for the technical scheme for performing above-mentioned shown embodiment of the method, it realizes former
Reason is similar with technique effect, and here is omitted.
The structural representation for the gateway device embodiment two that Fig. 7 provides for the present invention.The gateway device 100 of the present embodiment is also
Configuration module 40 can be included:
The sending module 30, is additionally operable to send proxy requests to the terminal device, the proxy requests are used to inquire
Whether the terminal device needs and the establishment of correspondent relationship of gateway device 100;
The receiving module 20, is additionally operable to receive the response message that the terminal device is sent according to the proxy requests,
The response message includes the mark of the terminal device;
The configuration module 40, is the terminal device assignment agent event for the mark according to the terminal device
Mark;
The sending module 30, is additionally operable to the mark of the Agent Events being sent to the terminal device;
The receiving module 20, is additionally operable to receive the agency that the terminal device is sent according to the mark of the Agent Events
Message, the message of acting on behalf of includes the URL of the Agent Events, and the message of acting on behalf of is used to indicate the gateway device 100
The Agent Events are downloaded according to the URL.
The gateway device of the present embodiment, can be used for the technical scheme for performing above-mentioned shown embodiment of the method, it realizes former
Reason is similar with technique effect, and here is omitted.
In a kind of possible implementation of the embodiment of the present invention, above-mentioned download module 10, specifically in default bar
Under part, the Agent Events are downloaded according to the URL, the preparatory condition include the Agent Events download frequency or
The idle bandwidth data of the gateway device.
The structural representation for the gateway device embodiment three that Fig. 8 provides for the present invention.The gateway device 100 of the present embodiment is also
Judge module 50 can be included:
The judge module 50, for receiving the terminal device according to the Agent Events in the receiving module 20
After what mark was sent acts on behalf of message, judge whether the URL is reachable;And judge whether the size of the resource of the URL is less than
The default memory space of the gateway device 100;
The download module 10, is additionally operable to judge that the URL is reachable in the judge module 50, and the resource of the URL
Size when being less than the default memory space of the gateway device 100, on a preset condition based, in generation, is downloaded according to the URL
Director's part.
In a kind of possible implementation of the present embodiment, when the download frequency that preparatory condition is the Agent Events
When,
The configuration module 40, is additionally operable to the download module 10 and downloads the generation according to the URL on a preset condition based
Before director's part, the size of the amount of bandwidth of gateway device 100 and the resource of the URL according to current time is described
Frequency is downloaded in Agent Events configuration first;
The sending module 30, was additionally operable to the described first download frequency being sent to the terminal device, so that the end
End equipment judges whether the first download frequency meets default downloading request;
The download module 10, specifically for judging that the first download frequency meets described default in the terminal device
Downloading request when, download frequency and the URL according to described first and download the Agent Events.
Optionally, the configuration module 40, is additionally operable to judge that the first download frequency is unsatisfactory in the terminal device
It is that frequency is downloaded in the Agent Events configuration second according to the default downloading request during default downloading request.
The gateway device of the present embodiment, can be used for the technical scheme for performing above-mentioned shown embodiment of the method, it realizes former
Reason is similar with technique effect, and here is omitted.
The structural representation for the gateway device example IV that Fig. 9 provides for the present invention.The gateway device 100 of the present embodiment is also
Acquisition module 60 can be included:
The acquisition module 60, for the mark according to the Agent Events, obtains the of the Agent Events finally downloaded
The temporal information at one moment;
The sending module 30, is additionally operable to the temporal information at first moment being sent to the terminal device, so that
The terminal device judges whether the temporal information at first moment meets predetermined threshold value;
The receiving module 20, is additionally operable to receive the terminal device and is met in the temporal information for judging first moment
The response message sent during predetermined threshold value, and according to the response message, the Agent Events are sent to the terminal device,
The response message is used to indicate that the temporal information at first moment meets predetermined threshold value.
The gateway device of the present embodiment, can be used for the technical scheme for performing above-mentioned shown embodiment of the method, it realizes former
Reason is similar with technique effect, and here is omitted.
The structural representation for the terminal device embodiment one that Figure 10 provides for the present invention.The terminal device 200 of the present embodiment
It can include:
Sending module 210, for sending request message to gateway device in start, the request message includes acting on behalf of thing
The mark of part, the Agent Events that the request message is used to ask the gateway device to be downloaded are sent to the terminal device;
Receiving module 220, for receiving the agency that the gateway device is sent according to the mark of the Agent Events
Event, the Agent Events include the start poster of the terminal device 200;
Display module 230, for showing the start poster.
The terminal device of the present embodiment, can be used for the technical scheme for performing above-mentioned shown embodiment of the method, it realizes former
Reason is similar with technique effect, and here is omitted.
The structural representation for the terminal device embodiment two that Figure 11 provides for the present invention.The terminal device 200 of the present embodiment
Acquisition module 240 can be included:
The receiving module 220, is additionally operable to receive the proxy requests that the gateway device is sent, the proxy requests are used for
Inquire whether the terminal device 200 needs and the gateway device establishment of correspondent relationship;
The sending module 210, is additionally operable to according to the proxy requests, and response message, institute are sent to the gateway device
Stating response message includes the mark of the terminal device 200, the response message be used to representing the terminal device need with
The grid equipment establishment of correspondent relationship;
The receiving module 220, is additionally operable to receive what the gateway device was sent according to the mark of the terminal device 200
Agent Events are identified;
The acquisition module 240, for the mark according to the Agent Events, obtains the URL of the Agent Events;
The sending module 210, is additionally operable to act on behalf of message to gateway device transmission is described, the message of acting on behalf of includes
The URL, the message of acting on behalf of is used to indicate that the gateway device downloads the Agent Events according to the URL.
The terminal device of the present embodiment, can be used for the technical scheme for performing above-mentioned shown embodiment of the method, it realizes former
Reason is similar with technique effect, and here is omitted.
The structural representation for the terminal device embodiment three that Figure 12 provides for the present invention.The terminal device 200 of the present embodiment
Judge module 250 can be included:
The receiving module 220, is additionally operable to receive the first download frequency that the gateway device is sent, described first downloads
Frequency is that gateway device size of the amount of bandwidth of gateway device and the resource of the URL according to current time is institute
State Agent Events configuration;
The judge module 250, for judging whether the first download frequency meets default downloading request.
The terminal device of the present embodiment, can be used for the technical scheme for performing above-mentioned shown embodiment of the method, it realizes former
Reason is similar with technique effect, and here is omitted.
In a kind of possible implementation of the embodiment of the present invention, the receiving module 220 is additionally operable to receive the net
Close before Agent Events of the equipment according to the mark transmission of the Agent Events, receive the first moment that the gateway device is sent
Temporal information, the temporal information at first moment obtains most for the gateway device according to the mark of the Agent Events
Afterwards at the time of download agent event;
The judge module 250, is additionally operable to judge whether the temporal information at first moment meets predetermined threshold value;
The sending module 210, is additionally operable to judge that the temporal information at first moment is met in the judge module 250
During predetermined threshold value, response message is sent to the gateway device, the response message is used for the time for representing first moment
Information meets predetermined threshold value;
The receiving module 220, is additionally operable to receive the agency that the gateway device is sent according to the response message
Event.
The terminal device of the present embodiment, can be used for the technical scheme for performing above-mentioned shown embodiment of the method, it realizes former
Reason is similar with technique effect, and here is omitted.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
1. a kind of loading method for poster of starting shooting, it is characterised in that including:
Gateway device download agent event, the Agent Events include the start poster of terminal device;
The gateway device receives the request message that the terminal device is sent, and the request message includes the mark of Agent Events
Know, the request message is used to indicate that the Agent Events are sent to the terminal device by the gateway device;
The Agent Events are sent to the terminal device by the gateway device according to the mark of the Agent Events, so that
The terminal device shows the start poster.
2. according to the method described in claim 1, it is characterised in that before the gateway device download agent event, the side
Method also includes:
The gateway device sends proxy requests to the terminal device, and the proxy requests are used to inquire that the terminal device is
No needs and the gateway device establishment of correspondent relationship;
The gateway device is received in the response message that the terminal device is sent according to the proxy requests, the response message
Include the mark of the terminal device;
The gateway device, according to the mark of the terminal device, is the mark of the terminal device assignment agent event, and will
The mark of the Agent Events is sent to the terminal device;
The gateway device receives the terminal device and acts on behalf of message, the agency according to what the mark of the Agent Events was sent
Message includes the uniform resource position mark URL of the Agent Events, it is described act on behalf of message be used to indicating the gateway device according to
The URL downloads the Agent Events.
3. method according to claim 2, it is characterised in that the gateway device download agent event, is specifically included:
The gateway device on a preset condition based, the Agent Events is downloaded according to the URL, and the preparatory condition includes described
The idle bandwidth data for downloading frequency or the gateway device of Agent Events.
4. method according to claim 3, it is characterised in that the gateway device receives the terminal device according to described
After what the mark of Agent Events was sent acts on behalf of message, methods described also includes:
The gateway device judges whether the URL is reachable;
The gateway device judges whether the size of the resource of the URL is less than the default memory space of the gateway device;
If the gateway device judges that the URL is reachable, and the size of the resource of the URL is less than the default of the gateway device
During memory space, the gateway device on a preset condition based, the Agent Events is downloaded according to the URL.
5. the method according to claim 3 or 4, it is characterised in that the gateway device on a preset condition based, according to described
URL is downloaded before the Agent Events, and methods described also includes:
The size of the gateway device amount of bandwidth of gateway device and resource of the URL according to current time, is institute
State Agent Events configuration first and download frequency, and the described first download frequency is sent to the terminal device, so that the end
End equipment judges whether the first download frequency meets default downloading request;
The gateway device is when the terminal device judges that the first download frequency meets the default downloading request, root
Frequency is downloaded according to described first and the URL downloads the Agent Events.
6. method according to claim 5, it is characterised in that methods described also includes:
The gateway device the terminal device judge it is described first download frequency be unsatisfactory for default downloading request when, according to
The default downloading request, is that frequency is downloaded in the Agent Events configuration second.
7. the method according to claim any one of 1-4, it is characterised in that the gateway device is according to the Agent Events
Mark, by first moment download the Agent Events be sent to the terminal device, specifically include:
The gateway device obtains the temporal information at first moment according to the mark of the Agent Events;
The temporal information at first moment is sent to the terminal device by the gateway device, so that the terminal device is sentenced
Whether the temporal information at disconnected first moment meets predetermined threshold value;
The gateway device receives the terminal device and sent out when the temporal information for judging first moment meets predetermined threshold value
The response message sent, and according to the response message, the Agent Events are sent to the terminal device, the response message
For indicating that the temporal information at first moment meets predetermined threshold value.
8. a kind of gateway device, it is characterised in that including:
Download module, for download agent event, the Agent Events include the start poster of terminal device;
Receiving module, for receiving the request message that the terminal device is sent in start, the request message includes agency
The mark of event, the request message is used to indicate that the Agent Events are sent to the terminal device by the gateway device;
The Agent Events, for the mark according to the Agent Events, are sent to the terminal device by sending module, so that
The terminal device shows the start poster.
9. gateway device according to claim 8, it is characterised in that the gateway device also includes configuration module:
The sending module, is additionally operable to send proxy requests to the terminal device, the proxy requests are used to inquire the end
Whether end equipment needs and the gateway device establishment of correspondent relationship;
The receiving module, is additionally operable to receive the response message that the terminal device is sent according to the proxy requests, described to answer
Answering message includes the mark of the terminal device;
The configuration module, is the mark of the terminal device assignment agent event for the mark according to the terminal device;
The sending module, is additionally operable to the mark of the Agent Events being sent to the terminal device;
The receiving module, is additionally operable to receive the terminal device according to what the mark of the Agent Events was sent and acts on behalf of message,
The message of acting on behalf of includes the uniform resource position mark URL of the Agent Events, and the message of acting on behalf of is used to indicate the gateway
Equipment downloads the Agent Events according to the URL.
10. gateway device according to claim 9, it is characterised in that the download module, specifically in preparatory condition
Under, the Agent Events are downloaded according to the URL, the preparatory condition includes download frequency or the institute of the Agent Events
State the idle bandwidth data of gateway device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710221452.6A CN107071572B (en) | 2017-04-06 | 2017-04-06 | Loading method of startup poster and gateway equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710221452.6A CN107071572B (en) | 2017-04-06 | 2017-04-06 | Loading method of startup poster and gateway equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107071572A true CN107071572A (en) | 2017-08-18 |
CN107071572B CN107071572B (en) | 2020-07-07 |
Family
ID=59601722
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710221452.6A Active CN107071572B (en) | 2017-04-06 | 2017-04-06 | Loading method of startup poster and gateway equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107071572B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996245A (en) * | 2006-12-19 | 2007-07-11 | 华为技术有限公司 | Start-up picture configuration method and terminal device and server and system |
CN102710559A (en) * | 2012-06-21 | 2012-10-03 | 甘肃省科学技术情报研究所 | Resource gateway implementation method of digital literature adopting reverse-proxy technology |
CN104104989A (en) * | 2014-07-30 | 2014-10-15 | 天津三星电子有限公司 | Method for automatically playing last played video upon booting and smart television |
CN105430566A (en) * | 2015-11-05 | 2016-03-23 | 小米科技有限责任公司 | Audio data updating method and device |
CN105635850A (en) * | 2015-12-23 | 2016-06-01 | 广东省广播电视网络股份有限公司 | Method for IP terminal to acquire DVB standard digital television on-demand resource from gateway |
CN105740010A (en) * | 2016-01-26 | 2016-07-06 | 青岛海信电器股份有限公司 | Power-on method and terminal equipment |
CN106254948A (en) * | 2016-08-17 | 2016-12-21 | 深圳Tcl数字技术有限公司 | A kind of terminal unit plays control method and the device of start video |
US20160381085A1 (en) * | 2015-06-26 | 2016-12-29 | Pagefair Limited | Tamper-proof communication channel |
CN106507166A (en) * | 2016-11-16 | 2017-03-15 | 北京小米移动软件有限公司 | The collocation method and device of intelligent television boot animation |
-
2017
- 2017-04-06 CN CN201710221452.6A patent/CN107071572B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996245A (en) * | 2006-12-19 | 2007-07-11 | 华为技术有限公司 | Start-up picture configuration method and terminal device and server and system |
CN102710559A (en) * | 2012-06-21 | 2012-10-03 | 甘肃省科学技术情报研究所 | Resource gateway implementation method of digital literature adopting reverse-proxy technology |
CN104104989A (en) * | 2014-07-30 | 2014-10-15 | 天津三星电子有限公司 | Method for automatically playing last played video upon booting and smart television |
US20160381085A1 (en) * | 2015-06-26 | 2016-12-29 | Pagefair Limited | Tamper-proof communication channel |
CN105430566A (en) * | 2015-11-05 | 2016-03-23 | 小米科技有限责任公司 | Audio data updating method and device |
CN105635850A (en) * | 2015-12-23 | 2016-06-01 | 广东省广播电视网络股份有限公司 | Method for IP terminal to acquire DVB standard digital television on-demand resource from gateway |
CN105740010A (en) * | 2016-01-26 | 2016-07-06 | 青岛海信电器股份有限公司 | Power-on method and terminal equipment |
CN106254948A (en) * | 2016-08-17 | 2016-12-21 | 深圳Tcl数字技术有限公司 | A kind of terminal unit plays control method and the device of start video |
CN106507166A (en) * | 2016-11-16 | 2017-03-15 | 北京小米移动软件有限公司 | The collocation method and device of intelligent television boot animation |
Also Published As
Publication number | Publication date |
---|---|
CN107071572B (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106713454B (en) | A kind of method for connecting network and device | |
CN107342933A (en) | A kind of activation of smart machine and binding method and device | |
CN106302032B (en) | A kind of point-to-multipoint poll means of communication | |
CN105827740A (en) | Method, equipment and system for contact person information backup | |
CN104683124A (en) | Terminal type identification method and device | |
CN110933170A (en) | Multi-device linkage control method and device of ZigBee gateway and storage medium | |
CN108306882A (en) | A kind of method and the network equipment of terminal access business | |
CN103716230A (en) | Message sending method, device and server | |
CN106576285A (en) | APN configuration method, user equipment and configuration server | |
CN112738785B (en) | Device connection method and apparatus, storage medium, and electronic apparatus | |
EP4274300A3 (en) | Information processing method and device, and storage medium | |
CN108156305A (en) | A kind of communicating number processing method, device and terminal | |
CN108076529A (en) | A kind of method for transmitting uplink data, terminal and network side equipment | |
CN104219311B (en) | Download the method and system of TV applications | |
CN104780587A (en) | AP (access point) accessing method and system for WiFi (wireless fidelity) equipment in Internet of Things | |
CN109271187A (en) | A kind of hot restorative procedure, device, storage medium and the terminal of application program | |
CN105072669B (en) | The connection control method and device of website | |
CN107071572A (en) | The loading method and gateway device of start poster | |
US20080040489A1 (en) | Method of assigning applications to specific network interfaces | |
CN109936609A (en) | Terminal chain type upgrade method, device and updating and management server | |
CN102882906A (en) | Method and device of data communication in constrained application protocol | |
CN105721231A (en) | Service quality sensing detection method and service quality sensing detection device | |
CN109219046A (en) | Method for switching network and device | |
CN104735643A (en) | Information processing method and data server | |
CN109462878A (en) | A kind of method of network entry and device of same frequency terminal node |
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 |