CN106055367A - Script file loading method and device - Google Patents
Script file loading method and device Download PDFInfo
- Publication number
- CN106055367A CN106055367A CN201610388331.6A CN201610388331A CN106055367A CN 106055367 A CN106055367 A CN 106055367A CN 201610388331 A CN201610388331 A CN 201610388331A CN 106055367 A CN106055367 A CN 106055367A
- Authority
- CN
- China
- Prior art keywords
- business
- script file
- loaded
- runtime database
- script
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention provides a script file loading method and device, wherein the method comprises the following steps of when a first service is in an operating state, obtaining a second service relevant to the first service; judging whether the current user of the first service is a historical identification user of the second service or not; and if the current user of the first service is the historical identification user of the second service, loading at least one script file of the second service into an operating database. The method and the device provided by the embodiment of the invention have the advantages that the script file can be intelligently loaded; the loading duration is shortened; and further, the processing efficiency is improved.
Description
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of script file loading method and device.
Background technology
Along with the fast development of mobile Internet, that applies on user terminal (such as mobile phone, wearable device etc.) is each
The application program of type emerges in an endless stream.Generally, an application program has multiple business forms, can run multiple business, example
As social networking application program can be run chat service, dynamically share business, game service, reading business etc..When receiving for certain
In individual application program during the triggering command of certain business, the foot to this business downloaded from the server of this application program and decompress
Presents (such as lua file etc.) is decrypted, and carries out resolving and be loaded into runtime database (such as after deciphering completes again
Objective-C run-time library), finally call script file and run this business.If the script file of this business bigger again than
More, then said process will continue the longer time, and then cause the output of these business forms slow.As can be seen here, existing
Script file loading method relies on the triggering command of user's input, is loaded into the longest.
Summary of the invention
The embodiment of the present invention provides a kind of script file loading method and device, it is possible to be loaded into script file intelligently, contracting
Short loading duration, and then improve treatment effeciency.
Embodiment of the present invention first aspect improves a kind of script file loading method, including:
When the first business is in running status, obtain the second business being associated with described first business;
Judge that whether the active user of described first business is the history identification user of described second business;
If the history identification user that the active user of described first business is described second business, then by described second business
At least one script file be loaded into runtime database.
Wherein, whether the described active user judging described first business is the history identification user of described second business,
Including:
According to the active user's use for described second business that whether there is described first business in preset time period
Information judges that whether the active user of described first business is the history identification user of described second business;
If there is described use information in described preset time period, it is determined that the active user of described first business is described
The history identification user of the second business.
Wherein, described at least one script file by described second business is loaded into runtime database, including:
Obtain at least one script file of described second business;
What at least one script file according to described second business generated described second business is preloaded into list;
The order being preloaded into list according to described second business is successively by least one script literary composition of described second business
Part resolves and is loaded into runtime database.
Wherein, described at least one script file described the preloading of second business of generation according to described second business is fallen in lines
Table, including:
The inclusion relation between at least one script file according to described second business is to described second business at least
What one script file was ranked up generating described second business is preloaded into list.
Wherein, described at least one script file by described second business is loaded into runtime database, including:
Monitor the thread state of described first business, and when described thread state is idle condition, by described second industry
At least one script file of business is loaded into runtime database.
Wherein, described when described thread state is idle condition, by least one script file of described second business
It is loaded into runtime database, including:
When listening to the thread state of described first business and being idle condition, by a script literary composition of described second business
Part is loaded into runtime database, ceases listening for the thread state of described first business during being loaded into;
After completing a script file of described second business is loaded into described runtime database, recover monitoring described
The thread state of the first business.
Wherein, when receiving the triggering command for described second business input, it is judged that described second business is at least
One script file is the most all loaded into described runtime database;
If being the most all loaded into described runtime database, then at least one of described second business that basis is all loaded into
Script file runs described second business.
Wherein, described at least one script file judging described second business is the most all loaded into described operation number
After storehouse, also include:
If being the most all loaded into described runtime database, then will at least one script file of described second business not carry
The script file entered is loaded into described runtime database;
When at least one script file of described second business is the most all loaded into described runtime database, according to the most complete
At least one script file of described second business that portion is loaded into runs described second business.
Wherein, at least one script file of described second business that described basis is the most all loaded into runs described second industry
After business, also include:
Empty described second business is preloaded into list;
Or, empty being preloaded into list and releasing the monitoring of thread state to described first business of described second business.
Correspondingly, embodiment of the present invention second aspect provides a kind of script file device for loading, including:
Acquiring unit, for when the first business is in running status, obtains second be associated with described first business
Business;
Judging unit, for judging that whether the active user of described first business is that the history identification of described second business is used
Family;
It is loaded into unit, if for the history identification user that active user is described second business of described first business, then
At least one script file of described second business is loaded into runtime database.
Wherein, described judging unit is specifically for according to the current use that whether there is described first business in preset time period
For the use information of described second business, family judges whether the active user of described first business is going through of described second business
, if there is described use information in described preset time period, it is determined that the active user of described first business is in history mark user
The history identification user of described second business.
Wherein, described loading unit includes:
Script acquiring unit, for obtaining at least one script file of described second business;
List generation unit, generates described second business at least one script file according to described second business
It is preloaded into list;
Resolve and be loaded into unit, be used for the order being preloaded into list according to described second business successively by described second business
At least one script file resolve be loaded into runtime database.
Wherein, between described list generation unit is specifically at least one script file according to described second business
What inclusion relation was ranked up generating described second business at least one script file of described second business is preloaded into list.
Wherein, described loading unit is specifically for monitoring the thread state of described first business, and at described thread state
During for idle condition, at least one script file of described second business is loaded into runtime database.
Wherein, described loading unit specifically for when listening to the thread state of described first business and being idle condition,
One script file of described second business is loaded into runtime database, during being loaded into, ceases listening for described first business
Thread state;After completing a script file of described second business is loaded into described runtime database, recover to monitor
The thread state of described first business.
Wherein, described judging unit, it is additionally operable to when receiving the triggering command for described second business input, it is judged that
At least one script file of described second business is the most all loaded into described runtime database;
Described device also includes running unit, if for being the most all loaded into described runtime database, then according to whole
At least one script file of described second business being loaded into runs described second business.
Wherein, described loading unit, if being additionally operable to the most all be loaded into described runtime database, then by described second business
At least one script file in the script file that is not loaded be loaded into described runtime database;
Described running unit, is additionally operable at least one script file in described second business and is the most all loaded into described fortune
During row data base, run described second business according at least one script file of described second business being all loaded into.
Wherein, described device also includes clearing cell, is preloaded into list for empty described second business;Or, remove
Unit, for emptying being preloaded into list and releasing the monitoring of thread state to described first business of described second business.
Correspondingly, embodiment of the present invention second aspect provides a kind of script file device for loading, and described device includes interface
Circuit, memorizer and processor, wherein, store batch processing code, and processor be used for calling in memorizer in memorizer
The program code of storage, for performing the method that embodiment of the present invention first aspect provides.
In embodiments of the present invention, by when the first business is in running status, acquisition is associated with the first business
Second business, and judge that whether the active user of the first business is the history identification user of the second business, if the working as of the first business
Front user is the history identification user of the second business, then at least one script file of the second business is loaded into service data
Storehouse, thus realize the loading to script file intelligently, shorten and be loaded into duration, and then improve treatment effeciency.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
The schematic flow sheet of a kind of script file loading method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of script file loading method that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of another script file loading method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of script file device for loading that Fig. 4 provides for the embodiment of the present invention;
The structural representation being loaded into unit that Fig. 5 provides for embodiment illustrated in fig. 4;
The structural representation of the another kind of script file device for loading that Fig. 6 provides for the embodiment of the present invention;
The structural representation of another script file device for loading that Fig. 7 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
A kind of script file loading method that the embodiment of the present invention provides, can apply to have answering of multiple business forms
Load in the scene of script file by program, such as, script file device for loading, when the first business is in running status, obtains
The second business being associated with described first business, and judge whether the active user of described first business is described second business
History identification user, if the history identification user that the active user of described first business is described second business, then by described
At least one script file of second business is loaded into the scene of runtime database.The embodiment of the present invention is defeated history identification user
Before entering the triggering command for the second business, at least one script file of the second business is carried out prestrain, improve script literary composition
Intelligent, the motility of part device for loading, shortens the loading duration of script file, improves the process effect of script file device for loading
Rate, and then quickly export the business forms of the second business, save the waiting time of user.
Script file device for loading in the embodiment of the present invention can be part or all in user terminal, and user is eventually
End can include but not limited to mobile phone, PAD (panel computer), the intelligence electronic equipment such as wearable device, personal computer.This
The script loading method that bright embodiment provides can apply to, in multiple terminal operating system, can include but not limited to:
Android system, Saipan system, Windows system, IOS (Mobile operating system of Apple's exploitation) system etc..
The script loading method provided the embodiment of the present invention below in conjunction with accompanying drawing 1-accompanying drawing 3 describes in detail.
Referring to Fig. 1, for the schematic flow sheet of a kind of script loading method that the embodiment of the present invention provides, the method can be wrapped
Include step S101-step S103.
101, when the first business is in running status, obtain the second business being associated with described first business.
In implementing, multiple business of application program present to user with the form of business forms, between each business
Another business forms can be jumped to by business forms by the switching command of business forms is switched over, thus real
Now switched to run next business by one business of operation.It should be noted that certain business forms is likely to be of multiple aobvious
Showing interface, such as, chat service forms include contact person interface, session interface, session list interface etc., read business forms bag
Include books list interface, books read interface etc..
In a kind of mode in the cards, the first business is the business that the main business forms of application program are corresponding, such as
The main business forms of social networking application program are chat service forms, and main business forms also include display circle of other service identification
Face, user terminal can jump to display circle of other business forms according to user for the click commands that this display interface inputs
Face.In the mode of alternatively possible realization, the first business is the business that the business forms being currently running on application program are corresponding,
Now the display interface of these business forms includes jumping to the touch-control mark of other business forms, user terminal according to user for
The click commands of touch-control mark input can jump to the display interface of other business.Preferably the first mode in the cards.?
During jumping to certain business forms, script file device for loading is needed to be loaded into the step literary composition of this business forms correspondence business
Part could export the series of displays interface of this business.
When the first business is in running status, i.e. it is currently running the first business on certain application program, this first business
Can be the main business of this application program, it is also possible to for any one business in the non-main business of this application program, now foot
Presents device for loading obtains the second business being associated with the first business.Second business and the first business belong to same application journey
The different business of sequence, it is achieved different functions.If the first business can switch to M business, the second business can switch to N number of industry
Business, then M business includes that the second business, N number of business include the first business, M with N can equal also can be unequal, i.e. second
Can switch mutually between business and the first business.Such as, social networking application program, when the first business is chat service, the second industry
Business can be in the business such as reading business, game service, shopping service.
102, it is judged that whether the active user of described first business is the history identification user of described second business.
In implementing, script file device for loading is according to the active user that whether there is the first business in preset time period
Judge that whether the active user of described first business is the history identification user of the second business for the use information of the second business,
If there is above-mentioned use information in preset time period, it is determined that the active user of the first business is that the history identification of the second business is used
Family.The active user of the first business can be the user operated the business forms of the first business.Optionally, the first industry
The active user of business logs in the application program belonging to the first business and the second business by account number cipher, and such user terminal can root
According to the account record active user of the active user operation note to this application program.Optionally, the active user of the first business
The account number cipher of the account number cipher and the application program belonging to first business of login and the second business that log in the first business can not
Identical, or differ with the account number cipher logging in the second business, thus expand the range of application of the embodiment of the present invention.
In a kind of mode in the cards, script file device for loading uses the first business and the second industry user every time
During application program belonging to business, record use information also preserves, such as user A on May 25th, 2016 17:45 enter and read industry
The page 1 of business forms read books a, exits reading business forms at 18:20, and the page number of the books a preserved when exiting is page 13,
Now using information can include that usage time interval is 17:45-18:20 on May 25th, 2016, using object is reading business, makes
With footprint is books a page 13.Script file device for loading obtains active user's use for the second business of the first business
Information, it is judged that whether there is usage time interval in this use information in preset time period, if existing, determines working as of the first business
Front user is the history identification user of the second business.Wherein, preset time period refer to obtain the second business moment be separated by time
Between section, can be one week, 24 hours, 48 hours etc., concrete numerical value does not limits at this.
In the mode of alternatively possible realization, above-mentioned use information includes using mark, uses object, uses footprint.
Script file device for loading is labelling b when user operation uses object, elapses over time, if starting from moment of labelling b
In preset time period, user did not used the second business, then labelling B, used the available b of mark to represent.Script file device for loading obtains
Take active user's use information for the second business of the first business, it is judged that in preset time period in this use information whether
Existing and use mark, if existing, determining the history identification user that active user is the second business of the first business.
It is understood that the history identification user of the second business is the use using the second business in preset time period
Family.
103, if the history identification user that the active user of described first business is described second business, then by described second
At least one script file of business is loaded into runtime database.
In implementing, if the history identification user that the active user of the first business is the second business, then script file carries
Enter device and the script file of the second business is carried out prestrain, at least one script file of the second business is loaded into operation number
According to storehouse.In prior art, script file device for loading loads the script of this business according to user to the triggering command of certain business
File, inputs the triggering command to this business without user in the embodiment of the present invention, is identifying what active user was this business
During history identification user, the script file of this business is carried out prestrain, thus improve script file device for loading intelligent,
Motility.It is understood that preloading procedure is without leaving the business forms of the first business, script file device for loading backstage
It is loaded into script file, when receiving the triggering command for the second business, can quickly run the second business, thus at raising
Reason efficiency.
Exemplary, script file can be lua file.Lua file is the file encoded by lua script, and lua is one
Individual small and exquisite script, the purpose of design of this language is to embed in application program, thus provides flexibly for application program
Extension and customization function.Lua script file can be easily by C/C++ code call, it is also possible to call C/C++ in turn
Function.Lua provides the expansion interface and mechanism being highly susceptible to using, almost can in multiple operating systems and platform
Compiling and operation.
In a kind of mode in the cards, script file device for loading obtains at least one script literary composition of the second business
Part, and it is preloaded into list, then according to the second business according to what at least one script file of the second business generated the second business
The order being preloaded into list at least one script file of the second business is resolved be loaded into runtime database successively.
In the mode of alternatively possible realization, script file device for loading monitors the thread state of the first business, and
When thread state is idle condition, at least one script file of the second business is loaded into runtime database, thus does not affects
First business properly functioning.Optionally, when listening to the thread state of the first business and being idle condition, by the second business
One script file is loaded into runtime database, ceases listening for the thread state of the first business during being loaded into, complete by
After one script file of the second business is loaded into runtime database, recover the thread state of the first business of monitoring.I.e. listen to
When thread state i & lt is idle condition, the i-th script file at least one script file of the second business is loaded into
Runtime database, ceases listening for thread state during being loaded into;Complete to be loaded into runtime database at i-th script file
After, recover watcher thread state, and when listening to thread state i+1 time for idle condition, by least the one of the second business
I+1 script file in individual script file is loaded into runtime database, and wherein i is the integer more than or equal to 1.
Exemplary, runtime database can be Objective-C run-time library, and this run-time library is for using C voice and compilation
The storehouse that language is write, it is possible to provide OO ability for C language.Utilize this run-time library can to distribute with loading classes information
Method, execution method etc..Objective-C is a kind of programming language general, senior, OO, and it extends standard
ANSI C programming language, message passing mechanism is joined in ANSI C.
In embodiments of the present invention, by when the first business is in running status, acquisition is associated with the first business
Second business, and judge that whether the active user of the first business is the history identification user of the second business, if the working as of the first business
Front user is the history identification user of the second business, then at least one script file of the second business is loaded into service data
Storehouse, thus realize the loading to script file intelligently, shorten and be loaded into duration, and then improve treatment effeciency.
Referring to Fig. 2, for the schematic flow sheet of the another kind of script loading method that the embodiment of the present invention provides, the method can
Including step S201-step S210.
201, when the first business is in running status, obtain the second business being associated with described first business.
202, it is judged that whether the active user of described first business is the history identification user of described second business.
Step 201 and the process that realizes of step 202 in the embodiment of the present invention can be found in the step in embodiment illustrated in fig. 1
101 and the specific descriptions of step 102, do not repeat them here.
203, if the history identification user that the active user of described first business is described second business, then obtain described
At least one script file of two business.
In implementing, if the history identification user that the active user of the first business is the second business, then script file carries
Enter device and obtain at least one script file of the second business.If there is not at least one script of the second business on user terminal
File, then script file device for loading sends, to the apps server belonging to the first business and the second business, the request of download,
This apps server feeds back at least one script file of the second business to script file device for loading, and script file is loaded into
Device receives at least one script file of the second business of this application program feedback at least one script to the second business
File decompresses.If there is at least one script file of the second business on user terminal, then script file device for loading is straight
Connect at least one script file of the second business after reading decompression from user terminal.
204, it is preloaded into list according to what at least one script file of described second business generated described second business.
In implementing, after at least one script file of the second business after obtaining decompression, if the second business is extremely
A few script file is encryption file, then at least one script file of the script file device for loading the second business to obtaining
It is decrypted, is preloaded into list according to what at least one script file of the second business generated the second business after decryption;If the
At least one script file unencryption of two business, then generate the second business according at least one script file of the second business
It is preloaded into list.
Script file device for loading according to the inclusion relation between at least one script file of the second business to the second industry
What at least one script file of business was ranked up second business that generates is preloaded into list.For example, it is assumed that script file 2 needs to adjust
With script file 1, script file 3 needs to call script file 2, then the inclusion relation between these three script file is script literary composition
Part 3 comprises script file 2, and script file 2 comprises script file 1, then the order being preloaded into list of generation is followed successively by script
File 1, script file 2, script file 3, will need the script file called to come and be preloaded into before list, in order to is solving
Analysis can be quickly loaded into when being loaded into runtime database in order, improves treatment effeciency.Optionally, script file device for loading root
According to the sequencing that performs of at least one script file of the second business, at least one script file of the second business is arranged
What sequence generated the second business is preloaded into list.Optionally, script file device for loading is according at least one script of the second business
The file identification of file is ranked up generating the preloading of the second business at least one script file of described second business and falls in lines
Table.
205, according to the order being preloaded into list of described second business successively by least one foot of described second business
Presents resolves and is loaded into runtime database.
In implementing, script file device for loading according to the order being preloaded into list of the second business successively by the second industry
At least one script file of business resolves and is loaded in runtime database, sequentially resolves loading and can improve treatment effeciency.If nothing
Sequence loading may cause script file device for loading to need first to search this script file of loading when being loaded into certain script file will
The script file called, thus extend the process time.Certain script file is resolved and is loaded into runtime database by device for loading, shows
Example, this script file language conversion is become Objective-C language and adds to Objective-C run-time library, in order to
The second business is quickly loaded when receiving the triggering command to the second business.
206, when receiving the triggering command for described second business input, it is judged that at least the one of described second business
Individual script file is the most all loaded into described runtime database.
In implementing, performing during step 205 or after performing step 205, user can be to the second business
Input triggering command, optionally, this triggering command is the clicking operation to the second service identification input.Receiving for second
During the triggering command that business inputs, at least one script of the second business may the most all be loaded into runtime database;It is likely to
A part of loaded to runtime database, another part is also not loaded with to runtime database, and therefore script file is loaded into dress
Put when receiving this triggering command, it is judged that at least one script file of the second business is the most all loaded into service data
Storehouse.
207, if being the most all loaded into described runtime database, then according to described second business being all loaded at least
One script file runs described second business.
In implementing, if at least one script file of the second business is the most all loaded into runtime database, then script
File device for loading runs the second business according at least one script file of the second business being all loaded into, and is i.e. loaded onto
Script file is converted to the executable programming language of runtime database, and runs the second business according to the programming language after conversion,
Compared to existing technology, the embodiment of the present invention can quickly load the business forms of the second business, reduces the waiting time of user.
208, if being the most all loaded into described runtime database, then by least one script file of described second business
The script file being not loaded with is loaded into described runtime database.
In implementing, if at least one script file of the second business is the most all loaded into runtime database, then script
The script file being not loaded with all is loaded in runtime database by file device for loading.It is with step 205 difference, step
Rapid 205 is to resolve loading successively according to being preloaded into list, and no matter order is disposable by all script files being not loaded with for step 208
It is loaded into runtime database.
209, when at least one script file of described second business is the most all loaded into described runtime database, according to
At least one script file of described second business being all loaded into runs described second business.
In implementing, when at least one script file of the second business is the most all loaded into runtime database, script
File device for loading runs the second business according at least one script file of the second business being all loaded into, and is i.e. loaded onto
Script file is converted to the executable programming language of runtime database, and runs the second business according to the programming language after conversion.
210, empty described second business is preloaded into list.
In implementing, include at least one script file of the second business owing to being preloaded into list, take certain interior
Depositing and to the second business of running without helping, therefore at least one script file in the second business is all loaded into service data
Empty the second business behind storehouse is preloaded into list, in order to the execution of next preloading procedure.
In embodiments of the present invention, when identifying the history identification user that active user is the second business, according to being preloaded into
At least one script file of second business is loaded into runtime database by the order of list successively, it is achieved script file is sequentially
It is loaded into, thus improves treatment effeciency.
Referring to Fig. 3, for the schematic flow sheet of another script loading method that the embodiment of the present invention provides, the method can
Including step S301-step S308.
301, when the first business is in running status, obtain the second business being associated with described first business.
302, it is judged that whether the active user of described first business is the history identification user of described second business.
Step 301 and the process that realizes of step 302 in the embodiment of the present invention can be found in the step in embodiment illustrated in fig. 1
101 and the specific descriptions of step 102, do not repeat them here.
303, if the history identification user that the active user of described first business is described second business, then monitor described
The thread state of one business, and when described thread state is idle condition, by least one script literary composition of described second business
Part is loaded into runtime database.
In implementing, if the history identification user that the active user of the first business is the second business, then script file carries
Enter device and monitor the thread state of the first business, and when thread state is idle condition, by least one foot of the second business
Presents is loaded into runtime database.It is loaded into script file when thread state is idle condition, the first business can not be affected
Operation, it is also possible to make full use of idle moment.Do not accept it is understood that idle condition is the first business or sends message
State.
When listening to the thread state of the first business and being idle condition, a script file of the second business is loaded into
Runtime database, ceases listening for the thread state of the first business during being loaded into, completes a script of the second business
After file is loaded into runtime database, recover the thread state of the first business of monitoring.I.e. listen to thread state i & lt for the free time
During state, the i-th script file at least one script file of the second business is loaded into runtime database, had been loaded into
Journey ceases listening for thread state;After i-th script file completes to be loaded into runtime database, recover watcher thread state,
And when listening to thread state i+1 time for idle condition, by the i+1 at least one script file of the second business
Script file is loaded into runtime database, and wherein i is the integer more than or equal to 1.I.e. one idle condition is loaded into a script literary composition
Part, the duration that each script file is loaded into controls at about 10ms, to ensure to complete a script an idle condition
The loading of file, controls duration 10ms and is used for illustrating, and concrete numerical value does not limits at this.Exemplary, at the line of the first business
When the Runloop of journey sends BeforeWaiting, the most now the thread state of the first business is idle condition, is loaded into a foot
Presents, when upper once Runloop cycle period thread state is idle condition, is loaded into next script file.Optionally,
When listening to thread state i & lt and be idle condition, script file device for loading is according to the list that is preloaded into of the second business
This i-th script file being preloaded in list is loaded into runtime database by order, ceases listening for thread during being loaded into
State, after i-th script file completes to be loaded into runtime database, recovers watcher thread state, and is listening to thread shape
When state i+1 time is idle condition, this i+1 script file being preloaded in list is loaded into runtime database.
304, when receiving the triggering command for described second business input, it is judged that at least the one of described second business
Individual script file is the most all loaded into described runtime database.
In implementing, performing during step 303 or after performing step 303, user can be to the second business
Input triggering command, optionally, this triggering command is the clicking operation to the second service identification input.Receiving for second
During the triggering command that business inputs, at least one script of the second business may the most all be loaded into runtime database;It is likely to
A part of loaded to runtime database, another part is also not loaded with to runtime database, and therefore script file is loaded into dress
Put when receiving this triggering command, it is judged that at least one script file of the second business is the most all loaded into service data
Storehouse.
305, if being the most all loaded into described runtime database, then according to described second business being all loaded at least
One script file runs described second business.
In implementing, if at least one script file of the second business is the most all loaded into runtime database, then script
File device for loading runs the second business according at least one script file of the second business being all loaded into, and is i.e. loaded onto
Script file is converted to the executable programming language of runtime database, and runs the second business according to the programming language after conversion,
Compared to existing technology, the embodiment of the present invention can quickly load the business forms of the second business, reduces the waiting time of user.
306, if being the most all loaded into described runtime database, then by least one script file of described second business
The script file being not loaded with is loaded into described runtime database.
In implementing, if at least one script file of the second business is the most all loaded into runtime database, then script
The script file being not loaded with all is loaded in runtime database by file device for loading.It is with step 303 difference, step
Rapid 303 is to be loaded into script file according to idle condition, and no matter whether order is idle condition regardless of thread state to step 306, one
All script files being not loaded with are loaded into runtime database by secondary property.
307, when at least one script file of described second business is the most all loaded into described runtime database, according to
At least one script file of described second business being all loaded into runs described second business.
In implementing, when at least one script file of the second business is the most all loaded into runtime database, script
File device for loading runs the second business according at least one script file of the second business being all loaded into, and is i.e. loaded onto
Script file is converted to the executable programming language of runtime database, and runs the second business according to the programming language after conversion.
308, empty being preloaded into list and releasing the monitoring of thread state to described first business of described second business.
In implementing, include at least one script file of the second business owing to being preloaded into list, take certain interior
Depositing and to the second business of running without helping, therefore at least one script file in the second business is all loaded into service data
Empty the second business behind storehouse is preloaded into list, in order to the execution of next preloading procedure.Owing to step 303 starts first
The monitoring of business thread state, after at least one script file of the second business is all loaded into runtime database, it is not necessary to again
According to monitor thread state be loaded into script file, therefore empty the second business be preloaded into list while release first
The monitoring of the thread state of business, i.e. no longer monitors the thread state of the first business during the second service operation.
In embodiments of the present invention, when identifying the history identification user that active user is the second business, according to the first industry
At least one script file of second business is loaded into runtime database, in the fortune not affecting the first business by the thread state of business
Idle moment is made full use of while row.
Refer to Fig. 4, for the structural representation of a kind of script file device for loading that the embodiment of the present invention provides, described foot
Presents device for loading 40 can include acquiring unit 401, judging unit 402 and be loaded into unit 403.
Acquiring unit 401, for when the first business is in running status, obtains the be associated with described first business
Two business.
Judging unit 402, for judging that whether the active user of described first business is the history mark of described second business
Know user.
Described judging unit 402 is specifically for according to the active user that whether there is described first business in preset time period
Judge that whether the active user of described first business is the history of described second business for the use information of described second business
, if there is described use information in described preset time period, it is determined that the active user of described first business is institute in mark user
State the history identification user of the second business.
It is loaded into unit 403, if for the history identification user that active user is described second business of described first business,
Then at least one script file of described second business is loaded into runtime database.
In a kind of mode in the cards, refer to Fig. 5, the structure being loaded into unit provided for embodiment illustrated in fig. 4
Schematic diagram, is loaded into unit 403 and includes script acquiring unit 4031, list generation unit 4032 and resolve loading unit 4033.
Script acquiring unit 4031, for obtaining at least one script file of described second business.
List generation unit 4032, generates described second industry at least one script file according to described second business
That is engaged in is preloaded into list.
Resolve and be loaded into unit 4033, be used for the order being preloaded into list according to described second business successively by described second
At least one script file of business resolves and is loaded into runtime database.
Script acquiring unit 4031, list generation unit 4032, parsing are loaded into unit 4033 for realizing shown in Fig. 3 respectively
Step 203 in embodiment, step 204, step 205, do not repeat them here.
In a kind of mode in the cards, described loading unit 403 is specifically for monitoring the thread of described first business
State, and when described thread state is idle condition, at least one script file of described second business is loaded into operation
Data base.Now, described loading unit 403, for realizing the step 303 in embodiment illustrated in fig. 4, does not repeats them here.
Script file device for loading shown in Fig. 4 is for realizing the script file loading method shown in Fig. 1, the technology brought
Effect, concrete principle refers to the specific descriptions of Fig. 1, and here is omitted.
Refer to Fig. 6, the structural representation of another kind of script file device for loading provided for the embodiment of the present invention, described
Script file device for loading 60 can include acquiring unit 601, judging unit 602, is loaded into unit 603, running unit 604 and removes
Unit 605.Wherein, the concrete structure of acquiring unit 601, judging unit 602 and loading unit 603 can be found in and implements shown in Fig. 4
Acquiring unit 401, judging unit 402 and loading unit 403 in example, does not repeats them here.
Acquiring unit 601, for when the first business is in running status, obtains the be associated with described first business
Two business.
Judging unit 602, for judging that whether the active user of described first business is the history mark of described second business
Know user.
It is loaded into unit 603, if for the history identification user that active user is described second business of described first business,
Then at least one script file of described second business is loaded into runtime database.
Described judging unit 602, is additionally operable to when receiving the triggering command for described second business input, it is judged that institute
At least one script file stating the second business is the most all loaded into described runtime database.
Running unit 604, if for being the most all loaded into described runtime database, then according to described the of all loadings
At least one script file of two business runs described second business.
Described loading unit 603, if being additionally operable to the most all be loaded into described runtime database, then by described second business
The script file being not loaded with at least one script file is loaded into described runtime database.
Described running unit 604, is additionally operable at least one script file in described second business and is the most all loaded into institute
When stating runtime database, run described second industry according at least one script file of described second business being all loaded into
Business.
Clearing cell 605, is preloaded into list for empty described second business;Or, clearing cell 605, it is used for emptying
Being preloaded into list and release the monitoring of thread state to described first business of described second business.
Script file device for loading shown in Fig. 6, for realizing the script file loading method shown in Fig. 2 and Fig. 3, brings
Technique effect, concrete principle refers to the specific descriptions of Fig. 2 and Fig. 3, and here is omitted.
It is the structural representation of another script file device for loading that the embodiment of the present invention proposes please continue to refer to Fig. 7, Fig. 7
The structural representation of figure.As it is shown in fig. 7, this device includes processor 701 and interface circuit 702, figure gives memorizer
703 and bus 704, this processor 701, interface circuit 702 and memorizer 703 are connected by bus 704 and are completed mutual
Communication.
Wherein, processor 701 is used for performing following operating procedure:
When the first business is in running status, obtain the second business being associated with described first business;
Judge that whether the active user of described first business is the history identification user of described second business;
If the history identification user that the active user of described first business is described second business, then by described second business
At least one script file be loaded into runtime database.
Wherein, processor 701 performs to judge that whether the active user of described first business is the history of described second business
Following operating procedure is specifically performed during mark user:
According to the active user's use for described second business that whether there is described first business in preset time period
Information judges that whether the active user of described first business is the history identification user of described second business;
If there is described use information in described preset time period, it is determined that the active user of described first business is described
The history identification user of the second business.
Wherein, when processor 701 performs that at least one script file of described second business is loaded into runtime database
The following operating procedure of concrete execution:
Obtain at least one script file of described second business;
What at least one script file according to described second business generated described second business is preloaded into list;
The order being preloaded into list according to described second business is successively by least one script literary composition of described second business
Part resolves and is loaded into runtime database.
Wherein, processor 701 performs at least one script file according to described second business and generates described second business
Specifically perform following operating procedure when being preloaded into list:
The inclusion relation between at least one script file according to described second business is to described second business at least
What one script file was ranked up generating described second business is preloaded into list.
Wherein, when processor 701 performs that at least one script file of described second business is loaded into runtime database
The following operating procedure of concrete execution:
Monitor the thread state of described first business, and when described thread state is idle condition, by described second industry
At least one script file of business is loaded into runtime database.
Wherein, processor 701 performs when described thread state is idle condition, by least one of described second business
Following operating procedure is specifically performed when script file is loaded into runtime database:
When listening to the thread state of described first business and being idle condition, by a script literary composition of described second business
Part is loaded into runtime database, ceases listening for the thread state of described first business during being loaded into;
After completing a script file of described second business is loaded into described runtime database, recover monitoring described
The thread state of the first business.
Wherein, processor 701 performs when receiving the triggering command for described second business input, it is judged that described the
Following operating procedure is specifically performed when at least one script file of two business is the most all loaded into described runtime database:
If being the most all loaded into described runtime database, then at least one of described second business that basis is all loaded into
Script file runs described second business.
Wherein, processor 701 also performs following operating procedure:
If being the most all loaded into described runtime database, then will at least one script file of described second business not carry
The script file entered is loaded into described runtime database;
When at least one script file of described second business is the most all loaded into described runtime database, according to the most complete
At least one script file of described second business that portion is loaded into runs described second business.
Wherein, processor 701 also performs following operating procedure:
Empty described second business is preloaded into list;
Or, empty being preloaded into list and releasing the monitoring of thread state to described first business of described second business.
It should be noted that processor 701 here can be a treatment element, it is also possible to be multiple treatment elements
It is referred to as.Such as, this treatment element can be central processing unit (Central Processing Unit, CPU), it is also possible to be special
Determine integrated circuit (Application Specific Integrated Circuit, ASIC),
This device can also include input/output unit, is connected to bus 704, with by bus and processor 701 grade its
Its part connects.This input/output unit can be that operator provide an inputting interface, in order to operator pass through this input
Interface selects to deploy to ensure effective monitoring and control of illegal activities item, it is also possible to be other interface, can be by the external miscellaneous equipment of this interface.
Or it is configured to implement one or more integrated circuits of the embodiment of the present invention, such as: one or more micro-
Processor (digital singnal processor, DSP), or, one or more field programmable gate array (Field
Programmable Gate Array, FPGA).
Memorizer 703 can be a storage device, it is also possible to is the general designation of multiple memory element, and is used for storing and can hold
Line program code or application program running gear run required parameter, data etc..And memorizer 703 can include storing at random
Device (RAM), it is also possible to include nonvolatile memory (non-volatile memory), such as disk memory, flash memory
(Flash) etc..
Bus 704 can be that industry standard architecture (Industry Standard Architecture, ISA) is total
Line, external equipment interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended
Industry Standard Architecture, EISA) bus etc..This bus 704 can be divided into address bus, data total
Line, control bus etc..For ease of representing, Fig. 7 only represents with a thick line, it is not intended that an only bus or a kind
The bus of type.
It should be noted that for each embodiment of the method aforesaid, in order to be briefly described, therefore it is all expressed as one it be
The combination of actions of row, but those skilled in the art should know, and the present invention is not limited by described sequence of movement, because of
For according to the present invention, certain some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should
Knowing, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily this
Bright necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in certain embodiment
Part, may refer to the associated description of other embodiments.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage
Medium may include that flash disk, read only memory (English: Read-Only Memory, ROM), random access device (English be called for short:
RAM), disk or CD etc. literary composition: Random Access Memory, is called for short:.
The content download method provided the embodiment of the present invention above and relevant device, system are described in detail,
Principle and the embodiment of the present invention are set forth by specific case used herein, and the explanation of above example is simply used
In helping to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the present invention's
Thought, the most all will change, and in sum, this specification content should not be construed as
Limitation of the present invention.
Claims (19)
1. a script file loading method, it is characterised in that including:
When the first business is in running status, obtain the second business being associated with described first business;
Judge that whether the active user of described first business is the history identification user of described second business;
If the history identification user that the active user of described first business is described second business, then by described second business extremely
A few script file is loaded into runtime database.
Method the most according to claim 1, it is characterised in that whether the described active user judging described first business is
The history identification user of described second business, including:
According to the active user's use information for described second business that whether there is described first business in preset time period
Judge that whether the active user of described first business is the history identification user of described second business;
If there is described use information in described preset time period, it is determined that the active user of described first business is described second
The history identification user of business.
Method the most according to claim 1, it is characterised in that described at least one script file by described second business
It is loaded into runtime database, including:
Obtain at least one script file of described second business;
What at least one script file according to described second business generated described second business is preloaded into list;
The order being preloaded into list according to described second business is successively by least one script file solution of described second business
Analysis is loaded into runtime database.
Method the most according to claim 3, it is characterised in that described at least one script literary composition according to described second business
Part generate described second business be preloaded into list, including:
The inclusion relation between at least one script file according to described second business is at least one of described second business
What script file was ranked up generating described second business is preloaded into list.
Method the most according to claim 1, it is characterised in that described at least one script file by described second business
It is loaded into runtime database, including:
Monitor the thread state of described first business, and when described thread state is idle condition, by described second business
At least one script file is loaded into runtime database.
Method the most according to claim 5, it is characterised in that described when described thread state is idle condition, by institute
At least one script file stating the second business is loaded into runtime database, including:
When listening to the thread state of described first business and being idle condition, a script file of described second business is carried
Enter to runtime database, during being loaded into, cease listening for the thread state of described first business;
After completing a script file of described second business is loaded into described runtime database, recover to monitor described first
The thread state of business.
Method the most according to claim 1, it is characterised in that described method also includes:
When receiving the triggering command for described second business input, it is judged that at least one script literary composition of described second business
Part is the most all loaded into described runtime database;
If being the most all loaded into described runtime database, then according at least one script of described second business being all loaded into
Second business described in running paper.
Method the most according to claim 7, it is characterised in that at least one script literary composition of described second business of described judgement
After part is the most all loaded into described runtime database, also include:
If be the most all loaded into described runtime database, then will at least one script file of described second business be not loaded with
Script file is loaded into described runtime database;
When at least one script file of described second business is the most all loaded into described runtime database, according to the most all carrying
At least one script file of described second business entered runs described second business.
9. according to the method described in claim 7 or 8, it is characterised in that described second business that described basis is the most all loaded into
At least one script file run after described second business, also include:
Empty described second business is preloaded into list;
Or, empty being preloaded into list and releasing the monitoring of thread state to described first business of described second business.
10. a script file device for loading, it is characterised in that including:
Acquiring unit, for when the first business is in running status, obtains the second business being associated with described first business;
Judging unit, for judging that whether the active user of described first business is the history identification user of described second business;
It is loaded into unit, if for the history identification user that active user is described second business of described first business, then by institute
At least one script file stating the second business is loaded into runtime database.
11. devices according to claim 10, it is characterised in that described judging unit is specifically for according to preset time period
The most whether there is the active user of described first business and judge described first business for the use information of described second business
Whether active user is the history identification user of described second business, if there is described use information in described preset time period,
Then determine the history identification user that active user is described second business of described first business.
12. devices according to claim 10, it is characterised in that described loading unit includes:
Script acquiring unit, for obtaining at least one script file of described second business;
List generation unit, generates preloading of described second business at least one script file according to described second business
Enter list;
Resolve and be loaded into unit, for according to the order being preloaded into list of described second business successively by described second business extremely
A few script file resolves and is loaded into runtime database.
13. devices according to claim 12, it is characterised in that described list generation unit is specifically for according to described
At least one script file of described second business is arranged by the inclusion relation between at least one script file of two business
Sequence generate described second business be preloaded into list.
14. devices according to claim 10, it is characterised in that described loading unit is specifically for monitoring described first industry
The thread state of business, and when described thread state is idle condition, at least one script file of described second business is carried
Enter to runtime database.
15. devices according to claim 14, it is characterised in that described loading unit is specifically for listening to described
When the thread state of one business is idle condition, a script file of described second business is loaded into runtime database,
The thread state of described first business is ceased listening for during loading;Complete a script file load of described second business
Enter to described runtime database, recover to monitor the thread state of described first business.
16. devices according to claim 10, it is characterised in that
Described judging unit, is additionally operable to when receiving the triggering command for described second business input, it is judged that described second
At least one script file of business is the most all loaded into described runtime database;
Described device also includes:
Running unit, if for being the most all loaded into described runtime database, then according to described second business being all loaded into
At least one script file run described second business.
17. devices according to claim 16, it is characterised in that
Described loading unit, if being additionally operable to the most all be loaded into described runtime database, then by least the one of described second business
The script file being not loaded with in individual script file is loaded into described runtime database;
Described running unit, is additionally operable to the most all be loaded into described operation number at least one script file of described second business
During according to storehouse, run described second business according at least one script file of described second business being all loaded into.
18. according to the device described in claim 16 or 17, it is characterised in that described device also includes:
Clearing cell, is preloaded into list for empty described second business;
Or, clearing cell, for emptying being preloaded into list and releasing the thread shape to described first business of described second business
The monitoring of state.
19. 1 kinds of script file device for loading, it is characterised in that described device includes interface circuit, memorizer and processor,
Wherein, memorizer stores batch processing code, and processor is for calling the program code of storage in memorizer, is used for performing
The method of any one described in claim 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610388331.6A CN106055367B (en) | 2016-06-01 | 2016-06-01 | Script file loading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610388331.6A CN106055367B (en) | 2016-06-01 | 2016-06-01 | Script file loading method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106055367A true CN106055367A (en) | 2016-10-26 |
CN106055367B CN106055367B (en) | 2021-06-18 |
Family
ID=57169401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610388331.6A Active CN106055367B (en) | 2016-06-01 | 2016-06-01 | Script file loading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106055367B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109117339A (en) * | 2017-06-26 | 2019-01-01 | 北京京东尚科信息技术有限公司 | A kind of method and system that daily record data saves |
CN109714373A (en) * | 2017-10-25 | 2019-05-03 | 北京嘀嘀无限科技发展有限公司 | Script Synergistic method and device |
CN113971059A (en) * | 2020-07-22 | 2022-01-25 | 北京奇虎科技有限公司 | Method, device, equipment and storage medium for recovering equipment connection state |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080184006A1 (en) * | 2007-01-29 | 2008-07-31 | Min-Soo Moon | Method and System for Preloading Page Using Control Flow |
US20080189593A1 (en) * | 2006-11-20 | 2008-08-07 | Tim Baker | System and method for enabling flash playback of MP3 files available on a web page |
CN101632071A (en) * | 2007-02-20 | 2010-01-20 | 雅虎公司 | System and method for preloading content on the basis of user context |
CN101667147A (en) * | 2009-07-27 | 2010-03-10 | 浪潮电子信息产业股份有限公司 | Multitasking controllable automatic snapshot method |
US7747749B1 (en) * | 2006-05-05 | 2010-06-29 | Google Inc. | Systems and methods of efficiently preloading documents to client devices |
US20120167122A1 (en) * | 2010-12-27 | 2012-06-28 | Nokia Corporation | Method and apparatus for pre-initializing application rendering processes |
CN102819555A (en) * | 2012-06-27 | 2012-12-12 | 北京奇虎科技有限公司 | Method and device for loading recommended information in read mode of webpage |
CN102957712A (en) * | 2011-08-17 | 2013-03-06 | 阿里巴巴集团控股有限公司 | Method and system for loading website resources |
CN103116609A (en) * | 2013-01-18 | 2013-05-22 | 北京奇虎科技有限公司 | Server, client-side, system and method of achieving page load of browser |
US20130238762A1 (en) * | 2012-03-10 | 2013-09-12 | Headwater Partners Ii Llc | Content broker that offers preloading opportunities |
CN103488411A (en) * | 2012-06-13 | 2014-01-01 | 腾讯科技(深圳)有限公司 | Method and device for switching pages |
CN103838720A (en) * | 2012-11-20 | 2014-06-04 | 腾讯科技(深圳)有限公司 | Page file loading execution method and device |
CN104572230A (en) * | 2015-02-13 | 2015-04-29 | 小米科技有限责任公司 | Script file loading method, script file generating method and script file generating device |
US20150135161A1 (en) * | 2011-08-10 | 2015-05-14 | Zynga Inc. | Injecting features into an application |
CN105373420A (en) * | 2014-08-28 | 2016-03-02 | 北京奇虎科技有限公司 | Data transmission method and apparatus |
CN105528254A (en) * | 2015-12-07 | 2016-04-27 | 贵阳朗玛信息技术股份有限公司 | Business processing method and apparatus |
-
2016
- 2016-06-01 CN CN201610388331.6A patent/CN106055367B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7747749B1 (en) * | 2006-05-05 | 2010-06-29 | Google Inc. | Systems and methods of efficiently preloading documents to client devices |
US20080189593A1 (en) * | 2006-11-20 | 2008-08-07 | Tim Baker | System and method for enabling flash playback of MP3 files available on a web page |
US20080184006A1 (en) * | 2007-01-29 | 2008-07-31 | Min-Soo Moon | Method and System for Preloading Page Using Control Flow |
CN101632071A (en) * | 2007-02-20 | 2010-01-20 | 雅虎公司 | System and method for preloading content on the basis of user context |
CN101667147A (en) * | 2009-07-27 | 2010-03-10 | 浪潮电子信息产业股份有限公司 | Multitasking controllable automatic snapshot method |
US20120167122A1 (en) * | 2010-12-27 | 2012-06-28 | Nokia Corporation | Method and apparatus for pre-initializing application rendering processes |
US20150135161A1 (en) * | 2011-08-10 | 2015-05-14 | Zynga Inc. | Injecting features into an application |
CN102957712A (en) * | 2011-08-17 | 2013-03-06 | 阿里巴巴集团控股有限公司 | Method and system for loading website resources |
US20130238762A1 (en) * | 2012-03-10 | 2013-09-12 | Headwater Partners Ii Llc | Content broker that offers preloading opportunities |
CN103488411A (en) * | 2012-06-13 | 2014-01-01 | 腾讯科技(深圳)有限公司 | Method and device for switching pages |
CN102819555A (en) * | 2012-06-27 | 2012-12-12 | 北京奇虎科技有限公司 | Method and device for loading recommended information in read mode of webpage |
CN103838720A (en) * | 2012-11-20 | 2014-06-04 | 腾讯科技(深圳)有限公司 | Page file loading execution method and device |
CN103116609A (en) * | 2013-01-18 | 2013-05-22 | 北京奇虎科技有限公司 | Server, client-side, system and method of achieving page load of browser |
CN105373420A (en) * | 2014-08-28 | 2016-03-02 | 北京奇虎科技有限公司 | Data transmission method and apparatus |
CN104572230A (en) * | 2015-02-13 | 2015-04-29 | 小米科技有限责任公司 | Script file loading method, script file generating method and script file generating device |
CN105528254A (en) * | 2015-12-07 | 2016-04-27 | 贵阳朗玛信息技术股份有限公司 | Business processing method and apparatus |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109117339A (en) * | 2017-06-26 | 2019-01-01 | 北京京东尚科信息技术有限公司 | A kind of method and system that daily record data saves |
CN109714373A (en) * | 2017-10-25 | 2019-05-03 | 北京嘀嘀无限科技发展有限公司 | Script Synergistic method and device |
CN109714373B (en) * | 2017-10-25 | 2021-10-12 | 北京嘀嘀无限科技发展有限公司 | Script cooperation method and device |
CN113971059A (en) * | 2020-07-22 | 2022-01-25 | 北京奇虎科技有限公司 | Method, device, equipment and storage medium for recovering equipment connection state |
Also Published As
Publication number | Publication date |
---|---|
CN106055367B (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102223363B (en) | System and method for generating persistent sessions in a graphical interface for managing communication sessions | |
CN103440138B (en) | A kind of behavioral guidance method and device | |
CN111694564B (en) | Method, device, equipment and medium for compiling Flutter mixed mode | |
CN110708362B (en) | Call relation determining method and device, storage medium and electronic equipment | |
CN108509317A (en) | Log file storing method, device, electronic device and storage medium | |
CN107526598A (en) | A kind of Webpage jump control method and system | |
CN105045602A (en) | Method and device for constructing Hadoop application development framework and electronic device | |
CN104951335A (en) | Processing method and device for application program installation packages | |
CN107329659B (en) | Permission setting method and device, electronic equipment and storage medium | |
CN106055367A (en) | Script file loading method and device | |
CN106934027A (en) | Distributed reptile realization method and system | |
CN106844061A (en) | Shared resource treating method and apparatus | |
CN107741902A (en) | Program application detection method and program application detection means | |
CN104346162B (en) | Utilize the user interface creating method of IDE | |
CN103838720B (en) | Page file, which is loaded into, executes method and apparatus | |
CN110113391B (en) | Client online method and device and client operation method and device | |
Jin-Hua et al. | The w-model for testing software product lines | |
CN105468348B (en) | A kind of method, apparatus and terminal of defined interface displayed on the terminals | |
CN107222618A (en) | Terminal screenshotss method and device | |
CN112445588A (en) | Application task processing method, device and equipment and readable storage medium | |
CN106815037A (en) | The execution method and device of application function | |
CN110750419B (en) | Offline task processing method and device, electronic equipment and storage medium | |
CN110580221A (en) | Control testing method and device, storage medium and electronic equipment | |
CN110389789A (en) | A kind of application control method, equipment and computer readable storage medium | |
CN107861853A (en) | Progress prompt method, terminal and computer-readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |