CN108021593A - A kind of information transmitting methods, device and browser - Google Patents
A kind of information transmitting methods, device and browser Download PDFInfo
- Publication number
- CN108021593A CN108021593A CN201610972140.4A CN201610972140A CN108021593A CN 108021593 A CN108021593 A CN 108021593A CN 201610972140 A CN201610972140 A CN 201610972140A CN 108021593 A CN108021593 A CN 108021593A
- Authority
- CN
- China
- Prior art keywords
- information
- page
- target
- target information
- public
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation 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 discloses a kind of information transmitting methods, device and browser, the described method includes:After the target pages under same domain name are jumped to from current page, the instruction that the target information of the current page is passed to the target pages is received, wherein, the target information is:The information of the target pages can be passed in the current page;Judge whether include the target information in the default public page;If so, the target information included in the public page is passed into the target pages.Using the embodiment of the present invention, the probability to malfunction when being transmitted between the page into row information can be reduced.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of information transmitting methods, device and browser.
Background technology
With the high speed development of internet, more and more users access the website in internet to obtain information.One
Website corresponds to a domain name, and domain name is to be used for finding the name used in website on internet (INTERNET), is that website is interconnecting
Online important logo, such as the domain name of Kingsoft cloud iswww.ksyun.com, domain name is an enterprise or mechanism on internet
Name, also known as enterprise network ATTACH LABEL.When a website includes multiple webpages (also referred to as subpage frame), the corresponding domain name of each webpage
For the subdomain name under the domain name of the website, for convenience of description, the domain name of website can be described as Main Domain, and the domain name of subpage frame is subdomain
Name, such as Main Domain is abc.com, subdomain name is a.abc.com and b.abc.com, etc..
When user is by one website of browser access, often from a sub- page jump of the website to another height
The page, for example, as shown in Figure 1, after page B is jumped to from page A, it is necessary to by user page A stateful (such as menu of institute
Information, computer room information, user name, User ID, commodity ID etc.) page B is passed to, browser obtains what page A was passed over
State parameter information and after carrying out initialization process, can render page B and/or be asked in page B to server
Data etc..
At present, the state parameter information of a page is passed into next page, common method is to pass through URL link
To transmit relevant value, it is necessary to which the state parameter information transmitted is included in the URL link of next page, for example, from page A
Jumping to page B needs to transmit user name (userName), the relevant information such as User ID (userId), commodity ID, then from page A
The URL of the page B redirected needs to carry the information such as user name, User ID, commodity ID.URL(Uniform Resource
Locator, universal resource locator) web page address is also referred to as, it is the address of the resource of standard on internet.
As it can be seen that when carrying out page jump between different subdomains under same Main Domain, by URL link to next page
Transmit information in face.But for page development and maintenance, the different pages may be safeguarded by different developers,
Page B is needed to be changed from the previous page A parameter informations obtained when page development personnel B is safeguarding page B, and
The developer A of page A fails to timely respond to the change that developer B is done, come correspond to modification page A by URL link to
The parameter information that page B is transmitted.So, in this case, will be leaked between the page when transmitting information biography or it is wrong pass one or
Multiple information, so as to cause next page to malfunction because information is lacked.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of information transmitting methods, device and browser, reduce the page it
Between the probability that malfunctions when being transmitted into row information.
To reach above-mentioned purpose, the embodiment of the invention discloses a kind of information transmitting methods, the described method includes:
After the target pages under same domain name are jumped to from current page, receive and believe the target of the current page
Breath passes to the instruction of the target pages, wherein, the target information is:The target can be passed in the current page
The information of the page;
Judge whether include the target information in the default public page;
If so, the target information included in the public page is passed into the target pages.
Optionally, it is described by the target information included in the public page pass to the target pages it
Afterwards, further include:
According to the target information, the target pages are rendered.
Optionally, the method further includes:
When not including the target information in judging the public page, the target information is write described public
In the page, then perform the step of target information included in the public page is passed into the target pages.
Optionally, the step that the target information included in the public page is passed to the target pages
Suddenly, including:
Judge whether the first information and the target information included in the public page are consistent, wherein, described first
Information is:It is currently needed for passing to the information of the target pages in the current page;
If so, the target information included in the public page is passed into the target pages;
Otherwise, after the target information included in the public page being replaced with the first information, by the public affairs
The target information included altogether in the page passes to the target pages.
Optionally, the method further includes:
The target information included in the public page is stored in being locally stored for the public page;
It is described judge whether to preserve the target information in the default public page before, further include:
The target information that middle preservation is locally stored is loaded into the public page.
Optionally, the method further includes:
The target information of middle preservation is locally stored described in deletion.
To reach above-mentioned purpose, the embodiment of the invention also discloses a kind of information transfer device, described device includes:
Receiving module, described will work as after the target pages under same domain name are jumped to from current page, receiving
The target information of the preceding page passes to the instruction of the target pages, wherein, the target information is:Can in the current page
Pass to the information of the target pages;
Judgment module, for judging whether include the target information in the default public page;If so, triggering is transmitted
Module;
The transfer module, for the target information included in the public page to be passed to the page object
Face.
Optionally, described device further includes:
Rendering module, for the target information included in the public page to be passed to institute in the transfer module
After stating target pages, according to the target information, the target pages are rendered.
Optionally, described device further includes:
Writing module, during for not including the target information in judging the public page in the judgment module,
The target information is write in the public page, then triggers the transfer module.
Optionally, the transfer module, including:
Judging submodule, for the target information that judges to include in the first information and the public page whether one
Cause, wherein, the first information is:It is currently needed for passing to the information of the target pages in the current page;If so,
Submodule is transmitted in triggering, and otherwise, triggering, which is replaced, transmits submodule;
The transmission submodule, for judging the first information with being included in the public page in the judging submodule
The target information it is consistent when, the target information included in the public page is passed into the target pages;
Described replace transmits submodule, used in judging the first information and the public page in the judging submodule
Comprising the target information it is consistent when, the target information included in the public page is replaced with into the first information
Afterwards, the target information included in the public page is passed into the target pages.
Optionally, described device further includes:
Memory module, for the target information included in the public page to be stored in the sheet of the public page
Ground stores;
Load-on module, for judging whether preserve the target information in the default public page in the judgment module
Before, the target information that middle preservation is locally stored is loaded into the public page.
Optionally, described device further includes:
Removing module, for deleting the target information that middle preservation is locally stored.
To reach above-mentioned purpose, the embodiment of the invention also discloses a kind of browser, the browser is to apply above-mentioned
Anticipate a kind of browser of information transfer device.
As seen from the above, in scheme provided in an embodiment of the present invention, the mesh under same domain name is being jumped to from current page
After marking the page, the instruction that the target information of the current page is passed to the target pages is received, is judged default public
Whether the target information is preserved in the page, if so, the target information preserved in the public page is passed to
The target pages.
, can be from default public affairs after redirecting between carrying out the page as it can be seen that using scheme provided in an embodiment of the present invention
The target information that current page can pass to the information of target pages is obtained in the page altogether, without the URL chains from target pages
Connect middle acquisition target information, avoid between the page when transmitting information there is a situation where leakage passes or it is wrong pass, reduce information biography
The probability to malfunction when passing.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Information of the Fig. 1 between the page in the prior art transmits schematic diagram;
Fig. 2 is the first flow diagram of information transmitting methods provided in an embodiment of the present invention;
Fig. 3 is second of flow diagram of information transmitting methods provided in an embodiment of the present invention;
Fig. 4 is the third flow diagram of information transmitting methods provided in an embodiment of the present invention;
Fig. 5 is that the information in information transmitting methods provided in an embodiment of the present invention between the page transmits schematic diagram;
Fig. 6 is the first structure diagram of information transfer device provided in an embodiment of the present invention;
Fig. 7 is second of structure diagram of information transfer device provided in an embodiment of the present invention;
Fig. 8 is the third structure diagram of information transfer device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment, belongs to the scope of protection of the invention.
First to the present embodiments relate to technical terms simply introduced.
Be locally stored (localStorage) be the browser based on HTML5 technologies be used to storing one of local data it is right
As the advantages of, localStorage has:Big, easy-to-use, powerful, the primary support of capacity.
PostMessage is that (Application Programming Interface, application program connect Windows API
Mouthful) in a common mathematical function, for a piece of news to be put into message queue.PostMessage side in HTML5 technologies
Method can realize across document message transmission, it is allowed to limited communication is carried out using asynchronous system from not homologous script, can be with
Realize across text shelves, multiwindow, cross-domain message transmission.
To solve prior art problem, an embodiment of the present invention provides a kind of information transmitting methods, device and browser.Under
A kind of information transmitting methods that kept man of a noblewoman first provides the embodiment of the present invention are described in detail.
It should be noted that a kind of information transmitting methods and device that the embodiment of the present invention is provided, are preferably applied to clear
Device is look at, for example, the browser based on IE kernels, based on the browser of Chrome kernels, is of course also apply to other kinds of clear
Look at device, the embodiment of the present invention is not construed as limiting this.
Fig. 2 is the first flow diagram of information transmitting methods provided in an embodiment of the present invention, and this method includes:
S201, after the target pages under same domain name are jumped to from current page, receives the target of current page
Information passes to the instruction of target pages.
Wherein, target information is:The information of target pages can be passed in current page.For example, it can be passed in current page
Passing the information of target pages can include:In current page in the identification information of user, current page commodity identification information,
Etc., the embodiment of the present invention does not limit the type that the information of target pages can be passed in current page.
It should be understood that it is that there is certain correlation between the different pages under same domain name, for example, user's point
A certain redirected link in current page is hit, and jumps to the corresponding target pages of the redirected link under same domain name, and target
Content in the page has correlation with the content in current page, at this time in order to ensure the continuity of information, it is necessary to will be current
Target pages are passed to the relevant information of target pages in the page, so that target pages carry out the page according to the relevant information
Render, and other operations of user on target pages are responded according to the relevant information.
S202, judges whether include target information in the default public page;If so, perform S203.
It should be noted that the public page can be browser be set in advance in current page where domain name under page
Face or the page under the domain name is automatically added when user accesses the corresponding webpage of the domain name for the first time, by browser
Face, etc., is all rational, it is not limited in the embodiment of the present invention.
S203, target pages are passed to by the target information included in the public page.
Specifically, the step of target information included in the public page is passed to target pages, can include:
Judge whether the first information and the target information included in the public page are consistent, wherein, the first information is:Current page
It is currently needed for passing to the information of target pages in face;
If so, the target information included in the public page is passed into target pages;
Otherwise, after the target information included in the public page being replaced with the first information, the mesh that will be included in the public page
Mark information passes to target pages.
It should be understood that in practical application, it may occur that the information that target pages can be passed in current page occurs
The situation of change, such as:When different users jumps to target pages from current page, current page passes to target pages
The identification information of user be different;And for example:After current page is safeguarded or updated, current page can pass to page object
The target information in face changes.Therefore, it is also desirable to judge to be currently needed in current page the information for passing to target pages with
Whether the target information included in the public page is consistent.It is if inconsistent, it is also necessary to the target information that will be included in the public page
After replacing with the first information, then the target information included in the public page passed into target pages, to ensure the information transmitted
Correctness.
In practical application, the target information that is included in the first information and the public page is inconsistent may three kinds of situations:The
Information, the target information for including in the information not having in target information, target information and not having in the first information are included in one information
In include and information inconsistent in the first information.At this point it is possible to by calling the postMessage methods in HTML5 in public affairs
Increase information in the page altogether, delete information and change the mode of information, the target information included in the public page is replaced with the
One information.
, can also be by calling the postMessage methods in HTML5 to read after jumping to target pages in practical application
The target information in the public page is taken, to realize the transmission of target information.
In a kind of specific implementation of the embodiment of the present invention, as shown in figure 3, on the basis of embodiment illustrated in fig. 2,
The information transmitting methods can also include:
S204, when not including target information in judging the public page, target information is write in the public page, then is held
Row step S203.
, can there are do not include in current page that target can be passed in the public page it should be understood that in practical applications
The certain situation of the target information of the page, such as:User from current page jumps to target pages for the first time, alternatively, from working as
To before target pages, the target information included in the public page is eliminated preceding page jump.Therefore, judge it is public
When not including target information in the page, target information can be write in the public page, then by including in the public page
Target information passes to target pages.
, can be by calling the postMessage methods in HTML5 that target information is written to public page in practical application
In face, realize the cross-domain storage of target information, i.e., store the information of current page into the public page.
In order to which the target information that will be included in the public page carries out local persistent storage, in Fig. 2 and embodiment illustrated in fig. 3
On the basis of, which can also include:The target information included in the public page is stored in the public page
It is locally stored.
In this case, before whether target information is preserved in judging the default public page, the information transmission
Method can also include:The target information that middle preservation is locally stored of the public page is loaded into the public page.
In practical applications, if current page due to there is bug (loophole) in development function and in the local of the public page
The information of mistake is incorporated in storage, then just need to delete the error message that middle preservation is locally stored of the public page, so as to
In correct information is stored being locally stored to the public page again, the information by mistake is avoided to pass to target pages.Cause
This, on the basis of Fig. 2 and embodiment illustrated in fig. 3, which can also include:Middle preservation is locally stored in deletion
Target information.
In practical application, the mesh of middle preservation can be locally stored by calling the postMessage methods in HTML5 to delete
Mark information.
In the specific embodiment of the present invention, as shown in figure 4, on the basis of embodiment illustrated in fig. 2, in step
After the target information included in the public page is passed to target pages by S203, which can also include:
S205, according to target information, renders target pages.
It should be understood that in practical application, after the target information included in the public page is passed to target pages,
Target pages can carry out page rendering using target information, for example, user is after a certain commodity in clicking on current page, can
The corresponding target pages of the commodity are jumped to, current page needs the identification information of the commodity passing to target pages, target
The page can ask the full detail of the commodity, such as picture, word, base according to the identification information rear end server of the commodity
Page rendering is carried out to target pages in the merchandise news asked.
It is emphasized that in embodiments of the present invention, current page can will can pass to target pages in this page
Information all write the public page, after target pages are jumped to from current page, target pages can be directly from public page
Required target information is read in face.Therefore, the developer of current page only needs to consider current page can pass to mesh
The information for marking the page is all write in the public page, the particular content without considering target pages information needed;Target pages
Developer when safeguarding target pages, also only consider change need from the public page obtain specifying information.In this way,
For developer, it is only necessary to consider that the logic of this page and this page can be supplied to the information of other pages, without
Must be linked up with the developer of other pages needs this page pass to the information of other pages, alleviates between developer
Communicating pressure.
For example, the information in information transmitting methods provided in an embodiment of the present invention as shown in Figure 5 between the page passes
Schematic diagram is passed, page A can store all state machines of this page into the public page, so-called state machine, that is, the page
In the information of state that is presently in of element.After page B is jumped to from page A, page B can from the public page page
Required state machine information is read in the state machine information of A, and page rendering is carried out based on read information.
As seen from the above, in scheme provided in an embodiment of the present invention, the mesh under same domain name is being jumped to from current page
After marking the page, the instruction that the target information of the current page is passed to the target pages is received, is judged default public
Whether the target information is preserved in the page, if so, the target information preserved in the public page is passed to
The target pages.
, can be from default public affairs after redirecting between carrying out the page as it can be seen that using scheme provided in an embodiment of the present invention
The target information that current page can pass to the information of target pages is obtained in the page altogether, without the URL chains from target pages
Connect middle acquisition target information, avoid between the page when transmitting information there is a situation where leakage passes or it is wrong pass, reduce information biography
The probability to malfunction when passing.
It should be noted that the public page is provided under the same domain name of current page and target pages, due to clear
The security mechanism of device of looking at only allows to be called between the page under same domain name, for example, browser only allows the domain name to be
The page invocation domain name of a.abc.com is the information of the page of b.abc.com, without allowing the corresponding page tune of a.abc.com
With the information of the corresponding pages of a.def.com, therefore, using the information transmitting methods that the embodiment of the present invention is provided in same domain
It is safe when being transmitted between the page under one's name into row information.Also, seen from the above description, the embodiment of the present invention can be based on
PostMessage methods in HTML5 technologies realize that the principle of realization is relatively simple, institute with localStorage is locally stored
The code used is more popular, therefore also relatively simple in application.
Corresponding with above-mentioned information transmitting methods, the embodiment of the present invention additionally provides a kind of information transfer device.
Corresponding with the embodiment of the method shown in Fig. 2, Fig. 6 is the first of information transfer device provided in an embodiment of the present invention
Kind structure diagram, described device can include:
Receiving module 601, for after the target pages under same domain name are jumped to from current page, receiving by described in
The target information of current page passes to the instruction of the target pages, wherein, the target information is:In the current page
The information of the target pages can be passed to;
Judgment module 602, for judging whether include the target information in the default public page;If so, triggering
Transfer module 603;
The transfer module 603, for the target information included in the public page to be passed to the target
The page.
In practical applications, the transfer module 603, can include:
Judging submodule (not shown), for the target for judging the first information with being included in the public page
Whether information is consistent, wherein, the first information is:It is currently needed for passing to the letter of the target pages in the current page
Breath;If so, submodule (not shown) is transmitted in triggering, otherwise, triggering, which is replaced, transmits submodule (not shown);
The transmission submodule, for judging the first information with being included in the public page in the judging submodule
The target information it is consistent when, the target information included in the public page is passed into the target pages;
Described replace transmits submodule, used in judging the first information and the public page in the judging submodule
Comprising the target information it is consistent when, the target information included in the public page is replaced with into the first information
Afterwards, the target information included in the public page is passed into the target pages.
In practical applications, second of structure diagram of messaging device as shown in Figure 7, in implementation shown in Fig. 6
On the basis of example, described information transfer device can also include:
Writing module 604, believes for not including the target in judging the public page in the judgment module 602
During breath, the target information is write in the public page, then trigger the transfer module 603.
In practical applications, described information transfer device can also include:
Memory module (not shown), it is described for the target information included in the public page to be stored in
The public page is locally stored;
Load-on module (not shown), for judging whether protected in the default public page in the judgment module 602
Before having the target information, the target information that middle preservation is locally stored is loaded into the public page.
In practical applications, described information transfer device can also include:
Removing module (not shown), for deleting the target information that middle preservation is locally stored.
In practical applications, the third structure diagram of messaging device as shown in Figure 8, in implementation shown in Fig. 6
On the basis of example, described information transfer device can also include:
Rendering module 605, for passing the target information included in the public page in the transfer module 603
After passing the target pages, according to the target information, the target pages are rendered.
As seen from the above, in scheme provided in an embodiment of the present invention, the mesh under same domain name is being jumped to from current page
After marking the page, the instruction that the target information of the current page is passed to the target pages is received, is judged default public
Whether the target information is preserved in the page, if so, the target information preserved in the public page is passed to
The target pages.
, can be from default public affairs after redirecting between carrying out the page as it can be seen that using scheme provided in an embodiment of the present invention
The target information that current page can pass to the information of target pages is obtained in the page altogether, without the URL chains from target pages
Connect middle acquisition target information, avoid between the page when transmitting information there is a situation where leakage passes or it is wrong pass, reduce information biography
The probability to malfunction when passing.
The embodiment of the present invention additionally provides a kind of browser, and the browser is identical except having the function of with existing browser
Outside, which also applies any one information transfer device in above-mentioned Fig. 6-8, therefore, provided in an embodiment of the present invention clear
Look at device, the effect same with above-mentioned Fig. 6-8 can be reached, the embodiment of the present invention no longer does in detail the particular content of the browser
Illustrate, something in common refers to above-mentioned corresponding content.
For above-mentioned device embodiment and browser, since it is substantially similar to embodiment of the method, so retouching
That states is fairly simple, and the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that herein, 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 this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence " including one ... ", it is not excluded that
Also there are other identical element in the process, method, article or apparatus that includes the element.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is
To instruct relevant hardware to complete by program, the program can be stored in computer read/write memory medium,
The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
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 (13)
- A kind of 1. information transmitting methods, it is characterised in that the described method includes:After the target pages under same domain name are jumped to from current page, receive and pass the target information of the current page The instruction of the target pages is passed, wherein, the target information is:The target pages can be passed in the current page Information;Judge whether include the target information in the default public page;If so, the target information included in the public page is passed into the target pages.
- 2. according to the method described in claim 1, it is characterized in that, in the target that will be included in the public page After information passes to the target pages, further include:According to the target information, the target pages are rendered.
- 3. according to the method described in claim 1, it is characterized in that, the method further includes:When not including the target information in judging the public page, the target information is write into the public page In, then perform the step of target information included in the public page is passed into the target pages.
- 4. according to the method described in claim 1, it is characterized in that, described believe the target included in the public page The step of breath passes to the target pages, including:Judge whether the first information and the target information included in the public page are consistent, wherein, the first information For:It is currently needed for passing to the information of the target pages in the current page;If so, the target information included in the public page is passed into the target pages;Otherwise, after the target information included in the public page being replaced with the first information, by the public page The target information included in face passes to the target pages.
- 5. according to the method described in claim 1, it is characterized in that, the method further includes:The target information included in the public page is stored in being locally stored for the public page;It is described judge whether to preserve the target information in the default public page before, further include:The target information that middle preservation is locally stored is loaded into the public page.
- 6. according to the method described in claim 5, it is characterized in that, the method further includes:The target information of middle preservation is locally stored described in deletion.
- 7. a kind of information transfer device, it is characterised in that described device includes:Receiving module, for after the target pages under same domain name are jumped to from current page, receiving the current page The target information in face passes to the instruction of the target pages, wherein, the target information is:It can be transmitted in the current page Information to the target pages;Judgment module, for judging whether include the target information in the default public page;If so, mould is transmitted in triggering Block;The transfer module, for the target information included in the public page to be passed to the target pages.
- 8. device according to claim 7, it is characterised in that described device further includes:Rendering module, for the target information included in the public page to be passed to the mesh in the transfer module After marking the page, according to the target information, the target pages are rendered.
- 9. device according to claim 7, it is characterised in that described device further includes:Writing module, during for not including the target information in judging the public page in the judgment module, by institute State target information to write in the public page, then trigger the transfer module.
- 10. device according to claim 7, it is characterised in that the transfer module, including:Judging submodule, for judging whether the first information and the target information included in the public page are consistent, its In, the first information is:It is currently needed for passing to the information of the target pages in the current page;If so, triggering Submodule is transmitted, otherwise, triggering, which is replaced, transmits submodule;The transmission submodule, for judging the first information and the institute included in the public page in the judging submodule State target information it is consistent when, the target information included in the public page is passed into the target pages;Described replace transmits submodule, for judging the first information with being included in the public page in the judging submodule The target information it is consistent when, after the target information included in the public page is replaced with the first information, The target information included in the public page is passed into the target pages.
- 11. device according to claim 7, it is characterised in that described device further includes:Memory module, the local for the target information included in the public page to be stored in the public page are deposited Storage;Load-on module, for whether preserved in judging the default public page in the judgment module target information it Before, the target information that middle preservation is locally stored is loaded into the public page.
- 12. according to the devices described in claim 11, it is characterised in that described device further includes:Removing module, for deleting the target information that middle preservation is locally stored.
- 13. a kind of browser, it is characterised in that the browser is using information transmission any one of claim 7-12 The browser of device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610972140.4A CN108021593B (en) | 2016-11-03 | 2016-11-03 | Information transfer method and device and browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610972140.4A CN108021593B (en) | 2016-11-03 | 2016-11-03 | Information transfer method and device and browser |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108021593A true CN108021593A (en) | 2018-05-11 |
CN108021593B CN108021593B (en) | 2020-05-08 |
Family
ID=62084489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610972140.4A Active CN108021593B (en) | 2016-11-03 | 2016-11-03 | Information transfer method and device and browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108021593B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245156A (en) * | 2019-05-29 | 2019-09-17 | 吉旗(成都)科技有限公司 | Caching data processing method and device |
CN112905940A (en) * | 2021-02-25 | 2021-06-04 | 平安普惠企业管理有限公司 | Page communication method and device, computer equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102279876A (en) * | 2011-07-22 | 2011-12-14 | 张士益 | Method for controlling information interaction between websites |
CN102508674A (en) * | 2011-12-02 | 2012-06-20 | 方正国际软件有限公司 | Method based on JSON (javascript serialized object notation) for passing object-oriented parameters and system |
CN103207863A (en) * | 2012-01-13 | 2013-07-17 | 腾讯科技(深圳)有限公司 | Page cross-domain interacting method and terminal |
CN103428179A (en) * | 2012-05-18 | 2013-12-04 | 阿里巴巴集团控股有限公司 | Method, system and device for logging into multi-domain-name website |
CN104954501A (en) * | 2014-03-31 | 2015-09-30 | 北京金山网络科技有限公司 | Cross-domain information interactive method, device thereof and system thereof |
CN104965690A (en) * | 2014-04-18 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for processing data |
US20160156694A1 (en) * | 2014-01-22 | 2016-06-02 | International Business Machines Corporation | Storing information to manipulate focus for a webpage |
-
2016
- 2016-11-03 CN CN201610972140.4A patent/CN108021593B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102279876A (en) * | 2011-07-22 | 2011-12-14 | 张士益 | Method for controlling information interaction between websites |
CN102508674A (en) * | 2011-12-02 | 2012-06-20 | 方正国际软件有限公司 | Method based on JSON (javascript serialized object notation) for passing object-oriented parameters and system |
CN103207863A (en) * | 2012-01-13 | 2013-07-17 | 腾讯科技(深圳)有限公司 | Page cross-domain interacting method and terminal |
CN103428179A (en) * | 2012-05-18 | 2013-12-04 | 阿里巴巴集团控股有限公司 | Method, system and device for logging into multi-domain-name website |
US20160156694A1 (en) * | 2014-01-22 | 2016-06-02 | International Business Machines Corporation | Storing information to manipulate focus for a webpage |
CN104954501A (en) * | 2014-03-31 | 2015-09-30 | 北京金山网络科技有限公司 | Cross-domain information interactive method, device thereof and system thereof |
CN104965690A (en) * | 2014-04-18 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Method and apparatus for processing data |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245156A (en) * | 2019-05-29 | 2019-09-17 | 吉旗(成都)科技有限公司 | Caching data processing method and device |
CN112905940A (en) * | 2021-02-25 | 2021-06-04 | 平安普惠企业管理有限公司 | Page communication method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108021593B (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8719421B2 (en) | Cross domain interaction of a web application | |
US8898796B2 (en) | Managing network data | |
CN104301379A (en) | Web page cross-domain communication method and device | |
CN110209966B (en) | Webpage refreshing method, webpage system and electronic equipment | |
US20140143644A1 (en) | Web browser page transition acceleration | |
US10447794B2 (en) | Web browser tracking | |
TW201044836A (en) | Managing potentially phishing messages in a non-web mail client context | |
WO2015109321A1 (en) | Intercepting and supervising calls to transformed operations and objects | |
KR20140043081A (en) | Application security testing | |
CN104036053A (en) | Invalid link address processing method and device | |
US11262883B2 (en) | Associating browser with application | |
US20160350265A1 (en) | Page jumps based on text hiding | |
CN108416011A (en) | A kind of page processing method, device, terminal and computer readable storage medium | |
CN103841188A (en) | Cookie information processing method and device in browser | |
US10437779B2 (en) | Intelligent interactive screen capture | |
CN103095530A (en) | Method and system for sensitive information monitoring and leakage prevention based on front-end gateway | |
CN102546618A (en) | Method, device, system and website for detecting fishing website | |
CN103532824B (en) | The method of instant communication information notice, browser and server | |
CN103617390A (en) | Malicious webpage judgment method, device and system | |
US20230205826A1 (en) | Systems and Method for Domain Mapping | |
CN108021593A (en) | A kind of information transmitting methods, device and browser | |
US6856985B1 (en) | Server based control of robotic libraries | |
CN106055564B (en) | Page loading method and device | |
CN108322420A (en) | The detection method and device of backdoor file | |
CN106156291A (en) | The caching method of static resource and system thereof based on Localstroage |
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 |