CN108021374A - Exempt from that application process, device and computer-readable medium on probation are installed - Google Patents

Exempt from that application process, device and computer-readable medium on probation are installed Download PDF

Info

Publication number
CN108021374A
CN108021374A CN201711218861.7A CN201711218861A CN108021374A CN 108021374 A CN108021374 A CN 108021374A CN 201711218861 A CN201711218861 A CN 201711218861A CN 108021374 A CN108021374 A CN 108021374A
Authority
CN
China
Prior art keywords
page
probation
data cached
buffer service
exempt
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
Application number
CN201711218861.7A
Other languages
Chinese (zh)
Inventor
倪秉炬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711218861.7A priority Critical patent/CN108021374A/en
Publication of CN108021374A publication Critical patent/CN108021374A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45529Embedded in an application, e.g. JavaScript in a Web browser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Abstract

The present invention discloses one kind and exempts to install application process, device and computer-readable medium on probation.It is described to exempt from that application process on probation is installed, include the following steps:Receive the request message for the page on application on probation that mobile terminal is initiated;Judge that the data cached of the request message corresponding page whether there is in buffer service;If so, then obtaining the data cached of the page from the buffer service, and feed back to mobile terminal;If it is not, then performing the request message corresponding actions in virtual machine, and obtain the data cached of the page;Data cached by the page feeds back to mobile terminal, and by the data cached preservation of the page into buffer service.The present invention has the effect for improving the system whole efficiency for exempting to install application on probation.

Description

Exempt from that application process, device and computer-readable medium on probation are installed
Technical field
The present invention relates to field of communication technology, more particularly to exempts to install application process, device and computer-readable Jie on probation Matter.
Background technology
Increasingly abundanter with the application scenarios of smart mobile phone, more and more applications at present are developed and promoted to use Family.
In order to improve user in the application in the minds of experience, design realizes the scheme for exempting to install application on probation.Pass through peace The mode of tall and erect virtual machine, there is provided the entrance remotely connected carries out exempting to install on probation to user.Exempting from installation examination to improve user With the service speed in application, the page of application and operation are buffered in the memory of each virtual machine, greatly improve user Operating experience.
But the scheme for using user to access virtual machine still has the problems such as system whole efficiency is low.Such as each void The memory that plan machine needs is very big, and system holistic cost is high.With increasing for user on probation and application on probation, each virtual machine Memory requirements will be increasing, and system effectiveness further reduces.Since memory can not unrestrictedly increase, a virtual machine allows to connect The number of users connect is limited.
So the scheme of existing application on probation there are system whole efficiency it is low the problem of.
The content of the invention
The main object of the present invention, which is to provide, to be exempted to install application process, device and computer-readable medium on probation, it is intended to is carried Height exempts to install the system whole efficiency of application on probation.
To achieve the above object, one kind proposed by the present invention is exempted to install application process on probation, described to exempt to install and use application Method includes the following steps:
Receive the request message for the page on application on probation that mobile terminal is initiated;
Judge that the data cached of the request message corresponding page whether there is in buffer service;
If so, then obtaining the data cached of the page from the buffer service, and feed back to mobile terminal;
If it is not, then performing the request message corresponding actions in virtual machine, and obtain the data cached of the page;
Data cached by the page feeds back to mobile terminal, and the data cached preservation of the page is extremely cached In service.
Optionally, the data cached step with the presence or absence of in buffer service for judging the request message corresponding page Suddenly include:
The data cached of respective page is inquired about in buffer service according to the request message;
Inquired in the buffer service page it is data cached when, be determined to have;Otherwise, it is determined that not deposit .
Optionally, it is described exempt from application process on probation is installed further include step:
Obtain the liveness of the page in the buffer service;
When the liveness of the page reaches threshold value, then retain the data cached of the page in the buffer service; Otherwise, the data cached of the page is deleted from the buffer service.
Optionally, described the step of obtaining the liveness of the page in the buffer service, includes:
In data cached preservation to the buffer service of the page, the generated time of the page is recorded;
When reaching in the default finishing time cycle, visitation frequency is obtained as active according to the access times of the page Degree.
Optionally, it is described exempt from application process on probation is installed further include step:
Reached in default cycle renewal time, and the data cached of the page is still stored in the buffer service When, then judge whether the page has renewal;
When the page exists and updates, then the newest data cached of the page is obtained by the virtual machine, and By the newest data cached preservation of the page to the buffer service.
Optionally, it is described exempt from application process on probation is installed further include step:
When reaching default cycle renewal time, judge whether the page has renewal;
When the page exists and updates, then the newest data cached of the page is obtained by the virtual machine, and By the newest data cached preservation of the page to the buffer service.
Optionally, it is described exempt from application process on probation is installed further include step:
In data cached preservation to the buffer service of the page, the generation information of the page is recorded;
The data cached step with the presence or absence of in buffer service for judging the request message corresponding page includes:
The generation information of the page is searched according to the request message;
When inquiring the generation information of the page, it is determined to have;Otherwise, it is determined that for there is no.
Optionally, it is described exempt from application process on probation is installed further include step:
Obtain the liveness of the page in the buffer service;
When the liveness of the page reaches threshold value, then retain the generation information of the page, and in the caching Retain the data cached of the page in service;Otherwise the generation information of the page is deleted, and from the buffer service Delete the data cached of the page.
Exempt to install application apparatus on probation present invention also offers one kind, it is described exempt from application apparatus on probation is installed include:Storage Device, processor and what is be stored on the memory and can run on the processor exempt to install application program on probation, it is described Exempt to install and the step of exempting to install application process on probation described above is realized when application program on probation is performed by the processor.
Present invention also offers a kind of computer-readable medium, it is stored with to exempt to install on the computer-readable medium and tries out Application program, it is described exempt to install when application program on probation is executed by processor realize described above exempt from that application process on probation is installed Step.
It is provided by the present invention to exempt from that application process on probation is installed, by by page data unique caching in buffer service, So as to greatly reduce to the required memory headroom of separate unit virtual machine, and the regular operations control of user is flowed to Buffer service, also greatly reduces the CPU usage of separate unit virtual machine, so as to allow a virtual function to accommodate more use Family;And allow user to experience the faster speed of service during on probation, it ensure that more preferable user experience.Therefore, this hair Bright provided application process on probation of exempting to install has the effect of raising system whole efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Structure according to these attached drawings obtains other attached drawings.
Fig. 1 is the module diagram of the principle of the invention;
Fig. 2 exempts to install the flow chart of application process first embodiment on probation for the present invention;
Fig. 3 is to exempt to install game of the playing chess schematic diagram on probation of application process on probation shown in Fig. 2;
Fig. 4 is game of playing chess shown in Fig. 3 page schematic diagram on probation;
Fig. 5 tries out schematic diagram to exempt to install the tourism assistant of application process on probation shown in Fig. 2;
Fig. 6 tries out page schematic diagram for tourism assistant shown in Fig. 5;
Fig. 7 is the flow diagram of the step S102 shown in Fig. 2;
Fig. 8 exempts to install the flow chart of application process second embodiment on probation for the present invention;
Fig. 9 is the flow diagram of the step S206 shown in Fig. 8;
Figure 10 exempts to install the flow chart of application process 3rd embodiment on probation for the present invention;
Figure 11 exempts to install the flow chart of application process fourth embodiment on probation for the present invention;
Figure 12 exempts to install the flow chart of the 5th embodiment of application process on probation for the present invention;
Figure 13 exempts to install the flow chart of application process sixth embodiment on probation for the present invention;
Figure 14 is the flow diagram of the step S602 shown in Figure 13;
Figure 15 exempts to install the flow chart of the 7th embodiment of application process on probation for the present invention;
Figure 16 is that the present invention exempts to install the module signal of one embodiment of application apparatus on probation;
Figure 17 is to exempt to install the internal structure schematic diagram of the server of application apparatus embodiment on probation according to the present invention.
Figure 18 is that the present invention exempts to install the module signal of one embodiment of computer-readable medium.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In traditional scheme, mobile terminal will be directly connected with virtual machine, then carry out data exchange with virtual machine, Obtain the page needed for user.Such as homepage or the above details of several news are checked in news client.User's is each A access and each operation can correspond to a specific page.In traditional scheme, virtual opportunity response mobile terminal Ask each time, and feed back the corresponding page.
And the solution of the present invention can be briefly described by Fig. 1.In Fig. 1, the request that mobile terminal is sent, Processing will be passed through, it will preferentially search from buffer service, in the case where can not find, can just be performed by virtual machine dynamic Make, and generate the corresponding page, then feed back to mobile terminal.
Fig. 2 is refer to, the present invention exempts to install the first embodiment of application process on probation.
It is described exempt to install and use application process include the following steps:
Step S101, receives the request message for the page on application on probation that mobile terminal is initiated.
Each access and each operation due to user can correspond to a specific page.Therefore, the request Message can ask any one page, and any one subpage frame of any one page subordinate etc..
Step S102, judges that the data cached of the request message corresponding page whether there is in buffer service;If so, Then perform step S103;If it is not, then perform step S104.
By analysis request message, it is what that can obtain its required page.The scheme for performing above-mentioned judgement can be with It is a variety of.For example, each page that record user can be accessed, and the page of each access is numbered, protect Numbering and the correspondence of the specific page are deposited, so as to reach the effect easy to retrieval, further, is retrieved by retrieving numbering Whether the data cached of corresponding page is present in buffer service to carry out above-mentioned judgement.It is of course also possible to by directly retrieving Whether the title of the page, cache data content, or other elements are matched to carry out above-mentioned judgement.
Step S103, obtains the data cached of the page from the buffer service, and feeds back to mobile terminal.
When completely data cached there are the page in judging buffer service, then it can directly read that this is data cached, And feed back to mobile terminal.The feedback procedure has the characteristics that reaction speed is fast.
When usually trying out application, the page that most user often accesses and operates during on probation is general It is exactly a few.Therefore, after multi-pass operation, buffer service disclosure satisfy that most access request.So as to cache clothes The business operation regular by user is shunted, this, which will be greatly reduced, accesses virtual machine, reduces the performance requirement to virtual machine. Also, data cached in buffer service due to reading, which performs shared for the action for obtaining the page Resource is few, therefore is enable to respond quickly a large amount of requests.Therefore, cache server can also meet a large number of users while ask Situation.
Step S104, performs the request message corresponding actions in virtual machine, and obtains the data cached of the page.
In judging buffer service be not present the page it is completely data cached when, then need to perform phase by virtual machine The action answered, so as to obtain the corresponding page of request message.
Step S105, data cached by the page feed back to mobile terminal, and by the data cached of the page Preserve into buffer service.
The data cached preservation of the page is into buffer service, then when needing to ask the page next time, Ke Yizhi It is connected in cache server and obtains.
What the present embodiment was provided exempts to install application process on probation, by by page data unique caching in buffer service In, so as to greatly reduce to the required memory headroom of separate unit virtual machine, and by the regular operations control stream of user Buffer service has been arrived, has also greatly reduced the CPU usage of separate unit virtual machine, it is more so as to allow a virtual function to accommodate User;And allow user to experience the faster speed of service during on probation, it ensure that more preferable user experience.Therefore, What the present embodiment was provided, which exempts to install application process on probation, has the effect of raising system whole efficiency.
Such as:
Fig. 3 is refer to, Fig. 3 is shown using the above-mentioned mobile terminal and server for exempting from installation and application.
Mobile terminal is connected by wireless network with server.
In follow-up description, the suffix using such as " module ", " component " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
When user starts application market in the terminal, and one is chosen in application, ejecting the related boundary of the application Face.In the interface, including the related introduction to the application, and download button and button on probation.When user choose download by During button, then corresponding client is downloaded to the internal reservoir of mobile terminal from server, then carry out corresponding installation completely;When with When family selection is on probation, then corresponding server on probation is connected, only downloads basic resource, which is mostly just visitor completely The 5% to 20% or so of family end.
As shown in figure 3, user have selected " game of playing chess " in application market in application market at this time.When user chooses When " download ", then all resources in " game of playing chess " are downloaded into the storage of mobile terminal by server, with local resource Game of playing chess is carried out to load the information such as " game of playing chess " each page.Since complete client is usually larger, download Process it is usually longer, according to the difference of client size, it usually needs client wait 1 to 10 minute.
And when user chooses " on probation ", then server on probation is connected to, is downloaded from the buffer service of server on probation Basic resource.Since required resource on probation is usually seldom, the process downloaded is usually very short, it usually needs client waits 5 Second was to 10 seconds.In the present embodiment, illustrated by taking the five fingers chess as an example.The basic resource of " game of playing chess " can then include The function of often using that most of user uses.And in the five fingers chess, including chessboard information, colouring information of beginning. Therefore seldom resource is only needed.
Incorporated by reference to referring to Fig. 4, when mobile terminal is downloaded, and runs the basic resource, the picture of mobile terminal is It is shown go out " game of playing chess " basic framework picture.And at this time, computing is not carried out by virtual machine, because these are basic Framework resources can run in advance, and be put into cache server.
When user starts to play chess, such as user is black, in the state begun.Fall when user is first-hand Son finishes, and when black mole is fallen on one of grid, which is fed back to server on probation by mobile terminal.Server on probation will Can check in buffer service whether deposit with this it is first-hand begin it is corresponding data cached.If corresponding caching number is inquired at this time According to, then it is corresponding data cached according to this, begin to control white side to carry out second-hand.
When so circulation progress to the 20th hand is begun, when server on probation can not find current chess in its buffer service During the respective cache data of office, then current chess game is fed back into virtual machine.
At this time, virtual machine will be understood current chess game, judge current chess according to pre-set algorithm of playing chess Office tendency and should how to tackle.Preferably, anticipation resolving can be carried out by virtual machine, such as prejudges current 21 hand and fall After son, the position begun of anticipation the 22nd hand of user, and corresponding 23rd hand is begun etc. when the anticipation comes true.Service on probation Device preserves the resolving information of virtual machine to buffer service, and the 21st hand information of beginning is fed back to mobile terminal.
Preserve to the 21st hand of buffer service and begin, then can directly be taken when next identical chess game occurs from caching Read in business and feed back to mobile terminal, so as to improve the speed of feedback, and reduce the step of virtual machine is calculated.
The citing of another application has also been carried out to the present embodiment herein:
It refer in Fig. 5, user have selected " the tourism assistant " in application market in application market at this time.When user selects In " download " when, then all resources in " tourism assistant " are downloaded by server into the storage of mobile terminal, with local money Source loads the operation that the information such as " tourism assistant " each page carry out " tourism assistant ".Due to complete client usually compared with Greatly, thus download process it is usually longer, according to the difference of client size, it usually needs client wait 1 to 10 minute.
And when user chooses " on probation ", then server on probation is connected to, is downloaded from the buffer service of server on probation Basic resource.Since required resource on probation is usually seldom, the process downloaded is usually very short, it usually needs client waits 5 Second was to 10 seconds.In the present embodiment, illustrated by taking Destination Management as an example.The basic resource of " tourism assistant " can then wrap Include the function of often using that most of user uses.And in " tourism assistant ", including interface layout information, the frame at interface Frame information, the recommendation of interface item.Therefore seldom resource is only needed.
Incorporated by reference to referring to Fig. 6, when mobile terminal is downloaded, and runs the basic resource, the picture of mobile terminal is It is shown go out " tourism assistant " basic framework picture.The frame picture exhibition currently has 5 sports, is " complete respectively Into ", " plan ", " stranded ", " long term " and " recommendation ".Currently " complete " item and be in selected state, therefore current interface illustrates " completion " item is in picture during selected state.The project that user has completed is illustrated at this time, including " climbs Qomolangma Peak ", " climbing Qogir Feng ", " climbing Kanchenjunga " etc..And at this time, computing is not carried out by virtual machine, because These basic framework resources, and the resource that user is commonly used can be run in advance, and are put into cache server.
As user's operation tourism assistant, such as user clicks on the item in " climbing Mountain Everest ", at this time then can be with Go the relevant information in lookup Mountain Everest, and the relevant information in individual subscriber and Mountain Everest.Wherein, Mountain Everest Information belong to general information, then can be stored in by advance processing in buffer service.And individual subscriber and Zhu Mulang The relevant information at agate peak, then can carry out computing by virtual machine, obtain corresponding correlated results.Then by the correlation of lookup As a result customer mobile terminal is fed back to, and is preserved to buffer service.
When user is recent, such as 1 hour, 5 hours, or check that the user is personal solemn with pearl within 1 day again During the relevant information at bright agate peak, then corresponding information can be found in buffer service, therefore user checks pearl Mu in the recent period During the relevant information at bright agate peak, it can directly transfer the cache information in buffer service and feed back to user.Therefore, caching clothes Business reduces the number of run of virtual machine, reduces the resource of virtual machine occupancy.
When for example user clicks on " recommendation " sport again, searched first from the buffer service in server on probation, if energy Enough find corresponding recommendation message.If the recommendation message can be found, directly corresponding caching number is transferred from buffer service According to feeding back to mobile terminal.Certainly, it is preferably content that should not be expired to try out the recommended content of service.Such as this year is 2017 Year, if recommending the popular project of 2013, which is not appropriate for.It is therefore preferred that server on probation is in the recommendation Appearance is managed.
Since recommended project should belong to the project that user often uses, server on probation can keep market Update recommended project.For example, setting a timer, virtual machine was allowed to perform the operation for once updating recommendation every 1 day.Then will The result that virtual machine operations are obtained is preserved to buffer service, so as to will preserve more new recommended project in buffer service.Cause This, the recommendation that user is obtained by buffer service, even if it is not the newest content just to have generated, and Ying Ji is pushed away Recommend content.So as to meet the novelty of content, while when asking recommendation, also reduce and the resource of virtual machine is accounted for With, and can directly be obtained from buffer service.
It refer to Fig. 7, in the present embodiment, the step S102 judges that the data cached of request message corresponding page is The no step being present in buffer service includes:
Step S1021, the data cached of respective page is inquired about according to the request message in buffer service.
Query page is data cached in buffer service, can be carried out according to keywords such as the title of the page, numberings Search.
Step S1022, inquired in the buffer service page it is data cached when, be determined to have;Otherwise, It is judged to being not present.
The data cached of the page is inquired in the buffer service, it should be appreciated that corresponding numbering is inquired, And it is completely data cached to read the page in corresponding storage address.
The present embodiment, by directly inquiring about the data cached of the corresponding page in cache server, then has and judges stream Journey is simple, the reliable effect of real result of inquiry.
Fig. 8 is refer to, the present embodiment exempts to install the second embodiment of application process on probation.The present embodiment is with first embodiment Based on, and increased step newly, it is specific as follows:
Step S201, receives the request message for the page on application on probation that mobile terminal is initiated;
Step S202, judges that the data cached of the request message corresponding page whether there is in buffer service;If so, Then perform step S203;If it is not, then perform step S204.
Step S203, obtains the data cached of the page from the buffer service, and feeds back to mobile terminal.
Step S204, performs the request message corresponding actions in virtual machine, and obtains the data cached of the page.
Step S205, data cached by the page feed back to mobile terminal, and by the data cached of the page Preserve into buffer service.
Above step is identical with the step in first embodiment, specifically may be referred to above-described embodiment, and details are not described herein.
Step S206, obtains the liveness of the page in the buffer service.
Liveness, can be calculated by access times, residence time, access hierarchical depth etc. into weighted statistical.
Step S207, when the liveness of the page reaches threshold value, then retains the page in the buffer service It is data cached;Otherwise, the data cached of the page is deleted from the buffer service.
The present embodiment, is deleted by further counting the liveness of the page, and by the relatively low page of liveness, so as to To ensure in buffer service only to retain the page data that user often accesses, reach the load for reducing buffer service, reduce caching The use in space, reduces system cost, improves the effect of system effectiveness.
Include incorporated by reference to the step of referring to Fig. 9, the step S206 obtains the liveness of the page in the buffer service:
Step S2061, in data cached preservation to the buffer service of the page, records the generated time of the page.
Step S2062, when reaching in the default finishing time cycle, obtains according to the access times of the page and accesses frequency It is secondary to be used as liveness.
The finishing time cycle can be the timer for page setup, such as the timing since the production time, one A finishing time cycle terminates when reaching.Certain finishing time cycle can also be the timer for all page setups, example Such as.When a certain page completely enters a finishing time cycle, the page that the page reaches for the finishing time cycle is judged.Its In, the finishing time cycle can be set as needed, such as be set as a hour, half a day or one day etc.;The threshold of liveness Value may be set to be 10,100 or 1000 times etc..
The present embodiment, by recording the generated time of the page, then can judge its finishing time for each page Whether the cycle reaches, and reaches the judgement of time cycle more accurately effect.Further, obtained by the access times of the page Liveness, it may have statistics is simple, statistical result accurately and effectively effect.
Figure 10 is refer to, the present invention exempts to install the 3rd embodiment of application process on probation, and the present embodiment is with second embodiment Based on, increase step newly, it is specific as follows:
Step S301, receives the request message for the page on application on probation that mobile terminal is initiated.
Step S302, judges that the data cached of the request message corresponding page whether there is in buffer service;If so, Then perform step S303;If it is not, then perform step S304.
Step S303, obtains the data cached of the page from the buffer service, and feeds back to mobile terminal.
Step S304, performs the request message corresponding actions in virtual machine, and obtains the data cached of the page.
Step S305, data cached by the page feed back to mobile terminal, and by the data cached of the page Preserve into buffer service.
Step S306, obtains the liveness of the page in the buffer service.
Step S307, when the liveness of the page reaches threshold value, then retains the page in the buffer service It is data cached;Otherwise, the data cached of the page is deleted from the buffer service.
Above step is identical with the step in second embodiment, specifically may be referred to above-described embodiment, and details are not described herein.
Step S308, reaches in default cycle renewal time, and the data cached of the page is still stored in institute When stating buffer service, then judge whether the page has renewal.
Cycle renewal time can set according to demand, such as update the faster page, and it is 1 small to set the update cycle Shi Gengxin, 12 hour renewals of the page infrequently updated.Determine whether to update, can check the version number or more of the page New time etc. information is judged.Further, if the page exists and buffer service, can be determined that the service is user The common page.
Step S309, when the page exists and updates, then by the virtual machine, such as calls corresponding interface to go to institute In the application service for stating the page, the newest data cached of the page is obtained, and by the newest data cached guarantor of the page Deposit to the buffer service.
To the common page of user, advancing updating can be carried out to the page so that when user accesses, can directly read It is data cached in buffer service, you can to obtain the latest data of the page.
The present embodiment, by setting timer, when reaching in cycle renewal time, goes acquisition to remain in buffer service In the page whether have renewal, if so, then from virtual machine obtain the page it is newest data cached.So as to again please in user When seeking the page, by newest data cached transmission to mobile terminal.Relative to traditional scheme, the scheme of the present embodiment is not required to To go to realize notice of the application service to oneself renewal of the page again, therefore further increase system effectiveness, can more be adapted to exempt from The not high characteristic of installation requirement of real-time of the application for page data on probation.
Figure 11 is refer to, the present invention exempts to install the fourth embodiment of application process on probation, and the present embodiment is with first embodiment Based on, increase step newly, it is specific as follows:
Step S401, receives the request message for the page on application on probation that mobile terminal is initiated.
Step S402, judges that the data cached of the request message corresponding page whether there is in buffer service;If so, Then perform step S403;If it is not, then perform step S404.
Step S403, obtains the data cached of the page from the buffer service, and feeds back to mobile terminal.
Step S404, performs the request message corresponding actions in virtual machine, and obtains the data cached of the page.
Step S405, data cached by the page feed back to mobile terminal, and by the data cached of the page Preserve into buffer service.
Above step is identical with the step in first embodiment, specifically may be referred to above-described embodiment, and details are not described herein.
Step S406, when reaching default cycle renewal time, judges whether the page has renewal.
In the present embodiment, when reaching in cycle renewal time, judge whether the page has renewal, so as to know the page When having renewal, the page is updated in advance, so as to improve user experience.
Step S407, when the page exists and updates, then by the virtual machine, such as calls corresponding interface to go to institute In the application service for stating the page, the newest data cached of the page is obtained, and by the newest data cached guarantor of the page Deposit to the buffer service.
The present embodiment, by setting timer, when reaching in cycle renewal time, the page for going acquisition user requested is It is no to have renewal, if so, then the acquisition page is newest data cached from virtual machine, so as to ask the page again in user When, by newest data cached transmission to mobile terminal.The present embodiment can all update the requested page of user again, then It disclosure satisfy that the individual demand of user, the page can be directly directly obtained from buffer service, improve the access speed of user Degree, reduces waiting time of the user when asking the page.
Figure 12 is refer to, the present invention exempts to install the 5th embodiment of application process on probation, and the present embodiment is with 3rd embodiment Based on, step is have modified, it is specific as follows:
Step S501, receives the request message for the page on application on probation that mobile terminal is initiated.
Step S502, judges that the data cached of the request message corresponding page whether there is in buffer service;If so, Then perform step S503;If it is not, then perform step S504.
Step S503, obtains the data cached of the page from the buffer service, and feeds back to mobile terminal.
Step S504, performs the request message corresponding actions in virtual machine, and obtains the data cached of the page.
Step S505, data cached by the page feed back to mobile terminal, and by the data cached of the page Preserve into buffer service.
Step S506, obtains the liveness of the page in the buffer service.
Step S507, when the liveness of the page reaches threshold value, then retains the page in the buffer service It is data cached;Otherwise, the data cached of the page is deleted from the buffer service.
Above step is identical with the step in 3rd embodiment, specifically may be referred to above-described embodiment, and details are not described herein.
Step S508, when reaching default cycle renewal time, then judges whether the page has renewal.
Relative in 3rd embodiment, only the page being still had in buffer service is updated, this implementation is to asking All pages asked all are updated, therefore can be reached into one to the scope bigger of buffer service with the renewal page Step improves the effect of the response speed of user's request.
Step S509, when the page exists and updates, then by the virtual machine, such as calls corresponding interface to go to institute In the application service for stating the page, the newest data cached of the page is obtained, and by the newest data cached guarantor of the page Deposit to the buffer service.
The present embodiment, is updated by query page, when finding that the page has renewal, then obtains the page by virtual machine It is newest data cached and preserve to the buffer service.Also, due to the present embodiment, do not inquire about whether the page is currently deposited In buffer service, therefore, the Page Range that can reach renewal is wider.Therefore, it is possible to meet the individual demand of user, The page can be directly directly obtained from buffer service, improves the access speed of user, reduces user when asking the page Waiting time.Further, when the page of renewal is after next adjustment cycle, still execution frequency is not up to threshold The step of being worth, then deleting the page, so as to reach the effect for the system occupancy resource for reducing buffer service.
Figure 13 is refer to, the present invention exempts to install the sixth embodiment of application process on probation, and the present embodiment is with first embodiment Based on, step is added, it is specific as follows:
Step S601, receives the request message for the page on application on probation that mobile terminal is initiated.
Step S602, judges that the data cached of the request message corresponding page whether there is in buffer service;If so, Then perform step S603;If it is not, then perform step S604.
Step S603, obtains the data cached of the page from the buffer service, and feeds back to mobile terminal.
Step S604, performs the request message corresponding actions in virtual machine, and obtains the data cached of the page.
Step S605, data cached by the page feed back to mobile terminal, and by the data cached of the page Preserve into buffer service.
Above step is identical with the step in first embodiment, specifically may be referred to above-described embodiment, and details are not described herein.
Step S606, in data cached preservation to the buffer service of the page, records the generation information of the page.
Wherein, generation information can include generated time, request end identification code and requests for page identification code etc..
Incorporated by reference to referring to Figure 14, the step S602 judges that the data cached of request message corresponding page whether there is Step in buffer service includes:
Step S6021, the generation information of the page is searched according to the request message.
Step S6022, when inquiring the generation information of the page, is determined to have;Otherwise, it is determined that for there is no.
The present embodiment, by when data cached preservation is to buffer service, the extra generation information for preserving the page, and In the presence of whether the decision request page is in buffer service, by whether preserving generation information to judge, it is more easy to so as to have In retrieval, the effect of recall precision higher.
Figure 15 is refer to, the present invention exempts to install the 7th embodiment of application process on probation, and the present embodiment is with sixth embodiment Based on, step is added, it is specific as follows:
Step S701, receives the request message for the page on application on probation that mobile terminal is initiated.
Step S702, judges that the data cached of the request message corresponding page whether there is in buffer service;If so, Then perform step S703;If it is not, then perform step S704.
Step S703, obtains the data cached of the page from the buffer service, and feeds back to mobile terminal.
Step S704, performs the request message corresponding actions in virtual machine, and obtains the data cached of the page.
Step S705, data cached by the page feed back to mobile terminal, and by the data cached of the page Preserve into buffer service.
Step S706, in data cached preservation to the buffer service of the page, records the generation information of the page;
Above step is identical with the step in sixth embodiment, specifically may be referred to above-described embodiment, and details are not described herein.
Step S707, obtains the liveness of the page in the buffer service.
Step S708, when the liveness of the page reaches threshold value, then retains the generation information of the page, and Retain the data cached of the page in the buffer service;Otherwise the generation information of the page is deleted, and is delayed from described The data cached of the page is deleted in the service of depositing.
The present embodiment, by counting the liveness of the page, then deletes the page that liveness is less than threshold value, so as to keep away The resource occupation for exempting from buffer service is excessive.And while data cached in deleting buffer service, delete the generation of the page Information, so as to ensure there are during the generation information of the page, then there are the data cached of the page, realize generation information with Data cached same life is same to go out.So that by query generation information to determine whether there are data cached scheme to stablize Operation.
According to the present embodiment example, the label of above-mentioned steps is not used to limit each step in the present embodiment Sequencing, the numbering of each step are intended merely to allow the general label for quoting step when describing each step to carry out Easily refer to, as long as the logical relation that the order that each step performs does not influence the present embodiment represents to ask to protect in the application Within the scope of shield.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to realized by hardware, but very much In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, which is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate Machine, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Exempt from that application apparatus on probation is installed present invention also offers one kind.
Figure 16 is refer to, the application apparatus on probation of exempting to install present embodiments provided includes:Memory 101, processor 102 It is described and what is be stored on the memory 101 and can be run on the processor 102 exempts to install application program 103 on probation Exempt to install when application program 103 on probation is performed by the processor 102 and realize following steps:
Step S101, receives the request message for the page on application on probation that mobile terminal is initiated.
Step S102, judges that the data cached of the request message corresponding page whether there is in buffer service;If so, Then perform step S103;If it is not, then perform step S104.
Step S103, obtains the data cached of the page from the buffer service, and feeds back to mobile terminal.
Step S104, performs the request message corresponding actions in virtual machine, and obtains the data cached of the page.
Step S105, data cached by the page feed back to mobile terminal, and by the data cached of the page Preserve into buffer service.
What the present embodiment was provided exempts to install application apparatus on probation, by by page data unique caching in buffer service In, so as to greatly reduce to the required memory headroom of separate unit virtual machine, and by the regular operations control stream of user Buffer service has been arrived, has also greatly reduced the CPU usage of separate unit virtual machine, it is more so as to allow a virtual function to accommodate User;And allow user to experience the faster speed of service during on probation, it ensure that more preferable user experience.Therefore, What the present embodiment was provided, which exempts to install application apparatus on probation, has the effect of raising system whole efficiency.
Further, exempting to install application apparatus on probation and can also operate in and above-mentioned exempt to install application on probation in the present embodiment Scheme in other each embodiments of method, and there is corresponding effect, above-described embodiment is specifically refer to, herein no longer Repeat.
Figure 17 is refer to, Figure 17 is the internal structure schematic diagram for exempting to install server in application apparatus embodiment on probation, should Server can be the server where local value-added service platform.With reference to Figure 17, which includes connecting by system bus Processor, memory, input unit, display screen and the network interface connect.Wherein, which includes non-volatile memory medium And built-in storage, the non-volatile memory medium of the server can storage program area and computer-readable instruction, the computer Readable instruction is performed, and may be such that processor performs one kind of each embodiment of the application and exempts to install application process on probation, the party The specific implementation process of method refers to the particular content of the various embodiments described above, and details are not described herein.The processor of the server is used In providing calculating and control ability, the operation of whole server is supported.Computer-readable instruction can be stored in the built-in storage, When the computer-readable instruction is executed by processor, it may be such that processor performs the method for exempting to install application on probation.Server Input unit is used for the input of parameters, and the display screen of server is used to be shown, the network interface of server be used for into Row network service.It will be understood by those skilled in the art that the structure shown in Figure 17, only with the relevant portion of application scheme The block diagram of separation structure, does not form the restriction for the server being applied thereon to application scheme, and specific server can be with Including than more or fewer components shown in figure, either combining some components or being arranged with different components.
Present invention also offers a kind of computer-readable medium.
Figure 18 is refer to, is stored with the computer-readable medium and exempts from that application program 201 on probation is installed, it is described to exempt to install Application program 201 on probation realizes following steps when being executed by processor:
Step S101, receives the request message for the page on application on probation that mobile terminal is initiated.
Step S102, judges that the data cached of the request message corresponding page whether there is in buffer service;If so, Then perform step S103;If it is not, then perform step S104.
Step S103, obtains the data cached of the page from the buffer service, and feeds back to mobile terminal.
Step S104, performs the request message corresponding actions in virtual machine, and obtains the data cached of the page.
Step S105, data cached by the page feed back to mobile terminal, and by the data cached of the page Preserve into buffer service.
The computer-readable medium that the present embodiment is provided, by by page data unique caching in buffer service, from And greatly reduce to the required memory headroom of separate unit virtual machine, and the regular operations control of user has been flowed to and has been delayed The service of depositing, also greatly reduces the CPU usage of separate unit virtual machine, so as to allow a virtual function to accommodate more use Family;And allow user to experience the faster speed of service during on probation, it ensure that more preferable user experience.Therefore, this reality Applying the computer-readable medium that example is provided has the effect of raising system whole efficiency.
Further, the computer-readable medium in the present embodiment, which is also stored in, above-mentioned exempts to install application process on probation Other each embodiments in scheme, and there is corresponding effect, specifically refer to above-described embodiment, it is no longer superfluous herein State.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, services Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make very much Form, these are belonged within the protection of the present invention.

Claims (10)

1. one kind is exempted to install application process on probation, it is characterised in that it is described exempt to install and use application process include the following steps:
Receive the request message for the page on application on probation that mobile terminal is initiated;
Judge that the data cached of the request message corresponding page whether there is in buffer service;
If so, then obtaining the data cached of the page from the buffer service, and feed back to mobile terminal;
If it is not, then performing the request message corresponding actions in virtual machine, and obtain the data cached of the page;
Data cached by the page feeds back to mobile terminal, and by the data cached preservation of the page to buffer service In.
2. as claimed in claim 1 exempt from that application process on probation is installed, it is characterised in that described to judge that the request message corresponds to The data cached step with the presence or absence of in buffer service of the page includes:
The data cached of respective page is inquired about in buffer service according to the request message;
Inquired in the buffer service page it is data cached when, be determined to have;Otherwise, it is determined that for there is no.
3. as claimed in claim 1 exempt from that application process on probation is installed, it is characterised in that described to exempt from that application process on probation is installed also Including step:
Obtain the liveness of the page in the buffer service;
When the liveness of the page reaches threshold value, then retain the data cached of the page in the buffer service;Otherwise, The data cached of the page is deleted from the buffer service.
4. as claimed in claim 3 exempt from that application process on probation is installed, it is characterised in that described to obtain page in the buffer service The step of liveness in face, includes:
In data cached preservation to the buffer service of the page, the generated time of the page is recorded;
When reaching in the default finishing time cycle, visitation frequency is obtained as liveness according to the access times of the page.
5. as claimed in claim 4 exempt from that application process on probation is installed, it is characterised in that described to exempt from that application process on probation is installed also Including step:
Reached in default cycle renewal time, and when the page data cached is still stored in the buffer service, Then judge whether the page has renewal;
When the page exists and updates, then the newest data cached of the page is obtained by the virtual machine, and by institute The newest of the page is stated data cached to preserve to the buffer service.
6. exempt from that application process on probation is installed such as Claims 1-4 any one of them, it is characterised in that described to exempt from installation on probation Application process further includes step:
When reaching default cycle renewal time, judge whether the page has renewal;
When the page exists and updates, then the newest data cached of the page is obtained by the virtual machine, and by institute The newest of the page is stated data cached to preserve to the buffer service.
7. as claimed in claim 1 exempt from that application process on probation is installed, it is characterised in that described to exempt from that application process on probation is installed also Including step:
In data cached preservation to the buffer service of the page, the generation information of the page is recorded;
The data cached step with the presence or absence of in buffer service for judging the request message corresponding page includes:
The generation information of the page is searched according to the request message;
When inquiring the generation information of the page, it is determined to have;Otherwise, it is determined that for there is no.
8. as claimed in claim 7 exempt from that application process on probation is installed, it is characterised in that described to exempt from that application process on probation is installed also Including step:
Obtain the liveness of the page in the buffer service;
When the liveness of the page reaches threshold value, then retain the generation information of the page, and in the buffer service It is middle to retain the data cached of the page;Otherwise the generation information of the page is deleted, and is deleted from the buffer service The page it is data cached.
9. one kind is exempted to install application apparatus on probation, it is characterised in that it is described exempt from application apparatus on probation is installed include:Memory, place Reason device and what is be stored on the memory and can run on the processor exempt to install application program on probation, it is described to exempt to install Application program on probation is realized when being performed by the processor to be exempted to install application on probation as described in any item of the claim 1 to 8 The step of method.
10. a kind of computer-readable medium, it is characterised in that be stored with the computer-readable medium and exempt to install application on probation Program, it is described exempt to install realized when application program on probation is executed by processor and exempt to pacify as described in any item of the claim 1 to 8 Dress tries out the step of application process.
CN201711218861.7A 2017-11-28 2017-11-28 Exempt from that application process, device and computer-readable medium on probation are installed Pending CN108021374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711218861.7A CN108021374A (en) 2017-11-28 2017-11-28 Exempt from that application process, device and computer-readable medium on probation are installed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711218861.7A CN108021374A (en) 2017-11-28 2017-11-28 Exempt from that application process, device and computer-readable medium on probation are installed

