Processing method and device for data in webpage
A processing method and webpage technology, applied in data processing applications, office automation, computing, etc., can solve problems such as multiple resources, server occupation, and slow data interaction, and achieve the effects of reducing interaction frequency, increasing cache speed, and increasing speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0112] Taking the caching and editing operation information as an example when the browser supports local caching technology, the method for processing data in the webpage in the embodiment of the present disclosure will be described in detail, as follows: figure 2 As shown, the method includes:
[0113] In step S201, it is detected whether the browser supports local caching technology.
[0114] In step S202, when the browser supports the local caching technology, the editing operation performed on the data in the webpage is monitored to obtain editing operation information.
[0115] In step S203, the editing operation information is cached locally.
[0116] The embodiments of the present disclosure realize whether the browser supports the local caching technology, so as to lay a solid foundation for caching the editing operation information, and facilitate caching the editing operation information in the local cache.
Embodiment 2
[0118] Taking the editing operation information cached locally to be sent to the server when the information amount of the editing operation information is equal to or greater than the preset threshold as an example, the method for processing data in the web page in the embodiment of the present disclosure is described in detail, as follows: image 3 As shown, the method includes:
[0119] In step S301, the editing operation performed on the data in the web page is monitored to obtain editing operation information.
[0120] In step S302, the editing operation information is cached locally.
[0121] In step S303, it is judged whether the amount of editing operation information cached locally is equal to or greater than a preset threshold, if yes, execute step S304, otherwise end.
[0122] In one embodiment, a timer is used to periodically check whether the editing operation information in the local cache is equal to or greater than a preset threshold.
[0123] Wherein, the pr...
Embodiment 3
[0128] Taking the corresponding caching of the operation identification information and the editing operation identification to the local as an example, the method for processing data in the web page in the embodiment of the present disclosure is described in detail, as follows: Figure 4 As shown, the method includes:
[0129] In step S401, the editing operation performed on the data in the web page is monitored to obtain editing operation information.
[0130] In step S402, an edit operation identifier corresponding to the edit operation information is generated.
[0131] In an embodiment, the edit operation identifier may include: the time of the edit operation or the sequence number of the edit operation, and the like.
[0132] In step S403, the editing operation information and the editing operation identifier are cached locally.
[0133] The embodiments of the present disclosure differentiate editing operations by using editing operation identifiers, so as to facilitat...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com