Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It should be noted that " first " in " the first identifier information " and " first event information " mentioned in following files
It is not offered as ordinal relation, and refers to the information of one of identification information and an event.
The embodiment of the present invention one
A kind of Webpage display process is provided, mainly when client runs browser, to the display methods of webpage, this reality
The method for applying example is method performed by client, and flow chart is as shown in Figure 1, include:
Step 101, the acquisition request for receiving new web page, the event that may include turn on new web page in acquisition request are corresponding
First identifier information, the first identifier information be used to identify open the same or similar new web page of content event, wherein beat
Open the operation that webpage refers to display of the client terminal start-up to web page contents.
It is appreciated that user can be on the page for the browser that client provides when client is when running browser
Operation, so that client obtains new web page from server and is shown to user.Specifically, when user is at a certain interface of browser
Upper webpage clicking opens interface(Such as a button or simple text or web page address etc.)When, client can receive new net
The acquisition request of page.In the present embodiment, client can be by the opening thing of multiple identical or substantially similar webpages in terms of content
Part is associated with an identification information, may include in the acquisition request of the received new web page of client in this way and new web page
The identical or substantially similar webpage of content open the corresponding identification information of event(Such as first identifier information), and in the acquisition
It can also include the information, such as address information etc. of the new web page in request.
Step 102, judge in the preset corresponding relationship of client whether to include that first identifier information is held if including
Row step 103;If not including certainly that client can execute step 104 and 105.
It here include the corresponding identification information of event information for having opened webpage in preset corresponding relationship, wherein having opened
The event information of webpage refers to information relevant to the event of webpage is opened, for example the webpage is opened on which interface,
The address information of the webpage, and open the user interface information of the webpage(Such as the button on a certain interface)Deng these information
It is to be recorded when client opens webpage.Specifically, it can be associated with an identification information with the identical link on multiple interfaces,
Wherein identical link refers to that the interface message for opening webpage is identical, for example is all the interface of " Netease ", or be all address information
For the interface of A;One identification information of same operation event correlation on multiple interfaces can also be used, wherein same operation event is
Refer to that the interface message of user's operation is identical, for example is all the operation button etc. of " playing a certain music ".
In the present embodiment, after client receives acquisition request, need to judge to need to open this event pair of new web page
Whether the first identifier information answered is already stored in preset corresponding relationship, if stored, illustrates interior with the webpage
Hold same or similar other webpages to have already turned on, then client directly perform handover to opened webpage interface carry out it is new
The display of webpage;If do not stored, illustrates to be not switched on the same or similar other webpages of the content of the webpage, need client
End first gets the content of new web page, is then shown.
Step 103, the corresponding interface for having opened webpage of first identifier information is switched to show new web page, is executing sheet
When the switching of step, client can be switched to another Shipping Options Page under the affiliated window of current interface from current interface, or from
One windows exchange of current interface is to the interface of another window.
Step 104, new window is opened to show new web page, opens new Shipping Options Page in current window to show new net
Page, wherein window refers to the user interface of browser, can correspond to multiple Shipping Options Pages under a window, when client passes through one
When window opens webpage, need to load all intrinsic interface messages in browser(Finger can connect to what all webpages were operated
Message breath)With the information of webpage;And Shipping Options Page is user interface of the carry under a window, when client passes through a Shipping Options Page
When opening webpage, it is only necessary to the information for loading webpage under a window, the intrinsic interface message without loading browser.
Step 105, the identification information for storing new window or Shipping Options Page, with the corresponding pass for the event information for opening new web page
System.Specifically, client can first distribute an identification information, and by information relevant to the event of new web page is opened, such as
Which opened on interface, address information and the interface message of user's operation of new web page etc., the identification information with the distribution
It associates and is stored into client.
There is no absolute ordinal relations between above-mentioned steps 104 and 105, may be performed simultaneously, can also sequentially execute,
It is one of specific embodiment shown in Fig. 1.
As it can be seen that in the method for the present embodiment, after client receives the acquisition request of new web page, if client is preset
Corresponding relationship in include the opening new web page for including in acquisition request the corresponding first identifier information of event, then be switched to the
The corresponding interface for having opened webpage of one identification information is to show new web page, wherein includes having beaten in preset corresponding relationship
Open the corresponding identification information of event information of webpage.In the present embodiment, client can will open the same or similar net of content
The event of page is associated with an identification information, and in this way when user's operation client needs to open new web page, client is needed
Determine whether to have had already turned on the corresponding webpage of the identification information, if having opened, the switching at directly progress interface comes
It shows new web page, can not have to reopen a window or Shipping Options Page to show new web page in this way, it is continuous to avoid client
The identical webpage of content is opened on ground, alleviates burden of the client when running browser.
Refering to what is shown in Fig. 2, in a specific embodiment, client can specifically lead to when executing above-mentioned steps 103
Following steps are crossed to realize, including:
Step 1031, judge the address information of new web page and open the address information such as uniform resource locator of webpage
(Uniform/Universal Resource Locator, URL)It is whether consistent, if unanimously, thening follow the steps 1032, if
It is inconsistent, then follow the steps 1033.
Step 1032, it is switched to the interface for having opened the interface of webpage as new web page.
Step 1033, be switched to the interface for having opened webpage, and on the interface of switching heavily loaded new web page content, specifically
It is that the content of the new web page that will acquire is shown on the interface of switching.
In view of even the address information of the same or similar webpage of content may also be different in the present embodiment, then new
It webpage and has opened under the corresponding identification information unanimous circumstances of webpage, further determine new web page and has opened the ground of webpage
Whether location is consistent, finally to occupy the consistent interface for having opened webpage of identification information when showing new web page, without weight
It is new in addition to open an interface, alleviate the burden of client operation browser.
The embodiment of the present invention two
Another Webpage display process is provided, mainly when client runs browser, to the display methods of webpage, originally
The method of embodiment is method performed by client, and flow chart is as shown in figure 3, include:
Step 201, the acquisition request for receiving new web page may include turn on the first event of new web page in acquisition request
Information.Here first event information refers to information relevant to the event of new web page is opened, for example which interface is new web page be at
Upper opening, the address information of new web page, and open the user interface information of new web page(Such as the button on a certain interface)Deng.
Step 203, judge in the preset corresponding relationship of client whether include with above-mentioned first event information, if packet
It includes, thens follow the steps 203;If not including certainly that client can execute step 204 and 205.Wherein preset corresponding pass
System is consistent with the corresponding relationship in above-described embodiment one, herein without repeating;And client execute step judgement when, can
To match first event information with the event information for opening webpage in preset corresponding relationship, if matched, say
It is bright.
In the present embodiment, client can be by the opening event of multiple identical or substantially similar webpages in terms of content with one
A identification information associates, and may include turn on the of new web page in the acquisition request of the received new web page of client in this way
One event information such as address information.After client receives acquisition request, need to judge to need to open this thing of new web page
Whether the corresponding first identifier information of part is already stored in preset corresponding relationship, if stored, illustrates and the webpage
The same or similar other webpages of content have already turned on, then client directly perform handover to opened the interface of webpage into
The display of row new web page;If do not stored, illustrates to be not switched on the same or similar other webpages of the content of the webpage, need
Client first gets the content of new web page, is then shown.
Step 203, the corresponding interface for having opened webpage of first identifier information is switched to show new web page, is executing step
When rapid, client can be executed according to method described in above-described embodiment one, herein without repeating.
Step 204, new window is opened to show new web page, opens new Shipping Options Page in current window to show new net
Page.
Step 205, the identification information for storing new window or Shipping Options Page, with the corresponding pass for the event information for opening new web page
System.
It should be noted that there is no absolute ordinal relations between above-mentioned steps 204 and 205, may be performed simultaneously,
It can sequentially execute, be one of specific embodiment shown in Fig. 3.
The method of the present embodiment and the difference of Webpage display process in above-described embodiment one be, client in the present embodiment
The first event information for the opening new web page for needing to carry in the acquisition request according to new web page, to judge whether client needs
A new window or new Shipping Options Page are reopened to show new web page.
The embodiment of the present invention three
A kind of client, mainly Web page display apparatus are also provided, structural schematic diagram is as shown in figure 4, include:
Request reception unit 10, for receiving the acquisition request of new web page;
Switching display unit 11, if for including described in opening in the received acquisition request of the request reception unit 10
The corresponding first identifier information of the event of new web page, and include the first identifier information in the preset corresponding relationship of client,
The corresponding interface for having opened webpage of the first identifier information is switched to show the new web page, the preset corresponding pass
It include the corresponding identification information of event information for having opened webpage in system.Wherein, the opening webpage in preset corresponding relationship
Event information can include but is not limited to following any information:Identical link on multiple interfaces, on multiple interfaces
The information etc. of same operation event.
In the client of the present embodiment, after request reception unit 10 receives the acquisition request of new web page, if client
It holds in preset corresponding relationship including the corresponding first identifier information of event for the opening new web page for including in acquisition request, then cuts
It changes display unit 11 and is switched to the corresponding interface for having opened webpage of first identifier information to show new web page, wherein preset
Corresponding relationship in include having opened the corresponding identification information of event information of webpage.In the present embodiment, client can will beat
The event for opening the same or similar webpage of content is associated with an identification information, in this way when user's operation client needs are beaten
When opening new web page, client is necessary to determine whether to have had already turned on the corresponding webpage of the identification information, if having opened, directly
The switching at row interface is tapped into show new web page, can not have to reopen a window or Shipping Options Page to show new net in this way
Page, avoids client and constantly opens the identical webpage of content, alleviate burden of the client when running browser.
Refering to what is shown in Fig. 5, in a specific embodiment, client other than it may include structure as shown in Figure 4,
It can also include webpage opening unit 12 and storage element 13, and switching display unit therein 11 can pass through switch unit
110 realize with switching acquiring unit 111, specifically:
Switch unit 110, if address information and the address information one for having opened webpage for the new web page
It causes, is then switched to and described has opened interface of the interface of webpage as the new web page;
Switch acquiring unit 111, if believed for the address information of the new web page and the address for having opened webpage
It ceases inconsistent, is then switched to the interface for having opened webpage, the content for the new web page that will acquire is in the switching
It is shown on interface.
Webpage opening unit 12, if beaten for not including the first identifier information in the preset corresponding relationship
New window is opened to show the new web page, opens new Shipping Options Page in current window to show the new web page.
Storage element 13, for storing the mark letter for the new window or Shipping Options Page that the webpage opening unit 12 is opened
Breath, the corresponding relationship with the event information for opening the new web page.
In the present embodiment, after request reception unit 10 receives the acquisition request of new web page, if in acquisition request
The corresponding first identifier information of event including opening new web page, and include first mark in the preset corresponding relationship of client
Know information, it is further, single by switching display if the address information of new web page is consistent with the address information for having opened webpage
Switch unit 110 in member 11 can directly switch over to show new web page, if the address information of new web page and having opened net
The address information of page is inconsistent, then reloads new web page while switching interface by switching acquiring unit 111;If client
Holding in preset corresponding relationship does not include the first identifier information, then webpage opening unit 12 can open new interface to show new net
Page, while storage element 13 needs store identification information and opens the corresponding relationship of the temporal information of new web page.
After request reception unit 10 receives the acquisition request of new web page, if including opening new net in acquisition request
It is single to switch display then if in the preset corresponding relationship including the first event information for the first event information of page
Member 11 is switched to the corresponding interface for having opened webpage of the first identifier information described in also executing to show the new web page
The step of, specifically, new web page can be shown by switch unit 110 and switching acquiring unit 111.If preset correspondence
Do not include the first event information in relationship, then can open new interface by webpage opening unit 12 to show new web page, and
Corresponding relationship is stored by storage element 13.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include:Read-only memory(ROM), random access memory(RAM), disk or CD etc..
It is provided for the embodiments of the invention Webpage display process above and client is described in detail, answers herein
With a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to help to manage
Solve method and its core concept of the invention;At the same time, for those skilled in the art, according to the thought of the present invention,
There will be changes in specific embodiment and application range, in conclusion the content of the present specification should not be construed as to this hair
Bright limitation.