CN107133246A - Browser window partition method and system - Google Patents
Browser window partition method and system Download PDFInfo
- Publication number
- CN107133246A CN107133246A CN201610113508.1A CN201610113508A CN107133246A CN 107133246 A CN107133246 A CN 107133246A CN 201610113508 A CN201610113508 A CN 201610113508A CN 107133246 A CN107133246 A CN 107133246A
- Authority
- CN
- China
- Prior art keywords
- browser
- exterior chain
- browser window
- cookie
- cryptographic hash
- 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
- 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 present invention proposes a kind of browser window partition method and system, it is possible to achieve many accounts are logged in simultaneously.Methods described includes being selected in response to the function choosing-item on the page of the listed application program of user and generating exterior chain to call browser;If the exterior chain meets browser window isolation unlocking condition, a cryptographic Hash is calculated according to the exterior chain, and search in browser whether there are corresponding Cookie/Cache catalogues according to the cryptographic Hash;When the cryptographic Hash does not have corresponding Cookie/Cache catalogues, a new Cookie/Cache catalogue is created, a network request object is generated, and a window is opened in a browser according to the network request object;And when the cryptographic Hash has corresponding Cookie/Cache catalogues, according to existing Cookie/Cache catalogues, a network request object is generated, and a window is opened in a browser according to the network request object.
Description
Technical field
The present invention relates to computer mobile communication technology field, in particular to a kind of base
In the browser window partition method and system of user terminal.
Background technology
With the fast development of terminal technology, PC, tablet personal computer, smart mobile phone etc.
Terminal device has obtained extensive popularization and application, is the application program of terminal device exploitation
(APP) species is increasingly enriched, quantity is more and more huger.By clicking on application program
The page on function choosing-item can adjust exterior chain, exterior chain is external linkage, is that a page refers to
To the annexation of a target.Web page windows can be jumped out when exterior chain has been adjusted, pass through end
End browser loads the webpage of exterior chain sensing.
But, for main flow terminal browser in the market, application program it is same
The webpage that one page has been adjusted by exterior chain only preserves a overall situation Cookie in browser,
Account and encrypted message are transmitted by the Cookie during login account, do not support to open work(account more
Can, it is impossible to while logging in multiple accounts.If the cookie information of different accounts is preserved simultaneously
Into the global Cookie, the confusion of different account informations can be caused and influenced each other, equally
It can not smoothly realize that many accounts of a user are logged in.Therefore, current terminal browser
The use of user account login mode inconvenience multi-accounting number users, has had a strong impact on many accounts and has used
Family uses the usage experience of browser.
The content of the invention
It is an object of the invention to provide a kind of browser window partition method and system to realize
Many accounts are logged in simultaneously.
To achieve these goals, the technical scheme that the embodiment of the present invention is used is as follows:
In a first aspect, the embodiments of the invention provide a kind of browser window partition method, institute
Stating browser window partition method includes:On the page for responding the listed application program of user
Function choosing-item it is selected and generate exterior chain to call browser;If the exterior chain meets browser
Window isolates unlocking condition, and a cryptographic Hash is calculated according to the exterior chain, and according to the cryptographic Hash
Whether search in browser has corresponding Cookie/Cache catalogues;It is not right in the cryptographic Hash
During the Cookie/Cache catalogues answered, a new Cookie/Cache catalogue is created, according to this
New Cookie/Cache catalogues, generate a network request object, and according to the network request
Object opens a window in a browser;And have corresponding in the cryptographic Hash
During Cookie/Cache catalogues, according to existing Cookie/Cache catalogues, a net is generated
Network asks object, and opens a window in a browser according to the network request object.
Second aspect, the embodiment of the present invention additionally provides a kind of browser window shielding system,
The browser window shielding system includes:Exterior chain generates module, has been stepped on for responding user
Function choosing-item on the page of the application program of record is selected and generates exterior chain and is browsed with calling
Device;Search module, for respond the exterior chain meet browser window isolation unlocking condition and root
A cryptographic Hash is calculated according to the exterior chain, and is searched according to the cryptographic Hash and whether to have in browser pair
The Cookie/Cache catalogues answered;Directory creating module, it is not right for responding the cryptographic Hash
The Cookie/Cache catalogues answered and create a new Cookie/Cache catalogue;First network
Object generation module is asked, for according to the new Cookie/Cache catalogues, generating a net
Network asks object, and opens a window in a browser according to the network request object;The
Two network request objects generate module, have corresponding for responding the cryptographic Hash
Cookie/Cache catalogues and according to existing Cookie/Cache catalogues, generate a network
Object is asked, and a window is opened in a browser according to the network request object.
The third aspect, the embodiment of the present invention additionally provides a kind of user terminal, and the user is whole
End includes:Memory;Processor;And browser window shielding system, the browser window
Mouth shielding system is installed in the memory and held including one or more by the processor
Capable software function module, the browser window shielding system includes:Exterior chain generates module,
Function choosing-item on the page of response application program is selected and to generate exterior chain clear to call
Look at device, the exterior chain includes the field of website domain name and mark user identity;Module is searched, is used
In respond the exterior chain meet browser window isolation unlocking condition and according to the website domain name of exterior chain
A cryptographic Hash is calculated with the field of mark user identity, and is browsed according to cryptographic Hash lookup
Whether corresponding Cookie/Cache catalogue is had in device;Directory creating module, for responding this
Cryptographic Hash does not have corresponding Cookie/Cache catalogues and creates a new Cookie/Cache mesh
Record;First network request object generation module, for according to the new Cookie/Cache catalogues,
A network request object is generated, and one is opened in a browser according to the network request object
Individual window;Second network request object generates module, has corresponding for responding the cryptographic Hash
Cookie/Cache catalogues and according to existing Cookie/Cache catalogues, generate a network
Object is asked, and a window is opened in a browser according to the network request object.
Browser window partition method and system provided in an embodiment of the present invention are by judging exterior chain
Whether meet browser window isolation unlocking condition, and judge the cryptographic Hash that is calculated by exterior chain
Whether corresponding Cookie/Cache catalogue is had, if the cryptographic Hash is not corresponding
Cookie/Cache catalogues then create new Cookie/Cache catalogues, and generate network request pair
As.In this way, later when logging in multiple accounts under same website, can also using pair
The Cookie/Cache catalogues answered carry out many Account Logons, for the login of the user of many accounts
Operation is easier, lifts Consumer's Experience.
It is cited below particularly to enable the above objects, features and advantages of the present invention to become apparent
Preferred embodiment, and coordinate appended accompanying drawing, it is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to embodiment
In required for the accompanying drawing that uses be briefly described, it will be appreciated that the following drawings illustrate only
Certain embodiments of the present invention, therefore the restriction to scope is not construed as, for ability
, on the premise of not paying creative work, can also basis for the those of ordinary skill of domain
These accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows browser window partition method provided in an embodiment of the present invention and system
Application environment schematic diagram;
Fig. 2 shows the structured flowchart of user terminal provided in an embodiment of the present invention;
Fig. 3 shows the process provided in an embodiment of the present invention for having adjusted browser by exterior chain
Schematic diagram;
Fig. 4 shows a kind of browser window isolation side that first embodiment of the invention is provided
The schematic flow sheet of method;
Fig. 5 shows a kind of browser window shielding system that second embodiment of the invention is provided
Structured flowchart.
Embodiment
The browser window partition method and system that the embodiment of the present invention is provided can be applied to as
In application environment shown in Fig. 1.As shown in figure 1, user terminal 100, remote server
200 are located in wireless network or cable network 300, pass through the wireless network or cable network
300, user terminal 100 carries out data interaction with remote server 200.
The user terminal 100 be preferably PC (PC), tablet personal computer, smart mobile phone,
E-book reader, pocket computer on knee, vehicle-mounted computer, Wearable mobile terminal etc.
Deng.In the embodiment of the present invention, the user terminal 100 is PC (PC).
There is provided one kind for the browser window partition method and system that the embodiment of the present invention is proposed
New browser window partition method.The browser window partition method and system are applicable to
Have Windows operating system, iOS operating systems, Android operation system, Windows
The user terminal 100 of Phone operating systems or other platforms.In the embodiment of the present invention, use
Family terminal 100 uses Windows operating system, and is provided with browser 400 and applies journey
Sequence (APP) 500, it is corresponding with remote server 200, provide the user service.In this reality
Apply in example, described browser 400 can be UC browsers, IE browser or Chrome
Browser etc..The application program 500 can be thousand Ns of clients, Taobao's client, new
Unrestrained microblogging client or wechat Web client etc..
Fig. 2 show a kind of browser window partition method using the embodiment of the present invention and
The structured flowchart of the user terminal 100 of system.As shown in Fig. 2 user terminal 100 includes
Memory 102, storage control 104, one or more (one is only shown in figure) processing
Device 106, Peripheral Interface 108, radio frequency unit 110, audio unit 112 and display unit 114
Deng.These components are mutually communicated by one or more communication bus/signal wire 120.
Memory 102 can be used in storage software program and module, such as embodiment of the present invention
Browser window partition method and the corresponding programmed instruction/module of system, processor 106 lead to
One or more software function modules that operation is stored in memory 102 are crossed, so as to perform
Various function application and data processing, such as browser window provided in an embodiment of the present invention every
From method.
Memory 102 may include high speed random access memory, may also include nonvolatile memory,
Such as one or more magnetic storage device, flash memory or the storage of other nonvolatile solid states
Device.Processor 106 and other access of possible component to memory 102 can be in storages
Carried out under the control of controller 104.
Peripheral Interface 108 is by various input/output devices coupled to processor 106 and storage
Device 102.In certain embodiments, Peripheral Interface 108, processor 106 and storage control
Device 104 can be realized in one single chip.In some other example, they can distinguish
Realized by independent chip.
Radio frequency unit 110 is used to receiving and sending electromagnetic wave, realizes electromagnetic wave and electric signal
Mutual conversion, so as to be communicated with communication network or other equipment.
Audio unit 112 provides a user COBBAIF, and it may include one or more Mikes
Wind, one or more loudspeaker and voicefrequency circuit.
Display unit 114 between user terminal 100 and user simultaneously provide one output and
Inputting interface.In the present embodiment, the display unit 114 is used to show browser 400
And the content of application program 500.
It is appreciated that the structure shown in Fig. 2 is only signal, user terminal 100 may also include
More either less components or match somebody with somebody than shown in Fig. 2 with different from shown in Fig. 2
Put.Each component shown in Fig. 2 can be realized using hardware, software or its combination.
Referring to Fig. 3, there are some function choosing-items in the page of the application program 500,
Such as the function choosing-item is mailbox, community, personal space, news.User can lead to
Cross username and password and log in the application program 500, and click on the function choosing-item and call and browse
Device 400, so as to open the corresponding webpage of the function choosing-item using browser 400.It is above-mentioned logical
The function choosing-item crossed in the page of application program 500 opens the process of webpage in browser 400
Exterior chain can be referred to as and adjusted browser.For example, applying journey when user is chosen by mouse or finger
During mailbox in the page of sequence 500, browser 400 is called, and is shown on address field
The chained address of the mailbox, and load corresponding webpage eventually through the chained address.Need
Illustrate, because user has logged on the application program 500, the chained address includes
The field of website domain name and mark user identity.
Below in conjunction with accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention
Case is clearly and completely described, it is clear that described embodiment is only the present invention one
Section Example, rather than whole embodiments.Generally it is described and illustrated herein in the accompanying drawings
The component of the embodiment of the present invention can arrange and design with a variety of configurations.Therefore,
The detailed description of the embodiments of the invention to providing in the accompanying drawings, which is not intended to limit, below wants
The scope of the present invention of protection is sought, but is merely representative of the selected embodiment of the present invention.It is based on
Embodiments of the invention, those skilled in the art are not on the premise of creative work is made
The every other embodiment obtained, 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, because
This, once be defined in a certain Xiang Yi accompanying drawing, then in subsequent accompanying drawing need not pair
It further define and explain.Meanwhile, in the description of the invention, term " first ",
" second " etc. is only used for distinguishing description, and it is not intended that indicating or implying relative importance.
First embodiment
Fig. 4 shows a kind of browser window partition method that first embodiment of the invention is provided
Flow chart, it should be noted that, browser window partition method of the present invention is not
Using Fig. 4 and particular order as described below as limitation.It should be appreciated that in other embodiments
In, the order of browser window partition method which part step of the present invention can root
It is exchanged with each other according to being actually needed, or part steps therein can also be omitted or deleted.Under
The idiographic flow shown in Fig. 4 will be described in detail for face.Fig. 1 and Fig. 4 is please referred to,
Methods described includes:
Function choosing-item on step S110, the page of response application program 500 is selected and gives birth to
Into exterior chain to call browser 400, wherein the application program 500 passes through user name and close
Code is logged in advance causes the exterior chain to include the field of website domain name and mark user identity.
Specifically, after user is by application program 500 described in user name and password login,
Exterior chain is generated when function choosing-item on the page of application program 500 is chosen by user to call
Browser 400.
Step S120, judges whether exterior chain meets browser window and keep apart according to presupposed information
Condition is opened, if exterior chain meets browser window isolation unlocking condition, step S130 is performed;If
Exterior chain does not meet browser window isolation unlocking condition, performs step S180.
Specifically, the presupposed information can be sent to client by remote server 200
100, and be stored in the memory 102 of client 100.In the present embodiment, it is described pre-
If information includes default website domain name and pre-set user identity information.For example, Taobao's client
Corresponding default website domain name is taobao.com, and pre-set user identity information can be login
The user name of Taobao's client, it can be formed by multiple field combinations.Due to described predetermined
Rule sent by remote server 200 to client 100, consequently facilitating according to different
Application program changes the predetermined rule in remote server 200, and then improves client
100 flexibility.
One of default website domain name in the website domain name of exterior chain is presupposed information and exterior chain
Mark user identity field be pre-set user identity information in preset rules for the moment,
Judge that exterior chain meets browser window isolation unlocking condition and performs step S130.Otherwise, when
The website domain name of exterior chain is not one of default website domain name in presupposed information and/or exterior chain
The field of mark user identity is not pre-set user identity information a period of time in preset rules,
Judge that exterior chain does not meet browser window isolation unlocking condition and performs step S180.
For example, when the website domain name of exterior chain is taobao.com, identifying the field of user identity
For xx.123, the two is the default website domain name and pre-set user identity in presupposed information respectively
One of information, now i.e. it is believed that meeting browser window isolation unlocking condition.Need explanation
, when pre-set user identity information is formed by multiple field combinations, mark user's body
Part field need to constitute subscriber identity information multiple fields it is completely the same.
Step S130, calculates a cryptographic Hash (hash value), according to the Hash according to exterior chain
Whether value is searched in browser 400 corresponding Cookie/Cache catalogues, if the cryptographic Hash
There is no corresponding Cookie/Cache catalogues, then perform step S140, if the cryptographic Hash has pair
The Cookie/Cache catalogues answered, then perform step S160.
In the present embodiment, first, by the website domain name of exterior chain and the word of mark user identity
Combination calculates cryptographic Hash to section in order, and the cryptographic Hash that the exterior chain of different content is calculated is different.
Secondly, search in browser 400 whether have corresponding Cookie/Cache according to the cryptographic Hash
Catalogue.If the cryptographic Hash does not have corresponding Cookie/Cache catalogues, illustrate the user name not
The corresponding webpage of the logged website domain name so that be not present in browser 400 corresponding
Cookie/Cache catalogues.If the cryptographic Hash has corresponding Cookie/Cache catalogues, explanation
The corresponding webpage of the logged website domain name of the user name so that right in browser 400
The Cookie/Cache catalogues answered.
Step S140, creates a new Cookie/Cache catalogue, and in browser 400
It is middle that the cryptographic Hash calculated and new Cookie/Cache catalogues are set up into mapping relations.
By the way that the cryptographic Hash calculated and new Cookie/Cache catalogues are set up into mapping relations,
So that the web page browsing record produced by the user name can be stored in the new Cookie/Cache
Catalogue.
Step S150, according to new Cookie/Cache catalogues, generates a network request object,
And a window is opened in browser 400 according to the network request object, and perform step
S170。
Specifically, browser 400 generates a network according to new Cookie/Cache catalogues and asked
Object is sought, is shown so as to be opened in browser 400 on a window, the address field of the window
Show the corresponding chained address of the function choosing-item, the chained address includes above-mentioned website domain name
With the field of mark user identity.
Step S160, according to existing Cookie/Cache catalogues, generates a network request
Object, and a window is opened in browser 400 according to the network request object, and hold
Row step S170.
Specifically, browser 400 generates a net according to existing Cookie/Cache catalogues
Network asks object, so as to open a window, the address field of the window in browser 400
Upper to show the corresponding chained address of the function choosing-item, the chained address includes above-mentioned website
The field of domain name and mark user identity.
Step S170, webpage is loaded by browser window isolation mode.
So-called browser window isolation mode, i.e., use in the different windows of browser 400
Different user names logs in corresponding website domain name respectively, and loads different exterior chains pair respectively
The webpage answered, and between different user name will not the number of string, do not result in and influence each other.
In the present embodiment, the corresponding webpage of user name acquiescence automated log on.
Step S180, webpage is loaded by default mode.
So-called default mode, that is, pass through the website domain name and the word of mark user identity of exterior chain
Section opens a window in browser 400, and loads corresponding webpage.Now, the use
Name in an account book can the corresponding webpage of automated log on, also can in a manual fashion be logged in by user correspondence
Webpage.For example, when the website domain name of exterior chain is epo.org, during it is not presupposed information
One of default website domain name, then directly pass through the website domain name (epo.org) and mark user
The field of identity opens a window in browser 400, and loads corresponding webpage.
To sum up, a kind of browser window partition method that first embodiment of the invention is provided can be real
Existing browser window isolation.For example, user is logged in using the first username and password and answered
With program 500, when user clicks on the function choosing-item on the page of application program 500, lead to
Cross the first exterior chain and call browser 400.Assuming that first exterior chain meets browser window isolation
Unlocking condition and website domain name by the first exterior chain and the field of mark user identity are calculated
Cryptographic Hash there is no corresponding Cookie/Cache catalogues, now, first create first new
Cookie/Cache catalogues, and it is in browser 400 that the cryptographic Hash calculated and first is new
Cookie/Cache catalogues set up mapping relations, further according to the first new Cookie/Cache catalogues,
A network request object is generated, so as to open a new window by browser 400 and add
Contained network page.It should be noted that because user only logs in an account, browser now
Window isolation effect is not obvious.
When user's preparation is continuing with second user name application program 500 is logged on password
When, user can first exit the first user name and reuse second user name, or be opened by double
The mode of application program 500 uses second user name.Now, user clicks on second user name
During function choosing-item on the page of the application program 500 of login, called by the second exterior chain clear
Look at device 400.Assuming that second exterior chain meets browser window isolation unlocking condition and by the
The cryptographic Hash that the website domain name of two exterior chains and the field of mark user identity are calculated is not corresponded to
Cookie/Cache catalogues, now, then create the second new Cookie/Cache catalogues, and
The cryptographic Hash calculated is set up with the second new Cookie/Cache catalogues in browser 400
Mapping relations, further according to the second new Cookie/Cache catalogues, generate a network request pair
As so as to open another new window by browser 400 and load webpage, so that therewith
The browser window of front opening realizes isolation, i.e., different accounts are browsed by different respectively
Device window login and each other without influence.Certainly, if the website domain name of the second exterior chain and mark are used
The cryptographic Hash that the field of family identity is calculated has corresponding Cookie/Cache catalogues, then directly
According to the existing Cookie/Cache catalogues, a network request object is generated, so that logical
Browser 400 is crossed to open another new window and load webpage.As can be seen here, the present invention the
A kind of browser window partition method that one embodiment is provided can realize that browser window is isolated,
It is easy to many account registers of user, improves Consumer's Experience.
Second embodiment
Fig. 5 shows a kind of browser window shielding system that second embodiment of the invention is provided
40 structured flowchart, please refers to the browser window in Fig. 1 and Fig. 5, the present embodiment
The browser that shielding system 40 can run in the browser of user terminal 100, the present embodiment
Window shielding system 40 include exterior chain generation module 41, judge module 42, lookup module 43,
Directory creating module 44, first network request object generation module 45, the second network request pair
As generation module 46 and webpage loading module 47.
The function choosing-item that exterior chain generation module 41 is used on the page of response application program 500
It is selected and generates exterior chain to call browser 400, wherein the application program 500 passes through
Username and password is logged in advance causes the exterior chain to include website domain name and mark user identity
Field.
This judges that module 42 is used to judge whether exterior chain meets browser window according to presupposed information
Mouthful isolation unlocking condition, if exterior chain meets browser window isolation unlocking condition, exports the
One instruction;If exterior chain does not meet browser window isolation unlocking condition, output second is instructed.
In the present embodiment, the presupposed information includes default website domain name and pre-set user body
Part information.One of default website domain name in the website domain name of exterior chain is presupposed information and
The field of the mark user identity of exterior chain is one of pre-set user identity information in preset rules
When, the judgement module 42 output first is instructed.Otherwise, when the website domain name of exterior chain is not pre-
If the field of the mark user identity of one of default website domain name in information and/or exterior chain is not
It is pre-set user identity information a period of time in preset rules, the judgement module 42 output second
Instruction.
The lookup module 43 be used in response to exterior chain meet browser window isolation unlocking condition and
One cryptographic Hash is calculated according to exterior chain, and according to the cryptographic Hash search in browser 400 whether
There are corresponding Cookie/Cache catalogues, if the cryptographic Hash does not have corresponding Cookie/Cache
Catalogue, then export first and order, if the cryptographic Hash has corresponding Cookie/Cache catalogues,
Then output second is ordered.
In the present embodiment, when the judgement module 42 output first is instructed, first, this is looked into
Look for module 43 that the field of the website domain name of exterior chain and mark user identity is combined into meter in order
Cryptographic Hash is calculated, the cryptographic Hash that the exterior chain of different content is calculated is different.Secondly, the lookup mould
Group 43 searches in browser 400 whether have corresponding Cookie/Cache according to the cryptographic Hash
Catalogue.If the cryptographic Hash does not have corresponding Cookie/Cache catalogues, the lookup module 43
Output first is ordered.If the cryptographic Hash has corresponding Cookie/Cache catalogues, the lookup
The output of module 43 second is ordered.
The directory creating module 44 is not corresponding for responding the cryptographic Hash
Cookie/Cache catalogues and create a new Cookie/Cache catalogue, and in browser 400
It is middle that the cryptographic Hash calculated and new Cookie/Cache catalogues are set up into mapping relations.
Specifically, when the lookup module 43 output first is ordered, the directory creating module
44 create a new Cookie/Cache catalogue.By by the cryptographic Hash and newly
Cookie/Cache catalogues set up mapping relations so that the webpage produced by the user name is clear
Record of looking at can be stored in the new Cookie/Cache catalogues.
First network request object generation module 45 is used for according to new Cookie/Cache mesh
Record, generates a network request object, and according to the network request object in browser 400
One window of middle opening.The corresponding chain ground connection of the function choosing-item is shown on the address field of the window
Location, the chained address includes the field of above-mentioned website domain name and mark user identity.
Second network request object generation module 46 has corresponding for responding the cryptographic Hash
Cookie/Cache catalogues and according to existing Cookie/Cache catalogues, generate a network
Object is asked, and a window is opened in browser 400 according to the network request object.
Specifically, when the lookup module 43 output second is ordered, second network request pair
As generation module 46 is according to existing Cookie/Cache catalogues one network request pair of generation
As so as to open a window in browser 400.Display should on the address field of the window
The corresponding chained address of function choosing-item, the chained address includes above-mentioned website domain name and mark
Know the field of user identity.
Webpage loading module 47 is used for after browser 400 opens a window by browsing
Device window isolation mode loads webpage.So-called browser window isolation mode, that is, browsing
Corresponding website domain name is logged in respectively with different user names in the different windows of device 400, and
Load the corresponding webpage of different exterior chains respectively, and between different user name will not the number of string,
Do not result in and influence each other.
Webpage loading module 47 is additionally operable to response exterior chain and meets browser window isolation unlatching
Condition and webpage is loaded by default mode.Specifically, when the judgement module 42 exports second
During instruction, the webpage loads module 47 and loads webpage, so-called acquiescence mould by default mode
Formula, i.e., by the website domain name of exterior chain and the field of mark user identity in browser 400
A window is opened, and loads corresponding webpage.
Each module in the second embodiment of the present invention can be by software code realization, now,
Above-mentioned each module can be stored in the memory 102 of user terminal 100.Above each unit
It can equally be realized by hardware such as IC chip.Those skilled in the art can be with
Be well understood, for convenience and simplicity of description, the functional module group of foregoing description it is specific
Description, may be referred to the specific descriptions of foregoing corresponding method step, no longer goes to live in the household of one's in-laws on getting married one by one herein
State.
In summary, browser window partition method and system provided in an embodiment of the present invention are led to
Cross and judge whether exterior chain meets browser window isolation unlocking condition, and judge by the station of exterior chain
Whether the cryptographic Hash that point domain name and the field of mark user identity are calculated has corresponding
Cookie/Cache catalogues, are created if the cryptographic Hash does not have corresponding Cookie/Cache catalogues
New Cookie/Cache catalogues are built, network request object are generated, and will calculate in a browser
The cryptographic Hash gone out sets up mapping relations with new Cookie/Cache catalogues.In this way, even in same
When logging in multiple accounts under one website, it can also be entered using corresponding Cookie/Cache catalogues
The many Account Logons of row, it is easier for the register of the user of many accounts, lift user
Experience.
In several embodiments provided herein, it should be understood that disclosed device
And method, it can also realize by another way.Device embodiment described above is only
It is only illustrative, for example, the flow chart and block diagram in accompanying drawing are shown according to the present invention's
The device of multiple embodiments, 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
A part for module, program segment or code, a part for the module, program segment or code
Include one or more executable instructions for being used to realize defined logic function.It should also be as note
Meaning, in some implementations as replacement, the function of being marked in square frame can also be with
Occur different from the order marked in accompanying drawing.For example, two continuous square frames actually may be used
To perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is according to involved
And function depending on.It is also noted that each square frame in block diagram and/or flow chart, with
And the combination of the square frame in block diagram and/or flow chart, function or action as defined in execution can be used
Special hardware based system realize, or can be referred to specialized hardware with computer
The combination of order is realized.
In addition, each functional module group in each embodiment of the invention can integrate shape
, can also be two or two into an independent part or modules individualism
It is individual that an independent part is integrated to form with upper module.
If the function is realized using in the form of software function module and is used as independent product pin
Sell or in use, can be stored in a computer read/write memory medium.Based on so
Understanding, the portion that technical scheme substantially contributes to prior art in other words
Divide or the part of the technical scheme can be embodied in the form of software product, the calculating
Machine software product is stored in a storage medium, including some instructions are to cause a meter
Calculate machine equipment (can be personal computer, server, or network equipment etc.) and perform sheet
Invent all or part of step of each embodiment methods described.And foregoing storage medium bag
Include:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. it is 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 be used merely to by an entity or operation with it is another
Individual entity or operation make a distinction, and not necessarily require or imply these entities or operate it
Between there is any this actual relation or order.Moreover, term " comprising ", "comprising"
Or any other variant thereof is intended to cover non-exclusive inclusion, so that being including one
Process, method, article or the equipment of row key element not only include those key elements, but also wrap
Other key elements being not expressly set out are included, or also include being this process, method, thing
Product or the intrinsic key element of equipment.In the absence of more restrictions, by sentence " including
One ... " limit key element, it is not excluded that in the process including the key element, method, thing
Also there is other identical element in product or equipment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention,
For those skilled in the art, the present invention can have various modifications and variations.It is all
Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc.,
It should be included in the scope of the protection.It should be noted that:Similar label and letter
Similar terms is represented in following accompanying drawing, therefore, once determined in a certain Xiang Yi accompanying drawing
Justice, then further need not be defined and be explained to it in subsequent accompanying drawing.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention
Be not limited thereto, any one skilled in the art the invention discloses skill
In the range of art, change or replacement can be readily occurred in, should all be covered in protection scope of the present invention
Within.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (15)
1. a kind of browser window partition method, it is characterised in that the browser window every
Include from method:
It is selected and generates in response to the function choosing-item on the page of the listed application program of user
Exterior chain is to call browser;
If the exterior chain meets browser window isolation unlocking condition, one is calculated according to the exterior chain
Cryptographic Hash, and search in browser whether have corresponding Cookie/Cache according to the cryptographic Hash
Catalogue;
When the cryptographic Hash does not have corresponding Cookie/Cache catalogues, one is created newly
Cookie/Cache catalogues, according to the new Cookie/Cache catalogues, one network of generation please
Object is sought, and a window is opened in a browser according to the network request object;And
When the cryptographic Hash has corresponding Cookie/Cache catalogues, according to existing
Cookie/Cache catalogues, generate a network request object, and according to the network request pair
As opening a window in a browser.
2. browser window partition method as claimed in claim 1, it is characterised in that should
Browser window partition method is also browsed including judging whether the exterior chain meets according to presupposed information
Device window isolates unlocking condition.
3. browser window partition method as claimed in claim 2, it is characterised in that should
Exterior chain includes the field of website domain name and mark user identity, and the presupposed information includes default station
Point domain name and pre-set user identity information, in the website domain name of the exterior chain is presupposed information
During one of default website domain name and the field of the mark user identity of exterior chain are preset rules
Pre-set user identity information for the moment, judges that the exterior chain meets browser window isolation open strip
Part;One of default website domain name in the website domain name of the exterior chain is not presupposed information and/
Or the field of the mark user identity of exterior chain is not the pre-set user identity information in preset rules
For the moment, judge that the exterior chain does not meet browser window isolation unlocking condition.
4. browser window partition method as claimed in claim 3, it is characterised in that should
The website domain name of exterior chain and the field of mark user identity combine calculate cryptographic Hash in order,
The cryptographic Hash that the exterior chain of different content is calculated is different.
5. browser window partition method as claimed in claim 1, it is characterised in that should
Browser window partition method be additionally included in browser by the cryptographic Hash calculated with it is new
Cookie/Cache catalogues set up mapping relations.
6. browser window partition method as claimed in claim 1, it is characterised in that should
Browser window partition method is additionally included in the exterior chain and meets browser window isolation unlocking condition
When webpage is loaded by browser window isolation mode, and in the exterior chain do not meet browser
Window loads webpage when isolating unlocking condition by default mode.
7. a kind of browser window shielding system, it is characterised in that the browser window every
Include from system:
Exterior chain generates module, the work(on the page for responding the listed application program of user
Energy option is selected and generates exterior chain to call browser;
Search module, for respond the exterior chain meet browser window isolation unlocking condition and root
A cryptographic Hash is calculated according to the exterior chain, and is searched according to the cryptographic Hash and whether to have in browser pair
The Cookie/Cache catalogues answered;
Directory creating module, does not have corresponding Cookie/Cache mesh for responding the cryptographic Hash
Record and create a new Cookie/Cache catalogue;
First network request object generation module, for according to the new Cookie/Cache catalogues,
A network request object is generated, and one is opened in a browser according to the network request object
Individual window;
Second network request object generates module, has corresponding for responding the cryptographic Hash
Cookie/Cache catalogues and according to existing Cookie/Cache catalogues, generate a network
Object is asked, and a window is opened in a browser according to the network request object.
8. browser window shielding system as claimed in claim 7, it is characterised in that should
Browser window shielding system also includes judging module, for judging that this is outer according to presupposed information
Whether chain meets browser window isolation unlocking condition.
9. browser window shielding system as claimed in claim 8, it is characterised in that should
Exterior chain includes the field of website domain name and mark user identity, and the presupposed information includes default station
Point domain name and pre-set user identity information, it is pre- in the website domain name of exterior chain is presupposed information
If the field of the mark user identity of one of website domain name and exterior chain is pre- in preset rules
If subscriber identity information is for the moment, the judgement module judges that exterior chain meets browser window isolation
Unlocking condition;One of default website domain name in the website domain name of exterior chain is not presupposed information
And/or the field of the mark user identity of exterior chain is not the pre-set user identity in preset rules
For the moment, the judgement module judges that exterior chain does not meet browser window isolation unlocking condition to information.
10. browser window shielding system as claimed in claim 9, it is characterised in that should
Presupposed information is sent to a client by a remote server, and is stored in client.
11. browser window shielding system as claimed in claim 7, it is characterised in that should
Directory creating module be additionally operable in a browser by the cryptographic Hash calculated with it is new
Cookie/Cache catalogues set up mapping relations.
12. browser window shielding system as claimed in claim 7, it is characterised in that should
Exterior chain includes the field of website domain name and mark user identity, and the lookup module is used for this is outer
The website domain name of chain and the field of mark user identity combine calculate cryptographic Hash in order, no
The cryptographic Hash calculated with the exterior chain of content is different.
13. browser window shielding system as claimed in claim 7, it is characterised in that should
Browser window shielding system also includes webpage and loads module, is browsed for meeting in the exterior chain
Device window loads webpage, Yi Ji when isolating unlocking condition by browser window isolation mode
The exterior chain loads webpage when not meeting browser window isolation unlocking condition by default mode.
14. a kind of user terminal, it is characterised in that the user terminal includes:
Memory;
Processor;And
Browser window shielding system, the browser window shielding system is installed on described deposit
It is described in reservoir and including one or more software function modules by the computing device
Browser window shielding system includes:
Exterior chain generates module, and the function choosing-item on the page of response application program is selected
And generate exterior chain to call browser, the exterior chain includes website domain name and identifies user identity
Field;
Search module, for respond the exterior chain meet browser window isolation unlocking condition and root
A cryptographic Hash is calculated according to the website domain name of exterior chain and the field of mark user identity, and according to
Whether the cryptographic Hash is searched in browser corresponding Cookie/Cache catalogues;
Directory creating module, does not have corresponding Cookie/Cache mesh for responding the cryptographic Hash
Record and create a new Cookie/Cache catalogue;
First network request object generation module, for according to the new Cookie/Cache catalogues,
A network request object is generated, and one is opened in a browser according to the network request object
Individual window;
Second network request object generates module, has corresponding for responding the cryptographic Hash
Cookie/Cache catalogues and according to existing Cookie/Cache catalogues, generate a network
Object is asked, and a window is opened in a browser according to the network request object.
15. user terminal as claimed in claim 14, it is characterised in that the user is whole
End communicates with a remote server, described pre- to obtain the presupposed information from remote server
If information includes default website domain name and pre-set user identity information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610113508.1A CN107133246A (en) | 2016-02-29 | 2016-02-29 | Browser window partition method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610113508.1A CN107133246A (en) | 2016-02-29 | 2016-02-29 | Browser window partition method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107133246A true CN107133246A (en) | 2017-09-05 |
Family
ID=59720808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610113508.1A Pending CN107133246A (en) | 2016-02-29 | 2016-02-29 | Browser window partition method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107133246A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112600950A (en) * | 2020-12-09 | 2021-04-02 | 福建万物易联网络科技有限公司 | Outer chain rewriting method and system of short crossbar format |
CN115514637A (en) * | 2022-09-22 | 2022-12-23 | 中国电信股份有限公司 | Remote gateway adjusting method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594813A (en) * | 2012-02-10 | 2012-07-18 | 奇智软件(北京)有限公司 | Multi-account login method and device |
US20130262673A1 (en) * | 2012-04-03 | 2013-10-03 | Google Inc. | System and method of multiple login overlay from a single browser interface |
CN103618698A (en) * | 2013-11-08 | 2014-03-05 | 北京奇虎科技有限公司 | Method and device for processing cookie information |
CN103841188A (en) * | 2014-02-27 | 2014-06-04 | 北京奇虎科技有限公司 | Cookie information processing method and device in browser |
-
2016
- 2016-02-29 CN CN201610113508.1A patent/CN107133246A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594813A (en) * | 2012-02-10 | 2012-07-18 | 奇智软件(北京)有限公司 | Multi-account login method and device |
US20130262673A1 (en) * | 2012-04-03 | 2013-10-03 | Google Inc. | System and method of multiple login overlay from a single browser interface |
CN103618698A (en) * | 2013-11-08 | 2014-03-05 | 北京奇虎科技有限公司 | Method and device for processing cookie information |
CN103841188A (en) * | 2014-02-27 | 2014-06-04 | 北京奇虎科技有限公司 | Cookie information processing method and device in browser |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112600950A (en) * | 2020-12-09 | 2021-04-02 | 福建万物易联网络科技有限公司 | Outer chain rewriting method and system of short crossbar format |
CN115514637A (en) * | 2022-09-22 | 2022-12-23 | 中国电信股份有限公司 | Remote gateway adjusting method and system |
CN115514637B (en) * | 2022-09-22 | 2024-04-30 | 中国电信股份有限公司 | Remote gateway adjusting method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110764682B (en) | Page control method, page control device and computer-readable storage medium | |
US9305174B2 (en) | Electronic clipboard protection | |
US8448260B1 (en) | Electronic clipboard protection | |
CN106528657A (en) | Control method and device for browser skipping to application program | |
CN103401835A (en) | Method and device for presenting safety detection results of microblog page | |
CN103562925B (en) | Information processing system, information processing method and information processor | |
CN105049607B (en) | A kind of short message display method and mobile terminal | |
CN104199603B (en) | Browser webpage control method and device and terminal | |
US8869286B1 (en) | Systems and methods for analyzing client-side storage security for internet applications | |
CN107948329A (en) | A kind of cross-domain processing method and system | |
WO2009094086A2 (en) | A feedback augmented object reputation service | |
CN103067347B (en) | Method for detecting phishing website and network device thereof | |
CN105550187A (en) | Method and device for managing browsing history in single page application | |
CN106649543A (en) | Reading progress recording method and device and terminal | |
US20210314352A1 (en) | Detection of User Interface Imitation | |
CN106030527B (en) | By the system and method for application notification user available for download | |
US8126988B2 (en) | Public status determination and security configuration of a browser | |
CN110020124A (en) | The method and device excavated for Related product | |
Alexandrowicz | Geopark--nature protection category aiding the promotion of geotourism (Polish perspectives) | |
CN107133245A (en) | Presence information management system, method and electronic equipment | |
CN107133246A (en) | Browser window partition method and system | |
US9436669B1 (en) | Systems and methods for interfacing with dynamic web forms | |
CN112202836A (en) | Method, system, terminal and storage medium for maintaining client session information | |
US20210065254A1 (en) | Ad simulator browser extension | |
US9424552B2 (en) | Managing website registrations |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200528 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Alibaba (China) Co.,Ltd. Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio 14 floor tower square Applicant before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170905 |