CN103209212A - Data caching method and system in Web network management client based on rich internet application (RIA) - Google Patents
Data caching method and system in Web network management client based on rich internet application (RIA) Download PDFInfo
- Publication number
- CN103209212A CN103209212A CN2013100945745A CN201310094574A CN103209212A CN 103209212 A CN103209212 A CN 103209212A CN 2013100945745 A CN2013100945745 A CN 2013100945745A CN 201310094574 A CN201310094574 A CN 201310094574A CN 103209212 A CN103209212 A CN 103209212A
- Authority
- CN
- China
- Prior art keywords
- data
- resident
- internal storage
- storage data
- separate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a data caching method and system in a Web network management client based on a RIA and relates to the data caching field in network management systems. The data caching method comprises the steps of establishing an independent storage area; marking areas for arranging cache data in a physical memory as a resident memory data area and a non-resident memory data area; placing resident memory data and non-resident memory data in the resident memory data area and the non-resident memory data area respectively; releasing the resident memory data and non-resident memory data in the independent storage area regularly when the data are not used by users, and placing the resident memory data and non-resident memory data in the physical memory when the data are reused by users; and deleting all cache data after being used by users. According to the data caching method and system, the cache data can be placed in the physical memory and the independent storage area respectively according to requirements of users, less physical memory is occupied, the reading frequency of discs is reduced, and performances of the Web network management system are improved.
Description
Technical field
The present invention relates to data cache field in the network management system, be specifically related to a kind of based on data cache method and system in the Web NM client of RIA.
Background technology
Network management system is a kind of software and hardware combining and based on the distributed network application system of software, and its purpose is supervising the network, guarantees network-efficient, normal operation; It is big that network management system has data volume, characteristics such as performance requirement height.
Along with the development of information-intensive society, the user more and more payes attention to the height of the network management system that type is Web (hereinafter to be referred as the Web network management system) performance.In order to realize high performance Web network management system, need buffer memory static data and the frequent dynamic data that uses in the client of Web network management system, so that lot of data is calculated and data transaction is finished in the client of Web network management system in the Web network management system, and then the data that reduce the Web network management system are travelled to and fro between the number of times between the server end of Web network management system client and Web network management system, accelerate the response speed of the client of Web network management system, to improve the performance of Web network management system.Because data cached (static data and the frequent dynamic data that uses) in the Web network management system client is more, therefore relative huger of data cached required memory headroom.
The development mode of transmitting with the server end data that is based on the page of the framework applications of existing Web network management system, the framework of Web network management system builds on the presentation layer of application program on HTML (Hypertext Markup Language, the HTML) page.Based on the existing Web network management system, people have proposed to be stored in by cookie(the data of subscriber's local terminal) scheme of file cache data; But, the browser of Web network management system client to the capacity maximum constraints of cookie file about 4KB, and data cached being generally about 200MB, therefore, the existing Web network management system can't be by enough data cached of cookie file buffer memory.When the existing Web network management system was used, the client of Web network management system must be at every turn reads data after the conversion from the server end of Web network management system; Because the quantity of the client of Web network management system is more, therefore many Web network management system client read data after the conversion from Web network management system server end, can take Web network management system server end a large amount of time and resource, so the response time of having caused the Web network management system is long, the user experience relatively poor, performance is lower.
Along with RIA technology (Rich Internet Application, the rich internet application) appearance, the RIA technology provides the visit API(Application Programming Interface in the separate, stored district (Isolated Storage) to the Web network management system client from the aspect of development language, application programming interface), make data can be cached in the separate, stored district, based on the network management system of RIA under the condition of subscriber authorisation almost to the amount of capacity in separate, stored district without limits.But the data cache method that the RIA technology provides itself can only all be put into the physical memory of network management system client to data simply or all put into the separate, stored district of local disk; Because data cached more in the Web network management system, therefore, the RIA technology is the more data cached physical memory of all putting into the Web network management system client, can make that the occupancy of physical memory of Web network management system client is higher; The RIA technology is with more data cached when all putting into the separate, stored district, and the disk of depositing separate, stored district file need frequently read, and the response time of frequent reading disk is longer, and then makes based on the performance of the network management system of RIA lower.
Summary of the invention
At the defective that exists in the prior art, the object of the present invention is to provide a kind of based on data cache method and system in the Web NM client of RIA, it can put into physical memory with the partial buffering data according to user's demand, and the partial buffering data are put into the separate, stored district; When data cached by method of the present invention, it is less not only to take physical memory, and has reduced the reading times of disk, has accelerated the response time of reading disk, has improved the performance of Web network management system.
For reaching above purpose, the technical scheme that the present invention takes is: the data cache method in a kind of Web NM client, may further comprise the steps: A, the initialization of Web network management system, according to the number of devices of Web network management system management, determine required data cached scale; According to required data cached scale, in the client of Web network management system, create the separate, stored district that is used for the memory buffers data; B, in the physical memory of Web network management system client, will deposit data cached zone marker for the memory-resident data field that is used for storage memory-resident data and be used for the non-resident internal storage data district of depositing non-resident internal storage data; The memory-resident data comprise static data, and non-resident internal storage data comprises dynamic data; C, according to the data type of described memory-resident data, read the memory-resident data from the server end of Web network management system; The memory-resident data are put into the memory-resident data field, the physical memory release time that the client of setting Web network management system is not worked; D, judge that described non-resident internal storage data needs to use, according to the data type of non-resident internal storage data, read non-resident internal storage data from the server end of Web network management system, non-resident internal storage data is put into non-resident internal storage data district; E, the described non-resident internal storage data of setting reside at the residence time in non-resident internal storage data district, judge that the time that untapped non-resident internal storage data resides at non-resident internal storage data district surpasses residence time, the non-resident internal storage data in the non-resident internal storage data district is released in the separate, stored district; F, judge that time that the client of Web network management system is not worked surpasses physical memory release time, all data cached being released in the separate, stored district in the physical memory with the Web network management system client; G, the memory-resident data in the described separate, stored district are put into the memory-resident data field, judge whether the non-resident internal storage data in the separate, stored district needs to use, if, non-resident internal storage data in the separate, stored district is put into non-resident internal storage data district, and forward step e to, otherwise forward step F to; After the client of H, Web network management system is finished using, all data cached in the client of deletion Web network management system.
On the basis of technique scheme, steps A is further comprising the steps of: judge that described separate, stored district enables, open the separate, stored district; Judging in the described separate, stored district has the data file of leaving over, the data file of leaving in the deletion separate, stored district; The space quota size of judging the separate, stored district according to described required data cached scale is not enough, calculates the quota that the separate, stored district need add, and according to the quota that need add the separate, stored district is carried out dilatation.
On the basis of technique scheme, the quota that described basis calculates comprises the step that the separate, stored district carries out dilatation: show capacity-enlarging information at user interface, after the user confirms capacity-enlarging information, the separate, stored district is carried out dilatation.
On the basis of technique scheme, physical memory described in step C release time is 40 minutes, and residence time described in the step e is 30 minutes.
On the basis of technique scheme, step D is further comprising the steps of: judge that described non-resident internal storage data does not need to use, forward step F to.
On the basis of technique scheme, step e may further comprise the steps: the judgement time of setting non-resident internal storage data is 1 minute, regularly judge that according to judgement time whether non-resident internal storage data resides at the time in non-resident internal storage data district above residence time, if, non-resident internal storage data in the non-resident internal storage data district is released in the separate, stored district, otherwise forwards step F to.
On the basis of technique scheme, step e is further comprising the steps of: judge time that untapped non-resident internal storage data resides at non-resident internal storage data district surpass residence time during, if untapped non-resident internal storage data reuses, then recomputate the time that untapped non-resident internal storage data resides at non-resident internal storage data district.
On the basis of technique scheme, step F is further comprising the steps of: judge that time that the client of Web network management system is not worked surpasses physical memory release time, wait for that the client of Web network management system is finished using, forward step G to.
A kind of based on the described data cache method of such scheme based on the data buffering system in the Web NM client of RIA, comprise: separate, stored district creation module, be used for: the initialization of Web network management system, according to the number of devices of Web network management system management, determine required data cached scale; According to required data cached scale, in the client of Web network management system, create the separate, stored district that is used for the memory buffers data; Data cached mark module, be used for: at the physical memory of Web network management system client, be for the memory-resident data field of storage memory-resident data with for the non-resident internal storage data district of depositing non-resident internal storage data with depositing data cached zone marker; The memory-resident data comprise static data, and non-resident internal storage data comprises dynamic data; The memory-resident data read module is used for: according to the data type of described memory-resident data, read the memory-resident data from the server end of Web network management system; The memory-resident data are put into the memory-resident data field, the physical memory release time that the client of setting Web network management system is not worked; Non-resident internal storage data read module, be used for: judge whether described non-resident internal storage data needs to use, if, read non-resident internal storage data from the server end of Web network management system, non-resident internal storage data is put into non-resident internal storage data district, and produce a non-resident internal storage data release triggering signal, send it to non-resident internal storage data release module; Discharge triggering signal otherwise produce a physical memory, send it to the physical memory release module; Non-resident internal storage data release module, be used for: receive non-resident internal storage data when discharging triggering signal, set the residence time that non-resident internal storage data resides at non-resident internal storage data district, judge that whether untapped non-resident internal storage data resides at the time in non-resident internal storage data district above residence time, if, non-resident internal storage data in the non-resident internal storage data district is released in the separate, stored district, discharge triggering signal otherwise produce a physical memory, send it to the physical memory release module; The physical memory release module, be used for: when receiving physical memory release triggering signal, judge whether time that the client of Web network management system is not worked surpasses physical memory release time, if, all data cached being released in the separate, stored district in the physical memory with the Web network management system client, otherwise after the client of Web network management system is finished using, produce a data cached cleaning triggering signal, send it to data cached cleaning module; The data cached module of putting into is used for: when the Web network management system is worked again, the memory-resident data in the separate, stored district are put into the memory-resident data field; Judge whether the non-resident internal storage data in the separate, stored district needs to use, if, non-resident internal storage data in the separate, stored district is put into non-resident internal storage data district, and produce a non-resident internal storage data and discharge triggering signal, send it to non-resident internal storage data release module, discharge triggering signal otherwise produce a physical memory, send it to the physical memory release module; Data cached cleaning module is used for: when receiving data cached cleaning triggering signal, all data cached in the deletion Web network management system client.
On the basis of technique scheme, also comprise: detecting unit is created in the separate, stored district, be used for: judge whether described separate, stored district is enabled, if, then open the separate, stored district, otherwise judge in the described separate, stored district whether the data file of leaving over is arranged, if, then delete the data file of leaving in the separate, stored district, otherwise whether the space quota size of judging the separate, stored district according to described required data cached scale is not enough, if then calculate the quota that the separate, stored district need add, according to the quota that need add the separate, stored district is carried out dilatation, otherwise finish the detection in separate, stored district.
Beneficial effect of the present invention is:
(1) the present invention is in the physical memory of Web network management system client, be memory-resident data field and non-resident internal storage data district with depositing data cached zone marker, the memory-resident deposit data is in the memory-resident data field, non-resident internal storage data is put into non-resident internal storage data district according to user's demand, non-resident internal storage data in non-resident internal storage data district resident certain between after can be released into automatically in the separate, stored district.Data cachedly put into physical memory or whole data cached separate, stored districts that puts into is compared whole with prior art, the present invention not only makes data cached less in the physical memory, the occupancy of physical memory is lower, and data cached less in the separate, stored district, not only reading times is less when reading the disk in separate, stored district, and the response speed of disk is very fast.In sum, higher, user-friendly with the performance of the Web network management system of using data by buffer memory of the present invention.
(2) the present invention can according to physical memory release time of setting regularly with data cached being released in the separate, stored district all in the physical memory, the maximized occupancy that reduces the physical memory of Web network management system client has improved the performance of Web network management system client.
(3) the present invention is with in all data cached separate, stored districts that are released into the Web network management system client in the physical memory, when the user need reuse when data cached, only need in the separate, stored district of Web network management system client, data cached being converted in the physical memory got final product.Compare with the data that a plurality of Web network management system client in the prior art read after the conversion from the backstage of Web network management system server end, the present invention only needs the client translation data in the Web network management system, the client of Web network management system is only moved a Web network management system client software, and the client of Web network management system needs data converted less.Therefore, it is less that data transaction takies time and the resource of Web network management system client, and then make that the response time of Web network management system is very fast, better user experience, and performance is higher.
Description of drawings
Fig. 1 is the flow chart of method in the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples the present invention is described in further detail.
Referring to shown in Figure 1, in the embodiment of the invention based on the data cache method in the Web NM client of RIA, adopt Microsoft Silverlight(Microsoft silver light) as RIA(Rich Internet Application, the rich internet application) development technique of rich client, it may further comprise the steps:
The initialization of S1:Web network management system according to the number of devices of Web network management system (hereinafter to be referred as the Web network management system) management, is determined required data cached scale; According to required data cached scale, in the Web network management system client, create the separate, stored district that is used for the memory buffers data.
The separate, stored district is an abstract memory location, it comprises one or more independently storage files (being called separate, stored district file), comprise the physical directory position of storing data in the separate, stored district file, the data of any kind all can be stored in the separate, stored district.
S2: judge whether the separate, stored district is enabled, if then forward S4 to, otherwise forward S3 to.
Judge when whether the separate, stored district is enabled judged by the client of Web network management system whether the separate, stored district function of client browser opens, if then the separate, stored district is enabled, otherwise separate, stored district not enabled.
S3: open the separate, stored district, and re-execute S2, open to confirm the separate, stored district.
When opening the separate, stored district, how to operate, enable the separate, stored district by Web network management system client guides user.
S4: judge whether the data file of leaving over is arranged in the separate, stored district, if then forward S5 to, otherwise forward S6 to.
S5: the data file of leaving in the deletion separate, stored district, and re-execute S4, with the data file of confirming not leave in the separate, stored district.
The data file left over of deletion can maximized release separate, stored district the space.
S6: whether the space quota size of judging the separate, stored district according to required data cached scale is not enough, if then forward S7 to, otherwise forward S8 to.
S7: calculate the quota that the separate, stored district need add, according to the quota that need add the separate, stored district is carried out dilatation, and re-execute S6, enough with the quota of confirming the separate, stored district.
Separate, stored is carried out not being inconsistent in order to prevent required data cached scale and actual conditions before the dilatation, and the Web network management system can show capacity-enlarging information at user interface, treat that the user confirms capacity-enlarging information after, the separate, stored district is carried out dilatation.
S8: in the physical memory of Web network management system client, be for the memory-resident data field of storage memory-resident data with for the non-resident internal storage data district of depositing non-resident internal storage data with depositing data cached zone marker;
The memory-resident data are generally static data, static data is never expired data, and the data type of memory-resident data comprises warning code, the performance code of warning code, machine disc-type correspondence, performance code and the network equipment essential information of machine disc-type correspondence;
Non-resident internal storage data is generally dynamic data, and dynamic data is the interim data of using, and the data type of non-resident internal storage data comprises facility information and the network topological information of the user profile of current Web network management system, current engineering.
S9: according to the data type of memory-resident data, read the memory-resident data from the server end of Web network management system, the memory-resident data are put into the memory-resident data field, and be 40 minutes physical memory release time of setting that the Web network management system client do not work.
S10: judge according to user's demand whether needs use non-resident internal storage data, if then forward S11 to, otherwise forward S14 to.
When the user need use non-resident internal storage data, the user can trigger the web network management system client and read non-resident internal storage data from the server end of Web network management system.
S11: according to the data type of non-resident internal storage data, read non-resident internal storage data from the server end of Web network management system, non-resident internal storage data is put into non-resident internal storage data district.
S12: setting the residence time that non-resident internal storage data resides at non-resident internal storage data district is 30 minutes; Judge that whether untapped non-resident internal storage data resides at the time in non-resident internal storage data district above residence time, if then forward S13 to, otherwise forward S14 to.
Judge when whether time that untapped non-resident internal storage data resides at non-resident internal storage data district surpass residence time, at first setting the judgement time of judging non-resident internal storage data is 1 minute, and the client of Web network management system is made regular check on (each minute checks once) non-resident internal storage data according to judgement time and whether resided at the time in non-resident internal storage data district above residence time.
Client each minute of Web network management system checks once whether the time that non-resident internal storage data resides at non-resident internal storage data district surpass residence time, can not be in for a long time in the physical memory of Web network management system client by the non-resident internal storage data of maximized assurance.
Judge time that untapped non-resident internal storage data resides at non-resident internal storage data district whether surpass residence time during the time, if untapped non-resident internal storage data is reused by the user, in order to guarantee normal service time of user, recomputate the time that untapped non-resident internal storage data resides at non-resident internal storage data district.
S13: the non-resident internal storage data in the non-resident internal storage data district is released in the separate, stored district.
Non-resident internal storage data in the non-resident internal storage data district is released in the separate, stored district, can reduces non-resident internal storage data to the occupancy of the physical memory of Web network management system client.
S14: judge whether time that the Web network management system client do not work surpass physical memory release time, if then forward S15 to, otherwise forward S18 to.
S15: all data cached being released in the separate, stored district in the physical memory with the Web network management system client.
When the user did not use the Web network management system client for a long time, all data cached being released in the separate, stored district in the physical memory with the Web network management system client can be reduced data cached occupancy to physical memory.
S16: when the user reuses the Web network management system client, memory-resident data in the separate, stored district are put into the memory-resident data field.
S17: according to user's demand, judge whether the non-resident internal storage data in the separate, stored district needs to use, if then the non-resident internal storage data in the separate, stored district is put into non-resident internal storage data district, and forward S12 to, otherwise forward S14 to.
After the client of S18:Web network management system is finished using, all data cached in the client of deletion Web network management system.
Above-mentioned steps is used data cache method of the present invention first for the user, when the user reuses, owing to set up the separate, stored district that is used for the memory buffers data among the S1, so the user can be after the initialization of Web network management system, need not set up the separate, stored district, directly carry out S3.
A kind of based on the data buffering system in the Web NM client of RIA, comprising:
Separate, stored district creation module is used for: the initialization of Web network management system, according to the number of devices of Web network management system management, determine required data cached scale; According to required data cached scale, in the client of Web network management system, create the separate, stored district that is used for the memory buffers data.
Detecting unit is created in the separate, stored district, be used for: judge whether described separate, stored district is enabled, if, then open the separate, stored district, otherwise judge in the described separate, stored district whether the data file of leaving over is arranged, if, then delete the data file of leaving in the separate, stored district, otherwise whether the space quota size of judging the separate, stored district according to described required data cached scale is not enough, if, then calculate the quota that the separate, stored district need add, according to the quota that need add the separate, stored district is carried out dilatation, otherwise finish the detection in separate, stored district.
Data cached mark module, be used for: at the physical memory of Web network management system client, be for the memory-resident data field of storage memory-resident data with for the non-resident internal storage data district of depositing non-resident internal storage data with depositing data cached zone marker; The memory-resident data comprise static data, and non-resident internal storage data comprises dynamic data.
The memory-resident data read module is used for: according to the data type of described memory-resident data, read the memory-resident data from the server end of Web network management system; The memory-resident data are put into the memory-resident data field, the physical memory release time that the client of setting Web network management system is not worked.
Non-resident internal storage data read module, be used for: judge whether described non-resident internal storage data needs to use, if, read non-resident internal storage data from the server end of Web network management system, non-resident internal storage data is put into non-resident internal storage data district, and produce a non-resident internal storage data release triggering signal, send it to non-resident internal storage data release module; Discharge triggering signal otherwise produce a physical memory, send it to the physical memory release module.
Non-resident internal storage data release module, be used for: receive non-resident internal storage data when discharging triggering signal, set the residence time that non-resident internal storage data resides at non-resident internal storage data district, judge that whether untapped non-resident internal storage data resides at the time in non-resident internal storage data district above residence time, if, non-resident internal storage data in the non-resident internal storage data district is released in the separate, stored district, discharge triggering signal otherwise produce a physical memory, send it to the physical memory release module.
The physical memory release module, be used for: when receiving physical memory release triggering signal, judge whether time that the client of Web network management system is not worked surpasses physical memory release time, if, all data cached being released in the separate, stored district in the physical memory with the Web network management system client, otherwise after the client of Web network management system is finished using, produce a data cached cleaning triggering signal, send it to data cached cleaning module.
The data cached module of putting into is used for: when the Web network management system is worked again, the memory-resident data in the separate, stored district are put into the memory-resident data field; Judge whether the non-resident internal storage data in the separate, stored district needs to use, if, non-resident internal storage data in the separate, stored district is put into non-resident internal storage data district, and produce a non-resident internal storage data and discharge triggering signal, send it to non-resident internal storage data release module, discharge triggering signal otherwise produce a physical memory, send it to the physical memory release module.
Data cached cleaning module is used for: when receiving data cached cleaning triggering signal, all data cached in the deletion Web network management system client.
The present invention is not limited to above-mentioned execution mode, for those skilled in the art, under the prerequisite that does not break away from the principle of the invention, can also make some improvements and modifications, and these improvements and modifications also are considered as within protection scope of the present invention.The content that is not described in detail in this specification belongs to this area professional and technical personnel's known prior art.
Claims (10)
1. the data cache method in the Web NM client is characterized in that, may further comprise the steps:
A, the initialization of Web network management system according to the number of devices of Web network management system management, are determined required data cached scale; According to required data cached scale, in the client of Web network management system, create the separate, stored district that is used for the memory buffers data;
B, in the physical memory of Web network management system client, will deposit data cached zone marker for the memory-resident data field that is used for storage memory-resident data and be used for the non-resident internal storage data district of depositing non-resident internal storage data; The memory-resident data comprise static data, and non-resident internal storage data comprises dynamic data;
C, according to the data type of described memory-resident data, read the memory-resident data from the server end of Web network management system; The memory-resident data are put into the memory-resident data field, the physical memory release time that the client of setting Web network management system is not worked;
D, judge that described non-resident internal storage data needs to use, according to the data type of non-resident internal storage data, read non-resident internal storage data from the server end of Web network management system, non-resident internal storage data is put into non-resident internal storage data district;
E, the described non-resident internal storage data of setting reside at the residence time in non-resident internal storage data district, judge that the time that untapped non-resident internal storage data resides at non-resident internal storage data district surpasses residence time, the non-resident internal storage data in the non-resident internal storage data district is released in the separate, stored district;
F, judge that time that the client of Web network management system is not worked surpasses physical memory release time, all data cached being released in the separate, stored district in the physical memory with the Web network management system client;
G, the memory-resident data in the described separate, stored district are put into the memory-resident data field, judge whether the non-resident internal storage data in the separate, stored district needs to use, if, non-resident internal storage data in the separate, stored district is put into non-resident internal storage data district, and forward step e to, otherwise forward step F to;
After the client of H, Web network management system is finished using, all data cached in the client of deletion Web network management system.
2. as claimed in claim 1 based on the data cache method in the Web NM client of RIA, it is characterized in that steps A is further comprising the steps of: judge that described separate, stored district enables, open the separate, stored district; Judging in the described separate, stored district has the data file of leaving over, the data file of leaving in the deletion separate, stored district; The space quota size of judging the separate, stored district according to described required data cached scale is not enough, calculates the quota that the separate, stored district need add, and according to the quota that need add the separate, stored district is carried out dilatation.
3. as claimed in claim 2 based on the data cache method in the Web NM client of RIA, it is characterized in that, the quota that described basis calculates comprises the step that the separate, stored district carries out dilatation: show capacity-enlarging information at user interface, after the user confirms capacity-enlarging information, the separate, stored district is carried out dilatation.
4. as claimed in claim 1 based on the data cache method in the Web NM client of RIA, it is characterized in that: physical memory described in step C release time is 40 minutes, and residence time described in the step e is 30 minutes.
5. as claimed in claim 1 based on the data cache method in the Web NM client of RIA, it is characterized in that step D is further comprising the steps of: judge that described non-resident internal storage data does not need to use, forward step F to.
6. as claimed in claim 1 based on the data cache method in the Web NM client of RIA, it is characterized in that, step e may further comprise the steps: the judgement time of setting non-resident internal storage data is 1 minute, regularly judge that according to judgement time whether non-resident internal storage data resides at the time in non-resident internal storage data district above residence time, if, non-resident internal storage data in the non-resident internal storage data district is released in the separate, stored district, otherwise forwards step F to.
7. as claimed in claim 1 based on data cache method and system in the Web NM client of RIA, it is characterized in that, step e is further comprising the steps of: judge time that untapped non-resident internal storage data resides at non-resident internal storage data district surpass residence time during, if untapped non-resident internal storage data reuses, then recomputate the time that untapped non-resident internal storage data resides at non-resident internal storage data district.
8. as claimed in claim 1 based on data cache method and system in the Web NM client of RIA, it is characterized in that, step F is further comprising the steps of: judge that time that the client of Web network management system is not worked surpasses physical memory release time, the client of wait Web network management system is finished using, and forwards step G to.
One kind based on each described data cache method in the claim 1 to 8 based on the data buffering system in the Web NM client of RIA, it is characterized in that, comprising:
Separate, stored district creation module is used for: the initialization of Web network management system, according to the number of devices of Web network management system management, determine required data cached scale; According to required data cached scale, in the client of Web network management system, create the separate, stored district that is used for the memory buffers data;
Data cached mark module, be used for: at the physical memory of Web network management system client, be for the memory-resident data field of storage memory-resident data with for the non-resident internal storage data district of depositing non-resident internal storage data with depositing data cached zone marker; The memory-resident data comprise static data, and non-resident internal storage data comprises dynamic data;
The memory-resident data read module is used for: according to the data type of described memory-resident data, read the memory-resident data from the server end of Web network management system; The memory-resident data are put into the memory-resident data field, the physical memory release time that the client of setting Web network management system is not worked;
Non-resident internal storage data read module, be used for: judge whether described non-resident internal storage data needs to use, if, read non-resident internal storage data from the server end of Web network management system, non-resident internal storage data is put into non-resident internal storage data district, and produce a non-resident internal storage data release triggering signal, send it to non-resident internal storage data release module; Discharge triggering signal otherwise produce a physical memory, send it to the physical memory release module;
Non-resident internal storage data release module, be used for: receive non-resident internal storage data when discharging triggering signal, set the residence time that non-resident internal storage data resides at non-resident internal storage data district, judge that whether untapped non-resident internal storage data resides at the time in non-resident internal storage data district above residence time, if, non-resident internal storage data in the non-resident internal storage data district is released in the separate, stored district, discharge triggering signal otherwise produce a physical memory, send it to the physical memory release module;
The physical memory release module, be used for: when receiving physical memory release triggering signal, judge whether time that the client of Web network management system is not worked surpasses physical memory release time, if, all data cached being released in the separate, stored district in the physical memory with the Web network management system client, otherwise after the client of Web network management system is finished using, produce a data cached cleaning triggering signal, send it to data cached cleaning module;
The data cached module of putting into is used for: when the Web network management system is worked again, the memory-resident data in the separate, stored district are put into the memory-resident data field; Judge whether the non-resident internal storage data in the separate, stored district needs to use, if, non-resident internal storage data in the separate, stored district is put into non-resident internal storage data district, and produce a non-resident internal storage data and discharge triggering signal, send it to non-resident internal storage data release module, discharge triggering signal otherwise produce a physical memory, send it to the physical memory release module;
Data cached cleaning module is used for: when receiving data cached cleaning triggering signal, all data cached in the deletion Web network management system client.
10. as claimed in claim 9ly it is characterized in that based on the data buffering system in the Web NM client of RIA, also comprise:
Detecting unit is created in the separate, stored district, be used for: judge whether described separate, stored district is enabled, if, then open the separate, stored district, otherwise judge in the described separate, stored district whether the data file of leaving over is arranged, if, then delete the data file of leaving in the separate, stored district, otherwise whether the space quota size of judging the separate, stored district according to described required data cached scale is not enough, if, then calculate the quota that the separate, stored district need add, according to the quota that need add the separate, stored district is carried out dilatation, otherwise finish the detection in separate, stored district.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310094574.5A CN103209212B (en) | 2013-03-22 | 2013-03-22 | Based on the data cache method in the Web network management client of RIA and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310094574.5A CN103209212B (en) | 2013-03-22 | 2013-03-22 | Based on the data cache method in the Web network management client of RIA and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103209212A true CN103209212A (en) | 2013-07-17 |
CN103209212B CN103209212B (en) | 2015-09-16 |
Family
ID=48756296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310094574.5A Active CN103209212B (en) | 2013-03-22 | 2013-03-22 | Based on the data cache method in the Web network management client of RIA and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103209212B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593439A (en) * | 2013-11-15 | 2014-02-19 | 太仓市同维电子有限公司 | Method for storing temporary data in configuration file |
CN105119763A (en) * | 2015-09-24 | 2015-12-02 | 烽火通信科技股份有限公司 | RIA-based Web network management client big data rapid export method and system |
WO2017219982A1 (en) * | 2016-06-21 | 2017-12-28 | 中兴通讯股份有限公司 | Cache clear method and apparatus |
CN109391936A (en) * | 2018-09-19 | 2019-02-26 | 四川长虹电器股份有限公司 | A kind of method of OTA upgrade package encryption downloading |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002006929A2 (en) * | 2000-07-18 | 2002-01-24 | Intel Corporation | Controlling access to multiple isolated memories in an isolated execution environment |
CN101882156A (en) * | 2010-06-13 | 2010-11-10 | 用友软件股份有限公司 | Controllable cache method and system of Silverlight client side |
CN102984266A (en) * | 2012-12-05 | 2013-03-20 | 杭州勒卡斯广告策划有限公司 | Interactive processing method and device for data |
-
2013
- 2013-03-22 CN CN201310094574.5A patent/CN103209212B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002006929A2 (en) * | 2000-07-18 | 2002-01-24 | Intel Corporation | Controlling access to multiple isolated memories in an isolated execution environment |
CN101882156A (en) * | 2010-06-13 | 2010-11-10 | 用友软件股份有限公司 | Controllable cache method and system of Silverlight client side |
CN102984266A (en) * | 2012-12-05 | 2013-03-20 | 杭州勒卡斯广告策划有限公司 | Interactive processing method and device for data |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103593439A (en) * | 2013-11-15 | 2014-02-19 | 太仓市同维电子有限公司 | Method for storing temporary data in configuration file |
CN103593439B (en) * | 2013-11-15 | 2016-08-31 | 太仓市同维电子有限公司 | A kind of method preserving ephemeral data in configuration file |
CN105119763A (en) * | 2015-09-24 | 2015-12-02 | 烽火通信科技股份有限公司 | RIA-based Web network management client big data rapid export method and system |
CN105119763B (en) * | 2015-09-24 | 2018-12-28 | 烽火通信科技股份有限公司 | The quick deriving method of the big data of Web network management client based on RIA and system |
WO2017219982A1 (en) * | 2016-06-21 | 2017-12-28 | 中兴通讯股份有限公司 | Cache clear method and apparatus |
CN107526690A (en) * | 2016-06-21 | 2017-12-29 | 中兴通讯股份有限公司 | Remove the method and device of caching |
CN107526690B (en) * | 2016-06-21 | 2022-12-02 | 中兴通讯股份有限公司 | Method and device for clearing cache |
CN109391936A (en) * | 2018-09-19 | 2019-02-26 | 四川长虹电器股份有限公司 | A kind of method of OTA upgrade package encryption downloading |
Also Published As
Publication number | Publication date |
---|---|
CN103209212B (en) | 2015-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11734125B2 (en) | Tiered cloud storage for different availability and performance requirements | |
CN109947668B (en) | Method and device for storing data | |
CN105677250B (en) | The update method and updating device of object data in object storage system | |
CN106302595B (en) | Method and equipment for carrying out health check on server | |
CN107256256B (en) | Local storage connected to networked storage system | |
CN107679684A (en) | Declaration form distribution method, device, storage medium and computer equipment | |
CN108897495B (en) | Cache updating method, device, cache equipment and storage medium | |
US8775749B2 (en) | Demand based memory management of non-pagable data storage | |
CN109086141B (en) | Memory management method and device and computer readable storage medium | |
CN105787091B (en) | Support the content delivering system and method for multiple terminals | |
US9075722B2 (en) | Clustered and highly-available wide-area write-through file system cache | |
US11249946B2 (en) | Path name cache for notifications of file changes | |
CN109766362A (en) | Data processing method and device | |
CN111061752B (en) | Data processing method and device and electronic equipment | |
CN107911799B (en) | Method for utilizing intelligent route | |
CN104881466A (en) | Method and device for processing data fragments and deleting garbage files | |
CN103209212A (en) | Data caching method and system in Web network management client based on rich internet application (RIA) | |
CN109656886B (en) | Key value pair-based file system implementation method, device, equipment and storage medium | |
CN111966938B (en) | Configuration method and system for realizing loading speed improvement of front-end page of cloud platform | |
CN104484482A (en) | Webpage information updating method and system of network platform | |
CN106789901A (en) | A kind of method and device for preventing malice from submitting web-page requests to | |
CN106126731A (en) | A kind of method and device obtaining Elasticsearch paged data | |
CN109471989A (en) | A kind of page request processing method and relevant apparatus | |
US9922093B2 (en) | Managing presentation of online content | |
CN110888847A (en) | Recycle bin system and file recycling method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |