CN103209212B - Based on the data cache method in the Web network management client of RIA and system - Google Patents

Based on the data cache method in the Web network management client of RIA and system Download PDF

Info

Publication number
CN103209212B
CN103209212B CN201310094574.5A CN201310094574A CN103209212B CN 103209212 B CN103209212 B CN 103209212B CN 201310094574 A CN201310094574 A CN 201310094574A CN 103209212 B CN103209212 B CN 103209212B
Authority
CN
China
Prior art keywords
data
resident
internal storage
network management
storage data
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.)
Active
Application number
CN201310094574.5A
Other languages
Chinese (zh)
Other versions
CN103209212A (en
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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201310094574.5A priority Critical patent/CN103209212B/en
Publication of CN103209212A publication Critical patent/CN103209212A/en
Application granted granted Critical
Publication of CN103209212B publication Critical patent/CN103209212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of based on the data cache method in the Web network management client of RIA and system, relate to data buffer storage field in network management system.Its step is: create separate, stored district; Be memory-resident data field and non-resident internal storage data district by depositing data cached zone marker in physical memory; Memory-resident data and non-resident internal storage data are put into respectively memory-resident data field and non-resident internal storage data district; When user does not use, memory-resident data and non-resident internal storage data are released into separate, stored district by timing, when user reuses, memory-resident data and non-resident internal storage data are put into physical memory; After user finishes using, delete all data cached.The present invention can put into physical memory and separate, stored district according to the demand of user by data cached respectively, not only takies physical memory less, and decreases the reading times of disk, improve the performance of Web network management system.

Description

Based on the data cache method in the Web network management client of RIA and system
Technical field
The present invention relates to data buffer storage field in network management system, be specifically related to a kind of based on the data cache method in the Web network management client of RIA and system.
Background technology
Network management system is a kind of software and hardware combining and the distribute network application system based on software, its object is to supervising the network, ensures network-efficient, runs normally; It is large that network management system has data volume, performance requirement high.
Along with the development of information-intensive society, user more and more payes attention to the height of network management system (hereinafter referred to as the Web network management system) performance that type is Web.In order to realize high performance Web network management system, caching static data and the frequent dynamic data used is needed in the client of Web network management system, complete in the client of Web network management system to make data calculating a large amount of in Web network management system and data transaction, and then the data reducing Web network management system travel to and fro between Web network management system client and Web network management system server end between number of times, 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 used) in Web network management system client is more, therefore relative huger of data cached required memory headroom.
The framework applications of existing Web network management system be the development mode transmitted with servers' data based on the page, 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 existing Web network management system, there has been proposed the data being stored in user local terminal by cookie() scheme of file cache data; But the browser of Web network management system client is to the capacity maximum limit of cookie file built in about 4KB, and data cached about the 200MB that is generally, therefore, existing Web network management system cannot by enough data cached of cookie file buffer memory.When existing Web network management system uses, the client of Web network management system must read the data after conversion from the server end of Web network management system at every turn; Because the quantity of the client of Web network management system is more, therefore multiple stage Web network management system client reads the data after conversion from Web network management system server end, can take Web network management system server end a large amount of time and resource, and then the response time causing Web network management system is longer, Consumer's Experience is poor, performance is lower.
Along with RIA technology (Rich Internet Application, rich internet apply) appearance, RIA technology provides the access API(Application ProgrammingInterface in the separate, stored district (Isolated Storage) to Web network management system client from the aspect of development language, application programming interface), make data can be cached in separate, stored district, the network management system based on RIA does not almost limit the amount of capacity in separate, stored district under the condition of subscriber authorisation.But the data cache method that RIA technology provides itself can only all be put into the physical memory of network management system client data simply or all put into the separate, stored district of local disk; Data cached more due in Web network management system, therefore, RIA technology, by the more data cached physical memory all putting into Web network management system client, can make the occupancy of the physical memory of Web network management system client higher; RIA technology by more data cached all put into separate, stored district time, the disk depositing separate, stored area file needs frequent reading, and the response time of frequent reading disk is longer, and then makes the performance of the network management system based on RIA lower.
Summary of the invention
For the defect existed in prior art, the object of the present invention is to provide a kind of based on the data cache method in the Web network management client of RIA and system, partial buffering data can be put into physical memory according to the demand of user by it, and partial buffering data are put into separate, stored district; Time data cached by method of the present invention, not only take physical memory less, and decrease the reading times of disk, accelerate the response time of reading disk, improve the performance of Web network management system.
For reaching above object, the technical scheme that the present invention takes is: the data cache method in a kind of Web network management client, comprise the following steps: the initialization of A, 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 being used for memory buffers data; B, in the physical memory of Web network management system client, be memory-resident data field for storing memory-resident data and the non-resident internal storage data district being used for depositing non-resident internal storage data by depositing data cached zone marker; Memory-resident data comprise static data, and non-resident internal storage data comprises dynamic data; C, data type according to described memory-resident data, read memory-resident data from the server end of Web network management system; Memory-resident data are put into memory-resident data field, the physical memory release time that the client setting Web network management system does not work; D, judge described non-resident internal storage data need 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 put into non-resident internal storage data district; E, set the residence time that described non-resident internal storage data resides at 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 exceedes residence time, the non-resident internal storage data in non-resident internal storage data district is released in separate, stored district; F, judge that time that the client of Web network management system does not work exceedes physical memory release time, be data cachedly released in separate, stored district by all in the physical memory of Web network management system client; G, the memory-resident data in described separate, stored district are put into memory-resident data field, judge that non-resident internal storage data in separate, stored district is the need of use, if, non-resident internal storage data in 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, delete in the client of Web network management system all data cached.
On the basis of technique scheme, steps A is further comprising the steps of: judge that described separate, stored district is enabled, open separate, stored district; Judge there is the data file left in described separate, stored district, delete the data file left in separate, stored district; Judge that the space quota size in separate, stored district is not enough according to described required data cached scale, calculate the quota that separate, stored district need add, according to the quota that need add, dilatation is carried out to separate, stored district.
On the basis of technique scheme, the quota that described basis calculates comprises the step that separate, stored district carries out dilatation: at user interface display capacity-enlarging information, after user confirms capacity-enlarging information, carry out dilatation to separate, stored district.
On the basis of technique scheme, physical memory described in step C release time is 40 minutes, and residence time described in 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 comprises the following steps: the judgement time setting non-resident internal storage data is 1 minute, regularly judge whether the time that non-resident internal storage data resides at non-resident internal storage data district exceedes residence time according to the time that judges, if, non-resident internal storage data in non-resident internal storage data district is released in separate, stored district, otherwise forwards step F to.
On the basis of technique scheme, step e is further comprising the steps of: during judging that time that untapped non-resident internal storage data resides at non-resident internal storage data district exceedes residence time, if untapped non-resident internal storage data reuses, then recalculate 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 does not work does not exceed 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 data cache method described in such scheme based on the data buffering system in the Web network management client of RIA, comprise: separate, stored district creation module, 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 being used for memory buffers data; Data cached mark module, for: in the physical memory of Web network management system client, be memory-resident data field for storing memory-resident data and the non-resident internal storage data district being used for depositing non-resident internal storage data by depositing data cached zone marker; Memory-resident data comprise static data, and non-resident internal storage data comprises dynamic data; Memory-resident data read module, for: according to the data type of described memory-resident data, read memory-resident data from the server end of Web network management system; Memory-resident data are put into memory-resident data field, the physical memory release time that the client setting Web network management system does not work; Non-resident internal storage data read module, for: judge that described non-resident internal storage data is the need of use, if, non-resident internal storage data is read 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; Otherwise produce a physical memory release triggering signal, send it to physical memory release module; Non-resident internal storage data release module, for: when receiving non-resident internal storage data release triggering signal, set the residence time that non-resident internal storage data resides at non-resident internal storage data district, judge whether the time that untapped non-resident internal storage data resides at non-resident internal storage data district exceedes residence time, if, non-resident internal storage data in non-resident internal storage data district is released in separate, stored district, otherwise produce a physical memory release triggering signal, send it to physical memory release module; Physical memory release module, for: when receiving physical memory release triggering signal, judge whether time that the client of Web network management system does not work exceedes physical memory release time, if, data cachedly be released in separate, stored district by all in the physical memory of 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; Data cachedly put into module, for: when Web network management system works again, the memory-resident data in separate, stored district are put into memory-resident data field; Judge that non-resident internal storage data in separate, stored district is the need of use, if, non-resident internal storage data in separate, stored district 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, otherwise produce a physical memory release triggering signal, send it to physical memory release module; Data cached cleaning module, for: when receiving data cached cleaning triggering signal, delete in Web network management system client all data cached.
On the basis of technique scheme, also comprise: separate, stored district creates detecting unit, for: judge whether described separate, stored district is enabled, if, then open separate, stored district, otherwise judge whether there is the data file left in described separate, stored district, if, then delete the data file left in separate, stored district, otherwise judge that whether the space quota size in separate, stored district is not enough according to described required data cached scale, if, then calculate the quota need added in separate, stored district, according to the quota that need add, dilatation is carried out to separate, stored district, otherwise complete 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 by depositing data cached zone marker, memory-resident deposit data is in memory-resident data field, non-resident internal storage data puts into non-resident internal storage data district according to the demand of user, non-resident internal storage data in non-resident internal storage data district resident certain between after can automatically be released in separate, stored district.By whole with prior art data cachedly put into physical memory or data cachedly put into compared with separate, stored district by whole, it is data cached less that the present invention not only makes in physical memory, the occupancy of physical memory is lower, and data cached less in separate, stored district, when reading the disk in separate, stored district, not only reading times is less, and the response speed of disk is very fast.In sum, higher, user-friendly by the performance of the Web network management system of buffer memory of the present invention and usage data.
(2) the present invention regularly data cachedly can be released in separate, stored district by all in physical memory according to physical memory release time of setting, the occupancy of the physical memory of maximized reduction Web network management system client, improves the performance of Web network management system client.
(3) the present invention is data cachedly released in the separate, stored district of Web network management system client by all in physical memory, when user needs to reuse data cached, only need be converted to data cached in physical memory in the separate, stored district of Web network management system client.Read compared with the data after changing with Web network management system client multiple in prior art from the backstage of Web network management system server end, the present invention only need in the client translation data of Web network management system, the client of Web network management system only runs a Web network management system client software, and the client of Web network management system needs the data of conversion less.Therefore, data transaction take time of Web network management system client and resource less, and then make the response time of Web network management system very fast, better user experience, performance is higher.
Accompanying drawing explanation
Fig. 1 is the flow chart of method in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
Shown in Figure 1, in the embodiment of the present invention based on the data cache method in the Web network management client of RIA, adopt Microsoft Silverlight(Microsoft silver light) as RIA(Rich Internet Application, rich internet is applied) development technique of rich client, it comprises the following steps:
The initialization of S1:Web network management system, according to the number of devices that Web network management system (hereinafter referred to as Web network management system) manages, determines required data cached scale; According to required data cached scale, in Web network management system client, create the separate, stored district being used for memory buffers data.
Separate, stored district is an abstract memory location, it comprises one or more independently storage file (being called separate, stored area file), comprise the physical directory position storing data in separate, stored area file, the data of any type all can be stored in separate, stored district.
S2: judge whether separate, stored district is enabled, and if so, then forwards S4 to, otherwise forward S3 to.
When judging whether separate, stored district is enabled, judge whether the separate, stored district function of client browser opens, and if so, then separate, stored district is enabled by the client of Web network management system, otherwise separate, stored district not enabled.
S3: open separate, stored district, and re-execute S2, to confirm that separate, stored district opens.
When opening separate, stored district, instructed user how to operate by Web network management system client, enabled separate, stored district.
S4: judge whether there is the data file left in separate, stored district, if so, then forward S5 to, otherwise forward S6 to.
S5: delete the data file left in separate, stored district, and re-execute S4, to confirm the data file do not left in separate, stored district.
Deleting the data file left over can the space in maximized release separate, stored district.
S6: judge that whether the space quota size in separate, stored district is not enough according to required data cached scale, if so, then forward S7 to, otherwise forward S8 to.
S7: calculate the quota that separate, stored district need add, according to the quota that need add, dilatation is carried out to separate, stored district, and re-execute S6, enough to confirm the quota in separate, stored district.
Before carrying out dilatation to separate, stored, in order to prevent required data cached scale and actual conditions not to be inconsistent, Web network management system can show capacity-enlarging information at user interface, confirms after capacity-enlarging information until user, carries out dilatation to separate, stored district.
S8: in the physical memory of Web network management system client is memory-resident data field for storing memory-resident data and the non-resident internal storage data district being used for depositing non-resident internal storage data by depositing data cached zone marker;
Memory-resident data are generally static data, static data is never expired data, and the data type of memory-resident data comprises performance code corresponding to warning code, warning code that machine disc-type is corresponding, performance code, machine disc-type and network equipment essential information;
Non-resident internal storage data is generally dynamic data, and dynamic data is the data of Interim use, and the data type of non-resident internal storage data comprises the user profile of current Web network management system, the facility information of current engineering and network topological information.
S9: according to the data type of memory-resident data, memory-resident data are read from the server end of Web network management system, memory-resident data are put into memory-resident data field, and setting Web network management system client does not work physical memory release time is 40 minutes.
S10: according to the non-resident internal storage data of the demand estimation of user the need of use, if so, then forward S11 to, otherwise forward S14 to.
When user needs to use non-resident internal storage data, user can trigger 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, reads non-resident internal storage data from the server end of Web network management system, and 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 whether the time that untapped non-resident internal storage data resides at non-resident internal storage data district exceedes residence time, if so, then forwards S13 to, otherwise forwards S14 to.
When judging whether the time that untapped non-resident internal storage data resides at non-resident internal storage data district exceedes residence time, first setting judges that the judgement time of non-resident internal storage data is 1 minute, and the client of Web network management system is made regular check on according to the time of judgement the time that (inspection in each minute once) non-resident internal storage data resides at non-resident internal storage data district and whether exceeded residence time.
Each minute of the client of Web network management system checks once whether the time that non-resident internal storage data resides at non-resident internal storage data district exceedes 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 guarantee.
When judging during whether time that untapped non-resident internal storage data resides at non-resident internal storage data district exceedes residence time, if untapped non-resident internal storage data is reused by user, in order to ensure user's normal service time, recalculate 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 non-resident internal storage data district is released in separate, stored district.
Non-resident internal storage data in non-resident internal storage data district is released in separate, stored district, the occupancy of non-resident internal storage data to the physical memory of Web network management system client can be reduced.
S14: judge whether time that Web network management system client does not work exceedes physical memory release time, if so, then forwards S15 to, otherwise forwards S18 to.
S15: to be data cachedly released into all in the physical memory of Web network management system client in separate, stored district.
When user does not use Web network management system client for a long time, be data cachedly released in separate, stored district by all in the physical memory of Web network management system client, the data cached occupancy to physical memory can be reduced.
Memory-resident data in separate, stored district are put into memory-resident data field by S16: when user reuses Web network management system client.
S17: according to the demand of user, judges that non-resident internal storage data in separate, stored district is the need of use, if so, then puts into non-resident internal storage data district by the non-resident internal storage data in separate, stored district, and forwards S12 to, otherwise forward S14 to.
After the client of S18:Web network management system is finished using, delete in the client of Web network management system all data cached.
Above-mentioned steps uses data cache method of the present invention first for user, when user reuses, owing to having established the separate, stored district for memory buffers data in S1, therefore user can after the initialization of Web network management system, separate, stored district need not be set up, directly perform S3.
Based on the data buffering system in the Web network management client of RIA, comprising:
Separate, stored district creation module, 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 being used for memory buffers data.
Separate, stored district creates detecting unit, for: judge whether described separate, stored district is enabled, if, then open separate, stored district, otherwise judge whether there is the data file left in described separate, stored district, if, then delete the data file left in separate, stored district, otherwise judge that whether the space quota size in separate, stored district is not enough according to described required data cached scale, if, then calculate the quota need added in separate, stored district, according to the quota that need add, dilatation is carried out to separate, stored district, otherwise complete the detection in separate, stored district.
Data cached mark module, for: in the physical memory of Web network management system client, be memory-resident data field for storing memory-resident data and the non-resident internal storage data district being used for depositing non-resident internal storage data by depositing data cached zone marker; Memory-resident data comprise static data, and non-resident internal storage data comprises dynamic data.
Memory-resident data read module, for: according to the data type of described memory-resident data, read memory-resident data from the server end of Web network management system; Memory-resident data are put into memory-resident data field, the physical memory release time that the client setting Web network management system does not work.
Non-resident internal storage data read module, for: judge that described non-resident internal storage data is the need of use, if, non-resident internal storage data is read 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; Otherwise produce a physical memory release triggering signal, send it to physical memory release module.
Non-resident internal storage data release module, for: when receiving non-resident internal storage data release triggering signal, set the residence time that non-resident internal storage data resides at non-resident internal storage data district, judge whether the time that untapped non-resident internal storage data resides at non-resident internal storage data district exceedes residence time, if, non-resident internal storage data in non-resident internal storage data district is released in separate, stored district, otherwise produce a physical memory release triggering signal, send it to physical memory release module.
Physical memory release module, for: when receiving physical memory release triggering signal, judge whether time that the client of Web network management system does not work exceedes physical memory release time, if, data cachedly be released in separate, stored district by all in the physical memory of 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.
Data cachedly put into module, for: when Web network management system works again, the memory-resident data in separate, stored district are put into memory-resident data field; Judge that non-resident internal storage data in separate, stored district is the need of use, if, non-resident internal storage data in separate, stored district 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, otherwise produce a physical memory release triggering signal, send it to physical memory release module.
Data cached cleaning module, for: when receiving data cached cleaning triggering signal, delete in Web network management system client all data cached.
The present invention is not limited to above-mentioned execution mode, and for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications are also considered as within protection scope of the present invention.The content be not described in detail in this specification belongs to the known prior art of professional and technical personnel in the field.

