CN108829856A - The resource of web application preloads method and device in display terminal - Google Patents
The resource of web application preloads method and device in display terminal Download PDFInfo
- Publication number
- CN108829856A CN108829856A CN201810646392.7A CN201810646392A CN108829856A CN 108829856 A CN108829856 A CN 108829856A CN 201810646392 A CN201810646392 A CN 201810646392A CN 108829856 A CN108829856 A CN 108829856A
- Authority
- CN
- China
- Prior art keywords
- sequence
- web application
- operation sequence
- application
- current operation
- 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
Landscapes
- Telephone Function (AREA)
Abstract
Present invention discloses a kind of resources of web application in display terminal to preload method and device, electronic equipment, computer readable storage medium, and the program includes:It controls focus by control equipment to move in the display interface of display terminal, the current operation sequence of the corresponding control equipment of acquisition focus movement routine;According to the corresponding control equipment predetermined registration operation sequence of focus movement routine for being used to indicate starting web application, the current operation sequence of acquisition is matched with predetermined registration operation sequence;Filter out multiple web applications of current operation sequence Yu predetermined registration operation sequences match;According to the history number of starts of web application, the target application for meeting condition to the history number of starts in multiple web applications carries out resource preloading.The target application that the present invention may be opened by predicting user in advance loads browser resource needed for opening target application, improves the starting speed of target application.
Description
Technical field
The present invention relates to network data processing technique, in particular to the resource of web application is pre- in a kind of display terminal
Loading method and device, electronic equipment, computer readable storage medium.
Background technique
Smart television is mainly based upon the Web TV of (SuSE) Linux OS, the main skill of various applied business at present
Art frame is the Web application based on browser.Loading and rendering speed of the browser to target network address, determine that most Web are answered
User experience, the opening especially applied, admission velocity.
Assuming that a typical broadband environment is such:There is no local cache, comparatively faster DNSlookup (domain name
Parse 50ms), TCP shakes hands, and SSL negotiates and a very fast server response time (100ms) and time lag of first order (80ms).
By taking the process of Amazon homepage is opened in television terminal browser application as an example, then apply for that the time for opening Amazon homepage at least wraps
It includes:The domain name mapping of 50ms, the TCP of 80ms shake hands (round-trip delay), the SSL of 160ms shakes hands (round-trip delay twice),
40ms (transmiting a request to server), 100ms (server process), 40ms (server passback response data).It can be seen that one
A request needs 470 milliseconds, wherein 80% time is accounted for by network delay.
For it is above the fact that, open based on browser web application when there are longer network delay, web is answered
Opening speed is slower.
Summary of the invention
There are longer network delay when in order to solve present in the relevant technologies web application of the opening based on browser,
The slower problem of the opening speed of web application, the present invention provides a kind of resource preloading sides of web application in display terminal
Method.
On the one hand, the present invention provides a kind of resource pre-add support methods of web application in display terminal, including:
Focus is controlled by control equipment to move in the display interface of display terminal, acquires the focus movement routine pair
The current operation sequence for the control equipment answered;
According to the corresponding control equipment predetermined registration operation sequence of focus movement routine for being used to indicate starting web application, will adopt
The current operation sequence of collection is matched with the predetermined registration operation sequence;
Filter out multiple web applications of the current operation sequence Yu the predetermined registration operation sequences match;
According to the history number of starts of the web application, item is met to the history number of starts in the multiple web application
The target application of part carries out resource preloading.
In a kind of exemplary embodiment, the predetermined registration operation sequence includes default leader sequence and default selection sequence;
The basis is used to indicate the corresponding control equipment predetermined registration operation sequence of focus movement routine of starting web application, by acquisition
The current operation sequence is matched with the predetermined registration operation sequence, including:
Current operation sequence is compared with the default leader sequence;The default leader sequence is used to indicate control
Equipment controls focus and moves in display interface with displayed web page list of application;
If the current operation sequence meets default leader sequence, continue current operation sequence described in comparison whether meet it is pre-
If selecting sequence;The default selection sequence is used to indicate control equipment control focus and moves in web application list to select
Each web application.
In a kind of exemplary embodiment, whether the current operation sequence meets default selection sequence, packet
It includes:
Compare a part whether the application selection sequence in the current operation sequence belongs to default selection sequence, if
It is, then it is assumed that current operation sequence and predetermined registration operation sequences match;Otherwise it is assumed that mismatching.
It is described to filter out the current operation sequence and the predetermined registration operation sequences match in a kind of exemplary embodiment
Multiple web applications, including:
According to the predetermined registration operation sequence configured for every kind of web application, filters out the current operation sequence and preset with described
The matched multiple web applications of the sequence of operation.
In a kind of exemplary embodiment, the history number of starts according to the web application, to the multiple net
The target application that the history number of starts meets condition in page application carries out resource preloading, including:
According to the history number of starts of the web application, the history number of starts is filtered out from the multiple web application
Highest target application carries out resource preloading.
In a kind of exemplary embodiment, the history number of starts according to the web application, to the multiple net
After the target application that the history number of starts meets condition in page application carries out resource preloading, the method also includes:
If listening to the trigger event for starting the target application, the progress resource is preloaded into the web data obtained
It is shown.
In a kind of exemplary embodiment, the history number of starts according to the web application, to the multiple net
After the target application that the history number of starts meets condition in page application carries out resource preloading, the method also includes:
If detecting, the web application of triggering starting and the target application are inconsistent, empty the progress resource preloading
The web data of acquisition.
On the other hand, the present invention also provides a kind of resource pre-load means of web application in display terminal, including:
Path acquisition module is moved in the display interface of display terminal for controlling focus by control equipment, is acquired
The corresponding current operation sequence for controlling equipment of the focus movement routine;
Route matching module, for according to the corresponding control equipment of focus movement routine for being used to indicate starting web application
Predetermined registration operation sequence matches the current operation sequence of acquisition with the predetermined registration operation sequence;
Using screening module, for filtering out multiple nets of the current operation sequence Yu the predetermined registration operation sequences match
Page application;
Preloaded components, for the history number of starts according to the web application, to being gone through in the multiple web application
The target application that the history number of starts meets condition carries out resource preloading.
In addition, the present invention also provides a kind of electronic equipment, the electronic equipment includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing the resource pre-add support method of web application in above-mentioned display terminal.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums
It is stored with computer program, the computer program can be executed the resource for completing web application in above-mentioned display terminal by processor
Pre-add support method.
The technical solution that the embodiment of the present invention provides can include the following benefits:
Technical solution provided by the invention, first the current operation sequence of the corresponding control equipment of acquisition focus movement routine
Column filter out default behaviour by matching the current operation sequence of acquisition with the predetermined registration operation sequence of starting web application
Make the web application of sequence Yu current operation sequences match, and then the history number of starts is met from the web application screened
The target application of condition carries out resource preloading.As a result, during focus is moved to target application by user, it can shift to an earlier date
Browser resource needed for opening target application is loaded, thus when user confirms and opens the target application, without etc.
To which the browser resource that loaded in advance can be shown, improve the starting speed of target application.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
Invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and in specification together principle for explaining the present invention.
Fig. 1 is the schematic diagram of related implementation environment according to the present invention;
Fig. 2 is a kind of block diagram of device shown according to an exemplary embodiment;
Fig. 3 is the resource pre-add support method of web application in a kind of display terminal shown according to an exemplary embodiment
Flow chart;
Fig. 4 is a kind of form that web application is shown in display interface;
Fig. 5 is the details flow chart of step 320 in Fig. 3 corresponding embodiment;
Fig. 6 is a kind of form that web application icon Previous Menu icon is shown in display interface;
Fig. 7 is the effect diagram that focus is mobile in display interface;
Fig. 8 is scheme comparison's schematic diagram of the present invention with the prior art;
Fig. 9 be a kind of exemplary embodiment shown in display terminal in web application resource pre-add support method detailed stream
Journey schematic diagram;
Figure 10 is the resource pre-load means of web application in a kind of display terminal shown according to an exemplary embodiment
Block diagram.
Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is the schematic diagram of related implementation environment according to the present invention.The implementation environment includes:110 He of display terminal
Server 120.
Pass through wireless network connection between display terminal 110 and server 120.Display terminal 110 can be using the present invention
The resource pre-add support method of web application in provided display terminal, prediction user may need web application to be started, so
Carry out the load of web application resource from server 120 in advance afterwards, thus when user clicks and starts the web application, it can be fast
Speed shows the resource of load, improves the starting speed of web application.
It is to be understood that display terminal 110 can predict user's possibility by using method provided by the present invention
The web application of opening, so as to carry out various preloading movements in advance, and these movements are transparent, no for a user
It is visible, non.For example user opens menu from the interface UI, and focus is moved to by the key up and down of remote controler
It on the icon of target application, needs to spend 3 seconds~5 seconds, during this, display terminal 110 can be based on current operation sequence (i.e.
The operative combination of the key up and down of remote controler) predict the target application that user need to open, thus (such as clear to target application in advance
Look at device) corresponding target network address (URL) carries out pre-parsed, pre-connection, or even carries out pre-rendered.To prepare to press as user
" OK key " starts in application, since the movements such as a large amount of network delay have been fulfiled ahead of schedule, can directly carry out the display of data,
To improve the starting speed of application on final visual perception.
Fig. 2 is a kind of block diagram of device 200 shown according to an exemplary embodiment.For example, device 200 can be Fig. 1
Display terminal 110 in shown implementation environment.Display terminal 110 such as can be various smart home devices, such as intelligence electricity
Depending on, smart television set top box, projection device etc..
Referring to Fig. 2, device 200 may include following one or more components:Processing component 202, memory 204, power supply
Component 206, multimedia component 208, audio component 210, sensor module 214 and communication component 216.
The integrated operation of the usual control device 200 of processing component 202, such as with display, telephone call, data communication, phase
Machine operation and the associated operation of record operation etc..Processing component 202 may include one or more processors 218 to execute
Instruction, to complete all or part of the steps of following methods.In addition, processing component 202 may include one or more modules,
Convenient for the interaction between processing component 202 and other assemblies.For example, processing component 202 may include multi-media module, with convenient
Interaction between multimedia component 208 and processing component 202.
Memory 204 is configured as storing various types of data to support the operation in device 200.These data are shown
Example includes the instruction of any application or method for operating on the device 200.Memory 204 can be by any kind of
Volatibility or non-volatile memory device or their combination are realized, such as static random access memory (Static Random
Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory (Electrically Erasable
Programmable Read-Only Memory, abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable
Programmable Read Only Memory, abbreviation EPROM), programmable read only memory (Programmable Red-
Only Memory, abbreviation PROM), read-only memory (Read-Only Memory, abbreviation ROM), magnetic memory, flash
Device, disk or CD.One or more modules are also stored in memory 204, which is configured to by this
One or more processors 218 execute, to complete the whole or portion in any shown method of following Fig. 3, Fig. 4, Fig. 5 and Fig. 6
Step by step.
Power supply module 206 provides electric power for the various assemblies of device 200.Power supply module 206 may include power management system
System, one or more power supplys and other with for device 200 generate, manage, and distribute the associated component of electric power.
Multimedia component 208 includes the screen of one output interface of offer between described device 200 and user.One
In a little embodiments, screen may include liquid crystal display (Liquid Crystal Display, abbreviation LCD) and touch panel.
If screen includes touch panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel
Including one or more touch sensors to sense the gesture on touch, slide, and touch panel.The touch sensor can be with
The boundary of a touch or slide action is not only sensed, but also detects duration associated with the touch or slide operation and pressure
Power.Screen can also include display of organic electroluminescence (Organic Light Emitting Display, abbreviation OLED).
Audio component 210 is configured as output and/or input audio signal.For example, audio component 210 includes a Mike
Wind (Microphone, abbreviation MIC), when device 200 is in operation mode, such as call model, logging mode and speech recognition mould
When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory
204 or via communication component 216 send.In some embodiments, audio component 210 further includes a loudspeaker, for exporting
Audio signal.
Sensor module 214 includes one or more sensors, and the state for providing various aspects for device 200 is commented
Estimate.For example, sensor module 214 can detecte the state that opens/closes of device 200, the relative positioning of component, sensor group
Part 214 can be with the position change of 200 1 components of detection device 200 or device and the temperature change of device 200.Some
In embodiment, which can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 216 is configured to facilitate the communication of wired or wireless way between device 200 and other equipment.Device
200 can access the wireless network based on communication standard, such as WiFi (WIreless-Fidelity, Wireless Fidelity).Show at one
In example property embodiment, communication component 216 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel
Relevant information.In one exemplary embodiment, the communication component 216 further includes near-field communication (Near Field
Communication, abbreviation NFC) module, to promote short range communication.For example, radio frequency identification (Radio can be based in NFC module
Frequency Identification, abbreviation RFID) technology, Infrared Data Association (Infrared Data
Association, abbreviation IrDA) technology, ultra wide band (Ultra Wideband, abbreviation UWB) technology, Bluetooth technology and other skills
Art is realized.
In the exemplary embodiment, device 200 can be by one or more application specific integrated circuit (Application
Specific Integrated Circuit, abbreviation ASIC), it is digital signal processor, digital signal processing appts, programmable
Logical device, field programmable gate array, controller, microcontroller, microprocessor or other electronic components are realized, for executing
Following methods.
Fig. 3 is the resource pre-add support method of web application in a kind of display terminal shown according to an exemplary embodiment
Flow chart.The scope of application and executing subject of the resource pre-add support method of web application in the display terminal, for example, this method is used
The display terminal 110 of the implementation environment shown in Fig. 1.As shown in figure 3, this method can be executed by display terminal 110, may include
Following steps.
In the step 310, focus is controlled by control equipment to move in the display interface of display terminal, acquire the coke
The current operation sequence of the corresponding control equipment of point movement routine.
Wherein, display terminal 110 can be smart television, and control equipment can be remote controler.Display interface refers to display
The content that the display window of terminal 110 is shown.It is to be understood that can be arranged in display interface with displayed web page application icon
Table, web application icon list are arranged usually in the form of nine grids.A kind of shape that web application is shown in Fig. 4 display interface
Formula.As shown in figure 4, current focus, which is located at, applies A, when user needs to choose using F, user can be by successively clicking remote control
Focus is moved to from using A to using F by the direction key " right button, right button, down key " of device, at this time the corresponding sequence of operation according to
Secondary is " right, right, under ".
Specifically, can show multiple icons in display interface.The icon can be certain web application figure
Mark can also be the icon of web application icon Previous Menu, such as list of application opens icon, notification bar opens figure
Mark, TV program list open icon, icon is opened in multimedia list, icon etc. is opened in setting.It should be noted that in order to beat
Some web application icon is opened, focus need to be first moved to list of application and open icon, display terminal 110 receives user's click
After the instruction for determining key, focus is switched to as shown in Figure 4 using A by displayed web page application icon list.Later, display is whole
Focus is moved to from using A using F by the direction key " right button, right button, down key " that end 110 can be triggered according to user.
It should be noted that movement routine refers to the path during moving the focus to target application, current operation sequence
Column are corresponding with the movement routine of focus, and focus moves right, and corresponding user's operation " right button ", a series of button operation forms behaviour
Make sequence.For example, the sequence of operation in web application icon list display interface can be " right, right, under ".In a kind of embodiment
In, user carries out button operation by remote controler, and display terminal 110 can be according to the key corresponding with button operation received
Instruction obtains current operation sequence corresponding with focus movement routine.In other embodiments, display terminal 110 can also pass through
The gesture of user is acquired, current operation sequence is obtained.Hand turn right waves it is primary, indicate selected object, that is, focus turn right be switched to it is next
Object, hand are waved down, indicate that selected object, that is, focus is switched to next object toward lower section, and so on, obtain current behaviour
Make sequence, such as " right, right, under ".
In step 320, default according to the corresponding control equipment of focus movement routine for being used to indicate starting web application
The sequence of operation matches the current operation sequence of acquisition with the predetermined registration operation sequence;
Wherein, predetermined registration operation sequence refers to that control corresponding with focus movement routine is set when user opens every kind of web application
The standby sequence of operation, predetermined registration operation sequence can be generated according to user's history operating habit.Some normally open web application of user
The sequence of operation by the predetermined registration operation sequence as the web application.It can be stored in advance in display terminal 110 and open every kind of net
Page applies corresponding predetermined registration operation sequence.
Step 310 is acquired current operation sequence with display terminal 110 and each web application stored in advance is corresponding pre-
If the sequence of operation is matched.Matching refers to whether compare current operation sequence consistent with predetermined registration operation sequence.Such as operation sequence
Column " it is right, right, under, under, under " it is considered that with the sequence of operation " the right, right side, under, under, under, under " match.That is, the sequence of operation
If the incipient stage with the sequence of operation is consistent, it is believed that the sequence of operation is matched with the sequence of operation.For example, the sequence of operation
" right, right, under, under " and the sequence of operation " it is right, under, under, under " just mismatch.
In a step 330, the multiple webpages for filtering out the current operation sequence and the predetermined registration operation sequences match are answered
With.
It, thus will be current due to storing the corresponding predetermined registration operation sequence of every kind of web application in display terminal 110 in advance
The sequence of operation of acquisition predetermined registration operation sequence corresponding with every kind of web application is matched, and predetermined registration operation sequence can be filtered out
With the web application of current operation sequences match collected.In other words, according to current operation sequence collected, Yi Jiyong
In the web application that the habitual predetermined registration operation sequence for opening every kind of web application, prediction focus may finally reach.With work as
The preceding matched predetermined registration operation sequence of the sequence of operation may have one or more, and thus there may be 1 or more for corresponding web application
It is a.
In step 340, according to the history number of starts of the web application, history in the multiple web application is opened
The target application that dynamic number meets condition carries out resource preloading.
Wherein, the history number of starts refers to the opening times of the every kind of web application obtained according to historical record.Target is answered
With referring to that the history number of starts in multiple web applications with current operation sequences match meets the application of condition.History starting time
Number, which meets condition, can be the history number of starts greater than preset times (such as 20 times), history number of starts maximum or history starting
Several (3 such as preceding) applications before number is biggish.It is to be understood that the biggish application of the history number of starts, it is believed that
The probability that user this time opens the application is higher.It therefore, can be from a variety of nets according to the history number of starts of every kind of web application
The biggish application of the history number of starts is filtered out in page application, carries out resource pre-add as target application, and then to target application
It carries.
Wherein, resource preloading refers to before target application is opened in confirmation, in advance to browser needed for target application
Resource carries out loading action.Resource preloads:DNS pre-parsed (pre-resolve) parses host address in advance to reduce
DNS delay;TCP pre-connection (pre-connect) is connected to destination server in advance to reduce TCP and shake hands delay;Resource pre-add
It carries (prefetching), the core resource of loading page is shown in advance with loading page;Page pre-rendered
(prerendering):Full page and related child resource are obtained in advance, can accomplish to show in time in this way.
The present invention is based on the current operation sequence of control equipment, the possible sequence of operation terminal of join probability statistical forecast is
Target application, and then browser resource needed for loading target application in advance, so as to accelerate the starting speed of application.In original
During some starting target applications, only after user, which determines, clicks target application icon, operating system can just be directed to mesh
Browser resource needed for mark application loads.And for low-end TV-system, hardware resource is than relatively limited, such as low frequency
The DDR (memory) of CPU, low capacity, slower so as to cause the starting speed of application, user needs to wait the long period that could start
Using.
Above-mentioned technical proposal provided by the invention, it is corresponding with every kind of web application by the current operation sequence that will be acquired
Predetermined registration operation sequence is matched, and filters out the web application of current operation sequence Yu predetermined registration operation sequences match, and then from institute
The target application for meeting condition to the history number of starts in the web application of screening carries out resource preloading.It is incited somebody to action as a result, in user
During focus is moved to target application, browser resource needed for opening target application can be loaded in advance, from
And when user confirms and opens the target application, without waiting, the browser resource loaded in advance can be shown, be improved
The starting speed of target application.
In a kind of exemplary embodiment, predetermined registration operation sequence includes default leader sequence and default selection sequence such as Fig. 5
Shown, above-mentioned steps 320 specifically include:
In step 321, current operation sequence is compared with the default leader sequence;The default leader sequence
Control equipment control focus is used to indicate to move in display interface with displayed web page list of application;
As shown in fig. 6, be the icon of web application icon Previous Menu, for example including:List of application opening icon,
Notification bar opens icon, TV program list opens icon, icon is opened in multimedia list, icon etc. is opened in setting.Before default
It leads sequence and refers to pre-configured, user's operation control equipment carries out focus mobile in the above-mentioned icon of display interface
The sequence of operation, wherein the terminal of focus is the opening icon of web application list.That is control focus (is answered in above-mentioned icon
Open icon with list, notification bar opens icon, TV program list opens icon ...) between the sequence of operation that moves, root
According to the difference that puts in order of above-mentioned icon, default leader sequence may be " Home key+direction right button+direction right button+ok
Key ", it is also possible to " Home key+direction right button+direction right button+direction right button ", if in general, default leader sequence be Home key+
Dry direction right button, and beam is bonded with OK.In the present embodiment, default leader sequence be " Home key+direction right button+direction right button+
Ok key ".
In step 322, if the current operation sequence meets default leader sequence, continue current operation sequence described in comparison
Whether column meet default selection sequence;The default selection sequence is used to indicate control equipment control focus in web application list
Middle movement is to select each web application.
Specifically, " Home key+direction right button+direction right button+OK key " can be default leader sequence.Display terminal 110
When receiving user's triggering " Home key+direction right button+direction right button+OK key ", focus is successively moved to list of application and is beaten
Icon is opened, and opens web application list.
Meet default leader sequence in the current operation sequence of acquisition, i.e. current operation sequence includes that " Home key+direction is right
When key+direction right button+OK key ", it is believed that current operation sequence meets default leader sequence.If do not met, it is classified as general
User's operation, complete corresponding movement.When current operation sequence meets default leader sequence, continue to compare current operation sequence
Whether column meet default selection sequence.Default selection sequence refers to that equipment control focus is controlled in web application list to be moved to
The sequence of operation of named web page application.A kind of web application can correspond to a kind of default selection sequence.It, can be with referring to shown in Fig. 4
It is a kind of form of web application list.In order to move the focus to web application H, default selection sequence can be " it is right, under,
Under ".
In one embodiment, in above-mentioned steps 322, whether the current operation sequence meets default selection sequence
Column, including:
Compare a part whether the application selection sequence in the current operation sequence belongs to default selection sequence, if
It is, then it is assumed that current operation sequence and predetermined registration operation sequences match;Otherwise it is assumed that mismatching.
It should be noted that current operation sequence other than comprising default leader sequence, further includes answering using selection sequence
Focus is controlled with selection sequence, and the mobile sequence of operation is carried out in web application list.By current operation sequence and default behaviour
It is matched other than judging whether current operation sequence includes default leader sequence as sequence, it is also necessary to judge current operation sequence
Whether the application selection sequence of column belongs to a part of default selection sequence.
It should be noted that default selection sequence is to be obtained in the display interface of web application list according to historical record
User move the focus to the operation directional combination of some web application.For example, the default selection of " amazon " web application
Sequence is " direction right button+direction right button+OK key ", if the application selection sequence in collected current operation path is " direction
Right button+direction right button ", that is to say, that application selection sequence belongs to a part that default selection sequence starts, it is believed that application
Selection sequence is matched with default selection sequence, so that it is matched for obtaining current operation sequence and predetermined registration operation sequence.?
This is it should be noted that if selection path is "None", it may be considered that the default selection sequence with each web application is
Matched, the web application that can choose high frequency time starting is preloaded as target application.
Wherein, before selection sequence will be applied to be matched with default selection sequence, can first judge using selection sequence
Whether column are to be combined with " upper and lower, left and right " key and (be bonded tail without judging whether with OK).If met, further with
The default selection sequence of every kind of web application is matched.It, can be with if the default selection sequences match with certain web applications
In conjunction with the application that high frequency time uses, the application that high frequency time uses is loaded in advance.If not finding default selection sequence
The application of column and application selection sequences match executes operation respective action it may be considered that belonging to general user's operation.
Fig. 7 is that the mobile effect diagram of focus is controlled in display interface.As shown in fig. 7, being successively initial display interface
(including multiple functions icon) receives display interface (the focus shifting of " Home key+direction right button+direction right button " operational order
Move the APP icon on TV homepage), the display interface (displayed web page list of application) of " OK key " instruction is received, is received
Display interface (focus is moved in web application 2) after to " direction right button+direction right button ", receives " OK on this basis
When key " instructs, web application 2 is opened.In this embodiment, before " Home key+direction right button+direction right button+OK key " is exactly
Sequence is led, " direction right button+direction right button " is considered using selection sequence.It should be noted that in user's last triggering, " OK is pressed
Before key ", the application that the method provided through the invention can predict user and need to start may be web application 2, and in advance
The browser resource of web application 2 is loaded, to can quickly be carried out when receiving user's triggering " OK key "
The display of webpage.
On the basis of the above embodiments, above-mentioned steps 330 specifically include:It is default according to being configured for every kind of web application
The sequence of operation filters out multiple web applications of the current operation sequence Yu the predetermined registration operation sequences match.
Specifically, display terminal 110 is configured with for every kind of web application according to user's history operating habit and opens the application
Predetermined registration operation sequence.The mode through the foregoing embodiment of display terminal 110, current operation sequence and every kind of webpage are answered
Predetermined registration operation sequence (including default leader sequence and default selection sequence) is matched, and then is filtered out all webpages and answered
With multiple web applications of middle predetermined registration operation sequence and current operation sequences match.
In a kind of exemplary embodiment, above-mentioned steps 340 are specifically included:
According to the history number of starts of the web application, the history number of starts is filtered out from the multiple web application
Highest target application carries out resource preloading.
Specifically, filtering out the web application of predetermined registration operation sequence Yu current operation sequences match from a variety of web applications
Afterwards, building up based on user's history record, according to the history number of starts of every kind of web application, and then can be from all
Select the highest application of the history number of starts as target application in the web application matched.The highest application of the history number of starts can
To be considered the application of high frequency time opening, the probability of the application is this time equally opened with respect to highest, thus, it is possible to which the application is made
The preload operation of browser resource is carried out for target application.Browser resource includes the webpage that web application carries out web displaying
Data, preload operation include DNS pre-parsed, TCP pre-connection, resource preloading, webpage pre-rendered etc..
Table 1 is a kind of prediction decision table for implementing to exemplify.Wherein, the history number of starts of " Netflix " web application
It is 1 time, the history number of starts of " YouTube " web application is 4 times, and the history number of starts of " Amazon " web application is 18
It is secondary, it is assumed that the current operation sequence of acquisition then predicts that process and result are as follows as shown in the following table 1 first row.
As can be seen that the application opened for high frequency time, prediction result hit rate is also higher, to protect from upper table 1
In most cases, prediction result is biased as the web application load browser resource of high frequency of usage to card, to use clothes
Business user commonly applies, and has experience as well as possible, i.e., load faster is with, opening speed.
Difference with the prior art of the present invention is as shown in figure 8, prior art display terminal 110 receives user key-press operation
After the instruction of confirmation starting target application, the corresponding browser resource of load target application, after waiting loaded, added by progress
Carry the display of the page.Technical solution provided by the invention, display terminal 110 read current keystroke sequence (i.e. current operation sequence
Column), the target application that user may click then is prejudged, resource needed for target application is loaded in advance, to receive
When starting the instruction of target application to user key-press operation acknowledgement, directly the resource loaded in advance can be shown, from
And it accelerates using starting speed.
The present invention is based on current operation sequence prediction target application, additional historical records the frequency as reference, predicts as early as possible
Target application, thus in advance execute preloading movement, even if prediction of failure, then be with the process being not previously predicted as, to
Without selection cost for family.But it predicts successfully, the starting speed of application will to be greatly improved.
After step 340, method provided by the invention is further comprising the steps of:
If listening to the trigger event for starting the target application, the progress resource is preloaded into the web data obtained
It is shown.
Display terminal 110 carries out resource when listening to user and confirming the trigger event for starting target application, by step 340
The web data obtained is preloaded to be shown.In one embodiment, display terminal 110 listens to the touching of starting target application
Hair event can be when moving the focus to icon where target application, receive the triggering command that user clicks " OK key ".
In a further exemplary embodiment, after above-mentioned steps 340, method provided by the invention is also possible that following
Step:
If detecting, the web application of triggering starting and the target application are inconsistent, empty the progress resource preloading
The web data of acquisition.
Specifically, display terminal 110 continues to test key-press event, directly after the browser resource that preload target is applied
It is for the last time OK key to detecting, the end mark as this sequence of operation.If application that final OK key is clicked and pre-
The target application of survey is identical, then directly opens the application;It is opposite, if the target application of prediction and the OK's finally clicked answers
With inconsistent, then the browser resource preloaded is emptied, and execute this applies opening action.Regardless of whether prediction at
Function opens number and carries out adding one to operate and be recorded in historical record, as history starting time for the application finally opened
Number.
Fig. 9 be a kind of exemplary embodiment shown in display terminal in web application resource pre-add support method detailed stream
Journey schematic diagram.As shown in figure 9, display terminal 110 obtains current keystroke sequence (i.e. current operation sequence), then judge whether to accord with
Default leader sequence (such as " Home key+direction right button+direction right button ") is closed, if met, continues to determine whether to meet default
It selects sequence (such as " direction right button+direction right button "), otherwise terminates.If meeting default selection sequence, default choosing is filtered out
Sequence and the matched target application of current keystroke sequence are selected, and using the application of high frequency time record as prediction target, load prediction mesh
Mark corresponding browser resource.If not meeting selection sequence, terminate.Judge actual click application whether with prediction target one
It causes, if unanimously, starting target application if inconsistent and emptying the browser resource of preloading.
Following is apparatus of the present invention embodiment, and it is whole to can be used for executing the display that the above-mentioned display terminal 110 of the present invention executes
The resource of web application preloads embodiment of the method in end.For undisclosed details in apparatus of the present invention embodiment, please refer to
The resource of web application preloads embodiment of the method in the above-mentioned display terminal of the present invention
Figure 10 is the resource pre-load means of web application in a kind of display terminal shown according to an exemplary embodiment
Block diagram, the resource pre-load means of web application can be used for the display terminal of implementation environment shown in Fig. 1 in the display terminal
In 110, execute Fig. 3, Fig. 5, Fig. 8, Fig. 9 it is any shown in display terminal the whole of the resource pre-add support method of web application or
Person's part steps.As shown in Figure 10, which includes but is not limited to:Path acquisition module 1010, is answered at route matching module 1020
With screening module 1030 and preloaded components 1040.
Path acquisition module 1010 moves in the display interface of display terminal for controlling focus by control equipment,
Acquire the current operation sequence of the corresponding control equipment of the focus movement routine;
Route matching module 1020, for according to the corresponding control of focus movement routine for being used to indicate starting web application
Equipment predetermined registration operation sequence matches the current operation sequence of acquisition with the predetermined registration operation sequence;
Using screening module 1030, for filtering out the more of the current operation sequence and the predetermined registration operation sequences match
A web application;
Preloaded components 1040, for the history number of starts according to the web application, to the multiple web application
The target application that the middle history number of starts meets condition carries out resource preloading.
The function of modules and the realization process of effect are specifically detailed in webpage in above-mentioned display terminal and answer in above-mentioned apparatus
The realization process of step is corresponded in resource pre-add support method, details are not described herein.
Path acquisition module 1010 such as can be some physical structure sensor module 214 in Fig. 2.
Route matching module 1020 is also possible to functional module using screening module 1030 and preloaded components 1040,
The correspondence step in resource pre-add support method for executing above-mentioned web application.It is appreciated that these modules can be by hard
Part, software, or a combination of both realize.When realizing in hardware, these modules may be embodied as one or more hardware
Module, such as one or more specific integrated circuits.When being realized with software mode, these modules may be embodied as at one or
The one or more computer programs executed on multiple processors, such as memory is stored in performed by the processor 218 of Fig. 2
Program in 204.
In a kind of exemplary embodiment, the predetermined registration operation sequence includes default leader sequence and default selection sequence;
The route matching module 1020 includes:
Leading matching unit, for current operation sequence to be compared with the default leader sequence;It is described it is default before
Lead the control equipment operation sequence that sequence is displayed web page list of application;
Select matching unit, for when the current operation sequence meets default leader sequence, continue described in comparison when
Whether the preceding sequence of operation meets default selection sequence;The default selection sequence is moved the focus in web application list
The control equipment operation sequence of every kind of web application.
In a kind of exemplary embodiment, the selection matching unit includes:
Whether coupling subelement belongs to default selection sequence for the application selection sequence in the current operation sequence
A part of column, if it is, thinking current operation sequence and predetermined registration operation sequences match;Otherwise it is assumed that mismatching.
In a kind of exemplary embodiment, the application screening module 1030 includes:
Using screening unit, for filtering out described current according to the predetermined registration operation sequence for being the configuration of every kind of web application
Multiple web applications of the sequence of operation and the predetermined registration operation sequences match.
In a kind of exemplary embodiment, the preloaded components 1040 include:
Target loading unit, for the history number of starts according to the web application, from the multiple web application
It filters out the highest target application of the history number of starts and carries out resource preloading.
In a kind of exemplary embodiment, described device further includes:
Data disaply moudle, it is when for listening to the trigger event for starting the target application, the progress resource is pre-
The web data that load obtains is shown.
In a kind of exemplary embodiment, described device further includes:
Data empty module, when for detecting the web application and the inconsistent target application of triggering starting, empty
The resource that carries out preloads the web data obtained.
Optionally, the present invention also provides a kind of electronic equipment, which can be used for the aobvious of implementation environment shown in Fig. 1
Show in terminal 110, execute Fig. 3, Fig. 5, Fig. 8, Fig. 9 it is any shown in the resource pre-add support method of web application in display terminal
All or part of step.The electronic equipment includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing web application in display terminal described in the above exemplary embodiments
Resource pre-add support method.
The processor of electronic equipment executes the concrete mode operated the webpage in related display terminal in the embodiment
Detailed description is performed in the embodiment of the resource pre-add support method of application, no detailed explanation will be given here.
In the exemplary embodiment, a kind of storage medium is additionally provided, which is computer readable storage medium,
It such as can be the provisional and non-transitorycomputer readable storage medium for including instruction.The storage medium is stored with computer
Program, the computer program can be executed by the processor 218 of device 200 to complete the money of web application in above-mentioned display terminal
Source pre-add support method.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. the resource pre-add support method of web application in a kind of display terminal, which is characterized in that including:
Focus is controlled by control equipment to move in the display interface of display terminal, and it is corresponding to acquire the focus movement routine
Control the current operation sequence of equipment;
According to the corresponding control equipment predetermined registration operation sequence of focus movement routine for being used to indicate starting web application, by acquisition
The current operation sequence is matched with the predetermined registration operation sequence;
Filter out multiple web applications of the current operation sequence Yu the predetermined registration operation sequences match;
According to the history number of starts of the web application, condition is met to the history number of starts in the multiple web application
Target application carries out resource preloading.
2. the method according to claim 1, wherein the predetermined registration operation sequence is including default leader sequence and in advance
If selecting sequence;The basis is used to indicate the corresponding control equipment predetermined registration operation sequence of focus movement routine of starting web application
Column, the current operation sequence of acquisition is matched with the predetermined registration operation sequence, including:
Current operation sequence is compared with the default leader sequence;The default leader sequence is used to indicate control equipment
Focus is controlled to move in display interface with displayed web page list of application;
If the current operation sequence meets default leader sequence, continue whether current operation sequence described in comparison meets default choosing
Select sequence;The default selection sequence is used to indicate control equipment control focus and moves in web application list to select each net
Page application.
3. according to the method described in claim 2, it is characterized in that, the current operation sequence whether meet it is default
Sequence is selected, including:
Compare a part whether the application selection sequence in the current operation sequence belongs to default selection sequence, if so,
Then think current operation sequence and predetermined registration operation sequences match;Otherwise it is assumed that mismatching.
4. the method according to claim 1, wherein the current operation sequence and described default of filtering out
The matched multiple web applications of the sequence of operation, including:
According to the predetermined registration operation sequence configured for every kind of web application, the current operation sequence and the predetermined registration operation are filtered out
Multiple web applications of sequences match.
5. the method according to claim 1, wherein the history number of starts according to the web application,
Resource preloading is carried out to the target application that the history number of starts in the multiple web application meets condition, including:
According to the history number of starts of the web application, history number of starts highest is filtered out from the multiple web application
Target application carry out resource preloading.
6. the method according to claim 1, wherein the history number of starts according to the web application,
After carrying out resource preloading to the target application that the history number of starts in the multiple web application meets condition, the method
Further include:
If listening to the trigger event for starting the target application, the progress resource is preloaded into the web data obtained and is carried out
Display.
7. the method according to claim 1, wherein the history number of starts according to the web application,
After carrying out resource preloading to the target application that the history number of starts in the multiple web application meets condition, the method
Further include:
If detecting, the web application of triggering starting and the target application are inconsistent, empty the progress resource and preload acquisition
Web data.
8. the resource pre-load means of web application in a kind of display terminal, which is characterized in that including:
Path acquisition module is moved for controlling focus by control equipment in the display interface of display terminal, described in acquisition
The current operation sequence of the corresponding control equipment of focus movement routine;
Route matching module, for default according to the corresponding control equipment of focus movement routine for being used to indicate starting web application
The sequence of operation matches the current operation sequence of acquisition with the predetermined registration operation sequence;
Using screening module, multiple webpages for filtering out the current operation sequence and the predetermined registration operation sequences match are answered
With;
Preloaded components open history in the multiple web application for the history number of starts according to the web application
The target application that dynamic number meets condition carries out resource preloading.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to perform claim requires web application in display terminal described in 1-7 any one
Resource pre-add support method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence, the computer program can be executed webpage in display terminal described in completion claim 1-7 any one as processor and answered
Resource pre-add support method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810646392.7A CN108829856A (en) | 2018-06-21 | 2018-06-21 | The resource of web application preloads method and device in display terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810646392.7A CN108829856A (en) | 2018-06-21 | 2018-06-21 | The resource of web application preloads method and device in display terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108829856A true CN108829856A (en) | 2018-11-16 |
Family
ID=64141859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810646392.7A Pending CN108829856A (en) | 2018-06-21 | 2018-06-21 | The resource of web application preloads method and device in display terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108829856A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857649A (en) * | 2019-01-14 | 2019-06-07 | 珠海金山网络游戏科技有限公司 | A kind of resource testing method and system |
CN109885355A (en) * | 2019-02-21 | 2019-06-14 | 珠海市魅族科技有限公司 | A kind of application starting method and relevant apparatus |
CN110058911A (en) * | 2019-03-14 | 2019-07-26 | 维沃移动通信有限公司 | A kind of application control method and terminal device |
CN110222284A (en) * | 2019-05-05 | 2019-09-10 | 福建天泉教育科技有限公司 | Multi-page loading method and computer readable storage medium |
CN110347446A (en) * | 2019-07-16 | 2019-10-18 | 阿里巴巴集团控股有限公司 | A kind of page resource loading method and system |
CN112073772A (en) * | 2019-06-10 | 2020-12-11 | 海信视像科技股份有限公司 | Key seamless transmission method based on dual systems and display equipment |
CN112351321A (en) * | 2019-08-09 | 2021-02-09 | 华为技术有限公司 | Remote control response method, electronic equipment and computer readable storage medium |
CN114461897A (en) * | 2021-12-21 | 2022-05-10 | 北京达佳互联信息技术有限公司 | Information processing method, device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863286A (en) * | 2006-01-19 | 2006-11-15 | 深圳创维-Rgb电子有限公司 | Shortcut remote-control method for colour television and product thereof |
CN101052106A (en) * | 2006-04-04 | 2007-10-10 | 康佳集团股份有限公司 | Display method for TV menu interface and navigation control method for TV menu |
CN103412788A (en) * | 2013-07-19 | 2013-11-27 | 深圳Tcl新技术有限公司 | Method and system for starting application rapidly based on user operation keys |
CN103412757A (en) * | 2013-08-19 | 2013-11-27 | 南京大学 | Realizing method of personalized integrated framework of mobile applications |
CN106201624A (en) * | 2016-07-18 | 2016-12-07 | 深圳市金立通信设备有限公司 | A kind of recommendation method of application program and terminal |
CN106326261A (en) * | 2015-06-26 | 2017-01-11 | 广州市动景计算机科技有限公司 | Pre-reading method and device for webpage and intelligent terminal device |
CN106406966A (en) * | 2016-10-31 | 2017-02-15 | 维沃移动通信有限公司 | Preloading method for application and mobile terminal |
CN106919313A (en) * | 2017-04-21 | 2017-07-04 | 维沃移动通信有限公司 | The startup method and mobile terminal of a kind of application program |
-
2018
- 2018-06-21 CN CN201810646392.7A patent/CN108829856A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1863286A (en) * | 2006-01-19 | 2006-11-15 | 深圳创维-Rgb电子有限公司 | Shortcut remote-control method for colour television and product thereof |
CN101052106A (en) * | 2006-04-04 | 2007-10-10 | 康佳集团股份有限公司 | Display method for TV menu interface and navigation control method for TV menu |
CN103412788A (en) * | 2013-07-19 | 2013-11-27 | 深圳Tcl新技术有限公司 | Method and system for starting application rapidly based on user operation keys |
CN103412757A (en) * | 2013-08-19 | 2013-11-27 | 南京大学 | Realizing method of personalized integrated framework of mobile applications |
CN106326261A (en) * | 2015-06-26 | 2017-01-11 | 广州市动景计算机科技有限公司 | Pre-reading method and device for webpage and intelligent terminal device |
CN106201624A (en) * | 2016-07-18 | 2016-12-07 | 深圳市金立通信设备有限公司 | A kind of recommendation method of application program and terminal |
CN106406966A (en) * | 2016-10-31 | 2017-02-15 | 维沃移动通信有限公司 | Preloading method for application and mobile terminal |
CN106919313A (en) * | 2017-04-21 | 2017-07-04 | 维沃移动通信有限公司 | The startup method and mobile terminal of a kind of application program |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857649A (en) * | 2019-01-14 | 2019-06-07 | 珠海金山网络游戏科技有限公司 | A kind of resource testing method and system |
CN109885355A (en) * | 2019-02-21 | 2019-06-14 | 珠海市魅族科技有限公司 | A kind of application starting method and relevant apparatus |
CN110058911A (en) * | 2019-03-14 | 2019-07-26 | 维沃移动通信有限公司 | A kind of application control method and terminal device |
CN110222284A (en) * | 2019-05-05 | 2019-09-10 | 福建天泉教育科技有限公司 | Multi-page loading method and computer readable storage medium |
CN110222284B (en) * | 2019-05-05 | 2021-04-02 | 福建天泉教育科技有限公司 | Multi-page loading method and computer readable storage medium |
CN112073772A (en) * | 2019-06-10 | 2020-12-11 | 海信视像科技股份有限公司 | Key seamless transmission method based on dual systems and display equipment |
CN112073772B (en) * | 2019-06-10 | 2022-08-09 | 海信视像科技股份有限公司 | Key seamless transmission method based on dual systems and display equipment |
CN110347446A (en) * | 2019-07-16 | 2019-10-18 | 阿里巴巴集团控股有限公司 | A kind of page resource loading method and system |
CN112351321A (en) * | 2019-08-09 | 2021-02-09 | 华为技术有限公司 | Remote control response method, electronic equipment and computer readable storage medium |
CN114461897A (en) * | 2021-12-21 | 2022-05-10 | 北京达佳互联信息技术有限公司 | Information processing method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108829856A (en) | The resource of web application preloads method and device in display terminal | |
CN108538291A (en) | Sound control method, terminal device, cloud server and system | |
CN103986969B (en) | application management method, device and system | |
KR102491005B1 (en) | Video preview methods and electronic devices | |
CN104111720B (en) | Control method of electronic device, device and electronic equipment | |
CN107294793A (en) | Replacement method, device, equipment and the storage medium of intelligent home device | |
CN103916535A (en) | Mobile terminal and controlling method thereof | |
CN105653085B (en) | Touch-responsive method and apparatus | |
CN104932712A (en) | Text input method and device | |
CN108933861A (en) | Application icon sort method, device, readable storage medium storing program for executing and intelligent terminal | |
CN104915094A (en) | Terminal control method and device and terminal | |
CN104636170A (en) | Application acquiring method and device and electronic device | |
CN106445326A (en) | Operation control method and mobile terminal | |
CN107239527A (en) | web access method and device | |
CN104616241A (en) | Video screen-shot method and device | |
CN106951299A (en) | The operating method and device of application program | |
CN106371659A (en) | Function entry enable method and mobile terminal | |
CN105872271A (en) | Calling method for third party contact of teleconference and mobile terminal | |
CN107220059A (en) | The display methods and device of application interface | |
CN106030535A (en) | Application program switch method, apparatus and electronic terminal | |
CN105930163A (en) | Interface switching method and apparatus | |
CN107977072A (en) | What a kind of robot used form method, forms expert system and electronic equipment | |
CN106878783A (en) | A kind of method and device of lookup equipment | |
CN104679386A (en) | Method and device for carrying out sound recording processing | |
CN106055249A (en) | Control method for mobile terminal and mobile terminal |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 266000, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong Applicant after: Hisense Video Technology Co.,Ltd. Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181116 |