Publications (1)

Publication Number Publication Date
CN108021374A true CN108021374A (en) 2018-05-11

Family

ID=62077324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711218861.7A Pending CN108021374A (en) 2017-11-28 2017-11-28 Exempt from that application process, device and computer-readable medium on probation are installed

Country Status (1)

Country Link
CN (1) CN108021374A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428243A (en) * 2012-05-21 2013-12-04 阿里巴巴集团控股有限公司 Implementation method, device and system for static storage of dynamic webpage
CN104965717A (en) * 2014-06-05 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for loading page
WO2016173441A1 (en) * 2015-04-27 2016-11-03 中兴通讯股份有限公司 Server cache processing method, apparatus and system
CN106547751A (en) * 2015-09-16 2017-03-29 阿里巴巴集团控股有限公司 Data cached update method and device
CN106599721A (en) * 2016-12-13 2017-04-26 微梦创科网络科技(中国)有限公司 Cache-based data access method and apparatus
CN106649313A (en) * 2015-10-29 2017-05-10 阿里巴巴集团控股有限公司 Method and equipment for processing cache data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428243A (en) * 2012-05-21 2013-12-04 阿里巴巴集团控股有限公司 Implementation method, device and system for static storage of dynamic webpage
CN104965717A (en) * 2014-06-05 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for loading page
WO2016173441A1 (en) * 2015-04-27 2016-11-03 中兴通讯股份有限公司 Server cache processing method, apparatus and system
CN106547751A (en) * 2015-09-16 2017-03-29 阿里巴巴集团控股有限公司 Data cached update method and device
CN106649313A (en) * 2015-10-29 2017-05-10 阿里巴巴集团控股有限公司 Method and equipment for processing cache data
CN106599721A (en) * 2016-12-13 2017-04-26 微梦创科网络科技(中国)有限公司 Cache-based data access method and apparatus

Similar Documents

Publication Publication Date Title
US11580168B2 (en) Method and system for providing context based query suggestions
CN108280115B (en) Method and device for identifying user relationship
CN108363815B (en) Webpage pre-reading method and device and intelligent terminal equipment
US9094478B2 (en) Prereading method and system for web browser
CN108763502A (en) Information recommendation method and system
CN101512568A (en) Likelihood-based storage management
CN104808892A (en) Application icon ordering method, device, system and associated equipment
WO2018223772A1 (en) Content recommendation method and system
CN107391587A (en) Link is shared and access method, server, terminal and computer-readable storage medium
CN106951573A (en) A kind of living broadcast interactive data load method, server and computer-readable medium
CN106874402A (en) Searching method and device
CN106815260A (en) A kind of index establishing method and equipment
US9471669B2 (en) Presenting previously selected search results
CN107315833A (en) Method and apparatus of the retrieval with downloading based on application program
CN111930305A (en) Data storage method and device, storage medium and electronic device
CN104111981B (en) A kind of method and apparatus to release news for offer
CN105138649A (en) Data search method and device and terminal
CN109542612A (en) A kind of hot spot keyword acquisition methods, device and server
US8712992B2 (en) Method and apparatus for web crawling
CN106899558A (en) The treating method and apparatus of access request
US10834195B2 (en) Information processing device, information processing method, program, and storage medium
CN116991800A (en) File acquisition system, method, device, computer equipment and storage medium
CN110442616B (en) Page access path analysis method and system for large data volume
CN116225567A (en) Page loading method and device, storage medium and computer equipment
CN103577481A (en) Advertising data search method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180511

RJ01 Rejection of invention patent application after publication