CN106776961B - Webpage local storage space expansion method, browser client and electronic equipment - Google Patents

Webpage local storage space expansion method, browser client and electronic equipment Download PDF

Info

Publication number
CN106776961B
CN106776961B CN201611102042.1A CN201611102042A CN106776961B CN 106776961 B CN106776961 B CN 106776961B CN 201611102042 A CN201611102042 A CN 201611102042A CN 106776961 B CN106776961 B CN 106776961B
Authority
CN
China
Prior art keywords
embedded frame
target webpage
content
browser client
storage space
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
CN201611102042.1A
Other languages
Chinese (zh)
Other versions
CN106776961A (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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Alibaba Literature Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Alibaba Literature Information Technology Co Ltd filed Critical Guangzhou Alibaba Literature Information Technology Co Ltd
Priority to CN201611102042.1A priority Critical patent/CN106776961B/en
Publication of CN106776961A publication Critical patent/CN106776961A/en
Application granted granted Critical
Publication of CN106776961B publication Critical patent/CN106776961B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a webpage local storage space capacity expansion method, a browser client and electronic equipment. The webpage local storage space capacity expansion method comprises the following steps: the server creates at least one website for a target webpage; the browser client responds to a content downloading request in the target webpage to generate at least one embedded frame; directing the source of each embedded framework to one of the at least one web site; adding the at least one embedded frame to the target webpage. The embodiment of the invention can break through the upper limit of the local storage space allocated to each webpage by the browser client in a mode of embedding the embedded frame, well solves the problem of the limitation of the local storage space of the webpage, and improves the use experience of users.

Description

Webpage local storage space expansion method, browser client and electronic equipment
Technical Field
The invention relates to the technical field of webpage local storage space management, in particular to a webpage local storage space capacity expansion method, a browser client and electronic equipment.
Background
With the rise of electronic reading, users reading various web contents (such as news, novels and the like) by using electronic devices (such as mobile phones, tablet computers and the like) are increasing. In the prior art, the reading mode through the electronic device can be divided into reading through downloading reading software and reading through directly searching related content through a webpage end. The reading through the webpage end has the advantages of being low in threshold, wide in popularization rate, simple to operate and the like compared with the reading through reading software. However, there is a small upper limit of the local storage space (for example, 5M) in the reading of the web page, and when the internet cannot be accessed and the text reading capacity is large, the storage space of the web page is limited, so that the user cannot continue reading in an offline state, and the use experience of the user in reading the web page is seriously affected.
Disclosure of Invention
In view of this, an object of an embodiment of the present invention is to provide a method for expanding a local storage space of a web page, where the method is applied to a browser client and a server that are in communication connection with each other, and the method includes:
the server creates at least one website for a target webpage;
the browser client generates at least one embedded frame;
directing the source of each embedded framework to one of the at least one web site; and
adding the at least one embedded frame to the target webpage.
Another preferred embodiment of the present invention further provides a method for expanding a local storage space of a web page, which is applied to a browser client communicatively connected to a server, where the method includes:
generating at least one embedded framework;
directing the source of each embedded frame to one of at least one website created by the server for the target web page; and
adding the at least one embedded frame to the target webpage.
Another preferred embodiment of the present invention further provides a browser client, including:
the generating module is used for generating at least one embedded framework;
a source directing module for directing the source of each embedded frame to one of at least one website created by a server for the target webpage; and
and the adding module is used for adding the at least one embedded frame into the target webpage.
Another preferred embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a browser client running on the electronic device. The browser client is installed or stored in the memory, and the processor controls the execution of each functional module of the browser client.
Compared with the prior art, the webpage local storage space expansion method, the browser client and the electronic device provided by the embodiment of the invention expand the local storage space of the target webpage by embedding the embedded frame in the target webpage of the browser client, break through the upper limit of the local storage space allocated to each webpage by the browser client, and well solve the problem of the limitation of the local storage space of the webpage. The method and the device are beneficial to improving the use experience of the user and attracting the user to carry out electronic reading at the webpage end.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is an interaction diagram of a server communicating with at least one electronic device according to a preferred embodiment of the present invention.
Fig. 2 is a block schematic diagram of the electronic device shown in fig. 1.
Fig. 3 is a specific flowchart of a method for expanding a local storage space of a web page according to a first embodiment of the present invention.
Fig. 4 is a flowchart illustrating sub-steps included in step S111 in fig. 3.
Fig. 5 is a specific flowchart of another method for expanding a local storage space of a web page according to a first embodiment of the present invention.
Fig. 6 is a specific flowchart of a method for expanding a local storage space of a web page according to a second embodiment of the present invention.
Fig. 7 is a specific flowchart of another method for expanding a local storage space of a web page according to a second embodiment of the present invention.
Fig. 8 is a functional block diagram of a browser client shown in fig. 1 and 2 according to a third embodiment of the present invention.
Icon: 100-an electronic device; 200-a server; 300-a network; 110-a browser client; 111-a memory; 112-a memory controller; 113-a processor; 114-a communication unit; 1101-a generation module; 1102-source direction module; 1103-add module; 1104-a storage module; 1105-sending module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, an interaction diagram of a server 200 and at least one electronic device 100 according to a preferred embodiment of the invention is shown. The electronic device 100 may access the server 200 through the network 300 to obtain an online content service provided by the server 200. In this embodiment, the server 200 may be, but is not limited to, a web (website) server. The electronic device 100 may be, but is not limited to, a smart phone, a Personal Computer (PC), a tablet PC, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), and the like. The network 300 may be, but is not limited to, a wired network or a wireless network.
Referring to fig. 2, fig. 2 is a block diagram of an electronic device 100 according to an embodiment of the invention. The electronic device 100 includes a browser client 110, a memory 111, a storage controller 112, a processor 113, and a communication unit 114.
The memory 111, the memory controller 112, the processor 113 and the communication unit 114 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The browser client 110 is application software running on the electronic device 100, and the browser client 110 may include at least one software functional module which may be stored in the memory 111 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device 100. The memory 111 stores an application (e.g., the browser client 110) downloaded and installed by the electronic device 100 from the server 200. The processor 113 is configured to execute executable modules stored in the memory 111, such as software functional modules and computer programs included in the browser client 110. The browser client 110 may be any of various browser clients suitable for the operating system of the electronic device 100, such as a UC browser.
The Memory 111 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 111 is used for storing a program, and the processor 113 executes the program after receiving an execution instruction. Access to the memory 111 by the processor 113 and possibly other components may be under the control of the memory controller 112.
The processor 113 may be an integrated circuit chip having signal processing capabilities. The Processor 113 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The communication unit 114 is configured to establish a communication connection between the electronic device 100 and the server 200 through the network 300, so as to implement data exchange between the browser client 110 running on the electronic device 100 and the server 200.
First embodiment
Fig. 3 is a flowchart illustrating a method for expanding a local storage space of a web page according to a preferred embodiment of the present invention, where the method is applied to a browser client 110 and a server 200 that are communicatively connected to each other. The steps of the specific method are described below.
Step S111, the server 200 creates at least one website for the target web page.
The target web page may be any web page that the browser client 110 may access through the network 300, provided by the server 200. For example, but not limited to, a web page providing various web contents such as news, novels, pictures, videos, etc.
Referring to fig. 4, in the present embodiment, the step S111 may include the following sub-steps.
In sub-step S1111, a Uniform Resource Locator (URL) is created, which has the same domain name and protocol as the target web page and has a different port number.
A uniform resource locator is a compact representation of the location and access method of a resource available from the internet, and is the address of a standard resource on the internet. Each file on the internet has a unique uniform resource locator that contains information indicating the location of the file and how the browser should handle it. In this embodiment, the uniform resource locator includes: port number, network transport protocol, domain name, etc.
According to the same source policy characteristics of the browser client 110, as long as the port number, the transport protocol, and the domain name of the website are different, the browser client 110 will separately create a local storage space with a specific storage capacity (e.g., 5M) for the website. In the embodiment, the local storage space is expanded by adopting the modes that the domain name and the protocol are the same and the port numbers are different, so that the expansion behavior can be ensured to be set by an insider, and the safety is high.
Substep S1112, starts a server snoop for each uniform resource locator.
In this embodiment, the server 200 may start a server monitor for a uniform resource locator with the same domain name and the same protocol and different port numbers. Thus, it is equivalent to one website for each uniform resource locator. The browser client 110 may provide a certain size (e.g., 5M) of local storage for each url corresponding website.
In the substep S1113, a code management segment is embedded in the website code of the website corresponding to each uniform resource locator, so that the browser client 110 can perform data read-write operation on the local storage space of the website corresponding to the uniform resource locator.
In the present embodiment, the code management segment is preferably a js (java script) code management segment. After the JS code management segment capable of reading and writing content is embedded in the website code corresponding to each website returned by the server 200, data reading and writing operations can be performed on the local storage space of the website through the JS code management segment.
In this embodiment, the maximum storage space (for example, 5M) of each website on the browser client 110 may be set in advance, and when the content to be downloaded is the maximum storage space of a single website, the excess content is stored in a split manner. Therefore, each data block of the content which is not larger than the maximum storage space can be stored in the local storage space of the website corresponding to different uniform resource locators. Therefore, the capacity expansion of the local storage space of the target webpage by the browser client 110 is realized, and the upper limit of the local storage space distributed to the webpage by the browser client 110 is broken through.
In step S112, the browser client 110 generates at least one embedded frame.
In this embodiment, when the user needs to perform offline downloading of content in the target webpage, the content downloading request may be triggered through the downloading control on the browser client 110. The content downloading request comprises a downloading request of webpage content such as texts, pictures, videos and the like.
In this embodiment, the embedded frame (iframe) is similar to a frame webpage, and the embedded frame (iframe) can embed the frame and content of a webpage into a target webpage.
In this embodiment, each generated embedded framework may be assigned an ID (identification number).
Step S113, the source of each embedded framework is directed to one of the at least one website.
Specifically, the source of each embedded frame is pointed to the website, and the storage content in the local storage space of the website corresponding to the embedded frame can be obtained through the selection operation of the embedded frame.
Step S114, adding the at least one embedded frame into the target webpage.
After the at least one embedded frame is added to the target webpage, a user can read or write the storage content of the local storage space of the website corresponding to the embedded frame by clicking the embedded frame. Therefore, the capacity expansion of the local storage space of the target webpage is realized.
In this embodiment, the at least one embedded frame is added to the document object model in the target web page. Taking the target web page as a novel reading page as an example, the document object model may be a tree-shaped document object model for representing a novel chapter structure.
Referring to fig. 5, in this embodiment, the method for expanding the local storage space of the web page may further include the following steps:
step S115, the browser client 110 obtains a content to be downloaded from the server 200 according to the content download request in the target webpage, sends the obtained content to be downloaded to the embedded frame when the obtained content to be downloaded reaches a preset storage capacity, and stores the obtained content to be downloaded in a local storage space allocated by the browser client 110 for a website corresponding to the embedded frame.
Referring to fig. 5 again, in this embodiment, the method for expanding the local storage space of the web page may further include the following steps.
Step S116, monitoring a reading signal of the target webpage for reading the content stored in the embedded frame, and when the reading signal is monitored, sending the text content stored in the embedded frame to the target webpage for displaying through the target webpage.
In order to realize data interaction between websites with different port numbers, a postmessage function in HTML5 is used for cross-domain data transmission and reading. Wherein the postmessage function provides actions to listen for cross-domain transmission of events and data. In this embodiment, the target web page and the website are both provided with a postmessage function for cross-domain data transmission and reading.
When the postmessage function in the embedded frame monitors a reading signal of the text content stored in the embedded frame, the browser client 110 sends the text content stored in the embedded frame to the target webpage through the postmessage function. And displaying in the target webpage.
In the embodiment of this embodiment, when performing offline reading, the browser client 110 may retrieve the local storage content corresponding to different embedded frames according to the sequence of the IDs of the embedded frames to perform content reading.
The following describes the execution of the above-described flow with a specific example.
Assuming that the target webpage is a webpage end of a novel, when the user clicks to download the novel content, and the size of the novel content to be downloaded is larger than the local storage space of the target webpage, the browser client 110 generates at least one embedded frame, and directs the source of the generated embedded frame to a website created in advance. And storing the content to be downloaded into a local storage space of a website corresponding to the embedded frame, and adding the embedded frame into the tree-shaped document object of the target webpage. When a user clicks the corresponding embedded frame in the tree-shaped document object, the content of the novel can be obtained from the local storage space of the website corresponding to the embedded frame, and the content of the novel is displayed on the target webpage for the user to read.
Second embodiment
Fig. 6 is a flowchart illustrating a method for expanding a local storage space of a web page according to a preferred embodiment of the present invention, where the method is applied to a browser client 110 communicatively connected to a server 200. The second embodiment is basically similar to the first embodiment, except that the embodiment is described based on the execution steps of the browser client 110, and the specific method flow is described as follows.
Step S211, generating at least one embedded framework.
The step S211 is the same as the step S112 in the first embodiment, and is not described herein again.
Step S212, the source of each embedded frame is directed to one of the at least one website created by the server 200 for the target webpage.
The step S212 is the same as the step S113 in the first embodiment, and is not repeated here.
Step S213, adding the at least one embedded frame to the target webpage.
The step S213 is the same as the step S114 in the first embodiment, and is not repeated here.
Referring to fig. 7, in this embodiment, the method for expanding the local storage space of the web page may further include the following steps.
Step S214, the browser client acquires the content to be downloaded from the server according to the content downloading request in the target webpage, when the acquired content to be downloaded reaches a preset storage capacity, the embedded frame receives the content to be downloaded sent by the server, and stores the content to be downloaded in a local storage space allocated by the browser client for a website corresponding to the embedded frame.
Referring to fig. 7 again, in the present embodiment, the method for expanding the local storage space of the web page may further include step S215.
In the step S215, a reading signal for reading the content stored in the embedded frame by the target webpage is monitored, and when the reading signal is monitored, the content stored in the embedded frame is sent to the target webpage and displayed by the target webpage.
Third embodiment
Fig. 8 is a functional block diagram of the browser client 110 shown in fig. 2 according to a third embodiment of the present invention. The browser client 110 includes a generation module 1101, a source directing module 1102, and an adding module 1103.
The generating module 1101 is configured to generate at least one embedded framework. In this embodiment, the generating module 1101 may assign an ID (identification number) to each generated embedded framework.
Specifically, the generating module 1101 is configured to execute step S211 in the second embodiment.
The source directing module 1102 is configured to direct the source of each embedded frame to one of the at least one website created by the server 200 for the target webpage.
Specifically, the source directing module 1102 is configured to execute step S212 in the second embodiment.
The adding module 1103 is configured to add the at least one embedded frame to the target web page.
Specifically, the adding module 1103 is configured to execute step S213 in the second embodiment.
Referring to fig. 8 again, in this embodiment, the browser client 110 may further include a display module.
The storage module 1104 is configured to obtain a content to be downloaded from the server 200 according to a content download request in the target webpage, receive the content to be downloaded sent by the server 200 when the obtained content to be downloaded reaches a preset storage capacity, and store the content to be downloaded in a local storage space allocated by the browser client 110 for a website corresponding to the embedded frame. In an embodiment, when performing offline reading, the storage module 1104 may call local storage contents corresponding to different embedded frames according to the assigned sequence of the IDs of the embedded frames to perform content reading.
Referring to fig. 8 again, in this embodiment, the browser client 110 may further include a display module.
A sending module 1105, configured to monitor a reading signal of the target webpage reading the content stored in the embedded frame, and send the content stored in the embedded frame to the target webpage to be displayed through the target webpage when the reading signal is monitored.
In summary, according to the method for expanding the local storage space of the web page, the browser client and the electronic device provided by the embodiment of the present invention, the embedded frame is embedded in the target web page of the browser client to expand the local storage space of the target web page, so that the upper limit of the local storage space allocated by the browser client to each web page is broken through, and the problem of the limitation of the local storage space of the web page is well solved. The method and the device are beneficial to improving the use experience of the user and attracting the user to carry out electronic reading at the webpage end.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are intended to be illustrative only, as the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (22)

