CN108932238A - A kind of cross-domain communication method and device - Google Patents
A kind of cross-domain communication method and device Download PDFInfo
- Publication number
- CN108932238A CN108932238A CN201710369885.6A CN201710369885A CN108932238A CN 108932238 A CN108932238 A CN 108932238A CN 201710369885 A CN201710369885 A CN 201710369885A CN 108932238 A CN108932238 A CN 108932238A
- Authority
- CN
- China
- Prior art keywords
- key
- value
- page
- browser
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Abstract
The embodiment of the invention provides a kind of cross-domain communication method and device, the method includes:Browser obtains corresponding first subdomain name of target rhizosphere name and the second subdomain name;Browser loads the corresponding first page of the first subdomain name and the corresponding second page of second subdomain name;The first page of browser, will be derived from the first data of itself, and the corresponding local storage space of the target rhizosphere name is arrived in storage;The second page of browser accesses the local storage space, and reads first data, realizes cross-domain communication.Using the embodiment of the present invention, the communication efficiency between the page is improved.
Description
Technical field
The present invention relates to technical field of webpage processing, more particularly to a kind of cross-domain communication method and device.
Background technique
Currently, in the browser for supporting JavaScript (Java description language), origin policy (Same- can all be used
Origin Policy).It is homologous to refer to two pages domain name, agreement and port having the same.Origin policy then refers to from one
The document or script of a source load, can not remove the attribute for reading or being arranged the document or script that load from another source, to hinder
The data communication between not homologous webpage is stopped.
Currently, being directed to two webpages that rhizosphere name is identical but subdomain name is different, the two is not homologous.For example, a support
Link http is opened in two tab (label) pages of the browser of JavaScript respectively://a.ksyun.com/ and
http://b.ksyun.com/, the page after opening are briefly referred to as a page and the b page.Due to the origin policy of the browser
Limitation, a page send message to the b page, then need to carry out cross-domain communication, wherein cross-domain to refer to that cross-domain resource shares (Cross-
Origin resource sharing), which overcome the limitations of browser origin policy.
The cross-domain communication method between subdomain name is realized in existing front end, is that a page rear end server sends number of targets
According to the first data, then b requests to server again and obtains the target data, realizes the communication of a page and the b page.Due to every
Secondary communicate requires the support of back-end server, and will lead to data between two pages, to transmit the time it takes longer, so that
Communication efficiency between the page is not high.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of cross-domain communication method and device, to improve the effect of the communication between the page
Rate.Specific technical solution is as follows:
In order to achieve the above objectives, the embodiment of the invention provides a kind of cross-domain communication method, method includes:
Browser obtains corresponding first subdomain name of target rhizosphere name and the second subdomain name;
Browser loads the corresponding first page of the first subdomain name and the corresponding second page of second subdomain name
Face;
The first page of browser, will be derived from the first data of itself, and the corresponding local of the target rhizosphere name is arrived in storage
Memory space;
The second page of browser accesses the local storage space, and reads first data, realizes cross-domain communication.
Preferably, the browser is:
Support the browser of JavaScript.
Preferably, the local storage space is:The space cookie,
The first page of the browser, will be derived from the first data of itself, and storage is corresponding to the target rhizosphere name
Local storage space, including:
The first page of browser, will be derived from itself the first data, corresponding as the first page, default first
The value of value in key-value key-value pair is stored into the first key-value key-value pair;
The first key-value key-value pair is stored into the corresponding space cookie of the target rhizosphere name.
Preferably, the second page of the browser accesses the local storage space, and first data are read, wrapped
It includes:
Every key-value key-value pair of the storage of the space cookie described in the second page poll of browser;
Whether the default mark key for identifying that the key-value key-value pair carries is the first key-value key-value pair,
Wherein, the default mark includes:The page and the data to be read that the data stored in the key-value key-value pair are derived from
The page information;
If it is, reading the value of the corresponding value of the key key, first data are obtained.
Preferably, the second page of the browser accesses the local storage space, and first data are read, wrapped
It includes:
The second page of browser accesses the space cookie, according to preset instructions, inquires the storage of the space cookie
Key key in the first key-value key-value pair reads the value of the corresponding value of the key key, obtains first data,
Wherein, the preset instructions are:The second page is directed to the first key- for being stored with the first data derived from first page
The inquiry instruction of key key in value key-value pair.
In order to achieve the above objectives, the embodiment of the invention provides a kind of cross-domain communication device, device includes:
Module is obtained, obtains corresponding first subdomain name of target rhizosphere name and the second subdomain name for browser;
Loading module loads the corresponding first page of the first subdomain name and second subdomain for browser
The corresponding second page of name;
Memory module will be derived from the first data of itself for the first page of browser, and the target rhizosphere is arrived in storage
The corresponding local storage space of name;
Read module, the second page for browser accesses the local storage space, and reads first data,
Realize cross-domain communication.
Preferably, the browser is:
Support the browser of JavaScript.
Preferably, the local storage space is:The space cookie,
The memory module, is specifically used for:
The first page of browser, will be derived from itself the first data, corresponding as the first page, default first
The value of value in key-value key-value pair is stored into the first key-value key-value pair;
The first key-value key-value pair is stored into the corresponding space cookie of the target rhizosphere name.
Preferably, the read module, is specifically used for:
Every key-value key-value pair of the storage of the space cookie described in the second page poll of browser;
Whether the default mark key for identifying that the key-value key-value pair carries is the first key-value key-value pair,
Wherein, the default mark includes:The page and the data to be read that the data stored in the key-value key-value pair are derived from
The page information;
If it is, reading the value of the corresponding value of the key key, first data are obtained.
Preferably, the read module, is specifically used for:
The second page of browser accesses the space cookie, according to preset instructions, inquires the storage of the space cookie
Key key in the first key-value key-value pair reads the value of the corresponding value of the key key, obtains first data,
Wherein, the preset instructions are:The second page is directed to the first key- for being stored with the first data derived from first page
The inquiry instruction of key key in value key-value pair.
The embodiment of the present invention provides a kind of cross-domain communication method and device, obtains corresponding first subdomain name of target rhizosphere name
With the second subdomain name;Load the corresponding first page of first subdomain name and the corresponding second page of second subdomain name
Face;The first data of the first page will be derived from, the corresponding local storage space of the target rhizosphere name is arrived in storage, so that institute
It states second page and accesses the local storage space, and read first data, realize cross-domain communication.
As it can be seen that first page and second page carry out cross-domain communication, the first data storage that can include by first page
Into local storage space, without being sent to server, then second page reads first data from local storage space,
Without requesting to need not rely upon server to obtain first data compared to existing cross-domain communication method to server, from
And data transmit the time it takes between reducing by two pages, so that the communication efficiency between the page is improved.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of cross-domain communication method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic illustration of cross-domain communication provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of cross-domain communication device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
A kind of cross-domain communication method provided in an embodiment of the present invention is described in detail first below.
It should be noted that a kind of cross-domain communication method provided in an embodiment of the present invention and device are preferably applied to browse
Device.Specifically, browser can be:Support the browser of JavaScript.
Below by taking the browser for supporting JavaScript as an example, the embodiment of the present invention is described in detail.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of cross-domain communication method provided in an embodiment of the present invention, may include
Following steps:
S101, browser obtain corresponding first subdomain name of target rhizosphere name and the second subdomain name;
S102, browser loads the corresponding first page of the first subdomain name and second subdomain name is corresponding
Second page;
For example, can star IE (Internet Explorer, web browser) browser of computer, it is clear to open the IE
Look at a Shipping Options Page of device, the corresponding first subdomain name a.ksyun.com of input target rhizosphere name ksyun.com, browser is
It can get first subdomain name, and after the load instruction for receiving Webpage, load first subdomain name corresponding first
The page is opened and is linked as http:The first page a of //a.ksyun.com/.Wherein, the corresponding first page of the first subdomain name
Face refers to URL (Uniform Resource Locator, uniform resource locator) " http of the first page://
A.ksyun.com/ " contains the first subdomain name " a.ksyun.com ", so that first page and the first subdomain name be made to form one kind
Corresponding relationship.
Similarly, another Shipping Options Page of the IE browser can be opened, target rhizosphere name ksyun.com corresponding second is inputted
Subdomain name b.ksyun.com, browser can be obtained second subdomain name, and after the load instruction for receiving Webpage,
The corresponding second page of the second subdomain name is loaded, that is, opens and is linked as http:The second page b of //b.ksyun.com/.
S103, the first page of browser will be derived from the first data of itself, and storage is corresponding to the target rhizosphere name
Local storage space;
Specifically, the local storage space can be:The space cookie.
Specifically, in practical applications, the first page of browser can will be derived from the first data of itself, as institute
The value of value in corresponding, the default first key-value key-value pair of first page is stated, the first key-value key is arrived in storage
It is worth centering;The first key-value key-value pair is stored into the corresponding space cookie of the target rhizosphere name.
Illustratively, the first page a of browser, can will be derived from itself the first data A, and storage is to being set in advance in
(key-value can also be write as key to the first key-value key-value pair in the space cookie:Value in).The key-value pair can
To store the data of character string forms, key represents keyword, value typical value.It can be using the first data A as the tool of value
Body value stores into the first key-value pair, can store the space cookie under target rhizosphere name ksyun.com.
The second page of S104, browser access the local storage space, and read first data, realize cross-domain
Communication.
Specifically, Fig. 2 is a kind of schematic illustration of cross-domain communication provided in an embodiment of the present invention.As shown in Fig. 2,
http://a.ksyun.com/ refers to the URL of a page, which includes subdomain name a.ksyun.com, http://
B.ksyun.com/ refers to the URL of the b page, which includes subdomain name b.ksyun.com, http:In //ksyun.com/
Ksyun.com is the rhizosphere name of the subdomain name of the page a, b.
Generally, a page sends message to the b page, and principle can be:The a page stores message to rhizosphere cookie;b
Page poll rhizosphere cookie can read message after the completion of a page stores message from rhizosphere cookie, realize son
Domain name cross-domain communication, wherein rhizosphere cookie is the space cookie under rhizosphere name ksyun.com.
It illustratively, can be simultaneously to the message in the space cookie after the b page reads information under rhizosphere cookie
It is emptied.We configure a unique identification code for each login user, conveniently identify different users, the identification code
It is placed and is present in pathname, can accomplish that each login user when the space cookie stores message, disappears in this way
The access path that breath is placed is different, thus even if first login user exit extremely after, not in time to cookie sky
Between message emptied in the case where, first login user will not be accessed in subsequent second logged in again login user
The space cookie, to ensure that the b page will not be again the first remaining information of login user from the message that the space cookie is read,
The safety of each user's communication can be ensured in this way.
Specifically, the second page of browser can be deposited in space in a kind of specific implementation with cookie described in poll
Every key-value key-value pair of storage;Whether the default mark key for identifying that the key-value key-value pair carries is described first
Key-value key-value pair, wherein it is described it is default mark include:The page that the data stored in the key-value key-value pair are derived from
The information of the page of face and the data to be read;If it is, reading the value of the corresponding value of the key key, described first is obtained
Data.
For example, the key that the space cookie under the second page b of browser, polling targets rhizosphere name ksyun.com stores
Value identifies the default mark key that key-value pair 1,2,3,4 respectively carries to 1,2,3,4 respectively, whether identifies the key-value pair with this
For the first above-mentioned key-value key-value pair, wherein the default mark key that each key-value pair respectively carries includes:The key-
The information of the page of the page and the data to be read that the data stored in value key-value pair are derived from.
When being polled to key-value pair 4, since the default mark key that key-value pair 4 carries includes:The data A of storage is derived from
First page a and the data to be read second page b information, according to comprising page info, to identify key assignments
It is the first above-mentioned key-value key-value pair to 4, then reads the value of the corresponding value of key key in the key-value pair 4, the value of reading
As the first data A.
Specifically, in another specific implementation, the accessible space cookie of the second page of browser,
According to preset instructions, the key key in the first key-value key-value pair of the space cookie storage is inquired, the key key is read
The value of corresponding value obtains first data, wherein the preset instructions are:The second page is active for storing
The inquiry instruction of key key in the first key-value key-value pair of the first data of first page.
Illustratively, the second page b of browser can be directed to when accessing the space cookie according to pre-set
It is stored with the inquiry instruction of the key key in the first key-value key-value pair of the first data A of first page a, is directly inquired
The key key in the first key-value key-value pair stored in cookie goes the value for reading the corresponding value of the key key, reads
Value be the first data A.
In addition, when browser opening has multiple pages, such as browser opens first page a, second page b, the altogether
Three page c and the 4th page d, wherein the corresponding subdomain name of the page a, b, c, d be respectively a.ksyun.com,
B.ksyun.com, c.ksyun.com, d.ksyun.com, which possesses identical rhizosphere name ksyun.com, multiple
Cross-domain communication can be mutually carried out between the page.
Carry out cross-domain communication between 4 pages, such as page a sends message data to the page b, c, d, page a can be with
The message data is sent with the forms of broadcasting, it can message data is preset to the time limit in service life of a 1s, is sent
The space cookie under rhizosphere name ksyun.com, and it is stored in 1 preset key of cookie:In value key-value pair,
After the time limit in service life of 1s, which disappears.
Meanwhile the page b, c, d can respectively with the polling cycle of 0.5s, according to it is preset, for for storing message
The key of data:The inquiry instruction of value key-value pair comes to inquire the key:Whether value is stored with message data, if so,
Message data is obtained, is otherwise inquired again after 0.5s.In this way, message data is stored into the key in page a:After value,
Within the time limit in service life of 1s, it can ensure that the page b, c, d are smoothly inquired and got the message data of page a transmission.
It should be noted that the embodiment of the present invention is only illustrated for above-mentioned, should not constitute to the present invention
The restriction of embodiment.
Due to existing cross-domain communication method, server support is required, Front End is caused to be coupled in rear end program
Together, it is unfavorable for the extension and maintenance of program.The embodiment of the present invention can make browser real in the case where not depending on server
Existing subdomain name cross-domain communication extends so that Front End be made not depend on back-end server program convenient for the maintenance of program.
As it can be seen that first page and second page carry out cross-domain communication, the first data storage that can include by first page
Into local storage space, without being sent to server, then second page reads first data from local storage space,
Without requesting to need not rely upon server to obtain first data compared to existing cross-domain communication method to server, from
And data transmit the time it takes between reducing by two pages, so that the communication efficiency between the page is improved.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of cross-domain communication device provided in an embodiment of the present invention, communication dress
It sets and may include:Obtain module 301, loading module 302, memory module 303 and read module 304.
Module 301 is obtained, obtains corresponding first subdomain name of target rhizosphere name and the second subdomain name for browser;
Loading module 302 loads the corresponding first page of first subdomain name and second son for browser
The corresponding second page of domain name;
Memory module 303 will be derived from the first data of itself for the first page of browser, and the target is arrived in storage
The corresponding local storage space of rhizosphere name;
Read module 304, the second page for browser access the local storage space, and read first number
According to realization cross-domain communication.
Specifically, the browser can be:Support the browser of JavaScript.
Specifically, the local storage space can be:The space cookie,
The memory module 303, specifically can be used for:
The first page of browser, will be derived from itself the first data, corresponding as the first page, default first
The value of value in key-value key-value pair is stored into the first key-value key-value pair;
The first key-value key-value pair is stored into the corresponding space cookie of the target rhizosphere name.
Specifically, the read module 304, specifically can be used for:
Every key-value key-value pair of the storage of the space cookie described in the second page poll of browser;
Whether the default mark key for identifying that the key-value key-value pair carries is the first key-value key-value pair,
Wherein, the default mark includes:The page and the data to be read that the data stored in the key-value key-value pair are derived from
The page information;
If it is, reading the value of the corresponding value of the key key, first data are obtained.
Specifically, the read module 304, specifically can be used for:
The second page of browser accesses the space cookie, according to preset instructions, inquires the storage of the space cookie
Key key in the first key-value key-value pair reads the value of the corresponding value of the key key, obtains first data,
Wherein, the preset instructions are:The second page is directed to the first key- for being stored with the first data derived from first page
The inquiry instruction of key key in value key-value pair.
As it can be seen that first page and second page carry out cross-domain communication, the first data storage that can include by first page
Into local storage space, without being sent to server, then second page reads first data from local storage space,
Without requesting to need not rely upon server to obtain first data compared to existing cross-domain communication method to server, from
And data transmit the time it takes between reducing by two pages, so that the communication efficiency between the page is improved.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (10)
1. a kind of cross-domain communication method, which is characterized in that the method includes:
Browser obtains corresponding first subdomain name of target rhizosphere name and the second subdomain name;
Browser loads the corresponding first page of the first subdomain name and the corresponding second page of second subdomain name;
The first page of browser, will be derived from the first data of itself, and storage is locally stored to the target rhizosphere name is corresponding
Space;
The second page of browser accesses the local storage space, and reads first data, realizes cross-domain communication.
2. the method according to claim 1, wherein the browser is:
Support the browser of JavaScript.
3. according to the method described in claim 2, it is characterized in that, the local storage space is:The space cookie,
The first page of the browser, will be derived from the first data of itself, and the corresponding local of the target rhizosphere name is arrived in storage
Memory space, including:
The first page of browser will be derived from the first data of itself, corresponding as the first page, default first key-
The value of value in value key-value pair is stored into the first key-value key-value pair;
The first key-value key-value pair is stored into the corresponding space cookie of the target rhizosphere name.
4. according to the method described in claim 3, it is characterized in that, being locally stored described in the second page access of the browser
Space, and first data are read, including:
Every key-value key-value pair of the storage of the space cookie described in the second page poll of browser;
Whether the default mark key for identifying that the key-value key-value pair carries is the first key-value key-value pair, wherein
It is described it is default mark include:The page of the page and the data to be read that the data stored in the key-value key-value pair are derived from
The information in face;
If it is, reading the value of the corresponding value of the key key, first data are obtained.
5. according to the method described in claim 3, it is characterized in that, being locally stored described in the second page access of the browser
Space, and first data are read, including:
The second page of browser accesses the space cookie, according to preset instructions, inquires the described of the space cookie storage
Key key in first key-value key-value pair reads the value of the corresponding value of the key key, obtains first data,
In, the preset instructions are:The second page is directed to the first key-value for being stored with the first data derived from first page
The inquiry instruction of key key in key-value pair.
6. a kind of cross-domain communication device, which is characterized in that described device includes:
Module is obtained, obtains corresponding first subdomain name of target rhizosphere name and the second subdomain name for browser;
Loading module loads the corresponding first page of the first subdomain name and second subdomain name pair for browser
The second page answered;
Memory module will be derived from the first data of itself for the first page of browser, and storage is right to the target rhizosphere name
The local storage space answered;
Read module, the second page for browser accesses the local storage space, and reads first data, realizes
Cross-domain communication.
7. device according to claim 6, which is characterized in that the browser is:
Support the browser of JavaScript.
8. device according to claim 7, which is characterized in that the local storage space is:The space cookie,
The memory module, is specifically used for:
The first page of browser will be derived from the first data of itself, corresponding as the first page, default first key-
The value of value in value key-value pair is stored into the first key-value key-value pair;
The first key-value key-value pair is stored into the corresponding space cookie of the target rhizosphere name.
9. device according to claim 8, which is characterized in that the read module is specifically used for:
Every key-value key-value pair of the storage of the space cookie described in the second page poll of browser;
Whether the default mark key for identifying that the key-value key-value pair carries is the first key-value key-value pair, wherein
It is described it is default mark include:The page of the page and the data to be read that the data stored in the key-value key-value pair are derived from
The information in face;
If it is, reading the value of the corresponding value of the key key, first data are obtained.
10. device according to claim 8, which is characterized in that the read module is specifically used for:
The second page of browser accesses the space cookie, according to preset instructions, inquires the described of the space cookie storage
Key key in first key-value key-value pair reads the value of the corresponding value of the key key, obtains first data,
In, the preset instructions are:The second page is directed to the first key-value for being stored with the first data derived from first page
The inquiry instruction of key key in key-value pair.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710369885.6A CN108932238A (en) | 2017-05-23 | 2017-05-23 | A kind of cross-domain communication method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710369885.6A CN108932238A (en) | 2017-05-23 | 2017-05-23 | A kind of cross-domain communication method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108932238A true CN108932238A (en) | 2018-12-04 |
Family
ID=64450347
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710369885.6A Pending CN108932238A (en) | 2017-05-23 | 2017-05-23 | A kind of cross-domain communication method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108932238A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109725974A (en) * | 2018-12-27 | 2019-05-07 | 北京字节跳动网络技术有限公司 | A kind of method for updating pages based on current limiter, device and computer storage medium |
CN110245156A (en) * | 2019-05-29 | 2019-09-17 | 吉旗(成都)科技有限公司 | Caching data processing method and device |
CN110362773A (en) * | 2019-06-18 | 2019-10-22 | 中国平安人寿保险股份有限公司 | Cross-domain communication method, device, computer equipment and storage medium |
CN112380027A (en) * | 2020-10-20 | 2021-02-19 | 福建天泉教育科技有限公司 | Method and terminal for realizing communication among different webpages under mobile terminal environment |
CN112800303A (en) * | 2019-11-13 | 2021-05-14 | 马上消费金融股份有限公司 | Browser data storage and reading method and related device |
CN114827231A (en) * | 2022-04-11 | 2022-07-29 | 杭州指令集智能科技有限公司 | Method and system for realizing multi-window point-to-point communication based on local storage of browser |
WO2023060427A1 (en) * | 2021-10-12 | 2023-04-20 | 深圳Tcl新技术有限公司 | Browser data cross-domain sharing method and device, medium and computer program product |
-
2017
- 2017-05-23 CN CN201710369885.6A patent/CN108932238A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109725974A (en) * | 2018-12-27 | 2019-05-07 | 北京字节跳动网络技术有限公司 | A kind of method for updating pages based on current limiter, device and computer storage medium |
CN109725974B (en) * | 2018-12-27 | 2022-04-15 | 北京字节跳动网络技术有限公司 | Page updating method and device based on current limiter and computer storage medium |
CN110245156A (en) * | 2019-05-29 | 2019-09-17 | 吉旗(成都)科技有限公司 | Caching data processing method and device |
CN110362773A (en) * | 2019-06-18 | 2019-10-22 | 中国平安人寿保险股份有限公司 | Cross-domain communication method, device, computer equipment and storage medium |
CN110362773B (en) * | 2019-06-18 | 2023-11-03 | 中国平安人寿保险股份有限公司 | Cross-domain communication method, device, computer equipment and storage medium |
CN112800303A (en) * | 2019-11-13 | 2021-05-14 | 马上消费金融股份有限公司 | Browser data storage and reading method and related device |
CN112800303B (en) * | 2019-11-13 | 2023-05-05 | 马上消费金融股份有限公司 | Browser data storage and reading method and related device |
CN112380027A (en) * | 2020-10-20 | 2021-02-19 | 福建天泉教育科技有限公司 | Method and terminal for realizing communication among different webpages under mobile terminal environment |
CN112380027B (en) * | 2020-10-20 | 2023-06-20 | 福建天泉教育科技有限公司 | Method and terminal for realizing communication among different webpages in mobile terminal environment |
WO2023060427A1 (en) * | 2021-10-12 | 2023-04-20 | 深圳Tcl新技术有限公司 | Browser data cross-domain sharing method and device, medium and computer program product |
CN114827231A (en) * | 2022-04-11 | 2022-07-29 | 杭州指令集智能科技有限公司 | Method and system for realizing multi-window point-to-point communication based on local storage of browser |
CN114827231B (en) * | 2022-04-11 | 2023-09-26 | 杭州指令集智能科技有限公司 | Method and system for realizing multi-window point-to-point communication based on browser local storage |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108932238A (en) | A kind of cross-domain communication method and device | |
CN104426862B (en) | Realize method, system and browser that cross-domain request logs in | |
US20070174265A1 (en) | System and method for creating an enhanced enterprise directory | |
CN104202360A (en) | Webpage access method, device and router | |
CN105939313B (en) | Status code reorientation method and device | |
CN104426925B (en) | Web page resources acquisition methods and device | |
CN103368986A (en) | Information recommendation method and information recommendation device | |
US20170017480A1 (en) | Method and apparatus for updating an application in a user terminal | |
CN110347942A (en) | Method for page jump, device, storage medium and computer equipment | |
CN102783119A (en) | Access control method and system, and access terminal | |
CN110830374B (en) | Method and device for gray level release based on SDK | |
US10979532B2 (en) | Resource download method, electronic device, and apparatus | |
CN102413151A (en) | Network resource sharing method and system | |
CN110266661A (en) | A kind of authorization method, device and equipment | |
CN100536472C (en) | A method, module and server to control access to network resource | |
CN106060004A (en) | Database access method and database agent node | |
CN107239701B (en) | Method and device for identifying malicious website | |
CN103678568A (en) | Method, server and system for providing problem solutions | |
CN109819033A (en) | A kind of resource file loading method and system | |
CN104125303A (en) | Data read-and-write requesting method, client end and data read-and-write requesting system | |
CN104618388A (en) | Quick registration and login method and corresponding reset server and information server | |
CN104468594A (en) | Data request method, device and system | |
CN104065736A (en) | URL redirection method, device, and system | |
CN103888540A (en) | Login information synchronization method, synchronized network servers and synchronizing network servers | |
CN102984020A (en) | Cloud-computation-based net surfing monitoring method and monitoring system and monitoring server |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181204 |