Claims (10)

1. the data cache method in Web network management client, is characterized in that, comprises the following steps:
The initialization of A, Web network management system, according to the number of devices of Web network management system management, determines required data cached scale; According to required data cached scale, in the client of Web network management system, create the separate, stored district being used for memory buffers data;
B, in the physical memory of Web network management system client, be memory-resident data field for storing memory-resident data and the non-resident internal storage data district being used for depositing non-resident internal storage data by depositing data cached zone marker; Memory-resident data comprise static data, and non-resident internal storage data comprises dynamic data;
C, data type according to described memory-resident data, read memory-resident data from the server end of Web network management system; Memory-resident data are put into memory-resident data field, the physical memory release time that the client setting Web network management system does not work;
D, judge described non-resident internal storage data need 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 put into non-resident internal storage data district;
E, set the residence time that described non-resident internal storage data resides at 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 exceedes residence time, the non-resident internal storage data in non-resident internal storage data district is released in separate, stored district;
F, judge that time that the client of Web network management system does not work exceedes physical memory release time, be data cachedly released in separate, stored district by all in the physical memory of Web network management system client;
G, the memory-resident data in described separate, stored district are put into memory-resident data field, judge that non-resident internal storage data in separate, stored district is the need of use, if, non-resident internal storage data in 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, delete in the client of Web network management system all data cached.
2. the data cache method in Web network management client as claimed in claim 1, it is characterized in that, steps A is further comprising the steps of: judge that described separate, stored district is enabled, open separate, stored district; Judge there is the data file left in described separate, stored district, delete the data file left in separate, stored district; Judge that the space quota size in separate, stored district is not enough according to described required data cached scale, calculate the quota that separate, stored district need add, according to the quota that need add, dilatation is carried out to separate, stored district.
3. the data cache method in Web network management client as claimed in claim 2, it is characterized in that, the quota that described basis calculates comprises the step that separate, stored district carries out dilatation: at user interface display capacity-enlarging information, after user confirms capacity-enlarging information, dilatation is carried out to separate, stored district.
4. the data cache method in Web network management client as claimed in claim 1, is characterized in that: physical memory described in step C release time is 40 minutes, and residence time described in step e is 30 minutes.
5. the data cache method in Web network management client as claimed in claim 1, 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. the data cache method in Web network management client as claimed in claim 1, it is characterized in that, step e comprises the following steps: the judgement time setting non-resident internal storage data is 1 minute, regularly judge whether the time that non-resident internal storage data resides at non-resident internal storage data district exceedes residence time according to the time that judges, if, non-resident internal storage data in non-resident internal storage data district is released in separate, stored district, otherwise forwards step F to.
7. the data cache method in Web network management client as claimed in claim 1, it is characterized in that, step e is further comprising the steps of: during judging that time that untapped non-resident internal storage data resides at non-resident internal storage data district exceedes residence time, if untapped non-resident internal storage data reuses, then recalculate the time that untapped non-resident internal storage data resides at non-resident internal storage data district.
8. the data cache method in Web network management client as claimed in claim 1, it is characterized in that, step F is further comprising the steps of: judge that time that the client of Web network management system does not work does not exceed physical memory release time, wait for that the client of Web network management system is finished using, forward step G to.
9., based on the data buffering system in the Web network management client of data cache method according to any one of claim 1 to 8, it is characterized in that, comprising:
Separate, stored district creation module, 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 being used for memory buffers data;
Data cached mark module, for: in the physical memory of Web network management system client, be memory-resident data field for storing memory-resident data and the non-resident internal storage data district being used for depositing non-resident internal storage data by depositing data cached zone marker; Memory-resident data comprise static data, and non-resident internal storage data comprises dynamic data;
Memory-resident data read module, for: according to the data type of described memory-resident data, read memory-resident data from the server end of Web network management system; Memory-resident data are put into memory-resident data field, the physical memory release time that the client setting Web network management system does not work;
Non-resident internal storage data read module, for: judge that described non-resident internal storage data is the need of use, if, non-resident internal storage data is read 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; Otherwise produce a physical memory release triggering signal, send it to physical memory release module;
Non-resident internal storage data release module, for: when receiving non-resident internal storage data release triggering signal, set the residence time that non-resident internal storage data resides at non-resident internal storage data district, judge whether the time that untapped non-resident internal storage data resides at non-resident internal storage data district exceedes residence time, if, non-resident internal storage data in non-resident internal storage data district is released in separate, stored district, otherwise produce a physical memory release triggering signal, send it to physical memory release module;
Physical memory release module, for: when receiving physical memory release triggering signal, judge whether time that the client of Web network management system does not work exceedes physical memory release time, if, data cachedly be released in separate, stored district by all in the physical memory of 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;
Data cachedly put into module, for: when Web network management system works again, the memory-resident data in separate, stored district are put into memory-resident data field; Judge that non-resident internal storage data in separate, stored district is the need of use, if, non-resident internal storage data in separate, stored district 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, otherwise produce a physical memory release triggering signal, send it to physical memory release module;
Data cached cleaning module, for: when receiving data cached cleaning triggering signal, delete in Web network management system client all data cached.
10. the data buffering system in Web network management client as claimed in claim 9, is characterized in that, also comprise:
Separate, stored district creates detecting unit, for: judge whether described separate, stored district is enabled, if, then open separate, stored district, otherwise judge whether there is the data file left in described separate, stored district, if, then delete the data file left in separate, stored district, otherwise judge that whether the space quota size in separate, stored district is not enough according to described required data cached scale, if, then calculate the quota need added in separate, stored district, according to the quota that need add, dilatation is carried out to separate, stored district, otherwise complete the detection in separate, stored district.
CN201310094574.5A 2013-03-22 2013-03-22 Based on the data cache method in the Web network management client of RIA and system Active CN103209212B (en)

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 CN103209212A (en) 2013-07-17
CN103209212B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593439B (en) * 2013-11-15 2016-08-31 太仓市同维电子有限公司 A kind of method preserving ephemeral data in configuration file
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
CN107526690B (en) * 2016-06-21 2022-12-02 中兴通讯股份有限公司 Method and device for clearing cache
CN109391936B (en) * 2018-09-19 2021-04-06 四川长虹电器股份有限公司 OTA upgrade package encryption downloading method

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN103209212A (en) 2013-07-17

Similar Documents

Publication Publication Date Title
JP5723208B2 (en) Fail-safe mechanism for dynamic software measurement using callbacks
WO2016026384A1 (en) Client page display method, device and system
US8495166B2 (en) Optimized caching for large data requests
JP2017539000A (en) Dynamic scaling of storage volume for storage client file system
CN103488732A (en) Generation method and device of static pages
CN109766362B (en) Data processing method and device
CN103209212B (en) Based on the data cache method in the Web network management client of RIA and system
CN105373369A (en) Asynchronous caching method, server and system
CN105654291A (en) Method and device for seamless electronic channel payment mode switching
CN103631727A (en) Buffer management method and buffer management system for buffer server
US20180054495A1 (en) Method and System for Mapping, Tracking, and Transporting of Content Data on a Webpage
CN103368867A (en) Method and system of cached object communicating with secondary site through network
CN103530160A (en) Page loading method and device
CN107911799B (en) Method for utilizing intelligent route
CN110191168A (en) Processing method, device, computer equipment and the storage medium of online business datum
CN103716375A (en) Distributed cache-based multistage financial data interaction method and system
CN108319619B (en) Data processing method and device
CN104113567A (en) Content distribution network data processing method, device and system
CN104423982A (en) Request processing method and device
CN109582649A (en) A kind of metadata storing method, device, equipment and readable storage medium storing program for executing
EP3863252A1 (en) Advertisement anti-shielding method and device
CN111966938A (en) Configuration method and system for realizing loading speed improvement of front-end page of cloud platform
CN109587232A (en) Document breakpoint transmission method based on iOS network
CN109471989A (en) A kind of page request processing method and relevant apparatus
CN112783887A (en) Data processing method and device based on data warehouse

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