CN106776961A - 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
CN106776961A
CN106776961A CN201611102042.1A CN201611102042A CN106776961A CN 106776961 A CN106776961 A CN 106776961A CN 201611102042 A CN201611102042 A CN 201611102042A CN 106776961 A CN106776961 A CN 106776961A
Authority
CN
China
Prior art keywords
embedded frame
target web
content
storage space
local storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611102042.1A
Other languages
Chinese (zh)
Other versions
CN106776961B (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

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

Abstract

The embodiment of the present invention proposes a kind of webpage local storage space expansion method, browser client and electronic equipment.The webpage local storage space expansion method includes:The server creates at least one website for target web;Content download request of the browser client response in the target web, generates at least one embedded frame;One of described at least one website is pointed into the source of each embedded frame;At least one embedded frame is added in the target web.The mode that the embodiment of the present invention can embed embedded frame breaks through the upper limit that browser client is each webpage distribution local storage space, solves the problems, such as that webpage local storage space is limited well, lifts the experience of user.

Description

Webpage local storage space expansion method, browser client and electronic equipment
Technical field
The present invention relates to webpage local storage space administrative skill field, it is locally stored in particular to a kind of webpage Space expansion method, browser client and electronic equipment.
Background technology
With the emergence of electronic reading, various Web contents are read using electronic equipment (such as, mobile phone, panel computer etc.) The user of (such as news, novel) is also more and more.In the prior art, can be with by way of electronic equipment is read It is divided into and is read by downloading software, and related content is directly searched by page end and is read.Wherein, by net Page end read with respect to ocr software carry out read have threshold is low, popularity rate is wide, it is simple to operate the features such as.So And, it is smaller (such as, 5M) that the reading of page end there is also the local storage space upper limit, cannot surfed the Net and read text When capacity is larger, user can be caused to continue to read under off-line state because of the limited storage space of page end, serious shadow Ring the experience that user reads to page end.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of webpage local storage space expansion method, application In the browser client and server that communicate to connect each other, methods described includes:
The server creates at least one website for target web;
The browser client generates at least one embedded frame;
One of described at least one website is pointed into the source of each embedded frame;And
At least one embedded frame is added in the target web.
Another preferred embodiment of the present invention also provides a kind of webpage local storage space expansion method, is applied to and server The browser client of communication connection, methods described includes:
Generate at least one embedded frame;
The source of each embedded frame is pointed at least one created for the target web by the server One of website;And
At least one embedded frame is added in the target web.
Another preferred embodiment of the present invention also provides a kind of browser client, and the browser client includes:
Generation module, for generating at least one embedded frame;
Module is pointed in source, is created for the target web by server for the source of each embedded frame to be pointed to One of at least one website built;And
Add module, at least one embedded frame to be added in the target web.
Another preferred embodiment of the present invention also provides a kind of electronic equipment, including memory, processor and runs on institute State the browser client on electronic equipment.The browser client is installed or is stored in the memory by the processor Control the execution of each functional module of browser client.
Compared with prior art, webpage local storage space expansion method provided in an embodiment of the present invention, browser clients End and electronic equipment, are packed with embedded frame and expand the mesh by interior in the target web of the browser client The local storage space of webpage is marked, it is the upper limit that each webpage distributes local storage space to breach browser client, very well Solve the problems, such as webpage local storage space limit.Contribute to the experience of lifting user, attract user in page end Carry out electronic reading.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is that the server that present pre-ferred embodiments are provided interacts signal with an at least electronic equipment is communicated Figure.
Fig. 2 is the block diagram of the electronic equipment shown in Fig. 1.
Fig. 3 is a kind of particular flow sheet of webpage local storage space expansion method that first embodiment of the invention is provided.
Fig. 4 is the sub-step schematic flow sheet that step S111 includes in Fig. 3.
Fig. 5 is the idiographic flow of another webpage local storage space expansion method that first embodiment of the invention is provided Figure.
Fig. 6 is a kind of particular flow sheet of webpage local storage space expansion method that second embodiment of the invention is provided.
Fig. 7 is the idiographic flow of another webpage local storage space expansion method that second embodiment of the invention is provided Figure.
Fig. 8 is the functional block diagram of browser client shown in Fig. 1 that third embodiment of the invention is provided and Fig. 2.
Icon:100- electronic equipments;200- servers;300- networks;110- browser clients;111- memories; 112- storage controls;113- processors;114- communication units;1101- generation modules;1102- points to module in source;1103- Add module;1104- memory modules;1105- sending modules.
Specific embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of selected embodiment of the invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it need not be further defined and explained in subsequent accompanying drawing.Meanwhile, of the invention In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Fig. 1 is refer to, is that the server 200 that present pre-ferred embodiments are provided is led to an at least electronic equipment 100 The interactive schematic diagram of letter.The electronic equipment 100 can be provided by the access server 200 of network 300 with obtaining server 200 Online content service.In the present embodiment, the server 200 may be, but not limited to, web (website) server.The electricity Sub- equipment 100 may be, but not limited to, smart mobile phone, PC (personal computer, PC), panel computer, individual Personal digital assistant (personal digital assistant, PDA), mobile internet surfing equipment (mobile Internet Device, MID) etc..The network 300 may be, but not limited to, cable network or wireless network.
Fig. 2 is referred to, Fig. 2 is the block diagram of a kind of electronic equipment provided in an embodiment of the present invention 100.The electronics Equipment 100 includes browser client 110, memory 111, storage control 112, processor 113 and communication unit 114.
The memory 111, storage control 112, processor 113 and each element of communication unit 114 are direct each other Or be electrically connected with indirectly, to realize the transmission or interaction of data.For example, these elements each other can be by one or more Communication bus or holding wire are realized being electrically connected with.The browser client 110 is to run on answering on the electronic equipment 100 With software, the browser client 110 can be stored including at least one in the form of software or firmware (firmware) In the memory 111 or it is solidificated in soft in the operating system of the electronic equipment 100 (operating system, OS) Part functional module.The memory 111 is stored with the electronic equipment 100 from the application journey downloaded and installed of server 200 Sequence (such as, browser client 110).The processor 113 is used to perform the executable mould stored in the memory 111 Block, such as software function module and computer program included by described browser client 110 etc..The browser client 110 can be the browser client of the various operating systems for being adapted to the electronic equipment 100, such as UC browsers.
Wherein, the memory 111 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 111 be used for storage program, the processor 113 after execute instruction is received, Perform described program.The processor 113 and other access of possible component to memory 111 can be in the storage controls Carried out under the control of device 112.
The processor 113 is probably a kind of IC chip, the disposal ability with signal.Above-mentioned processor 113 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;Can also be digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made Programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware group Part.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.General processor can be with It is microprocessor or the processor can also be any conventional processor etc..
The communication unit 114 is used to set up the electronic equipment 100 and both servers 200 by the network 300 Between communication connection, so as to realize on the electronic equipment 100 run browser client 110 and the server 200 Between data exchange.
First embodiment
Fig. 3 is refer to, is the idiographic flow of the webpage local storage space expansion method that present pre-ferred embodiments are provided Figure, methods described is applied to the browser client 110 for communicating to connect each other and server 200.The step of specific method It is described below.
Step S111, the server 200 creates at least one website for target web.
The target web can be any webpage that the browser client 110 can be accessed by network 300, by The server 200 is provided.For example, it may be, but be not limited to provide the various Web contents such as news, novel, picture, video Webpage.
Fig. 4 is refer to, in the present embodiment, step S111 can include following sub-step.
Sub-step S1111, creates identical with the domain name of the target web, agreement, the unified resource that port numbers are differed Finger URL (Uniform Resource Locator, URL).
URL is that one kind of the position of resource to that can be obtained from internet and access method is succinct Expression, be the address of internet standard resource.Each file on internet has a unique URL, The information that it is included points out how the position of file and browser should process it.In the present embodiment, the unified resource Finger URL includes:The information such as port numbers, the network transmission protocol and domain name.
Origin policy characteristic according to browser client 110, as long as the port numbers of website, host-host protocol, domain name are different, Browser client 110 individually will start one to the website has particular memory capacity (such as:5M) sky is locally stored Between.Identical with agreement using domain name in the present embodiment, port numbers different modes carries out local storage space expansion, can be with Ensure that above-mentioned expansion behavior is set by internal staff oneself, it is safe.
Sub-step S1112, is that each URL opens a server monitoring.
In the present embodiment, the server 200 can be identical with agreement for domain name, and the different unified resource of port numbers is determined Position symbol is opened a server and is monitored.In this way, corresponding to a website equivalent to each URL.Browser visitor Family end 110 can provide a particular size (such as the corresponding website of each URL:Being locally stored 5M) Space.
Sub-step S1113, the embedded code management fragment in the network site code of each URL correspondence website, The browser client 110 is set to carry out data reading to the local storage space of URL correspondence website Write operation.
In the present embodiment, the code administration fragment is preferably JS (Java Script) code administration fragment.In service Embedding energy carries out the JS code administration fragments of content reading and write-in in the corresponding network site code in each website that device 200 is passed back Afterwards, you can data read-write operation is carried out to the local storage space of website by the JS code administrations fragment.
In the present embodiment, can in advance to the maximum memory space (ratio of each website on browser client 110 Such as, 5M) set, when the maximum memory space of the single website of content to be downloaded, the content that will exceed splits to store. So it is not more than the data block of the content of maximum memory space for each, can be individually stored in different URLs In the local storage space of correspondence website.So as to realize expansion of the browser client 110 to the local storage space of target web Hold, it is the upper limit that webpage distributes local storage space to break through browser client 110.
Step S112, the browser client 110 generates at least one embedded frame.
In the present embodiment, when user needs to carry out the offline download of content in the target web, can be by institute State the download control triggering content download request on browser client 110.The content download request is included to text, figure The download request of the web page contents such as piece, small video.
In the present embodiment, described embedded frame (iframe) is similar with Framework Net Page, the embedded frame (iframe) framework of webpage and content can be embedded into target web.
In the present embodiment, can be each generation embedded frame distribute ID (identifier, identification)。
Step S113, one of described at least one website is pointed to by the source of each embedded frame.
Specifically, website is pointed into the source of each embedded frame, can by the selection operation to embedded frame, Obtain the storage content in the local storage space of embedded frame correspondence website.
Step S114, at least one embedded frame is added in the target web.
After at least one embedded frame is added in the target web, user is described embedded by clicking on The storage content of the local storage space of the embedded frame correspondence website can be read or be write to framework.So as to realize to mesh Mark the dilatation of webpage local storage space.
In the present embodiment, at least one embedded frame is added to the document object mould in the target web In type.So that the target web is novel reading page as an example, the DOM Document Object Model can be intended to indicate that novel chapters and sections The tree-like DOM Document Object Model of structure.
Fig. 5 is refer to, in the present embodiment, the webpage local storage space expansion method can also include following step Suddenly:
Step S115, content download request of the browser client 110 in the target web, to the clothes Business device 200 obtains content to be downloaded, when the content to be downloaded of the acquisition reaches default memory capacity, sends the acquisition Content to be downloaded gives the embedded frame, is in the browser client 110 by the content to be downloaded storage of the acquisition In the local storage space of the corresponding website distribution of the embedded frame.
Referring once again to Fig. 5, in the present embodiment, the webpage local storage space expansion method can also include following Step.
Step S116, the reading signal that the content stored in the embedded frame is read to the target web is supervised Listen, when reading signal is listened to, the content of text stored in the embedded frame is sent in the target web, lead to Target web is crossed to be shown.
In order to realize the data interaction between different port website, carried out using the postmessage functions in HTML5 Cross-domain data transfer and reading.Wherein, postmessage functions provide the action of monitoring event and data cross-domain transmission. In the present embodiment, it is both provided with the target web and website for cross-domain data transfer and the postmessage for reading Function.
The text stored in the postmessage functions in the embedded frame are listened to the embedded frame During the reading signal of content, the browser client 110 passes through the content of text stored in the embedded frame Postmessage functions are sent in the target web.And shown in the target web.
In the implementation method of the present embodiment, when being read offline, browser client 110 can be according to embedded The locally stored content that the sequencing of the ID of framework transfers corresponding to different embedded frames carries out content reading.
The implementation status of above-mentioned flow is illustrated with a specific example below.
Assuming that the target web is the page end of a novel, and when user clicks on and downloads novel content, the browser When the size of novel content to be downloaded is more than the local storage space of target web, generation at least one is embedded in client 110 Formula framework, and the website for creating in advance is pointed in the source of the embedded frame that will be generated.Content to be downloaded storage is arrived embedded In the local storage space of framework correspondence website, embedded frame is added in the tree-like document object of the target web. When user clicks on corresponding embedded frame in tree-like document object, you can from the local of embedded frame correspondence website The content of novel is obtained in memory space, and the content of novel is included on the target web, read for user.
Second embodiment
Fig. 6 is refer to, is the idiographic flow of the webpage local storage space expansion method that present pre-ferred embodiments are provided Figure, methods described is applied to the browser client 110 communicated to connect with server 200.This second embodiment is implemented with first Example is substantially similar, and difference is that to be the execution step based on browser client 110 introduce the embodiment, specific method stream Journey is described below.
Step S211, generates at least one embedded frame.
The step S211, it is identical with the step S112 in first embodiment, will not be repeated here.
Step S212, the source of each embedded frame is pointed to and is created for the target web by the server 200 One of at least one website built.
The step S212, it is identical with the step S113 in first embodiment, just repeat no more herein.
Step S213, at least one embedded frame is added in the target web.
The step S213, it is identical with the step S114 in first embodiment, just repeat no more herein.
Fig. 7 is refer to, in the present embodiment, webpage local storage space expansion method can also be comprised the following steps.
Step S214, content download request of the browser client in the target web, to the service Device obtains content to be downloaded, and when the content to be downloaded of the acquisition reaches default memory capacity, the embedded frame is received The content described to be downloaded that the server sends, is described embedding in the browser client by the content storage to be downloaded In entering the local storage space of formula framework corresponding website distribution.
Referring once again to Fig. 7, in the present embodiment, webpage local storage space expansion method can also include step S215。
The step S215, the reading signal that the content stored in the embedded frame is read to the target web enters Row is monitored, and when reading signal is listened to, the content stored in the embedded frame is sent in the target web, is led to Target web is crossed to be shown.
3rd embodiment
Refer to Fig. 8, be third embodiment of the invention provide Fig. 2 shown in browser client 110 functional module frame Figure.The browser client 110 includes that generation module 1101, source point to module 1102 and add module 1103.
The generation module 1101 is used to generate at least one embedded frame.In the present embodiment, the generation module 1101 can be embedded frame one ID (identifier, identification) of distribution of each generation.
Specifically, the generation module 1101 is used to perform the step S211 in second embodiment.
Module 1102 is pointed in the source to be used to point in the source of each embedded frame by server 200 for described One of at least one website that target web is created.
Specifically, the source points to module 1102 and is used to perform the step S212 in second embodiment.
The add module 1103 is used to be added at least one embedded frame in the target web.
Specifically, the add module 1103 is used to perform the step S213 in second embodiment.
Referring once again to Fig. 8, in the present embodiment, the browser client 110 can also include.
Memory module 1104 is used for the content download request in the target web, is obtained to the server 200 Content to be downloaded, when the content to be downloaded of the acquisition reaches default memory capacity, receives the institute that the server 200 sends Content to be downloaded is stated, is that the embedded frame is corresponding in the browser client 110 by the content storage to be downloaded In the local storage space of website distribution.In one embodiment, when being read offline, memory module 1104 can be with root Transferred according to the allocated sequencing of the ID of embedded frame in the locally stored content corresponding to different embedded frames carries out Hold and read.
Referring once again to Fig. 8, in the present embodiment, the browser client 110 can also include.
Sending module 1105, the reading letter for reading the content stored in the embedded frame to the target web Number monitored, for listen to read signal when, the content stored in the embedded frame is sent to the target In webpage, shown by target web.
In sum, webpage local storage space expansion method provided in an embodiment of the present invention, browser client and electricity Sub- equipment, is packed with embedded frame and expands the target web by interior in the target web of the browser client Local storage space, breach browser client be each webpage distribute local storage space the upper limit, well solve The problem of webpage local storage space limitation.Contribute to the experience of lifting user, attract user to carry out electricity in page end Son is read.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through Other modes are realized.Apparatus embodiments described above are only schematical, for example, flow chart and block diagram in accompanying drawing Show the equipment of multiple embodiments of the invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent one the one of module, program segment or code Part a, part for the module, program segment or code is used to realize holding for the logic function for specifying comprising one or more Row instruction.It should also be noted that at some as in the implementation replaced, the function of being marked in square frame can also be being different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of the square frame in individual square frame and block diagram and/or flow chart, can use the function or the special base of action for performing regulation Realized in the system of hardware, or can be realized with the combination of computer instruction with specialized hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Divide, or modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is to realize in the form of software function module and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, then it is not required in subsequent accompanying drawing It is further defined and is explained.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (22)

1. a kind of webpage local storage space expansion method, is applied to browser client and the service for communicating to connect each other Device, it is characterised in that methods described includes:
The server creates at least one website for target web;
The browser client generates at least one embedded frame;
One of described at least one website is pointed into the source of each embedded frame;And
At least one embedded frame is added in the target web.
2. webpage local storage space expansion method as claimed in claim 1, it is characterised in that the server is directed to target The step of webpage creates at least one website includes:
Create identical with the domain name of the target web, agreement, the URL that port numbers are differed;
A server is opened for each URL to monitor;And
Embedded code management fragment, makes the browser clients in the network site code of each URL correspondence website End can carry out data read-write operation to the local storage space of URL correspondence website.
3. webpage local storage space expansion method as claimed in claim 1, it is characterised in that methods described also includes:
Content download request of the browser client in the target web, obtains in be downloaded to the server Hold, when the content to be downloaded of the acquisition reaches default memory capacity, send the content to be downloaded of the acquisition to described embedding Enter formula framework, it is the corresponding net of the embedded frame that the content to be downloaded of the acquisition is stored in the browser client In the local storage space of distribution of standing.
4. webpage local storage space expansion method as claimed in claim 3, it is characterised in that methods described also includes:
The reading signal that the content stored in the embedded frame is read to the target web is monitored, and is listening to reading During the number of winning the confidence, the content of text stored in the embedded frame is sent in the target web, is entered by target web Row display.
5. webpage local storage space expansion method as claimed in claim 4, it is characterised in that described to the target web The reading signal for reading the content stored in the embedded frame is monitored, when reading signal is listened to, will be described embedding Enter step that the content of text stored in formula framework is sent in the target web using the realization of postmessage functions.
6. webpage local storage space expansion method as claimed in claim 1, it is characterised in that described by described at least one The step that embedded frame is added in the target web includes:
At least one embedded frame is added in the DOM Document Object Model in the target web.
7. a kind of webpage local storage space expansion method, is applied to the browser client being connected with server communication, and it is special Levy and be, methods described includes:
Generate at least one embedded frame;
The source of each embedded frame is pointed at least one website created for the target web by the server One of;And
At least one embedded frame is added in the target web.
8. webpage local storage space expansion method as claimed in claim 7, it is characterised in that methods described also includes:
According to the content download request in the target web, content to be downloaded is obtained to the server, when the acquisition When content to be downloaded reaches default memory capacity, the embedded frame receives the described to be downloaded interior of the server transmission Hold, it is the local of the corresponding website distribution of the embedded frame that the content to be downloaded is stored in the browser client In memory space.
9. webpage local storage space expansion method as claimed in claim 7, it is characterised in that methods described also includes:
The reading signal that the content stored in the embedded frame is read to the target web is monitored, and is listening to reading During the number of winning the confidence, the content stored in the embedded frame is sent in the target web, is shown by target web Show.
10. webpage local storage space expansion method as claimed in claim 9, it is characterised in that described to the target network The reading signal that page reads the content stored in the embedded frame is monitored, when reading signal is listened to, will be described The step that the content of text stored in embedded frame is sent in the target web is realized using postmessage functions.
11. webpage local storage space expansion methods as claimed in claim 9, it is characterised in that the generation at least one The step of embedded frame, also includes:
It is embedded frame distribution identifier each described;
It is described the content stored in the embedded frame is sent in the target web when reading signal is listened to, The step of being shown by target web is included:
The content stored in the embedded frame is transferred according to the corresponding identifier of the embedded frame.
12. webpage local storage space expansion methods as claimed in claim 7, it is characterised in that described at least one by described in The step that individual embedded frame is added in the target web includes:
At least one embedded frame is added in the DOM Document Object Model in the target web.
A kind of 13. browser clients, it is characterised in that including:
Generation module, for generating at least one embedded frame;
Module is pointed in source, for the source of each embedded frame to be pointed into what is created for the target web by server One of at least one website;And
Add module, at least one embedded frame to be added in the target web.
14. browser clients as claimed in claim 13, it is characterised in that also include:
Memory module, for the content download request in the target web, content to be downloaded is obtained to the server, When the content to be downloaded of the acquisition reaches default memory capacity, the content described to be downloaded that the server sends is received, It is that corresponding the local of website distribution of the embedded frame is deposited that the content to be downloaded is stored in the browser client In storage space.
15. browser clients as claimed in claim 13, it is characterised in that also include:
Sending module, the reading signal for reading the content stored in the embedded frame to the target web is supervised Listen, when reading signal is listened to, the content stored in the embedded frame is sent in the target web, by mesh Mark webpage is shown.
16. browser clients as claimed in claim 15, it is characterised in that the generation module is additionally operable to as described in each Embedded frame distributes identifier;
The content stored in the embedded frame is sent to the target by the sending module when reading signal is listened to In webpage, include by way of target web is shown:
The content stored in the embedded frame is transferred according to the corresponding identifier of the embedded frame.
17. browser clients as claimed in claim 15, it is characterised in that the sending module uses postmessage The reading signal that target web described in function pair reads the content stored in the embedded frame is monitored, and is listening to reading During the number of winning the confidence, the content stored in the embedded frame is sent in the target web.
18. browser clients as claimed in claim 13, it is characterised in that add module is embedded by described at least one The mode that framework is added in the DOM Document Object Model in the target web includes:
At least one embedded frame is added in the DOM Document Object Model in the target web.
19. a kind of electronic equipment, it is characterised in that including:
Memory;
Processor;And
Browser client, the browser client is installed in the memory and including one or more by the treatment The software function module that device is performed, the browser client includes:
Generation module, for generating at least one embedded frame;
Module is pointed in source, for the source of each embedded frame to be pointed into what is created for the target web by server One of at least one website;And
Add module, at least one embedded frame to be added in the target web.
20. electronic equipments as claimed in claim 19, it is characterised in that the browser client also includes:
Memory module, for the content download request in the target web, content to be downloaded is obtained to the server, When the content to be downloaded of the acquisition reaches default memory capacity, the content described to be downloaded that the server sends is received, It is that corresponding the local of website distribution of the embedded frame is deposited that the content to be downloaded is stored in the browser client In storage space.
21. electronic equipments as claimed in claim 19, it is characterised in that the browser client also includes:
Sending module, the reading signal for reading the content stored in the embedded frame to the target web is supervised Listen, when reading signal is listened to, the content stored in the embedded frame is sent in the target web, by mesh Mark webpage is shown.
22. electronic equipments as claimed in claim 21, it is characterised in that the sending module uses postmessage functions The reading signal that the content stored in the embedded frame is read to the target web is monitored, and letter is read listening to Number when, by the embedded frame store content be sent in the target web.
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 true CN106776961A (en) 2017-05-31
CN106776961B 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)

Cited By (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 (10)

* 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
CN102508693A (en) * 2011-09-29 2012-06-20 华中科技大学 Web server capacity expansion system based on virtual machine
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
CN103905472A (en) * 2012-12-25 2014-07-02 中国移动通信集团江苏有限公司 Cloud storage method and system for access through webpage mode
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
CN105095417A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Method and apparatus for storing business data and database node
CN105868319A (en) * 2016-03-25 2016-08-17 广州酷狗计算机科技有限公司 Web page loading method and device

Patent Citations (10)

* 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
CN102508693A (en) * 2011-09-29 2012-06-20 华中科技大学 Web server capacity expansion system based on virtual machine
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
CN103905472A (en) * 2012-12-25 2014-07-02 中国移动通信集团江苏有限公司 Cloud storage method and system for access through webpage mode
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
CN105095417A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Method and apparatus for storing business data and database node
CN105868319A (en) * 2016-03-25 2016-08-17 广州酷狗计算机科技有限公司 Web page loading method and device

Cited By (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

Also Published As

Publication number Publication date
CN106776961B (en) 2020-03-20

Similar Documents

Publication Publication Date Title
TWI515588B (en) Machine behavior determination method, web browser and web server
US20110041168A1 (en) Systems and methods for targeting online advertisements using data derived from social networks
CN106708899A (en) Automatic point burying device
CN103795767B (en) Synchronization method and system for cross-application session information
CN104731869B (en) The page shows method and device
CN103246699A (en) Method and device for data access control based on browser
CN103618773A (en) Display method, device and system for thermodynamic diagrams
CN105337776B (en) Method and device for generating website fingerprint and electronic equipment
CN106992975A (en) The recognition methods of malice network address and device
CN104021124A (en) Method, device and system used for processing webpage data
CN107294905A (en) A kind of method and device for recognizing user
CN106776961A (en) Webpage local storage space expansion method, browser client and electronic equipment
CN101360108A (en) Method, apparatus and system determining validity of network access
CN105808636B (en) Hypertext link pushing system based on APP information data
CN108595957A (en) Main browser page altering detecting method, device and storage medium
CN108900623B (en) Webpage text acquisition method and device based on dynamic IP
CN108259312A (en) Information issuing method, device and server
CN103577585A (en) Method and device for identifying users in internet
CN106790174A (en) Security level identification method and device
CN104980459A (en) Application program operation method and site access device
CN103678332A (en) System, browser and method for displaying page
CN108985013A (en) Method, apparatus, client and the server-side that detection SWF file is used by third party application
CN108985059A (en) A kind of webpage back door detection method, device, equipment and storage medium
CN106940719A (en) A kind of method for page jump and device
CN104410645B (en) Data interactive method, apparatus and system

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
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.