1. A webpage local storage space capacity expansion method is applied to a browser client and a server which are in communication connection with each other, and is characterized by comprising the following steps:
the server creates at least one website for a target webpage;
the browser client generates at least one embedded frame;
directing the source of each embedded framework to one of the at least one web site; and
adding the at least one embedded frame to the target webpage.
2. A method for expanding local storage space of web page as claimed in claim 1, wherein the step of creating at least one website for the target web page by said server comprises:
creating a uniform resource locator which is the same as the domain name and the protocol of the target webpage and has different port numbers;
starting a server monitor for each uniform resource locator; and
and embedding a code management segment in the website code of the website corresponding to each uniform resource locator, so that the browser client can perform data read-write operation on the local storage space of the website corresponding to the uniform resource locator.
3. A method for expanding local storage space of web page as claimed in claim 1, wherein said method further comprises:
the browser client acquires content to be downloaded from the server according to the content downloading request in the target webpage, sends the acquired content to be downloaded to the embedded frame when the acquired content to be downloaded reaches a preset storage capacity, and stores the acquired content to be downloaded in a local storage space allocated by the browser client for a website corresponding to the embedded frame.
4. A method for expanding local storage space of web page as claimed in claim 3, wherein said method further comprises:
monitoring a reading signal of the target webpage for reading the content stored in the embedded frame, and sending the text content stored in the embedded frame to the target webpage for displaying through the target webpage when the reading signal is monitored.
5. A method as claimed in claim 4, wherein the step of monitoring a reading signal of the target web page for reading the content stored in the embedded frame, and sending the text content stored in the embedded frame to the target web page when the reading signal is monitored, is implemented by using a postmessage function.
6. A method for expanding local storage space of web page as claimed in claim 1, wherein said step of adding said at least one embedded frame to said target web page comprises:
and adding the at least one embedded frame into a document object model in the target webpage.
7. A webpage local storage space capacity expansion method is applied to a browser client side in communication connection with a server, and is characterized by comprising the following steps:
generating at least one embedded framework;
directing the source of each embedded frame to one of at least one website created by the server for the target web page; and
adding the at least one embedded frame to the target webpage.
8. A method for expanding local storage space of web page as claimed in claim 7, wherein said method further comprises:
and acquiring content to be downloaded from the server according to the content downloading request in the target webpage, receiving the content to be downloaded sent by the server by the embedded frame when the acquired content to be downloaded reaches a preset storage capacity, and storing the content to be downloaded in a local storage space allocated by the browser client for a website corresponding to the embedded frame.
9. A method for expanding local storage space of web page as claimed in claim 7, wherein said method further comprises:
monitoring a reading signal of the target webpage for reading the content stored in the embedded frame, and sending the content stored in the embedded frame to the target webpage for displaying through the target webpage when the reading signal is monitored.
10. A method as claimed in claim 9, wherein the step of monitoring a reading signal of the target web page for reading the content stored in the embedded frame, and sending the text content stored in the embedded frame to the target web page when the reading signal is monitored, is implemented by using a postmessage function.
11. A method for expanding local storage space of web page as claimed in claim 9, wherein said step of generating at least one embedded frame further comprises:
distributing an identification number for each embedded frame;
when a reading signal is monitored, the content stored in the embedded frame is sent to the target webpage, and the step of displaying through the target webpage comprises the following steps:
and calling the content stored in the embedded frame according to the identification number corresponding to the embedded frame.
12. A method for expanding local storage space of web page as claimed in claim 7, wherein said step of adding said at least one embedded frame to said target web page comprises:
and adding the at least one embedded frame into a document object model in the target webpage.
13. A browser client, comprising:
the generating module is used for generating at least one embedded framework;
a source directing module for directing the source of each embedded frame to one of at least one website created by a server for the target webpage; and
and the adding module is used for adding the at least one embedded frame into the target webpage.
14. The browser client of claim 13, further comprising:
and the storage module is used for acquiring the content to be downloaded from the server according to the content downloading request in the target webpage, receiving the content to be downloaded sent by the server when the acquired content to be downloaded reaches a preset storage capacity, and storing the content to be downloaded in a local storage space allocated by the browser client for the website corresponding to the embedded frame.
15. The browser client of claim 13, further comprising:
and the sending module is used for monitoring a reading signal of the target webpage for reading the content stored in the embedded frame, sending the content stored in the embedded frame to the target webpage when the reading signal is monitored, and displaying the content through the target webpage.
16. The browser client of claim 15, wherein the generation module is further configured to assign an identification number to each of the embedded frames;
when monitoring a reading signal, the sending module sends the content stored in the embedded frame to the target webpage, and the display mode through the target webpage comprises the following steps:
and calling the content stored in the embedded frame according to the identification number corresponding to the embedded frame.
17. The browser client of claim 15, wherein the sending module uses a postmessage function to listen to a reading signal of the target webpage for reading the content stored in the embedded frame, and sends the content stored in the embedded frame to the target webpage when the reading signal is listened to.
18. The browser client of claim 13, wherein the manner in which the add module adds the at least one embedded frame to the document object model in the target web page comprises:
and adding the at least one embedded frame into a document object model in the target webpage.
19. An electronic device, comprising:
a memory;
a processor; and
a browser client installed in the memory and including one or more software functional modules executed by the processor, the browser client comprising:
the generating module is used for generating at least one embedded framework;
a source directing module for directing the source of each embedded frame to one of at least one website created by a server for the target webpage; and
and the adding module is used for adding the at least one embedded frame into the target webpage.
20. The electronic device of claim 19, wherein the browser client further comprises:
and the storage module is used for acquiring the content to be downloaded from the server according to the content downloading request in the target webpage, receiving the content to be downloaded sent by the server when the acquired content to be downloaded reaches a preset storage capacity, and storing the content to be downloaded in a local storage space allocated by the browser client for the website corresponding to the embedded frame.
21. The electronic device of claim 19, wherein the browser client further comprises:
and the sending module is used for monitoring a reading signal of the target webpage for reading the content stored in the embedded frame, sending the content stored in the embedded frame to the target webpage when the reading signal is monitored, and displaying the content through the target webpage.
22. The electronic device of claim 21, wherein the sending module listens to a reading signal of the target webpage for reading the content stored in the embedded frame by using a postmessage function, and sends the content stored in the embedded frame to the target webpage when the reading signal is listened to.
CN201611102042.1A 2016-12-05 2016-12-05 Webpage local storage space expansion method, browser client and electronic equipment Active CN106776961B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611102042.1A CN106776961B (en) 2016-12-05 2016-12-05 Webpage local storage space expansion method, browser client and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611102042.1A CN106776961B (en) 2016-12-05 2016-12-05 Webpage local storage space expansion method, browser client and electronic equipment

Publications (2)

Publication Number Publication Date
CN106776961A CN106776961A (en) 2017-05-31
CN106776961B true CN106776961B (en) 2020-03-20

Family

ID=58884221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611102042.1A Active CN106776961B (en) 2016-12-05 2016-12-05 Webpage local storage space expansion method, browser client and electronic equipment

Country Status (1)

Country Link
CN (1) CN106776961B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116910415A (en) * 2023-09-08 2023-10-20 中航金网(北京)电子商务有限公司 Data storage method and device and data reading method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615179A (en) * 2008-06-25 2009-12-30 国际商业机器公司 The method and system that is used for the cross-domain alternation of Web application
CN102402622A (en) * 2011-12-27 2012-04-04 北京人大金仓信息技术股份有限公司 Memory page managing and scheduling method for embedded memory database
CN102789454A (en) * 2011-05-16 2012-11-21 腾讯科技(北京)有限公司 Immediate storage method and system for content in input box of browser webpage
CN103309877A (en) * 2012-03-12 2013-09-18 腾讯科技(深圳)有限公司 Method and device for cross-domain communication and full-duplex communication
CN104104700A (en) * 2013-04-03 2014-10-15 北京畅游天下网络技术有限公司 Data management method and system
CN104965691A (en) * 2014-04-18 2015-10-07 腾讯科技(深圳)有限公司 Method, apparatus and system for configuring page elements of a webpage

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508693A (en) * 2011-09-29 2012-06-20 华中科技大学 Web server capacity expansion system based on virtual machine
CN103905472B (en) * 2012-12-25 2017-12-01 中国移动通信集团江苏有限公司 A kind of cloud storage method and system accessed by webpage mode
CN105095417A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Method and apparatus for storing business data and database node
CN105868319B (en) * 2016-03-25 2019-09-20 广州酷狗计算机科技有限公司 Webpage loading method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615179A (en) * 2008-06-25 2009-12-30 国际商业机器公司 The method and system that is used for the cross-domain alternation of Web application
CN102789454A (en) * 2011-05-16 2012-11-21 腾讯科技(北京)有限公司 Immediate storage method and system for content in input box of browser webpage
CN102402622A (en) * 2011-12-27 2012-04-04 北京人大金仓信息技术股份有限公司 Memory page managing and scheduling method for embedded memory database
CN103309877A (en) * 2012-03-12 2013-09-18 腾讯科技(深圳)有限公司 Method and device for cross-domain communication and full-duplex communication
CN104104700A (en) * 2013-04-03 2014-10-15 北京畅游天下网络技术有限公司 Data management method and system
CN104965691A (en) * 2014-04-18 2015-10-07 腾讯科技(深圳)有限公司 Method, apparatus and system for configuring page elements of a webpage

Also Published As

Publication number Publication date
CN106776961A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US11134101B2 (en) Techniques for detecting malicious behavior using an accomplice model
US11546418B2 (en) Method, client, server, and system for sharing content
CN107622135B (en) Method and apparatus for displaying information
TWI670611B (en) Web file sending method, webpage rendering method and device, webpage rendering system
US20140136957A1 (en) Supporting Scalable Fonts
EP3136656B1 (en) Information sharing method and device
CN102473171A (en) Communicating information about a local machine to a browser application
CN106951270B (en) Code processing method, system and server
TW201807560A (en) Interface display method and apparatus
WO2015074459A1 (en) Method and apparatus for opening webpage, invoking client, and creating light app
CN106487662B (en) Information sharing method and device
WO2018076269A1 (en) Data processing method, and electronic terminal
CN106202368B (en) Preloading method and device
CN103618773A (en) Display method, device and system for thermodynamic diagrams
CN104023046A (en) Mobile terminal recognition method and device
CN109670100B (en) Page data capturing method and device
KR101265164B1 (en) System for providing shorten URL browsing with branding , method thereof, and web client thereof
CN106776961B (en) Webpage local storage space expansion method, browser client and electronic equipment
CN110929129A (en) Information detection method, equipment and machine-readable storage medium
US20140250503A1 (en) Systems and methods for delivering platform-independent web content
CN111597473B (en) Data transmission method, terminal equipment, server and data transmission system
CN110457632B (en) Webpage loading processing method and device
JP2010009334A (en) Information processor, information processing method, and information processing program
CN112069428B (en) Interface display method and device and server
CN112835793B (en) Webpage debugging method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200522

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping radio square B tower 13 floor 03 unit self

Patentee before: GUANGZHOU ALIBABA LITERATURE INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right