CN103942313B - Method and device for displaying web page and terminal - Google Patents
Method and device for displaying web page and terminal Download PDFInfo
- Publication number
- CN103942313B CN103942313B CN201410160541.0A CN201410160541A CN103942313B CN 103942313 B CN103942313 B CN 103942313B CN 201410160541 A CN201410160541 A CN 201410160541A CN 103942313 B CN103942313 B CN 103942313B
- Authority
- CN
- China
- Prior art keywords
- static resource
- website
- domain
- certification
- ssl
- 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.)
- Active
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/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/16—Implementing security features at a particular protocol layer
- H04L63/168—Implementing security features at a particular protocol layer above the transport layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Abstract
The invention relates to a method and device for displaying a web page and a terminal. The method includes the steps of sending an SSL authentication request to a server; after the response, returned by the server, that data domain authentication is successful is received, obtaining static resources deployed at a data domain to carry out page displaying, and carrying out asynchronous SSL authentication on a static resource domain of a web through a created authentication object; after the response that the SSL authentication on the static resource domain of the web is successful is received, enabling a loading domain of the static resources which are not displayed in the web page to point to the static resource domain. By means of the method and device for displaying the web page and the terminal, the web page displaying speed can be increased, and the time for displaying the page can be shortened.
Description
Technical field
It relates to communication technical field, particularly to a kind of methods of exhibiting of Website page, device and terminal.
Background technology
With the development of Internet technology, occur in that the increasing web application with privacy of user data as core,
Such as social network sites Facebook, twitter etc..In order to preferably protect privacy and the safety of user data, more and more
The website that such displaying has user's private data all begins to use HTTPS(HypertextTransfer Protocol over
Secure Socket Layer, Hyper text transfer security protocol)Transmission data between browser and server.Wherein,
HTTPS is the HTTP passage with safety as target, adds SSL under http(Secure Sockets Layer safe socket
Layer), the foundation for security of HTTPS is SSL, and the detailed content of therefore encryption is accomplished by SSL.
But, need to carry out SSL certification between browser and server using HTTPS agreement.SSL certification refers to client
To the certification of server end, it is mainly used to provide the certification to user's server, the data of transmission is encrypted and hides,
Guarantee that data is not changed in transmission, that is, keep integrity of data etc..The time of SSL verification process consumption is generally
0.5 second to 10 seconds about.
As a rule, the static resource of a website(Such as CSS, client script or picture etc.)Number with website
According to content(Webpage itself and displayed web page data server A PI to be asked)It is to be individually placed under different domain names.And
In same website resource using different domain names it is necessary to each domain name executes a SSL certification respectively.
Because, within the waiting time of SSL certification, the content of website cannot present.Therefore, in correlation technique, beating
When opening the website using HTTPS agreement, need that each domain name corresponding is performed both by a SSL and recognizes respectively to resource in this website
, so that Website page shows that the required time is longer, the speed of page presentation is slower for card.
Content of the invention
For overcoming problem present in correlation technique, present disclose provides a kind of methods of exhibiting of Website page, device and
Terminal, can accelerate the speed of Website page displaying, shorten the time needed for page presentation.
According to the embodiment of the present disclosure in a first aspect, providing a kind of methods of exhibiting of Website page, methods described includes:
Send SSL SSL certification request to server, request carries out SSL certification to the data field of described website;
After receiving the successful response to described data field certification that described server returns, obtain and be deployed in described data field
In static resource carry out page presentation, and line asynchronous is entered to the static resource domain of described website by the certification object creating
SSL certification;Wherein, the static resource of described website is deployed in the data field and static resource domain of described website simultaneously;
After receiving the successful response of SSL certification in the static resource domain of described website, will not open up in described Website page
The load domain of the static resource showing points to described static resource domain.
In the first possible implementation of first aspect, the described certification object by establishment is to described website
The certification of line asynchronous SSL is entered in static resource domain, including:
Each static resource domain for described website is respectively created a certification object;Described object has quotes URL road
The attribute in footpath and the attribute sending Hyper text transfer security protocol HTTPS request, wherein, affiliated URL correspondence is deployed in correspondence
Static resource domain under static resource;
SSL certification request is sent to described server by described object, request server is corresponding to described object quiet
State resource domains carry out SSL certification;And the authentication response that the reception server returns.
In conjunction with the first possible implementation of first aspect and first aspect, possible in the second of first aspect
In implementation, described each static resource domain for described website is respectively created an object and includes:
It is used client script to create an IMG label or SCRIPT html tag in the page as described object;
Described IMG label has source src attribute, and the value of described src attribute is set to the unified resource positioning of static resource
Device URL;
Described SCRIPT html tag has src attribute, and the value of described src attribute is set to the URL of static resource.
In conjunction with the first possible implementation of first aspect and first aspect, the third in first aspect is possible
In implementation, described each static resource domain for described website is respectively created an object and includes:
It is used client script to create an Image object as described object;
The value of the tag attributes of described Image object is set to the URL of static resource.
According to the second aspect of the embodiment of the present disclosure, provide a kind of exhibiting device of Website page, described device includes:
Request unit, for sending SSL SSL certification request, the data field to described website for the request to server
Carry out SSL certification;Receive that described server returns to described data field authentication response;
Processing unit, carries out page presentation for obtaining the static resource being deployed in described data field, and by creating
Certification object the certification of line asynchronous SSL is entered to the static resource domain of described website;Wherein, the static resource of described website portion simultaneously
In data field and static resource domain in described website for the administration;
Receiving unit, after the SSL certification for receiving the static resource domain of described website successfully responds, by described net
The load domain of the static resource do not shown in the page of standing points to described static resource domain.
In the first possible implementation of second aspect, described processing unit includes:
Create subelement, be respectively created a certification object for each the static resource domain for described website, described right
As the attribute that there is the attribute quoting URL path and send Hyper text transfer security protocol HTTPS request, wherein, affiliated URL
Correspondence is deployed in the static resource under corresponding static resource domain;
Certification subelement, for sending SSL certification request by described object to described server, request server is to institute
State object corresponding static resource domain and carry out SSL certification;And the authentication response that the reception server returns.
In conjunction with the first possible implementation of second aspect and second aspect, possible in the second of second aspect
In implementation, described establishment subelement includes:
First establishment subelement, for creating an IMG label or SCRIPT using client script in the page
Html tag is as described object;
Described IMG label has src attribute, and the value of described src attribute is set to the URL of static resource;
Described SCRIPT html tag has src attribute, and the value of described src attribute is set to the URL of static resource.
In conjunction with the first possible implementation of second aspect and second aspect, the third in second aspect is possible
In implementation, described establishment subelement includes:
Second establishment subelement, for being used client script to create an Image object as described object;
The value of the tag attributes of described Image object is set to the URL of static resource.
According to the third aspect of the embodiment of the present disclosure, described terminal includes as any in aforementioned second aspect and second aspect
A kind of exhibiting device of the Website page described in possible implementation.
According to the fourth aspect of the embodiment of the present disclosure, a kind of mobile terminal is provided, includes memorizer, and one or
More than one program, one of or more than one program storage is in memorizer, and is configured to by one or one
Individual above computing device is one or more than one program bag contains the instruction for carrying out following operation:
Send SSL SSL certification request to server, request carries out SSL certification to the data field of described website;
After receiving the successful response to described data field certification that described server returns, obtain and be deployed in described data field
In static resource carry out page presentation, and line asynchronous is entered to the static resource domain of described website by the certification object creating
SSL certification;Wherein, the static resource of described website is deployed in the data field and static resource domain of described website simultaneously;
After the successful message of SSL certification in the static resource domain receiving described website, will not open up in described Website page
The load domain of the static resource showing points to described static resource domain
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
In embodiment of the disclosure, by the static resource required for loading and show using the website of HTTPS agreement simultaneously
It is deployed in the data field and static resource domain of website, after website completes the SSL certification of data field, can be directly according to portion
Static resource in data field for the administration realizes the displaying of Website page, and while showing, realizes different to static resource domain
Step SSL certification;After the completion of waiting the SSL certification in static resource domain, then the load domain by the static resource do not shown in this website
Switch to described static resource domain.
Thus so that, in embodiment of the disclosure, only need to wait for the SSL certification in website data domain, just
Website page can be showed user it is not necessary to user waits until that static resource domain also completes SSL certification.So, just big
Shorten greatly the time that page presentation needs to wait, accelerate the speed of Website page displaying.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below
Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of flow chart of the methods of exhibiting of Website page according to an exemplary embodiment;
Fig. 2 is the flow chart of the methods of exhibiting of another kind of Website page according to an exemplary embodiment;
Fig. 3 is the flow chart of the methods of exhibiting of another kind of Website page according to an exemplary embodiment;
Fig. 4 is a kind of schematic diagram of the exhibiting device of Website page according to an exemplary embodiment;
Fig. 5 is a kind of schematic diagram of the processing unit according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of the exhibiting device for Website page according to an exemplary embodiment;
Fig. 7 is the structural representation of server in the embodiment of the present disclosure.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they be only with such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
Present disclose provides a kind of methods of exhibiting of Website page, device and terminal, Website page displaying can be accelerated
Speed, shortens the time needed for page presentation.
For the Website page using HTTPS agreement, when browser client repeatedly accesses same domain name it is only necessary to
Access SSL certification of execution during this domain name first.Therefore, the disclosure is to be passed using HTTPS agreement for accessing first
During the website of transmission of data, method, device and terminal that this Website page is shown.Using the disclosure, this net can be accessed first
When standing, accelerate the speed of the page presentation of this website, shorten the time needed for page presentation.
Data field can will be defined as using the domain name that the website of HTTPS agreement itself uses, the such as data content of website
Residing domain name.It is assumed that the data field of website can be specially:https://a.com.
Domain name residing for the static resource of this website can be defined as static resource domain.It is assumed that this static resource domain can
Think:https://b.com.Certainly, in actual applications, the static resource of website is likely to be deployed under multiple domain names,
This static resource domain can include multiple accordingly, it may for example comprise https://c.com、https://d.com etc..
The method and apparatus that Website page of this disclosure is shown below in conjunction with the accompanying drawings is described in detail.
Fig. 1 is a kind of flow chart of the methods of exhibiting of Website page according to an exemplary embodiment.As Fig. 1 institute
Show, the methods of exhibiting of Website page is used in terminal, comprises the following steps:
In step S101:Send SSL SSL certification request to server, request is carried out to the data field of website
SSL certification;
In step s 102:After what the reception server returned successfully responds to this data field certification, obtain and be deployed in this
Static resource in data field carries out page presentation, and by the certification object creating, the static resource domain of this website is carried out different
Step SSL certification;Wherein, the static resource of this website is deployed in the data field and static resource domain of website simultaneously.
In step s 103:After receiving the successful response of SSL certification in the static resource domain of website, by this Website page
In the load domain of static resource do not shown point to static resource domain.
In embodiment of the disclosure, by the static resource required for loading and show using the website of HTTPS agreement simultaneously
All it is deployed in the data field and static resource domain of website, after website completes the SSL certification of data field, can direct basis
The static resource being deployed in data field realizes the displaying of Website page, and while showing, realizes to static resource domain
Asynchronous SSL certification;After the completion of waiting the SSL certification in static resource domain, then the loading by the static resource do not shown in this website
Domain switches to the static resource domain of this website.
Thus so that, in embodiment of the disclosure, only need to wait for the SSL certification in website data domain, just
Website page can be showed user it is not necessary to user waits until that static resource domain also completes SSL certification.So, just big
Shorten greatly the time that page presentation needs to wait, accelerate the speed of Website page displaying.
Fig. 2 is a kind of flow chart of the methods of exhibiting of Website page according to an exemplary embodiment.As Fig. 2 institute
Show, the methods of exhibiting of Website page is used in terminal, comprises the following steps:
In step s 201:Browser receives the order opening certain website, determines that this website uses HTTPS agreement, meets
This website is carried out with the condition of SSL certification.
In step S202:Browser sends SSL certification request to server, and request is carried out to the data field of this website
SSL certification.
In step S203:After browser receives the authentication response to the data field of this website of server return, obtain
The static resource in the data field being deployed in this website is taken to carry out page presentation;Wherein, the static resource of this website is disposed simultaneously
In website data domain and static resource domain.
The premise of disclosure methods described is:The static resource of this website is deployed in website data domain and static state simultaneously
In resource domains.
So that, it is possible to direct access is disposed after browser completes the SSL certification of the data field to this website
Carry out page presentation in the static resource under website data domain so that user can browse to webpage within the time quickly.
In embodiment of the disclosure, use it is possible to directly give web page display after the SSL certification completing website data domain
Family, it is not necessary to wait until that static resource domain also completes SSL certification and carries out web page display again, thus substantially reduces user and waits page
The time of face response, accelerate the displaying speed of Website page.
In step S204:Browser is that each static resource domain of this website is respectively created a corresponding certification
Object;This certification object can be the IMG label being created in the page using client script or SCRIPT HTML mark
Sign.
This certification object has quotes URL(Uniform Resoure Locator, uniform resource locator)The genus in path
Property and send the attribute of Hyper text transfer security protocol HTTPS request, wherein, affiliated URL correspondence is deployed in corresponding static state
Static resource under resource domains.
The static resource of Website page typically can include JavaScript(Java script)、CSS(CascadingStyle
Sheets, Cascading Style Sheet)With image file etc..
In the embodiment of the present disclosure, the src attribute that can arrange this certification object is to be deployed under corresponding static resource domain
Any type static resource, such as image file etc..The value of the src attribute of this object can be that image file etc. is quiet
The URL of state resource or the absolute path of file or the relative path of quoting the static resources such as this image file.
SCRIPT html tag is used for defining client script, such as JavaScript.As one SCRIPT of establishment
When html tag is as described object, this SCRIPT html tag has src attribute, and the value of described src attribute is set to static state
The URL of resource.
When creating an IMG label as described object, this IMG label has source src attribute, described src attribute
Value is set to the uniform resource locator URL of static resource.
In step S205:SSL certification request is sent to server by this certification object, request server is to this object
Corresponding static resource domain carries out SSL certification;And the authentication response that the reception server returns.
So far, it is achieved that the asynchronous SSL certification in each static resource domain to this website.
In correlation technique, the process that the static resource domain of website is carried out with SSL certification is:Browser is according to this Website page
The needs shown, the static resource required for data field is shown from each static resource domain invoking page, then under data field
Initiate the SSL certification request for each static resource domain, after completing the SSL certification to each static resource domain, carry out website pages
The displaying in face.
For Website page, its static resource typically can include JavaScript, CSS and image file etc..These classes
The static resource of type is typically all than larger.So that in the related, data field is recognized to carry out SSL to each static resource domain
Card, needs the static resource required for each static resource domain invoking page is shown, this process can compare the consuming time, cause
The speed that Website page is shown is excessively slow, extends the time of page presentation.
In the embodiment of the present disclosure, the static resource domain of this website is entered during line asynchronous certification it is not necessary to from each static resource
Static resource is called it is only necessary in data field, be respectively created a corresponding object for each static resource domain, directly by this in domain
Object initiates the SSL certification to corresponding static resource domain.Static resource in correlation technique thus can be eliminated call
The spent time, accelerate the displaying speed of webpage.
Need further exist for illustrating, in the embodiment of the present disclosure, described browser is the right of each static resource domain establishment
As can be sufficiently small, such as only 1 byte.
Step S206:After browser receives the successful message of asynchronous SSL certification in the static resource domain of this website, should
The static resource load domain of Website page switches to described static resource domain.
In the embodiment of the present disclosure, in order to accelerate the speed of website displaying, also dispose this website under the data field of website
Static resource.While static resource domain carries out SSL certification, just directly invoke the static resource being deployed under website data domain
Carry out web page display, now in this Website page, the load domain of each static resource points to described data field.
But, in order to avoid being fully deployed under same domain name because of the dynamic data of website and static resource, may lead
Generation limited by the concurrently link number causing and situations such as clogging networks load, in the embodiment of the present disclosure, in the static state money of this website
After source domain completes SSL certification, after needing the load domain of the static resource of this website is switched over so that switching, this website
The load domain of static resource points to each static resource domain.
After execution load domain switching, during this Website page continues to show, the data field no longer from website is adjusted
With static resource, but directly call corresponding static resource from each static resource domain.Thus, it is possible to effectively utilize browser
Caching mechanism, it is to avoid concurrently link number is limited and generation situations such as clogging networks load, and the technical maintenance reducing website becomes
This.
In the embodiment of the present disclosure, can only the load domain of the static resource do not shown in this Website page be switched over,
The load domain of the static resource do not shown in this Website page is switched to static resource domain from the data field of website.
When website has multiple static resource domain, browser creates multiple objects in data field, and the plurality of object divides
Do not correspond with multiple static resource domains.Then, the plurality of object initiates the SSL for corresponding static resource domain respectively
Certification, browser waits the SSL authentication response in each static resource domain of the reception server return.
On the one hand, after browser successfully can respond receiving the SSL certification in all static resource domains of this website,
The step executing the load domain switching of static resource again.
On the other hand, browser can also successively the reception server return each static resource domain SSL certification successful
Response message, after often receiving the successful message of SSL certification in a static resource domain of server return, just provides to this static state
The load domain of the corresponding static resource of source domain switches over.
Fig. 3 is a kind of flow chart of the methods of exhibiting of Website page according to an exemplary embodiment.As Fig. 3 institute
Show, the methods of exhibiting of Website page is used in terminal, comprises the following steps:
In step S301:Browser receives the order opening certain website, determines that this website uses HTTPS agreement, meets
This website is carried out with the condition of SSL certification.
In step s 302:Browser sends SSL certification request to server, and request is carried out to the data field of this website
SSL certification.
In step S303:After the data field authentication response to this website that browser the reception server returns, acquisition unit
Static resource in the data field of this website for the administration carries out page presentation;The static resource of this website is deployed in website data simultaneously
In domain and static resource domain.
In step s 304:Browser is that each static resource domain of this website is respectively created a corresponding certification
Object;This certification object can be the Image object being created in the page using client script, described Image object
The value of tag attributes be set to the URL of static resource.
This certification object has the attribute quoting URL path and sends Hyper text transfer security protocol HTTPS request
Attribute, wherein, affiliated URL correspondence is deployed in the static resource under corresponding static resource domain.
In the embodiment of the present disclosure, the src attribute that can arrange this certification object is to be deployed under corresponding static resource domain
Any type static resource, such as image file etc..The value of the src attribute of this object can be that image file etc. is quiet
The URL of state resource or the absolute path of file or the relative path of quoting the static resources such as this image file.
In step S305:SSL certification request is sent to server by this certification object, request server is to this object
Corresponding static resource domain carries out SSL certification;And the authentication response that the reception server returns.
So far, it is achieved that the asynchronous SSL certification in each static resource domain to this website.
In the embodiment of the present disclosure, the static resource domain of this website is entered during line asynchronous certification it is not necessary to from each static resource
Static resource is called it is only necessary in data field, be respectively created a corresponding object for each static resource domain, directly by this in domain
Object initiates the SSL certification to corresponding static resource domain.Static resource in correlation technique thus can be eliminated call
The spent time, accelerate the displaying speed of webpage.
In the embodiment of the present disclosure, browser is that the object of each static resource domain establishment can be sufficiently small, such as only 1 word
Section.
Step S306:After browser receives the successful message of asynchronous SSL certification in the static resource domain of this website, should
The static resource load domain of Website page switches to static resource domain.
In the embodiment of the present disclosure, in order to accelerate the speed of website displaying, also dispose this website under the data field of website
Static resource.While static resource domain carries out SSL certification, just directly invoke the static resource being deployed under website data domain
Carry out web page display, now in this Website page, the load domain of each static resource points to described data field.
After the static resource domain of this website completes SSL certification, need the load domain of the static resource of this website is carried out
Switching is so that after switching, the load domain of the static resource of this website points to each static resource domain.Thus, it is possible to avoid because of website
Dynamic data and static resource be fully deployed in that the concurrently link number lead under same domain name is limited and clogging networks add
Situations such as load, reduce the technical maintenance cost of website.
Fig. 4 is a kind of schematic diagram of the exhibiting device of Website page according to an exemplary embodiment.With reference to Fig. 4,
This device includes:Request unit 401, processing unit 402 and receiving unit 403.
This request unit 401 is configured to send SSL SSL certification request to server, and request is to institute
The data field stating website carries out SSL certification;Receive described server return described data field certification is successfully responded.
This processing unit 402 is configured to obtain the static resource being deployed in described data field and carries out page exhibition
Show, and the certification of line asynchronous SSL is entered to the static resource domain of described website by the certification object creating;Wherein, described website
Static resource is deployed in the data field and static resource domain of described website simultaneously.
The SSL certification that this receiving unit 403 is configured to receive the static resource domain of described website successfully rings
Ying Hou, the load domain of the static resource do not shown in described Website page is pointed to described static resource domain.
In embodiment of the disclosure, the static resource required for website is loaded and shows is deployed in the data of website simultaneously
In domain and static resource domain, after website completes the SSL certification of data field, can be directly quiet in data field according to being deployed in
State resource realizes the displaying of Website page, and while showing, realizes the asynchronous SSL certification to static resource domain;Wait quiet
After the completion of the SSL certification of state resource domains, then the load domain of the static resource do not shown in this website is switched to static resource domain.
Thus so that, in the embodiment of the present disclosure, only need to wait for the SSL certification in website data domain so that it may
Website page to be showed user it is not necessary to wait until that static resource domain also completes SSL certification.So, just greatly shorten
Page presentation needs the time waiting, and accelerates the speed of Website page displaying.
Fig. 5 is a kind of schematic diagram of the processing unit according to an exemplary embodiment.With reference to Fig. 5, this processing unit
402 include:Create subelement 4021 and certification subelement 4022.
Each static resource domain that establishment subelement 4021 is configured to as described website is respectively created a certification
Object, the attribute that described object has the attribute quoting URL path and sends Hyper text transfer security protocol HTTPS request,
Wherein, affiliated URL correspondence is deployed in the static resource under corresponding static resource domain.
Certification subelement 4022 is configured to send SSL certification request by described object to described server, please
Server is asked to carry out SSL certification to described object corresponding static resource domain;And the authentication response that the reception server returns.
This establishment subelement 4021 can include:First establishment subelement, for being created in the page using client script
Build an IMG label or SCRIPT html tag as described object.Described IMG label has src attribute, and described src belongs to
The value of property is set to the URL of static resource;Described SCRIPT html tag has src attribute, the value setting of described src attribute
URL for static resource.
This establishment subelement 4021 can also include:Second establishment subelement, for creating one using client script
Image object.The value of the tag attributes of described Image object is set to the URL of static resource.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 6 is a kind of block diagram of the device 800 for terminal positioning according to an exemplary embodiment.For example, fill
Putting 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment
Equipment, body-building equipment, personal digital assistant etc..
With reference to Fig. 6, device 800 can include following one or more assemblies:Process assembly 802, memorizer 804, power supply
Assembly 806, multimedia groupware 808, audio-frequency assembly 810, input/output(I/O)Interface 812, sensor cluster 814, and
Communication component 816.
The integrated operation of the usual control device 800 of process assembly 802, such as with display, call, data communication, phase
Machine operation and record operate associated operation.Process assembly 802 can include one or more processors 820 and refer to execute
Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or more modules, just
Interaction between process assembly 802 and other assemblies.For example, process assembly 802 can include multi-media module, many to facilitate
Interaction between media component 808 and process assembly 802.
Memorizer 804 is configured to store various types of data to support the operation in device 800.The showing of these data
Example includes the instruction for any application program of operation or method on device 800, contact data, telephone book data, disappears
Breath, picture, video etc..Memorizer 804 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM(SRAM), Electrically Erasable Read Only Memory(EEPROM), erasable compile
Journey read only memory(EPROM), programmable read only memory(PROM), read only memory(ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system
System, one or more power supplys, and other generate, manage and distribute, with for device 800, the assembly that electric power is associated.
Multimedia groupware 808 includes the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen can include liquid crystal display(LCD)And touch panel(TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or sliding action
Border, but also detection and described touch or slide related persistent period and pressure.In certain embodiments, many matchmakers
Body assembly 808 includes a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, such as screening-mode or
During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and
Post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike
Wind(MIC), when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, mike is joined
It is set to reception external audio signal.The audio signal being received can be further stored in memorizer 804 or via communication set
Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, for exports audio signal.
, for providing interface between process assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interface 812
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 814 includes one or more sensors, for providing the state of various aspects to comment for device 800
Estimate.For example, sensor cluster 814 can detect/the closed mode of opening of device 800, and the relative localization of assembly is for example described
Assembly is display and the keypad of device 800, and sensor cluster 814 can be with detection means 800 or 800 1 assemblies of device
Position change, user is presence or absence of with what device 800 contacted, device 800 orientation or acceleration/deceleration and device 800
Temperature change.Sensor cluster 814 can include proximity transducer, is configured to the detection when not having any physical contact
The presence of object nearby.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for becoming
Use as in application.In certain embodiments, this sensor cluster 814 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement
In example, communication component 816 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, described communication component 816 also includes near-field communication(NFC)Module, to promote junction service.Example
As RF identification can be based in NFC module(RFID)Technology, Infrared Data Association(IrDA)Technology, ultra broadband(UWB)Technology,
Bluetooth(BT)Technology and other technologies are realizing.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits(ASIC), numeral letter
Number processor(DSP), digital signal processing appts(DSPD), PLD(PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components realize, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
As included the memorizer 804 instructing, above-mentioned instruction can be executed by the processor 820 of device 800 to complete said method.For example,
Described non-transitorycomputer readable storage medium can be ROM, random access memory(RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
The embodiment of the present disclosure also provides a kind of non-transitorycomputer readable storage medium, the finger in described storage medium
Make during the computing device by mobile terminal so that mobile terminal is able to carry out a kind of methods of exhibiting of Website page, described side
Method includes:
Send SSL SSL certification request to server, request carries out SSL certification to the data field of described website;
After receiving the successful response to described data field certification that described server returns, obtain and be deployed in described data field
In static resource carry out page presentation, and line asynchronous is entered to the static resource domain of described website by the certification object creating
SSL certification;Wherein, the static resource of described website is deployed in the data field and static resource domain of described website simultaneously;
After the successful message of SSL certification in the static resource domain receiving described website, will not open up in described Website page
The load domain of the static resource showing points to described static resource domain.
In another embodiment, the described static resource domain to described website is entered the certification of line asynchronous SSL and is included:For described net
Each the static resource domain stood is respectively created a certification object;Described object has the attribute quoting URL path and transmission
The attribute of Hyper text transfer security protocol HTTPS request, wherein, affiliated URL correspondence is deployed under corresponding static resource domain
Static resource;SSL certification request is sent to described server by described object, request server is corresponding to described object quiet
State resource domains carry out SSL certification;And the authentication response that the reception server returns.
In another embodiment, described each static resource domain for described website is respectively created an object and includes:Make
Create an IMG label or SCRIPT html tag with client script as described object in the page;Described IMG mark
Label have source src attribute, and the value of described src attribute is set to the uniform resource locator URL of static resource;Described SCRIPT
Html tag has src attribute, and the value of described src attribute is set to the URL of static resource.
In another embodiment, described each static resource domain for described website is respectively created an object and includes:Make
Create an Image object with client script as described object;The value of the tag attributes of described Image object is set to
The URL of static resource.
Fig. 7 is the structural representation of server in the embodiment of the present invention.This server 1900 can be different because of configuration or performance
And the larger difference of producing ratio, one or more central processing units can be included(Centralprocessing units,
CPU)1922(For example, one or more processors)With memorizer 1932, one or more store application program
1942 or the storage medium 1930 of data 1944(Such as one or more mass memory units).Wherein, memorizer 1932
Can be of short duration storage or lasting storage with storage medium 1930.Be stored in storage medium 1930 program can include one or
More than one module(Diagram does not mark), each module can include in server series of instructions operation.Further
Ground, central processing unit 1922 could be arranged to communicate with storage medium 1930, executes storage medium 1930 on server 1900
In series of instructions operation.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets
Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or
More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
The embodiment of the present disclosure also provides a kind of mobile terminal, includes memorizer, and one or more than one journey
Sequence, one of or more than one program storage is in memorizer, and is configured to by one or more than one processor
Execution is one or more than one program bag contains the instruction for carrying out following operation:
Send SSL SSL certification request to server, request carries out SSL certification to the data field of described website;
After receiving the successful response to described data field certification that described server returns, obtain and be deployed in described data field
In static resource carry out page presentation, and line asynchronous is entered to the static resource domain of described website by the certification object creating
SSL certification;Wherein, the static resource of described website is deployed in the data field and static resource domain of described website simultaneously;
After the successful message of SSL certification in the static resource domain receiving described website, will not open up in described Website page
The load domain of the static resource showing points to described static resource domain.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the present invention
Its embodiment.The application is intended to any modification, purposes or the adaptations of the present invention, these modifications, purposes or
Person's adaptations are followed the general principle of the present invention and are included the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It is described above and precision architecture illustrated in the accompanying drawings it should be appreciated that the invention is not limited in, and
And various modifications and changes can carried out without departing from the scope.The scope of the present invention only to be limited by appended claim.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.
Claims (10)
1. a kind of methods of exhibiting of Website page is it is characterised in that methods described includes:
Send SSL SSL certification request to server, request carries out SSL certification to the data field of described website, described
The data field of website is the domain name that described website itself uses;
After receiving the successful response to described data field certification that described server returns, obtain and be deployed in described data field
Static resource carries out page presentation, and enters line asynchronous SSL by the certification object creating to the static resource domain of described website and recognize
Card;Wherein, the static resource domain of described website is the domain name residing for the static resource of described website, the static resource of described website
It is deployed in the data field and static resource domain of described website simultaneously;
After receiving the successful response of SSL certification in the static resource domain of described website, by do not show in described Website page
The load domain of static resource points to described static resource domain.
2. method according to claim 1 is it is characterised in that the described certification object by establishment is quiet to described website
State resource domains enter the certification of line asynchronous SSL, including:
Each static resource domain for described website is respectively created a certification object;Described object has quotes URL path
Attribute and the attribute sending Hyper text transfer security protocol HTTPS request, wherein, described URL is deployed in corresponding static money
Static resource under source domain;
SSL certification request is sent to described server by described object, request server static money corresponding to described object
Source domain carries out SSL certification;And the authentication response that the reception server returns.
3. method according to claim 2 is it is characterised in that described each static resource domain for described website is created respectively
Build an object to include:
It is used client script to create an IMG label or SCRIPT html tag in the page as described object;
Described IMG label has source src attribute, and the value of described src attribute is set to the uniform resource locator of static resource
URL;
Described SCRIPT html tag has src attribute, and the value of described src attribute is set to the URL of static resource.
4. method according to claim 2 is it is characterised in that described each static resource domain for described website is created respectively
Build an object to include:
It is used client script to create an Image object as described object;
The value of the tag attributes of described Image object is set to the URL of static resource.
5. a kind of exhibiting device of Website page is it is characterised in that described device includes:
Request unit, for sending SSL SSL certification request to server, request is carried out to the data field of described website
SSL certification, the data field of described website is the domain name that described website itself uses;Receive that described server returns to described number
According to domain authentication response;
Processing unit, carries out page presentation for obtaining the static resource being deployed in described data field, and by recognizing of creating
Card object enters the certification of line asynchronous SSL to the static resource domain of described website;Wherein, the static resource domain of described website is described net
The domain name residing for static resource stood, the static resource of described website is deployed in data field and the static resource of described website simultaneously
In domain;
Receiving unit, after the SSL certification for receiving the static resource domain of described website successfully responds, by described website pages
The load domain of the static resource do not shown in face points to described static resource domain.
6. device according to claim 5 is it is characterised in that described processing unit includes:
Create subelement, be respectively created a certification object, described object tool for each the static resource domain for described website
The attribute having the attribute quoting URL path and sending Hyper text transfer security protocol HTTPS request, wherein, described URL deployment
Static resource under corresponding static resource domain;
Certification subelement, for sending SSL certification request by described object to described server, request server is to described right
As corresponding static resource domain carries out SSL certification;And the authentication response that the reception server returns.
7. device according to claim 6 is it is characterised in that described establishment subelement includes:
First establishment subelement, for creating an IMG label or SCRIPT HTML mark using client script in the page
Sign as described object;
Described IMG label has src attribute, and the value of described src attribute is set to the URL of static resource;
Described SCRIPT html tag has src attribute, and the value of described src attribute is set to the URL of static resource.
8. device according to claim 6 is it is characterised in that described establishment subelement includes:
Second establishment subelement, for being used client script to create an Image object as described object;
The value of the tag attributes of described Image object is set to the URL of static resource.
9. a kind of terminal is it is characterised in that described terminal includes the exhibition of the Website page as described in any one of claim 5 to 8
Showing device.
10. a kind of mobile terminal is it is characterised in that include memorizer, and one or more than one program, and wherein one
Individual or more than one program storage is in memorizer, and is configured one by one or more than one computing device
Or the instruction for carrying out following operation included in more than one program:
Send SSL SSL certification request to server, request carries out SSL certification, described website to the data field of website
Data field be described website itself use domain name;
After receiving the successful response to described data field certification that described server returns, obtain and be deployed in described data field
Static resource carries out page presentation, and enters line asynchronous SSL by the certification object creating to the static resource domain of described website and recognize
Card;Wherein, the static resource domain of described website is the domain name residing for the static resource of described website, the static resource of described website
It is deployed in the data field and static resource domain of described website simultaneously;
After the successful message of SSL certification in the static resource domain receiving described website, by do not show in described Website page
The load domain of static resource points to described static resource domain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410160541.0A CN103942313B (en) | 2014-04-21 | 2014-04-21 | Method and device for displaying web page and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410160541.0A CN103942313B (en) | 2014-04-21 | 2014-04-21 | Method and device for displaying web page and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103942313A CN103942313A (en) | 2014-07-23 |
CN103942313B true CN103942313B (en) | 2017-02-15 |
Family
ID=51189981
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410160541.0A Active CN103942313B (en) | 2014-04-21 | 2014-04-21 | Method and device for displaying web page and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103942313B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683337A (en) * | 2015-02-13 | 2015-06-03 | 小米科技有限责任公司 | Webpage access method, device and system |
CN105005596B (en) * | 2015-07-02 | 2018-10-30 | 深圳市信锐网科技术有限公司 | page display method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001101198A (en) * | 1999-09-29 | 2001-04-13 | Casio Comput Co Ltd | Device and method for browsing web information and recording medium |
CN1571421A (en) * | 2003-07-25 | 2005-01-26 | 华为技术有限公司 | A method for implementing data communication between door network station and service provider |
CN1588895A (en) * | 2004-07-23 | 2005-03-02 | 北京邮电大学 | System for monitoring internet service quality and realizing method |
CN103685187A (en) * | 2012-09-14 | 2014-03-26 | 华耀(中国)科技有限公司 | Method for switching SSL (Secure Sockets Layer) authentication mode on demands to achieve resource access control |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7000107B2 (en) * | 2000-09-30 | 2006-02-14 | Microsoft Corporation | System and method for using dynamic web components to remotely control the security state of web pages |
US7114177B2 (en) * | 2001-03-28 | 2006-09-26 | Geotrust, Inc. | Web site identity assurance |
-
2014
- 2014-04-21 CN CN201410160541.0A patent/CN103942313B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001101198A (en) * | 1999-09-29 | 2001-04-13 | Casio Comput Co Ltd | Device and method for browsing web information and recording medium |
CN1571421A (en) * | 2003-07-25 | 2005-01-26 | 华为技术有限公司 | A method for implementing data communication between door network station and service provider |
CN1588895A (en) * | 2004-07-23 | 2005-03-02 | 北京邮电大学 | System for monitoring internet service quality and realizing method |
CN103685187A (en) * | 2012-09-14 | 2014-03-26 | 华耀(中国)科技有限公司 | Method for switching SSL (Secure Sockets Layer) authentication mode on demands to achieve resource access control |
Non-Patent Citations (2)
Title |
---|
Crying Wolf: An Empirical Study of SSL Warning Effectiveness;Sunshine J.etal;《USENIX Security Symposium》;20091231;全文 * |
基于SSL的安全web站点实现;钟元生;《计算机应用研究》;20020131(第1期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103942313A (en) | 2014-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104270404B (en) | A kind of login method and device based on terminal iidentification | |
US11204681B2 (en) | Program orchestration method and electronic device | |
JP6997343B2 (en) | How to quickly open an application or application function, and a terminal | |
US20150088982A1 (en) | Load balanced inter-device messaging | |
CN106605234B (en) | Content is shared using near-field communication and admissions control | |
EP3176719B1 (en) | Methods and devices for acquiring certification document | |
KR102464984B1 (en) | Method and system for verifying users | |
US10476870B2 (en) | Local claim-based security service with cross-browser compatibility | |
CN106415501A (en) | Companion application for activity cooperation | |
US10613845B2 (en) | System and method for providing service via application | |
CN103870551B (en) | The method and apparatus that a kind of cross-domain data obtains | |
CN104035995A (en) | Method and device for generating group tags | |
US9805181B1 (en) | Messaging channel for web pages and web applications | |
CN106600367A (en) | Order information processing method and order information processing device | |
WO2017186177A1 (en) | Resource numerical value transfer request generating method, device and system, and storage medium | |
WO2018113576A1 (en) | Method and system for checking tick on client, and smart device | |
CN103942313B (en) | Method and device for displaying web page and terminal | |
CN107360322B (en) | Information prompting method and device | |
CN109525652A (en) | Information sharing method, device, equipment and storage medium | |
CN104965907A (en) | Structured object generation method and apparatus | |
TW201820135A (en) | Methods, systems, and media for pairing devices to complete a task using an application request | |
RU2621293C2 (en) | Method for granting permission, method for obtaining permission and corresponding devices | |
KR101514535B1 (en) | Method of inputting to mobile device through personal computer and system thereof | |
CN105630948A (en) | Web page display method and apparatus | |
CN108572815A (en) | The execution method, apparatus of multitask and the executive device for multitask |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |