CN102541602A - Interface preloading device and interface preloading method - Google Patents

Interface preloading device and interface preloading method Download PDF

Info

Publication number
CN102541602A
CN102541602A CN201110448218XA CN201110448218A CN102541602A CN 102541602 A CN102541602 A CN 102541602A CN 201110448218X A CN201110448218X A CN 201110448218XA CN 201110448218 A CN201110448218 A CN 201110448218A CN 102541602 A CN102541602 A CN 102541602A
Authority
CN
China
Prior art keywords
interface
display interface
time
buffer area
unit
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
CN201110448218XA
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.)
Yonyou Software Co Ltd
Original Assignee
Yonyou Software 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 Yonyou Software Co Ltd filed Critical Yonyou Software Co Ltd
Priority to CN201110448218XA priority Critical patent/CN102541602A/en
Publication of CN102541602A publication Critical patent/CN102541602A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention provides an interface preloading device, which comprises a setup unit, a recording unit, a priority level confirming unit, a cache setup unit and a preloading unit. The setup unit is used for setting up a statistical information table, the recording unit is used for recording use conditions of each display interface in application into the statistical information table, the priority level confirming unit is used for confirming the priority level of each display interface according to the use conditions and storing the priority levels into the statistical information table, the cache setup unit is used for setting up a cache region corresponding to the application in a system memory after an application is started, and the preloading unit is used for reading the statistical information table, obtaining corresponding display interfaces according to the preset interface loading quantity and the priority level of each display interface, and loading the display interfaces to the cache region. Correspondingly, the invention further provides an interface preloading method. By means of the technical scheme, adverse impact of time consumption in interface switching can be reduced while flexibility is guaranteed, and interface switching efficiency is improved while memory occupancy is guaranteed.

Description

The pre-load means at interface and prestrain method
Technical field
The present invention relates to computer software technical field, in particular to the pre-load means and the prestrain method at interface.
Background technology
In the various application in practice, often have one the interface switched to the operation at another interface, be referred to as the interface and switch.And in the present application system, particularly business management software application system, in order to realize dirigibility and personalized requirement, each page is not what fix, but through configuration information record, comes out according to the configuration information dynamic construction when in use.This mode has been brought certain dirigibility, but because the complicacy at interface, interface switching has the regular hour to consume, and causes user experience bad.And, during using, some also can appear at the possibility of repeatedly switching repeatedly between several interfaces, and the loss in efficiency that causes like this is just bigger.For example: the expense report kind in the enterprise is numerous; In a function of filling and presenting expense report; Finance auditor frequent switching between a plurality of expense report kinds possibly, and personalized expense report interface structure has consumed great amount of time, and user's efficient is affected.
In order to address this problem; What existing scheme generally adopted is the mode of prestrain interface binding cache; The page that will switch exactly makes up completion in advance when showing first interface; And buffer memory gets up, and the page with buffer memory when the user is switched directly shows, makes the user needn't wait for the structure at interface again.But the interface possibility that some situation need be switched is a lot, if all loading and buffer memory memory size and prestrain response time all can not meet the demands in advance with all possible interface switching.
Therefore, need a kind of scheme of new interface prestrain, can on the basis that guarantees dirigibility, reduce the adverse effect that the interface consumes switching time, to improve the switching efficiency at interface under the prerequisite that realizes guaranteeing EMS memory occupation.
Summary of the invention
The present invention just is being based on the problems referred to above, has proposed a kind of scheme of new interface prestrain, can on the basis that guarantees dirigibility, reduce the adverse effect that the interface consumes switching time, to improve the switching efficiency at interface under the prerequisite that realizes guaranteeing EMS memory occupation.
In view of this, the invention provides a kind of pre-load means of interface, comprising: create the unit, set up Statistics table; Record cell is recorded in the operating position of each display interface in using in the said Statistics table; The priority level confirmation unit according to said operating position, is confirmed the priority level corresponding to each said display interface, and is stored in the said Statistics table; Buffer memory is set up the unit, after starting said application, in Installed System Memory, sets up the buffer area corresponding to said application; The prestrain unit reads said Statistics table, loads quantity according to preset interface, according to the priority level rank of each said display interface, obtains corresponding display interface, and is loaded on said buffer area.In this technical scheme; Through stored interface information in the buffer memory is carried out priority rank, when the information of required buffer memory is too much, stay the highest interface information of priority; For the user provides more valuable cache contents; Improved the hit rate of prestrain, realized exceeding under the prerequisite of occupying system resources in assurance, the interface is switched more efficient.In addition; The interface as presetting for wherein loads quantity, can be provided with arbitrarily according to the actual needs of oneself by the user, and carry out modify according to the change of actual conditions at any time; Under situation about allowing at device performance; Bigger loading quantity is set, and lower or task reduces loading quantity more for a long time in performance.
In technique scheme, preferably, said operating position comprises: the number of times that said display interface is used, the T.T. that is used and/or the time that is used at last.In this technical scheme, through above-mentioned each side, embody the situation that the interface is used, certainly, so long as can embody the parameter or the information of the situation that the interface is used, obviously all be the technical scheme that can be used for the application.
In technique scheme, preferably, the pre-load means at described interface also comprises: cache replacement unit when reaching preset permutizer condition, displaces said buffer area with the display interface that has loaded.In this technical scheme, the interface that will reach preset permutizer condition displaces buffer area, can prevent that cache information from too much causing memory source to consume excessively, has saved memory source effectively, has improved the utilization factor of memory source.
In technique scheme, preferably, said permutizer condition comprises: the time that is not used, reality the longest and/or that be not used surpassed preset time threshold; And the pre-load means at described interface also comprises: timing unit, write down the time that the display interface that loaded in the said buffer area is not used.In this technical scheme; Selection uses minimum interface to displace buffer area the user recently, has realized on the basis of saving memory source, keeping the interface that the user the most often uses as much as possible; Improve the efficient of user when interface switching, optimized user experience.Here time that is used for the interface or the time that is not used, can adopt multiple mode to obtain, under a kind of mode; Can use independently time set or timing service, timing is carried out in the use at each interface or the time that is not used, and under the another kind of mode; Owing in each interface instance, include the corresponding time that is used at last, therefore; After being sorted according to this time in interfaces all in the buffer memory, can recognize the longest interface of time that is not used, and; For this time that comprises in each interface instance, time point that can also be when writing down repeatedly being used of each interface, thus calculate through simple plus-minus; Obtain the length of its time that is used or is not used, further realize displacement then the buffer memory median surface.
In technique scheme, preferably, said prestrain unit also is used for: in the statistical information of said buffer area buffer memory corresponding to the display interface that has loaded, said statistical information comprises the sign and the operating position thereof of the said display interface that has loaded.In this technical scheme; When the interface in the buffer area being carried out the buffer memory loading; Also its information is saved in the buffer area,, in real time its operating position is upgraded so that after operating on it; Obtain real-time priority level, be convenient to the interface buffer memory in the buffer memory is carried out real-time renewal, replacement.
In technique scheme, preferably, the pre-load means at described interface also comprises: said buffer memory is set up the unit and is used the separate threads of the main thread that is different from said application to make up said buffer area; And the said separate threads of said prestrain unit by using loads said display interface in said buffer area.In this technical scheme, use the separate threads working method, avoid because cause the loading velocity of application program slower with main thread contention system resource, the time is longer, the efficient that the raising system moves has also just improved the efficient of interface switching.
The present invention also provides a kind of prestrain method of interface, comprising: step 202, set up Statistics table, the operating position of each display interface during record is used; Step 204 according to said operating position, is confirmed the priority level corresponding to each said display interface, and is stored in the said Statistics table; Step 206 after starting said application, is set up the buffer area corresponding to said application in Installed System Memory; Step 208 reads said Statistics table, loads quantity according to preset interface, according to the priority level rank of each said display interface, obtains corresponding display interface, and is loaded on said buffer area.In this technical scheme; Through stored interface information in the buffer memory is carried out priority rank, when the information of required buffer memory is too much, stay the highest interface information of priority; For the user provides more valuable cache contents; Improved the hit rate of prestrain, realized exceeding under the prerequisite of occupying system resources in assurance, the interface is switched more efficient.In addition; The interface as presetting for wherein loads quantity, can be provided with arbitrarily according to the actual needs of oneself by the user, and carry out modify according to the change of actual conditions at any time; Under situation about allowing at device performance; Bigger loading quantity is set, and lower or task reduces loading quantity more for a long time in performance.
In technique scheme, preferably, said operating position comprises: the number of times that said display interface is used, the T.T. that is used and/or the time that is used at last.In this technical scheme, through above-mentioned each side, embody the situation that the interface is used, certainly, so long as can embody the parameter or the information of the situation that the interface is used, obviously all be the technical scheme that can be used for the application.
In technique scheme, preferably, after said step 208, also comprise: when reaching preset permutizer condition, the display interface that has loaded is displaced said buffer area.In this technical scheme, the interface that will reach preset permutizer condition displaces buffer area, can prevent that cache information from too much causing memory source to consume excessively, has saved memory source effectively, has improved the utilization factor of memory source.
In technique scheme, preferably, said permutizer condition comprises: the time that is not used, reality the longest and/or that be not used surpassed preset time threshold.In this technical scheme; Selection uses minimum interface to displace buffer area the user recently, has realized on the basis of saving memory source, keeping the interface that the user the most often uses as much as possible; Improve the efficient of user when interface switching, optimized user experience.Here time that is used for the interface or the time that is not used, can adopt multiple mode to obtain, under a kind of mode; Can use independently time set or timing service, timing is carried out in the use at each interface or the time that is not used, and under the another kind of mode; Owing in each interface instance, include the corresponding time that is used at last, therefore; After being sorted according to this time in interfaces all in the buffer memory, can recognize the longest interface of time that is not used, and; For this time that comprises in each interface instance, time point that can also be when writing down repeatedly being used of each interface, thus calculate through simple plus-minus; Obtain the length of its time that is used or is not used, further realize displacement then the buffer memory median surface.
In technique scheme; Preferably; In said step 208, also comprise: in said buffer area, load statistical information buffer memory, comprise the sign and the operating position thereof of the said display interface that has loaded in the said statistical information buffer memory corresponding to the display interface that has loaded.In this technical scheme; When the interface in the buffer area being carried out the buffer memory loading; Also its information is saved in the buffer area,, in real time its operating position is upgraded so that after operating on it; Obtain real-time priority level, be convenient to the interface buffer memory in the buffer memory is carried out real-time renewal, replacement.
In technique scheme, preferably, also comprise: use the separate threads of the main thread that is different from said application to make up said buffer area and loaded and displayed interface.In this technical scheme, use the separate threads working method, avoid because cause the loading velocity of application program slower with main thread contention system resource, the time is longer, the efficient that the raising system moves has also just improved the efficient of interface switching.
In sum, through stored interface information in the buffer memory is carried out priority rank, when the information of required buffer memory is too much; Stay the highest interface information of priority; For the user provides more valuable cache contents, improved the hit rate of prestrain, can on the basis that guarantees dirigibility, reduce the adverse effect of interface consumption switching time; Realized exceeding under the prerequisite of occupying system resources, improved the interface switching efficiency in assurance.
Description of drawings
Fig. 1 shows the block diagram of the pre-load means at interface according to an embodiment of the invention;
Fig. 2 shows the process flow diagram of the prestrain method at interface according to an embodiment of the invention;
Fig. 3 shows the synoptic diagram of statistical information structure according to an embodiment of the invention;
Fig. 4 shows the synoptic diagram of interface buffer structure according to an embodiment of the invention;
Fig. 5 shows the embodiment process flow diagram that carries out interface prestrain according to the embodiment of the invention.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with accompanying drawing and embodiment.
Set forth a lot of details in the following description so that make much of the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following disclosed specific embodiment.
Fig. 1 shows the block diagram of the pre-load means at interface according to an embodiment of the invention.
The present invention proposes a kind of pre-load means 100 of interface, as shown in Figure 1, comprising: create unit 102, set up Statistics table; Record cell 104 is recorded in the operating position of each display interface in using in the Statistics table; Priority level confirmation unit 106 according to operating position, is confirmed the priority level corresponding to each display interface, and is stored in the Statistics table; Buffer memory is set up unit 108, after starting application, in Installed System Memory, sets up corresponding to the buffer area of using; Prestrain unit 110 reads Statistics table, loads quantity according to preset interface, according to the priority level rank of each display interface, obtains corresponding display interface, and is loaded on buffer area.In this technical scheme; Through stored interface information in the buffer memory is carried out priority rank, when the information of required buffer memory is too much, stay the highest interface information of priority; For the user provides more valuable cache contents; Improved the hit rate of prestrain, realized exceeding under the prerequisite of occupying system resources in assurance, the interface is switched more efficient.In addition; The interface as presetting for wherein loads quantity, can be provided with arbitrarily according to the actual needs of oneself by the user, and carry out modify according to the change of actual conditions at any time; Under situation about allowing at device performance; Bigger loading quantity is set, and lower or task reduces loading quantity more for a long time in performance.
In technique scheme, operating position comprises: the number of times that display interface is used, the T.T. that is used and/or the time that is used at last.In this technical scheme, through above-mentioned each side, embody the situation that the interface is used, certainly, so long as can embody the parameter or the information of the situation that the interface is used, obviously all be the technical scheme that can be used for the application.
In technique scheme, the pre-load means 100 at interface also comprises: cache replacement unit 112 when reaching preset permutizer condition, displaces buffer area with the display interface that has loaded.In this technical scheme, the interface that will reach preset permutizer condition displaces buffer area, can prevent that cache information from too much causing memory source to consume excessively, has saved memory source effectively, has improved the utilization factor of memory source.
In technique scheme, permutizer condition comprises: the time that is not used, reality the longest and/or that be not used surpassed preset time threshold; And the pre-load means 100 at interface also comprises: timing unit 114, the time that the display interface that has loaded in the record buffer memory district is not used.In this technical scheme; Selection uses minimum interface to displace buffer area the user recently, has realized on the basis of saving memory source, keeping the interface that the user the most often uses as much as possible; Improve the efficient of user when interface switching, optimized user experience.Here time that is used for the interface or the time that is not used, can adopt multiple mode to obtain, under a kind of mode; Can use independently time set or timing service, timing is carried out in the use at each interface or the time that is not used, and under the another kind of mode; Owing in each interface instance, include the corresponding time that is used at last, therefore; After being sorted according to this time in interfaces all in the buffer memory, can recognize the longest interface of time that is not used, and; For this time that comprises in each interface instance, time point that can also be when writing down repeatedly being used of each interface, thus calculate through simple plus-minus; Obtain the length of its time that is used or is not used, further realize displacement then the buffer memory median surface.
In technique scheme, prestrain unit 110 also is used for: in the statistical information of buffer area buffer memory corresponding to the display interface that has loaded, statistical information comprises the sign and the operating position thereof of the display interface that has loaded.In this technical scheme; When the interface in the buffer area being carried out the buffer memory loading; Also its information is saved in the buffer area,, in real time its operating position is upgraded so that after operating on it; Obtain real-time priority level, be convenient to the interface buffer memory in the buffer memory is carried out real-time renewal, replacement.
In technique scheme, the pre-load means 100 at interface also comprises: buffer memory is set up unit 108 and is used the separate threads of the main thread that is different from application to make up buffer area; And prestrain unit 110 utilizes separate threads loaded and displayed interface in buffer area.In this technical scheme, use the separate threads working method, avoid because cause the loading velocity of application program slower with main thread contention system resource, the time is longer, the efficient that the raising system moves has also just improved the efficient of interface switching.
Fig. 2 shows the process flow diagram of the prestrain method at interface according to an embodiment of the invention.
The present invention also provides a kind of prestrain method of interface, comprising: step 202, set up Statistics table, the operating position of each display interface during record is used; Step 204 according to operating position, is confirmed the priority level corresponding to each display interface, and is stored in the Statistics table; Step 206 after starting application, is set up the buffer area corresponding to this application in Installed System Memory; Step 208 reads Statistics table, loads quantity according to preset interface, according to the priority level rank of each display interface, obtains corresponding display interface, and is loaded on buffer area.In this technical scheme; Through stored interface information in the buffer memory is carried out priority rank, when the information of required buffer memory is too much, stay the highest interface information of priority; For the user provides more valuable cache contents; Improved the hit rate of prestrain, realized exceeding under the prerequisite of occupying system resources in assurance, the interface is switched more efficient.In addition; The interface as presetting for wherein loads quantity, can be provided with arbitrarily according to the actual needs of oneself by the user, and carry out modify according to the change of actual conditions at any time; Under situation about allowing at device performance; Bigger loading quantity is set, and lower or task reduces loading quantity more for a long time in performance.
In technique scheme, preferably, said operating position comprises: the number of times that said display interface is used, the T.T. that is used and/or the time that is used at last.In this technical scheme, through above-mentioned each side, embody the situation that the interface is used, certainly, so long as can embody the parameter or the information of the situation that the interface is used, obviously all be the technical scheme that can be used for the application.
In technique scheme, after step 208, also comprise: when reaching preset permutizer condition, the display interface that has loaded is displaced buffer area.In this technical scheme, the interface that will reach preset permutizer condition displaces buffer area, can prevent that cache information from too much causing memory source to consume excessively, has saved memory source effectively, has improved the utilization factor of memory source.
In technique scheme, permutizer condition comprises: the time that is not used, reality the longest and/or that be not used surpassed preset time threshold.In this technical scheme; Selection uses minimum interface to displace buffer area the user recently, has realized on the basis of saving memory source, keeping the interface that the user the most often uses as much as possible; Improve the efficient of user when interface switching, optimized user experience.Here time that is used for the interface or the time that is not used, can adopt multiple mode to obtain, under a kind of mode; Can use independently time set or timing service, timing is carried out in the use at each interface or the time that is not used, and under the another kind of mode; Owing in each interface instance, include the corresponding time that is used at last, therefore; After being sorted according to this time in interfaces all in the buffer memory, can recognize the longest interface of time that is not used, and; For this time that comprises in each interface instance, time point that can also be when writing down repeatedly being used of each interface, thus calculate through simple plus-minus; Obtain the length of its time that is used or is not used, further realize displacement then the buffer memory median surface.
In technique scheme, in step 208, also comprise: in buffer area, load statistical information buffer memory, comprise the sign and the operating position thereof of the display interface that has loaded in the statistical information buffer memory corresponding to the display interface that has loaded.In this technical scheme; When the interface in the buffer area being carried out the buffer memory loading; Also its information is saved in the buffer area,, in real time its operating position is upgraded so that after operating on it; Obtain real-time priority level, be convenient to the interface buffer memory in the buffer memory is carried out real-time renewal, replacement.
In technique scheme, the prestrain method at interface also comprises: use the separate threads of the main thread that is different from application to make up buffer area and loaded and displayed interface.In this technical scheme, use the separate threads working method, avoid because cause the loading velocity of application program slower with main thread contention system resource, the time is longer, the efficient that the raising system moves has also just improved the efficient of interface switching.
According to above technical scheme; The pre-load means at the interface that utilizes in the embodiment of the invention to be provided; Count user's use habit and service time; For carrying out the priority scoring in each interface that possibly need load, and with statistics record in Statistics table, the interface loading that several that will mark high when opening the interface possibly switch and being cached in the internal memory.When buffer memory capacity surpassed predefined limit, buffer memory displaced buffer memory to guarantee the EMS memory occupation amount according to using algorithm to replace recently with the interface that is of little use.
Wherein, Statistics table to set up mode following, its structure is seen table 1.
Field name Title Purposes
PK Major key The table major key
user The user Recording operation user's user name
UIID Interface I D The title at interface
num Number of times The interface is used number of times
time Last service time The invoked final time in interface
priority Priority valve Calculate according to the weights formula
Table 1
Table 1 is sky when using for the first time in system; After the user has used certain interface; Will this interface I D be inserted in the table 1, also the statistical information (interface call number, last service time of interface and the weights that calculated by the weights formula) of client be inserted in the table 1 simultaneously.
Weights in the table 1 have determined this kind template for the frequent degree of certain user's use, and weights are high more, and then this user tends to use this interface more.The calculating of weights is provided by formula, such as:
priority=A*num+B*time
In the formula; Num and time are exactly num and the time in the table; Represent the access times and last service time at this interface respectively, A and B have represented num and time significance level number percent (can come balance frequency of utilization and the influence of nearest service time to preferential loading according to concrete application requirements) separately, if the access times at interface are many more; And last service time and present time are approaching more; The weights that calculate so are big more, explain that then the user often uses this interface, when the prestrain interface, should pay the utmost attention to.Certainly, obviously can also add more reference factor, and add in the above-mentioned formula, thereby realize the interface operating position is better understood.
In addition, memory cache to set up mode following:
In order to guarantee the EMS memory occupation amount of client, will avoid realizing the core resident buffer memory, and will when whenever opening a function, make up a buffer memory in client, in closing function, discharge buffer memory.Buffer memory comprises statistical information buffer memory and interface buffer memory two parts.The statistical information buffer memory comprises that one is that key, statistical information are that the map structure of value is formed with the formation of prioritization and one with interface I D.It is key with interface I D that the interface buffer memory is one, and the interface instance is the map structure of value.Wherein, the statistical information structure is as shown in Figure 3, and the interface buffer structure is as shown in Figure 4.
Fig. 3 shows the synoptic diagram of statistical information structure according to an embodiment of the invention; Fig. 4 shows the synoptic diagram of interface buffer structure according to an embodiment of the invention.
As shown in Figure 3, in statistical information, comprise the interface I D of the object of its record; Like the title at interface, address etc., simultaneously, operating position such as the access times at this interface, last service time, priority valve etc. have also been write down; Certainly, along with the each time operation of user to this interface, corresponding variation all can take place in information wherein such as access times, priority valve etc.; And if this interface is not used, if then corresponding last service time is long apart from the current time, the interface of perhaps being longer than other; Also can cause its priority valve to change, or directly replaced.
As shown in Figure 4, in the buffer memory of interface, exist interface I D and interface instance, wherein, interface I D is used to distinguish this interface and other interfaces, and be used for statistical information shown in Figure 3 carry out corresponding so that in time will carry out record to the operation at this interface.
Fig. 5 is the embodiment process flow diagram that carries out interface prestrain according to the embodiment of the invention.
As shown in Figure 5, the embodiment of carrying out interface prestrain is following:
Step 502 is when open at the interface, through independently threading building buffer memory and prestrain interface.
Step 504, when buffer memory loaded, whether in Statistics table had statistical information, if having, then go to step 506 if checking; If no, then go to step 508.
Step 506 makes up the statistical information buffer structure through the statistical information of preserving, and acquires a priority according to predetermined quantity and counts preceding n the highest interface I D, loads corresponding interface through interface I D, makes up the interface buffer memory.
Step 508 makes up empty statistical information model and interface cache model, and with the statistics record at the interface of this loading in Statistics table.
Step 510, when interface switching in use, the target interface of switching if desired exists in buffer memory, then goes to step 512; If does not hit at the interface of switching, then go to step 514.
Step 512 shows corresponding interface and last service time of the respective interface in the statistical information is updated to the current time, and the access times increase once.
Step 514 loads corresponding interface in main thread.
Step 516 is increased to the interface in the buffer memory behind the loaded of interface, upgrades corresponding service time and number of times information in the statistical information simultaneously.
Step 518 is judged whether exceed capacity of buffer memory, if surpass, then goes to step 520; If do not surpass, then go to step 522.
Step 520 goes out buffer memory according to the most normal using priciple with the caching replacement that maximum duration is not used.
Step 522, when user's closing function, according to the priority weight at the service time in the statistical information, each interface of number of times information calculations and record in the database table, empirical data is used for loading next time.
More than be described with reference to the accompanying drawings technical scheme of the present invention, through stored interface information in the buffer memory is carried out priority rank, when the information of required buffer memory is too much; Stay the highest interface information of priority; For the user provides more valuable cache contents, improved the hit rate of prestrain, can on the basis that guarantees dirigibility, reduce the adverse effect of interface consumption switching time; Realized exceeding under the prerequisite of occupying system resources, improved the interface switching efficiency in assurance.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the pre-load means at an interface is characterized in that, comprising:
Create the unit, set up Statistics table;
Record cell is recorded in the operating position of each display interface in using in the said Statistics table;
The priority level confirmation unit according to said operating position, is confirmed the priority level corresponding to each said display interface, and is stored in the said Statistics table;
Buffer memory is set up the unit, after starting said application, in Installed System Memory, sets up the buffer area corresponding to said application;
The prestrain unit reads said Statistics table, loads quantity according to preset interface, according to the priority level rank of each said display interface, obtains corresponding display interface, and is loaded on said buffer area.
2. the pre-load means at interface according to claim 1 is characterized in that, also comprises:
Cache replacement unit when reaching preset permutizer condition, displaces said buffer area with the display interface that has loaded.
3. the pre-load means at interface according to claim 2 is characterized in that, said permutizer condition comprises:
Time the longest and/or that the be not used time that is not used surpasses preset time threshold; And
Also comprise:
Timing unit writes down the time that the display interface that loaded in the said buffer area is not used.
4. according to the pre-load means at each described interface in the claim 1 to 3, it is characterized in that said prestrain unit also is used for:
Buffer memory is corresponding to the statistical information of the display interface that has loaded in said buffer area, and said statistical information comprises the sign and the operating position thereof of the said display interface that has loaded.
5. according to the pre-load means at each described interface in the claim 1 to 3, it is characterized in that, also comprise:
Said buffer memory is set up the unit and is used the separate threads of the main thread that is different from said application to make up said buffer area; And
The said separate threads of said prestrain unit by using loads said display interface in said buffer area.
6. the prestrain method at an interface is characterized in that, comprising:
Step 202 is set up Statistics table, the operating position of each display interface during record is used;
Step 204 according to said operating position, is confirmed the priority level corresponding to each said display interface, and is stored in the said Statistics table;
Step 206 after starting said application, is set up the buffer area corresponding to said application in Installed System Memory;
Step 208 reads said Statistics table, loads quantity according to preset interface, according to the priority level rank of each said display interface, obtains corresponding display interface, and is loaded on said buffer area.
7. the prestrain method at interface according to claim 6 is characterized in that, after said step 208, also comprises:
When reaching preset permutizer condition, the display interface that has loaded is displaced said buffer area.
8. the prestrain method at interface according to claim 7 is characterized in that, said permutizer condition comprises:
Time the longest and/or that the be not used time that is not used surpasses preset time threshold.
9. according to the prestrain method at each described interface in the claim 6 to 8, it is characterized in that, in said step 208, also comprise:
In said buffer area, load statistical information buffer memory, comprise the sign and the operating position thereof of the said display interface that has loaded in the said statistical information buffer memory corresponding to the display interface that has loaded.
10. according to the prestrain method at each described interface in the claim 6 to 8, it is characterized in that, also comprise:
The separate threads that use is different from the main thread of said application makes up said buffer area and loaded and displayed interface.
CN201110448218XA 2011-12-28 2011-12-28 Interface preloading device and interface preloading method Pending CN102541602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110448218XA CN102541602A (en) 2011-12-28 2011-12-28 Interface preloading device and interface preloading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110448218XA CN102541602A (en) 2011-12-28 2011-12-28 Interface preloading device and interface preloading method

Publications (1)

Publication Number Publication Date
CN102541602A true CN102541602A (en) 2012-07-04

Family

ID=46348570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110448218XA Pending CN102541602A (en) 2011-12-28 2011-12-28 Interface preloading device and interface preloading method

Country Status (1)

Country Link
CN (1) CN102541602A (en)

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064897A (en) * 2012-12-14 2013-04-24 广东威创视讯科技股份有限公司 Geographic entity information loading method and geographic entity information loading system based on Geographic Information System (GIS)
CN103150192A (en) * 2013-04-02 2013-06-12 网易(杭州)网络有限公司 Method and device for copy loading based on network game
CN103488686A (en) * 2013-09-02 2014-01-01 用友软件股份有限公司 Device for generating display components and method for generating display components
CN104281472A (en) * 2014-09-18 2015-01-14 青岛海信移动通信技术股份有限公司 Method and device for preloading resources
CN104536787A (en) * 2014-12-26 2015-04-22 小米科技有限责任公司 Resource preloading method and device
CN104951340A (en) * 2015-06-12 2015-09-30 联想(北京)有限公司 Information processing method and device
CN105144280A (en) * 2013-04-26 2015-12-09 三菱电机株式会社 Programmable display unit
CN105426038A (en) * 2015-11-02 2016-03-23 北京科东电力控制***有限责任公司 Picture popularity algorithm based picture pre-loading method for power grid scheduling control system
CN105487900A (en) * 2015-12-01 2016-04-13 用友网络科技股份有限公司 Self-learning interface data loading system and method
CN105487759A (en) * 2015-12-14 2016-04-13 魅族科技(中国)有限公司 Icon display control method, icon display control device and terminal
CN106126287A (en) * 2016-06-20 2016-11-16 珠海市魅族科技有限公司 Application program launching method and system
CN106557434A (en) * 2016-10-28 2017-04-05 武汉斗鱼网络科技有限公司 A kind of interface caching method and system
CN107229397A (en) * 2017-06-08 2017-10-03 惠州Tcl移动通信有限公司 A kind of method, system, terminal and storage device for improving terminal fluency
CN107703921A (en) * 2017-10-27 2018-02-16 交控科技股份有限公司 Train automatic monitoring system yard method for handover control
CN108063974A (en) * 2017-12-12 2018-05-22 深圳市雷鸟信息科技有限公司 TV activity page data transmission method, television equipment, system and storage medium
CN108762843A (en) * 2018-05-29 2018-11-06 Oppo广东移动通信有限公司 Preloading method, apparatus, storage medium and the intelligent terminal of application program
CN109190071A (en) * 2018-08-02 2019-01-11 浙江中农在线电子商务有限公司 Mobile terminal caching method and device
CN109614176A (en) * 2018-10-30 2019-04-12 努比亚技术有限公司 A kind of application interface layout method, terminal and computer readable storage medium
WO2019114833A1 (en) * 2017-12-14 2019-06-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method, device, terminal and storage medium for processing application
CN110134485A (en) * 2019-05-22 2019-08-16 维沃移动通信有限公司 Application content inspection method and mobile terminal
CN110147258A (en) * 2019-04-19 2019-08-20 平安科技(深圳)有限公司 Improve method, apparatus, computer equipment and the storage medium of program loading efficiency
CN110442556A (en) * 2019-07-29 2019-11-12 浙江大华技术股份有限公司 Cache pre-add support method, mobile terminal and computer storage medium
CN110543337A (en) * 2019-09-02 2019-12-06 联想(北京)有限公司 application program loading processing method, electronic device and medium
CN111198729A (en) * 2020-01-10 2020-05-26 腾讯科技(深圳)有限公司 Static resource loading method and device, computer equipment and storage medium
CN111258676A (en) * 2020-01-16 2020-06-09 中国平安财产保险股份有限公司 Module preloading method, device, equipment and readable storage medium
CN111275607A (en) * 2020-01-17 2020-06-12 腾讯科技(深圳)有限公司 Interface display method and device, computer equipment and storage medium
CN111427852A (en) * 2020-03-09 2020-07-17 深圳市明润建筑设计有限公司 BIM-based residential secondary digital-analog modeling method, system and storage medium thereof
CN111966290A (en) * 2020-08-13 2020-11-20 深圳市金玺智控技术有限公司 Read-write control method, device, equipment and medium based on RAM memory
CN112527407A (en) * 2020-12-07 2021-03-19 深圳创维-Rgb电子有限公司 Application starting method, terminal and computer readable storage medium
US11086663B2 (en) 2018-05-10 2021-08-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Preloading application using active window stack
US11397590B2 (en) 2018-05-10 2022-07-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for preloading application, storage medium, and terminal
US11442747B2 (en) 2018-05-10 2022-09-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for establishing applications-to-be preloaded prediction model based on preorder usage sequence of foreground application, storage medium, and terminal
US11467855B2 (en) 2018-06-05 2022-10-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Application preloading method and device, storage medium and terminal
US11604660B2 (en) 2018-05-15 2023-03-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for launching application, storage medium, and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889737A (en) * 2006-07-21 2007-01-03 华为技术有限公司 Resource management method and system
CN101339511A (en) * 2007-07-02 2009-01-07 国际商业机器公司 Method and system for controlling and self-adaptively preloading dynamic link libraries
CN102033935A (en) * 2010-12-20 2011-04-27 深圳市五巨科技有限公司 Preloading method, preloading device and preloading system of mobile terminal browser

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889737A (en) * 2006-07-21 2007-01-03 华为技术有限公司 Resource management method and system
CN101339511A (en) * 2007-07-02 2009-01-07 国际商业机器公司 Method and system for controlling and self-adaptively preloading dynamic link libraries
CN102033935A (en) * 2010-12-20 2011-04-27 深圳市五巨科技有限公司 Preloading method, preloading device and preloading system of mobile terminal browser

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064897B (en) * 2012-12-14 2016-06-29 广东威创视讯科技股份有限公司 Geographical entity information loading method and system based on generalized information system
CN103064897A (en) * 2012-12-14 2013-04-24 广东威创视讯科技股份有限公司 Geographic entity information loading method and geographic entity information loading system based on Geographic Information System (GIS)
CN103150192A (en) * 2013-04-02 2013-06-12 网易(杭州)网络有限公司 Method and device for copy loading based on network game
CN103150192B (en) * 2013-04-02 2016-09-28 网易(杭州)网络有限公司 A kind of copy loading method based on online game and equipment
CN105144280A (en) * 2013-04-26 2015-12-09 三菱电机株式会社 Programmable display unit
KR101730289B1 (en) * 2013-04-26 2017-04-25 미쓰비시덴키 가부시키가이샤 Programmable display unit
CN103488686A (en) * 2013-09-02 2014-01-01 用友软件股份有限公司 Device for generating display components and method for generating display components
CN103488686B (en) * 2013-09-02 2017-06-30 用友网络科技股份有限公司 The device of generation displaying class component and the method for generation displaying class component
CN104281472A (en) * 2014-09-18 2015-01-14 青岛海信移动通信技术股份有限公司 Method and device for preloading resources
CN104281472B (en) * 2014-09-18 2017-12-26 青岛海信移动通信技术股份有限公司 A kind of resource preloads method and apparatus
CN104536787A (en) * 2014-12-26 2015-04-22 小米科技有限责任公司 Resource preloading method and device
CN104536787B (en) * 2014-12-26 2018-05-18 小米科技有限责任公司 Resource preloads method and device
US10877809B2 (en) 2015-06-12 2020-12-29 Beijing Lenovo Software Ltd. Preloading applications from a priority list based on memory usage status of an electronic device
CN104951340A (en) * 2015-06-12 2015-09-30 联想(北京)有限公司 Information processing method and device
CN104951340B (en) * 2015-06-12 2018-07-06 联想(北京)有限公司 A kind of information processing method and device
CN105426038A (en) * 2015-11-02 2016-03-23 北京科东电力控制***有限责任公司 Picture popularity algorithm based picture pre-loading method for power grid scheduling control system
CN105487900A (en) * 2015-12-01 2016-04-13 用友网络科技股份有限公司 Self-learning interface data loading system and method
CN105487759A (en) * 2015-12-14 2016-04-13 魅族科技(中国)有限公司 Icon display control method, icon display control device and terminal
CN106126287A (en) * 2016-06-20 2016-11-16 珠海市魅族科技有限公司 Application program launching method and system
CN106557434A (en) * 2016-10-28 2017-04-05 武汉斗鱼网络科技有限公司 A kind of interface caching method and system
CN107229397A (en) * 2017-06-08 2017-10-03 惠州Tcl移动通信有限公司 A kind of method, system, terminal and storage device for improving terminal fluency
CN107703921A (en) * 2017-10-27 2018-02-16 交控科技股份有限公司 Train automatic monitoring system yard method for handover control
CN107703921B (en) * 2017-10-27 2019-09-24 交控科技股份有限公司 Train automatic monitoring system yard method for handover control
CN108063974A (en) * 2017-12-12 2018-05-22 深圳市雷鸟信息科技有限公司 TV activity page data transmission method, television equipment, system and storage medium
CN108063974B (en) * 2017-12-12 2021-08-06 深圳市雷鸟网络传媒有限公司 Television activity page data transmission method, television equipment, system and storage medium
WO2019114833A1 (en) * 2017-12-14 2019-06-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method, device, terminal and storage medium for processing application
US11397590B2 (en) 2018-05-10 2022-07-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for preloading application, storage medium, and terminal
US11086663B2 (en) 2018-05-10 2021-08-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Preloading application using active window stack
US11442747B2 (en) 2018-05-10 2022-09-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for establishing applications-to-be preloaded prediction model based on preorder usage sequence of foreground application, storage medium, and terminal
US11604660B2 (en) 2018-05-15 2023-03-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for launching application, storage medium, and terminal
CN108762843A (en) * 2018-05-29 2018-11-06 Oppo广东移动通信有限公司 Preloading method, apparatus, storage medium and the intelligent terminal of application program
US11467855B2 (en) 2018-06-05 2022-10-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Application preloading method and device, storage medium and terminal
CN109190071A (en) * 2018-08-02 2019-01-11 浙江中农在线电子商务有限公司 Mobile terminal caching method and device
CN109614176B (en) * 2018-10-30 2021-10-15 努比亚技术有限公司 Application interface layout method, terminal and computer readable storage medium
CN109614176A (en) * 2018-10-30 2019-04-12 努比亚技术有限公司 A kind of application interface layout method, terminal and computer readable storage medium
CN110147258A (en) * 2019-04-19 2019-08-20 平安科技(深圳)有限公司 Improve method, apparatus, computer equipment and the storage medium of program loading efficiency
CN110134485A (en) * 2019-05-22 2019-08-16 维沃移动通信有限公司 Application content inspection method and mobile terminal
CN110134485B (en) * 2019-05-22 2023-05-23 维沃移动通信有限公司 Application content viewing method and mobile terminal
CN110442556A (en) * 2019-07-29 2019-11-12 浙江大华技术股份有限公司 Cache pre-add support method, mobile terminal and computer storage medium
CN110543337A (en) * 2019-09-02 2019-12-06 联想(北京)有限公司 application program loading processing method, electronic device and medium
CN111198729A (en) * 2020-01-10 2020-05-26 腾讯科技(深圳)有限公司 Static resource loading method and device, computer equipment and storage medium
CN111258676A (en) * 2020-01-16 2020-06-09 中国平安财产保险股份有限公司 Module preloading method, device, equipment and readable storage medium
CN111258676B (en) * 2020-01-16 2023-07-25 中国平安财产保险股份有限公司 Module preloading method, device, equipment and readable storage medium
CN111275607A (en) * 2020-01-17 2020-06-12 腾讯科技(深圳)有限公司 Interface display method and device, computer equipment and storage medium
CN111427852A (en) * 2020-03-09 2020-07-17 深圳市明润建筑设计有限公司 BIM-based residential secondary digital-analog modeling method, system and storage medium thereof
CN111966290A (en) * 2020-08-13 2020-11-20 深圳市金玺智控技术有限公司 Read-write control method, device, equipment and medium based on RAM memory
CN112527407A (en) * 2020-12-07 2021-03-19 深圳创维-Rgb电子有限公司 Application starting method, terminal and computer readable storage medium
CN112527407B (en) * 2020-12-07 2023-09-22 深圳创维-Rgb电子有限公司 Application starting method, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN102541602A (en) Interface preloading device and interface preloading method
US8990538B2 (en) Managing memory with limited write cycles in heterogeneous memory systems
CN102880556B (en) Wear leveling method and system of Nand Flash
JP6385556B2 (en) Nonvolatile memory device and data storage method of nonvolatile memory device
CN103488581B (en) Data buffering system and data cache method
CN101673245B (en) Comprise signal conditioning package and the storage management method of memory management unit
CN106569748B (en) The data processing method and device of Flash File System
CN100530142C (en) Method and system for automatically distributing real memory between virtual memory page sizes
CN101373445B (en) Method and apparatus for scheduling memory
US20160217071A1 (en) Cache Allocation in a Computerized System
CN103608782A (en) Selective data storage in LSB and MSB pages
CN103412884B (en) The management method of embedded database under a kind of isomery storage medium
CN107329902B (en) Data storage device and flash memory control method
CN101620572B (en) Nonvolatile memory and control method
CN103809917A (en) Method of scheduling tasks for memories and memory system thereof
CN104866428A (en) Data access method and data access device
CN103064633B (en) A kind of date storage method and device
CN102158349A (en) Log management device and method thereof
CN110413224A (en) Data storage method and device and memory
CN105389135A (en) Solid-state disk internal cache management method
US10592148B2 (en) Information processing system, storage control apparatus, storage control method, and storage control program for evaluating access performance to a storage medium
EP3332319B1 (en) Write commands filtering
CN101968755A (en) Application load change adaptive snapshot generating method
CN104572502A (en) Storage system caching strategy self-adaptive method
CN102567225A (en) Method and device for managing system memory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120704