CN106528733A - Webpage display method and apparatus - Google Patents
Webpage display method and apparatus Download PDFInfo
- Publication number
- CN106528733A CN106528733A CN201610958553.7A CN201610958553A CN106528733A CN 106528733 A CN106528733 A CN 106528733A CN 201610958553 A CN201610958553 A CN 201610958553A CN 106528733 A CN106528733 A CN 106528733A
- Authority
- CN
- China
- Prior art keywords
- webpage
- page
- kernel
- browsing event
- type
- 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/957—Browsing optimisation, e.g. caching or content distillation
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 invention relates to a webpage display method and apparatus. The method comprises the steps that a main process obtains related information of a webpage browsing event and a kernel type used for displaying a webpage when the webpage browsing event is detected; the main process sends the related information of the webpage browsing event to a kernel process corresponding to the kernel type; and the kernel process displays the webpage according to the related information of the webpage browsing event. Through the webpage display method and apparatus provided by the invention, the page type of the webpage can be effectively displayed and the kernel type making a response can be dynamically selected according to the page type; and corresponding kernel types are pointedly selected according to characteristics of various page types, so that the problem of page layout and display disorder due to different page types can be effectively solved.
Description
Technical field
The present invention relates to terminal device technical field, more particularly to a kind of Webpage exhibiting method and device.
Background technology
Client provides a framework, is internally embedded the way of WEB (webpage) page, has become current client framework
Trend.The client installed on terminal device such as computer at present is substantially all
The carrier of the page.The browser kernel of main flow includes:Trident kernels (IE), Gecko kernels (Firefox), WebKit kernels
(Safari, Chrome) and Presto kernels (Opera).
However, Windows carries kernel typically using IE kernels, the edition comparison of IE kernels is more, and each difference in version compared with
Greatly.The effect that same Webpage is shown on the IE kernels of different editions is different.Therefore developer is needed to webpage page
Compatible processing is done in face, and this causes the less efficient of the exploitation of Webpage and test process.In addition, IE kernels and operating system are closed
Connection property is stronger, therefore is affected larger by operating system so that applied environment is complex.
On the other hand, Webkit kernels are more stable relative to the performance of IE kernels, but the exploitation of part Webpage
Company does not carry out adaptation processing when Webpage is designed to Webkit kernels, therefore passes through Webkit kernel loads
Webpage easily occur show entanglement situation.
The content of the invention
Technical problem
In view of this, the present invention provides one kind and can stablize and reliably in the client to polytype Webpage
The method and device for being represented.
Solution
In order to solve above-mentioned technical problem, an embodiment of the invention, there is provided a kind of Webpage exhibiting method,
Including:
In the case where Webpage browsing event is detected, host process obtains the correlation of the Webpage browsing event
Information and the core type for the displaying web page page;
The host process sends the relevant information of the Webpage browsing event to corresponding with the core type
Kernel process;
Kernel process Webpage according to the correlated information exhibition of the Webpage browsing event.
In a kind of possible implementation, the relevant information of the Webpage browsing event is sent by the host process
To kernel process corresponding with the core type, including:
The core type is parsed into into kernel process mark;
The relevant information of the Webpage browsing event is sent to being entered with the kernel process corresponding kernel of mark
Journey.
In a kind of possible implementation, the host process obtains the core type for the displaying web page page, including:
It is determined that the Webpage type related to the Webpage browsing event, the Webpage type includes business
The page and/or externally dock the page;
In the case where Webpage type is the business page, the core type for the displaying web page page is defined as into the
One core type;
In the case where Webpage type is for the externally docking page, the core type for the displaying web page page is determined
For the second core type.
In a kind of possible implementation, relevant information of the kernel process according to the Webpage browsing event
Represent the Webpage, including:
The kernel process carries out phase to the relevant information of the Webpage browsing event according to default service logic
The process answered, and using the result after process as information to be loaded;
The information to be loaded is sent to corresponding kernel by default unified application programming interface API to hold
Row loading, to represent the Webpage.
In a kind of possible implementation, methods described also includes:
In advance each functional level interface of kernel process is carried out abstract, obtain unified API.
In a kind of possible implementation, methods described also includes:
Relevant information of the host process to the Webpage browsing event and the kernel class for the displaying web page page
Type is registered;
In the case of the kernel process success displaying web page page, the host process is received from the kernel process
Successful information;
The host process searches the relevant information of Webpage browsing event corresponding with the successful information.
In order to solve above-mentioned technical problem, according to another embodiment of the present invention, there is provided a kind of Webpage represents dress
Put, including:
Host process unit, browses in the case where Webpage browsing event is detected, obtaining the Webpage
The relevant information of event and the core type for the displaying web page page;The relevant information of the Webpage browsing event is sent out
Deliver to kernel process corresponding with the core type;
Kernel process unit, for the Webpage according to the correlated information exhibition of the Webpage browsing event.
In a kind of possible implementation, the host process unit includes:
Kernel interpreter, for the core type is parsed into kernel process mark;The Webpage is browsed into thing
The relevant information of part is sent to kernel process unit corresponding with kernel process mark.
In a kind of possible implementation, the host process unit also includes:
Main logic module, for determining the Webpage type related to the Webpage browsing event, the webpage
Page type includes the business page and/or externally docks the page;In the case where Webpage type is the business page, will be used for
The core type of the displaying web page page is defined as the first core type;It is the situation for externally docking the page in Webpage type
Under, the core type for the displaying web page page is defined as into the second core type.
In a kind of possible implementation, the kernel process unit includes that service logic package module, core A PI are taken out
As module and kernel module;
The service logic package module, for the phase according to default service logic to the Webpage browsing event
Pass information is processed accordingly, and using the result after process as information to be loaded;
The core A PI abstract module, for will be described to be added by default unified application programming interface API
Information carrying breath is sent to corresponding kernel module and performs loading, to represent the Webpage;
The kernel module, for loading corresponding Webpage according to the information described to be loaded for receiving.
In a kind of possible implementation, the core A PI abstract module is additionally operable in advance to each function of kernel process
Level interface carries out abstract, obtains unified API.
In a kind of possible implementation, the host process unit also includes:
Interactive module between process, for the relevant information to the Webpage browsing event and for the displaying web page page
Core type registered;In the case of the kernel process success displaying web page page, reception is entered from the kernel
The successful information of Cheng Danyuan;Search the relevant information of Webpage browsing event corresponding with the successful information.
Beneficial effect
The Webpage exhibiting method of the embodiment of the present invention and its device, are capable of the page of the automatic decision displaying web page page
Type, and the core type of response is dynamically selected according to page type.Targetedly selected according to the characteristics of each page type
Corresponding core type is selected, can be with effectively solving because of the different page compositions for producing of page type, the problem of display entanglement.And
Developer need not do compatibility or adaptation processing to Webpage, you can obtain normal webpage representation effect in the client
Really.Therefore, the work load of the exploitation and maintenance of developer is substantially reduced, while the user of client can also watch more
Good represents effect.
According to below with reference to the accompanying drawings, to detailed description of illustrative embodiments, the further feature and aspect of the present invention will become
It is clear.
Description of the drawings
Comprising in the description and accompanying drawing and the specification of the part that constitutes specification together illustrates the present invention's
Exemplary embodiment, feature and aspect, and for explaining the principle of the present invention.
Fig. 1 illustrates the schematic flow sheet of Webpage exhibiting method according to an embodiment of the invention;
Fig. 2 a illustrate the schematic flow sheet of Webpage exhibiting method according to another embodiment of the present invention;
Fig. 2 b illustrate the work(of host process and kernel process in Webpage exhibiting method according to another embodiment of the present invention
Can schematic diagram;
Fig. 3 illustrates business page schematic diagram according to an embodiment of the invention;
Fig. 4 illustrates external docking page schematic diagram according to an embodiment of the invention;
Fig. 5 illustrates client double-core process schematic diagram according to an embodiment of the invention;
Fig. 6 illustrates the schematic flow sheet of Webpage exhibiting method according to another embodiment of the present invention;
Fig. 7 illustrates the structural representation of Webpage demonstration device according to an embodiment of the invention;
Fig. 8 illustrates the structural representation of Webpage demonstration device according to another embodiment of the present invention;
Fig. 9 illustrates the structured flowchart of Webpage demonstration device according to another embodiment of the present invention.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the present invention are described in detail below with reference to accompanying drawing.It is identical in accompanying drawing
Reference represent the same or analogous element of function.Although the various aspects of embodiment are shown in the drawings, remove
Non-specifically is pointed out, it is not necessary to accompanying drawing drawn to scale.
Special word " exemplary " means " being used as example, embodiment or illustrative " here.Here as " exemplary "
Illustrated any embodiment is should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, numerous details are given in specific embodiment below.
It will be appreciated by those skilled in the art that not having some details, the present invention can equally be implemented.In some instances, for
Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the present invention.
Fig. 1 illustrates the schematic flow sheet of Webpage exhibiting method according to an embodiment of the invention.As shown in figure 1, should
Webpage exhibiting method can include step S101, step S102 and step S103:
In step S101, in the case where Webpage browsing event is detected, host process obtains the Webpage
The relevant information of browsing event and the core type for the displaying web page page.
Wherein, the Webpage browsing event can including but not limited to load URL (Uniform Resource
Locator, URL), refresh Webpage, arrange cookie (be stored in the number on user's local terminal
According to) etc. event.The core type can include but is not limited to Trident kernels (IE), Gecko kernels (Firefox),
WebKit kernels (Safari, Chrome) and Presto kernels (Opera) etc..
For example, in the case where the Webpage browsing event is for loading URL, the phase of the Webpage browsing event
Pass information can include URL addresses.When user clicks on a certain Webpage in the client of such as video website, host process can
To obtain the URL addresses of the webpage and core type for representing the Webpage.
As shown in Figure 2 a, in a kind of possible implementation, the host process is obtained in the displaying web page page
The step of core type, includes step S201, step S202 and step S203.
In step s 201, it is determined that the Webpage type related to the Webpage browsing event, the webpage page
Noodles type includes the business page and/or externally docks the page.
In step S202, in the case where Webpage type is the business page, by the displaying web page page
Core type is defined as the first core type.
In step S203, in the case where Webpage type is for the externally docking page, the displaying web page page will to be used for
Core type be defined as the second core type.
Fig. 3 illustrates the schematic diagram that Webpage type is the business page, and Fig. 4 illustrates Webpage type for externally docking page
The schematic diagram in face.Wherein, service page face has stronger traffic performance, is the page exclusively for Client Design.Service page
The style in face, visual effect, interactive mode and client keep the uniformity of height.The business page in client can be passed through
In functional module carry out data exchange and protocol communication.In concrete application scene, the such as homepage page of " youku.com " client,
The page is highly customized for " youku.com " client.User is even detectable the business page during use
WEB (webpage) page.On the other hand, externally dock the page (or referred to as displayed page) to can be used for and third party's cooperation manufacturer
Carry out information transmission.Externally the service logic of the docking page is less, and interactive operation is simple, and client does not have data exchange
Situation.However, externally the species of the docking page is various, usage frequency is low, Design intervention of the developer to the externally docking page
Difficulty is larger.For example, third party's login page of " youku.com " client can be used as the externally docking page, third party's login page
It is to be provided by multiple commercial vendors, therefore does not typically support customization.
In concrete application scene, in the case where the Webpage type for needing to represent is the business page, will can use
It is defined as Webkit kernels in the core type of the displaying web page page.The content of the business page is relatively enriched, and service logic compares
It is complicated.In the case of by service page face being checked in Webkit being represented, developer and tester without the concern for
The multi version problem of Webkit kernels, therefore exploitation, the efficiency of test can be greatly enhanced.Webkit kernels are not by operation system
The interference of system, thus it is more more stable than IE kernel (or referred to as Trident kernels).
For example, using the embodiment of the present invention, above two WEB can be met well simultaneously by a browser
The page.Wherein it is possible to Webkit kernels are issued with client installation kit, the business page uses Webkit kernel loads,
Developer and tester are greatly enhanced exploitation, the efficiency of test without the concern for multi version problem.Browser kernel by
Client is provided, and is not disturbed by operating system, more stable than IE kernel.IE kernels compare Webkit kernels, to WEB page and
Capacitive is more preferable, for the displayed page of loading third-party.
For example, client dual core can include:
Webkit kernels:ytpage.exe
IE kernels:youkupage.exe
Client host process:YoukuDesktop.exe.
In embodiments of the present invention, kernel can be packaged in the form of process level and with client installation kit one
Rise and be distributed to user.When kernel is encapsulated as independent process in the form of process level, can avoid internuclear mutual in difference
Interference.In addition, host process need not be concerned about the details of realizing of kernel process, host process only needs to provide for adding to kernel process
The URL addresses of load and core type.
In step s 102, the host process sends the relevant information of the Webpage browsing event to interior with described
The corresponding kernel process of core type.
In a kind of possible implementation, the relevant information of the Webpage browsing event is sent by the host process
The step of to kernel process corresponding with the core type, includes step S301 and step S302.
In step S301, the core type is parsed into into kernel process mark.
In step s 302, by the relevant information of the Webpage browsing event send to the kernel process identify
Corresponding kernel process.
For example, as shown in figure 5, host process is YoukuDesktop.exe, two kernel process difference that client is carried
For ytpage.exe (Webkit kernel processes) and youkupage.exe (IE kernel processes).Ytpage.exe processes are corresponding
It is designated " 115 ", youkupage.exe is corresponding to be designated " 116 ".As shown in Figure 2 b, business is checked in by Webkit
In the case that the page is represented, " main logic " module of host process obtains URL addresses and the core type of the business page, passes through
" interaction between process " module is sent to " kernel interpreter ", parses Webkit kernel processes by " kernel interpreter " and is designated
“116”.Subsequently, the relevant information of the Webpage browsing event is sent into corresponding to " 116 " are identified with kernel process
Webkit kernel process ytpage.exe.
In a kind of possible implementation, host process can be carried out using such as windows window messages and be entered with kernel
Communication between journey.
In step s 103, kernel process net according to the correlated information exhibition of the Webpage browsing event
The page page.
As shown in fig. 6, in a kind of possible implementation, the kernel process is according to the Webpage browsing event
Correlated information exhibition described in Webpage the step of include step S601 and step S602.
In step s 601, phase of the kernel process according to default service logic to the Webpage browsing event
Pass information is processed accordingly, and using the result after process as information to be loaded.
In step S602, the information to be loaded is sent by default unified application programming interface API
Loading is performed to corresponding kernel, to represent the Webpage.
It should be noted that in method provided in an embodiment of the present invention, in advance service logic and api interface can be entered
Row is separated, and the service logic and api interface after separation is packaged respectively.So operation can reduce service logic and
The coupling of api interface.When needing to change the content of service logic, api interface need not be changed.When need change api interface
When, without change service logic.Therefore, significantly reduce the overprogram work of developer.
It should be noted that service logic can be packaged in the form of class level.As shown in Figure 2 b, can pass through
Business datum (the phase of Webpage browsing event of " service logic encapsulation " between resume module client host process and WEB page
Pass information) interaction, service logic etc. (setting of such as cookie, interface call).The service logic phase that each kernel is used
Together.And service logic and core A PI interface split, it is possible to achieve internuclear seamless switching in different, facilitate service logic
Extension.Developer safeguards a set of separate traffic logic also without for every set kernel.
In concrete application scene, the term of validity of cookie that can be by service logic to arranging judges, it is determined that
Whether cookie can use.In the case of it is determined that cookie is available, data processing can be carried out to the cookie, and after processing
Result as information to be loaded.
In a kind of possible implementation, in method provided in an embodiment of the present invention, also include step S104, it is right in advance
The each functional level interface of kernel process carries out abstract, obtains unified API.
It should be noted that realization mechanism is different inside different kernels, respectively there are pluses and minuses.But the functional level interface of each kernel
All than relatively similar, such as load URL, refreshing, cookie etc. is set.As shown in Figure 2 b, " core A PI is abstract " mould in kernel process
Block is carried out abstract to core functions level interface or is given a definition again, can shield the difference between each kernel, new so as to improve
Kernel extensibility and plug-in unit.New kernel only needs to inherit " kernel is abstract ", calls new core A PI, parent is connect
Mouth is realized, while increasing new core type in interpreter.
In a kind of possible implementation, in method provided in an embodiment of the present invention, also include step S105, step
S106 and step S107.
In step S105, the host process is to the relevant information of the Webpage browsing event and for displaying web page
The core type of the page is registered.
In step s 106, in the case of the kernel process success displaying web page page, the host process is received to be come
From the successful information of the kernel process.
In step s 107, the host process is searched related to the corresponding Webpage browsing event of the successful information
Information.
After loading operation being performed come the displaying web page page by kernel, can generate and corresponding with operation is represented perform knot
Really, the implementing result can be back to " main logic " module by " interaction between process " module of host process.Specifically, exist
After host process obtains the relevant information and the core type for the displaying web page page of Webpage browsing event, " hand between process
Mutually " module can be stepped on to the relevant information of the Webpage browsing event and for the core type of the displaying web page page
Note.
For example, the URL addresses that host process is obtained are " http://v.youku.com/v_show/id_XMTc1
NDQ3MjQxNg==.html?Spm=a2hww.20023042.m_223465.5~5~5~5~5~5~A " and kernel class
Type is Webkit kernels." interaction between process " module can register above-mentioned URL addresses and core type.When verification in Webkit
“http://v.youku.com/v_show/id_XMTc1NDQ3MjQxNg==.html?Spm=a2hww.20023042.m_
After 223465.5~5~5~5~5~5~A " loadings are completed and represent related web page, return success, the successful information
Including the successful URL addresses of loading.The successful information can be returned in host process, and module is in " interaction between process " for host process
After URL addresses corresponding with the successful information are found in the URL addresses of registration and core type, it is determined that being " http://v.y
Ouku.com/v_show/id_XMTc1NDQ3MjQxNg==.html?Spm=a2hww.20023042.m_223465.5~5
The Webpage of~5~5~5~5~A " URL addresses is loaded successfully, and notifies that " main logic " module of host process is made into one
Step process.For example, " main logic " module notifies that the wait state shown by the current web page page is become loading and obtained by client
Content of pages.
Although it should be noted that describing the Webpage side of representing proposed by the present invention as an example with above-described embodiment
Method, it is understood by one of ordinary skill in the art that the present invention answers not limited to this.In fact, user completely can according to personal like and/
Or practical application scene flexibly sets methods described.
The Webpage exhibiting method of the embodiment of the present invention and its device, are capable of the page of the automatic decision displaying web page page
Type, and the core type of response is dynamically selected according to page type.Targetedly selected according to the characteristics of each page type
Corresponding core type is selected, can be with effectively solving because of the different page compositions for producing of page type, the problem of display entanglement.And
Developer need not do compatibility or adaptation processing to Webpage, you can obtain normal webpage representation effect in the client
Really.Therefore, the work load of the exploitation and maintenance of developer is substantially reduced, while the user of client can also watch more
Good represents effect.
Fig. 7 illustrates the structural representation of Webpage demonstration device according to an embodiment of the invention.As shown in fig. 7, should
Webpage demonstration device host process unit 70 and kernel process unit 71.
Host process unit 70 is browsed in the case where Webpage browsing event is detected, obtaining the Webpage
The relevant information of event and the core type for the displaying web page page.The relevant information of the Webpage browsing event is sent out
Deliver to kernel process corresponding with the core type.Kernel process unit 71 is for according to the Webpage browsing event
Webpage described in correlated information exhibition.
Wherein, the Webpage browsing event can including but not limited to load URL, refresh Webpage, arranges
The events such as cookie.The core type can include but is not limited to Trident kernels (IE), Gecko kernels (Firefox),
WebKit kernels (Safari, Chrome) and Presto kernels (Opera) etc..
For example, in the case where the Webpage browsing event is for loading URL, the phase of the Webpage browsing event
Pass information can include URL addresses.When user clicks on a certain Webpage in the client of such as video website, host process can
To obtain the URL addresses of the webpage and core type for representing the Webpage.
As shown in figure 8, in a kind of possible implementation, the host process unit 70 also includes:Main logic module 80
For determining the Webpage type related to the Webpage browsing event, the Webpage type includes the business page
And/or externally dock the page.In the case where Webpage type is the business page, by the kernel class for the displaying web page page
Type is defined as the first core type.In the case where Webpage type is for the externally docking page, the displaying web page page will to be used for
Core type be defined as the second core type.
Wherein, service page face has stronger traffic performance, is the page exclusively for Client Design.The business page
Style, visual effect, interactive mode and client keep the uniformity of height.Can pass through in the business page in client
Functional module carries out data exchange and protocol communication.The externally docking page (or referred to as displayed page) can be used for closing with third party
Information transmission is carried out as manufacturer.Externally the service logic of the docking page is less, and interactive operation is simple, and client does not have data
The situation of exchange.However, externally the species of the docking page is various, usage frequency is low, and developer is set to the externally docking page
It is larger that meter intervenes difficulty.
In a kind of possible implementation, the host process unit 70 includes:Kernel interpreter 81 is used for will be described interior
Core type is parsed into kernel process mark.By the relevant information of the Webpage browsing event send to the kernel process
Identify corresponding kernel process unit 71.
In a kind of possible implementation, host process unit 70 and kernel process unit 71 can be using for example
Windows window messages carry out the communication between host process and kernel process.
In a kind of possible implementation, the kernel process unit 71 includes service logic package module 82, kernel
API abstract modules 83 and kernel module 84.The service logic package module 82 for according to default service logic to described
The relevant information of Webpage browsing event is processed accordingly, and using the result after process as information to be loaded.It is described
Core A PI abstract module 83 is used to send the information to be loaded by default unified application programming interface API
Loading is performed to corresponding kernel module 84, to represent the Webpage.The kernel module 84 is for according to the institute for receiving
State information to be loaded and load corresponding Webpage.
In a kind of possible implementation, the core A PI abstract module 83 is additionally operable in advance to each work(of kernel process
Energy level interface carries out abstract, obtains unified API.
In a kind of possible implementation, the host process unit 70 also includes:Between process, interactive module 85 is used for right
The relevant information of the Webpage browsing event and the core type for the displaying web page page are registered.In the kernel
In the case of the process success displaying web page page, the successful information from the kernel process unit 71 is received;Search with it is described
The relevant information of the corresponding Webpage browsing event of successful information.
Although it should be noted that describing Webpage proposed by the present invention as an example with above-described embodiment represents dress
Put, it is understood by one of ordinary skill in the art that the present invention answers not limited to this.In fact, user completely can according to personal like and/
Or practical application scene flexibly sets described device.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
The Webpage exhibiting method of the embodiment of the present invention and its device, are capable of the page of the automatic decision displaying web page page
Type, and the core type of response is dynamically selected according to page type.Targetedly selected according to the characteristics of each page type
Corresponding core type is selected, can be with effectively solving because of the different page compositions for producing of page type, the problem of display entanglement.And
Developer need not do compatibility or adaptation processing to Webpage, you can obtain normal webpage representation effect in the client
Really.Therefore, the work load of the exploitation and maintenance of developer is substantially reduced, while the user of client can also watch more
Good represents effect.
Fig. 9 illustrates the structured flowchart of Webpage demonstration device according to another embodiment of the present invention.The webpage page
Face demonstration device 1100 can possess the host server of computing capability, personal computer PC or portable portable
Computer or terminal etc..The specific embodiment of the invention is not limited to implementing for calculate node.
The Webpage demonstration device 1100 includes processor (processor) 1110, communication interface
(Communications Interface) 1120, memory (memory) 1130 and bus 1140.Wherein, processor 1110,
Communication interface 1120, and memory 1130 mutual communication is completed by bus 1140.
Communication interface 1120 is used for and network device communications, and wherein the network equipment includes such as Virtual Machine Manager center, is total to
Enjoy storage etc..
Processor 1110 is used for configuration processor.The possibly central processor CPU of processor 1110, or special collection
Into circuit ASIC (Application Specific Integrated Circuit), or it is arranged to implement the present invention
One or more integrated circuits of embodiment.
Memory 1130 is used to deposit file.Memory 1130 may include high-speed RAM memory, it is also possible to also including non-
Volatile memory (non-volatile memory), for example, at least one magnetic disc store.Memory 1130 can also be deposited
Memory array.Memory 1130 is also possible to by piecemeal, and described piece can be combined into virtual volume by certain rule.
In a kind of possible embodiment, said procedure can be the program code for including computer-managed instruction.The journey
Sequence is particularly used in execution Webpage exhibiting method provided in an embodiment of the present invention.
Those of ordinary skill in the art are it is to be appreciated that each exemplary cell and algorithm in embodiment described herein
Step, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions actually with hardware also
It is software form realizing, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel can be directed to
Specific application selects different methods to realize described function, but this realization it is not considered that beyond the model of the present invention
Enclose.
If realized using in the form of computer software the function and as independent production marketing or use when,
To a certain extent it is believed that all or part (such as the part for contributing to prior art) of technical scheme is
Embody in form of a computer software product.The computer software product is generally stored inside the non-volatile of embodied on computer readable
In storage medium, use so that computer equipment (can be that personal computer, server or network set including some instructions
It is standby etc.) perform all or part of step of various embodiments of the present invention method.And aforesaid storage medium include USB flash disk, portable hard drive,
Read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic
Dish or CD etc. are various can be with the medium of store program codes.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by the scope of the claims.
Claims (12)
1. a kind of Webpage exhibiting method, it is characterised in that include:
In the case where Webpage browsing event is detected, host process obtains the relevant information of the Webpage browsing event
With the core type for the displaying web page page;
The host process sends the relevant information of the Webpage browsing event to kernel corresponding with the core type
Process;
Kernel process Webpage according to the correlated information exhibition of the Webpage browsing event.
2. method according to claim 1, it is characterised in that the host process is by the phase of the Webpage browsing event
Pass information is sent to kernel process corresponding with the core type, including:
The core type is parsed into into kernel process mark;
By the relevant information of the Webpage browsing event send to the kernel process corresponding kernel process of mark.
3. method according to claim 1 and 2, it is characterised in that the host process is obtained for the displaying web page page
Core type, including:
It is determined that the Webpage type related to the Webpage browsing event, the Webpage type includes the business page
And/or externally dock the page;
In the case where Webpage type is the business page, the core type for the displaying web page page is defined as in first
Core type;
In the case where Webpage type is for the externally docking page, the core type for the displaying web page page is defined as into the
Two core types.
4. method according to claim 1, it is characterised in that the kernel process is according to the Webpage browsing event
Correlated information exhibition described in Webpage, including:
The kernel process is carried out to the relevant information of the Webpage browsing event according to default service logic accordingly
Process, and using the result after process as information to be loaded;
The information to be loaded is sent to corresponding kernel and is performed by default unified application programming interface API and added
Carry, to represent the Webpage.
5. method according to claim 4, it is characterised in that also include:
In advance each functional level interface of kernel process is carried out abstract, obtain unified API.
6. method according to claim 1 and 2, it is characterised in that also include:
Relevant information of the host process to the Webpage browsing event and the core type for the displaying web page page enter
Row registration;
In the case of the kernel process success displaying web page page, the host process receive from the kernel process into
Work(information;
The host process searches the relevant information of Webpage browsing event corresponding with the successful information.
7. a kind of Webpage demonstration device, it is characterised in that include:
Host process unit, in the case where Webpage browsing event is detected, obtaining the Webpage browsing event
Relevant information and the core type for the displaying web page page;By the relevant information of the Webpage browsing event send to
Kernel process corresponding with the core type;
Kernel process unit, for the Webpage according to the correlated information exhibition of the Webpage browsing event.
8. device according to claim 7, it is characterised in that the host process unit includes:
Kernel interpreter, for the core type is parsed into kernel process mark;By the Webpage browsing event
Relevant information is sent to kernel process unit corresponding with kernel process mark.
9. the device according to claim 7 or 8, it is characterised in that the host process unit also includes:
Main logic module, for determining the Webpage type related to the Webpage browsing event, the Webpage
Type includes the business page and/or externally docks the page;In the case where Webpage type is the business page, will be used for representing
The core type of Webpage is defined as the first core type;In the case where Webpage type is for the externally docking page, will
Core type for the displaying web page page is defined as the second core type.
10. device according to claim 7, it is characterised in that the kernel process unit includes service logic Encapsulation Moulds
Block, core A PI abstract module and kernel module;
The service logic package module, for the correlation letter according to default service logic to the Webpage browsing event
Breath is processed accordingly, and using the result after process as information to be loaded;
The core A PI abstract module, for by default unified application programming interface API by the information carrying to be added
Breath is sent to corresponding kernel module and performs loading, to represent the Webpage;
The kernel module, for loading corresponding Webpage according to the information described to be loaded for receiving.
11. device according to claim 10, it is characterised in that the core A PI abstract module is additionally operable in advance internally
The each functional level interface of core process carries out abstract, obtains unified API.
12. devices according to claim 7 or 8, it is characterised in that the host process unit also includes:
Interactive module between process, for the relevant information to the Webpage browsing event and in the displaying web page page
Core type is registered;In the case of the kernel process success displaying web page page, receive from the kernel process list
The successful information of unit;Search the relevant information of Webpage browsing event corresponding with the successful information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610958553.7A CN106528733A (en) | 2016-10-27 | 2016-10-27 | Webpage display method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610958553.7A CN106528733A (en) | 2016-10-27 | 2016-10-27 | Webpage display method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106528733A true CN106528733A (en) | 2017-03-22 |
Family
ID=58325869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610958553.7A Pending CN106528733A (en) | 2016-10-27 | 2016-10-27 | Webpage display method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528733A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110020338A (en) * | 2017-08-17 | 2019-07-16 | 腾讯科技(深圳)有限公司 | Browser, webpage deployment method and equipment |
CN110442400A (en) * | 2019-08-15 | 2019-11-12 | 网易(杭州)网络有限公司 | Browser control method and device |
CN113242223A (en) * | 2021-04-30 | 2021-08-10 | 刘厚泽 | Website detection method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101655863A (en) * | 2009-04-24 | 2010-02-24 | 北京搜狗科技发展有限公司 | Method for loading web pages in browser and browser |
CN102890724A (en) * | 2012-10-25 | 2013-01-23 | 北京奇虎科技有限公司 | Webpage loading method and device |
CN103294717A (en) * | 2012-02-29 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Web page opening method and device based on double-kernel browser |
CN104516885A (en) * | 2013-09-26 | 2015-04-15 | 腾讯科技(深圳)有限公司 | Implementation method and device of browse program double-kernel assembly |
CN104731598A (en) * | 2012-05-07 | 2015-06-24 | 北京奇虎科技有限公司 | Method and device for providing web browsing based on Webkit kernel |
-
2016
- 2016-10-27 CN CN201610958553.7A patent/CN106528733A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101655863A (en) * | 2009-04-24 | 2010-02-24 | 北京搜狗科技发展有限公司 | Method for loading web pages in browser and browser |
CN103294717A (en) * | 2012-02-29 | 2013-09-11 | 腾讯科技(深圳)有限公司 | Web page opening method and device based on double-kernel browser |
CN104731598A (en) * | 2012-05-07 | 2015-06-24 | 北京奇虎科技有限公司 | Method and device for providing web browsing based on Webkit kernel |
CN102890724A (en) * | 2012-10-25 | 2013-01-23 | 北京奇虎科技有限公司 | Webpage loading method and device |
CN104516885A (en) * | 2013-09-26 | 2015-04-15 | 腾讯科技(深圳)有限公司 | Implementation method and device of browse program double-kernel assembly |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110020338A (en) * | 2017-08-17 | 2019-07-16 | 腾讯科技(深圳)有限公司 | Browser, webpage deployment method and equipment |
CN110020338B (en) * | 2017-08-17 | 2022-10-28 | 腾讯科技(深圳)有限公司 | Browser and webpage opening method and device |
CN110442400A (en) * | 2019-08-15 | 2019-11-12 | 网易(杭州)网络有限公司 | Browser control method and device |
CN113242223A (en) * | 2021-04-30 | 2021-08-10 | 刘厚泽 | Website detection method and device |
CN113242223B (en) * | 2021-04-30 | 2022-07-01 | 刘厚泽 | Website detection method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103559040B (en) | A kind of system and method based on SDK rapid build mobile Internet application module | |
US9420034B2 (en) | Providing services to multiple tenants of an application | |
CN111104635B (en) | Method and device for generating form webpage | |
KR20140078676A (en) | Custom optimization of web pages | |
CN105283845A (en) | Display object pre-generation | |
CN106339414A (en) | Webpage rendering method and device | |
CN108280119A (en) | Page generation method, device and user terminal | |
CN103699635B (en) | Information processing method and device | |
CN106997298A (en) | A kind of application resource acquisition methods and device | |
CN107426328A (en) | Information-pushing method and device | |
CN113010827B (en) | Page rendering method and device, electronic equipment and storage medium | |
CN107329991A (en) | A kind of list access to web page and methods of exhibiting and its system | |
CN110175306A (en) | A kind of processing method and processing device of advertising information | |
CN107506483A (en) | Page loading method, device, electronic equipment and storage medium | |
CN104885112A (en) | Method and apparatus for secure advertising | |
CN105955714A (en) | Mixed development front end MVC frame implementation method and system | |
CN106528733A (en) | Webpage display method and apparatus | |
CN110532495A (en) | A kind of methods of exhibiting and device of webpage information | |
CN107479873A (en) | A kind of APP page modules melt forwarding method, electronic equipment and storage medium | |
CN108073698B (en) | Real-time animation display methods, device, electric terminal and readable storage medium storing program for executing | |
CN106649299A (en) | Method and device for lazy loading of webpage block | |
CN103150172A (en) | Method and equipment for realizing individual scene | |
CN108600780A (en) | Method for pushed information | |
CN112035555B (en) | Information display method, device and equipment | |
CN113421144A (en) | Page display method and device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |