CN106708967A - Page display method and device - Google Patents

Page display method and device Download PDF

Info

Publication number
CN106708967A
CN106708967A CN201611094848.0A CN201611094848A CN106708967A CN 106708967 A CN106708967 A CN 106708967A CN 201611094848 A CN201611094848 A CN 201611094848A CN 106708967 A CN106708967 A CN 106708967A
Authority
CN
China
Prior art keywords
kernel
target pages
browser
configuration information
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611094848.0A
Other languages
Chinese (zh)
Other versions
CN106708967B (en
Inventor
董红光
吴华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611094848.0A priority Critical patent/CN106708967B/en
Publication of CN106708967A publication Critical patent/CN106708967A/en
Application granted granted Critical
Publication of CN106708967B publication Critical patent/CN106708967B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing 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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a page display method and device, and belongs to the field of computer technology. The method includes the steps that configuration information of a target page is acquired, wherein the target page is any page in an application which is currently used, the configuration information includes information of a browser kernel needing to be used for displaying the target page, and the browser kernel is any one of multiple included browser kernels; a kernel object needed for using the browser kernel is established based on the configuration information; the target page is displayed through the browser kernel based on the kernel object. Thus, for different pages, different browser kernels are dynamically switched and used for page display according to configuration information of the pages, and the page display pertinence is improved.

Description

Page display method and device
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of page display method and device.
Background technology
With the fast development of computer technology, various types of pages are occurred in that, for example, HTML (Hyper Text Markup Language, HTML) page, WML (Wireless Markup Language, radio mark language Speech) page etc..In practical application, terminal can show the page by browser kernel, and it is different according to page type, The browser kernel for needing to use is also different.
At present, various browser kernels can be simultaneously included in some terminals, for example, including in the browser that carries of terminal Browser kernel that core and third party provide etc..In addition, the application run in terminal potentially includes polytype page, in phase In the technology of pass, terminal is only capable of being shown by one of which browser kernel all pages of application, that is to say, terminal can basis Actual demand, only shows all pages of application by the browser kernel for carrying, or, it is also possible to only carried by third party The browser kernel of confession shows all pages of application.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of page display method and device.
First aspect, there is provided a kind of page display method, methods described includes:
The configuration information of target pages is obtained, the target pages are any page in currently used application, described Configuration information includes the information of the browser kernel used needed for the display target pages, the browser kernel be comprising Any one in multiple browser kernels;
Based on the configuration information, create and use the kernel objects needed for the browser kernel;
Based on the kernel objects, the target pages are shown by the browser kernel.
Alternatively, it is described based on the configuration information, before creating using the kernel objects needed for the browser kernel, Also include:
Based on the mark of the target pages, the kernel objects are judged whether;
When in the absence of the kernel objects, execution is described to be based on the configuration information, creates using in the browser The step of kernel objects needed for core.
Alternatively, the mark based on the target pages, judges whether the kernel objects, including:
Whether there is the corresponding object interface of mark of the target pages from local search, the object interface is used to refer to Show the kernel objects;
When the corresponding object interface of the mark that there are the target pages, it is determined that there are the kernel objects.
Alternatively, it is described that the page is shown by the browser kernel based on the kernel objects, including:
Call the object interface of the kernel objects;
The browser kernel is run by the object interface for calling, is shown with to the target pages.
Alternatively, it is described that the browser kernel is run by the object interface for calling, including:
View object in the kernel objects is loaded onto in view component, the view object is used to show the mesh The mark page, the view component is used to cache the view object;
By calling the interface of the view component, the browser kernel is run.
Second aspect, there is provided a kind of page display device, described device includes:
Acquisition module, the configuration information for obtaining target pages, during the target pages are currently used application Any page, the configuration information includes the information of the browser kernel used needed for the display target pages, described to browse Device kernel be comprising multiple browser kernels in any one;
Creation module, for the configuration information obtained based on the acquisition module, is created using in the browser Kernel objects needed for core;
Display module, it is aobvious by the browser kernel for the kernel objects created based on the creation module Show the target pages.
Alternatively, described device also includes:
Judge module, for the mark based on the target pages, judges whether the kernel objects;
Trigger module, performs described in described being based on for when in the absence of the kernel objects, triggering the creation module Configuration information, the step of establishment using kernel objects needed for the browser kernel.
Alternatively, the judge module includes:
Inquiry submodule, the corresponding object interface of mark for whether there is the target pages from local search, institute Object interface is stated for indicating the kernel objects;
Determination sub-module, for when the corresponding object interface of the mark that there are the target pages, it is determined that in the presence of described Kernel objects.
Alternatively, the display module includes:
Submodule is called, the object interface for calling the kernel objects;
Operation submodule, for running the browser kernel by the object interface for calling submodule to call, with The target pages are shown.
Alternatively, the operation submodule is used for:
View object in the kernel objects is loaded onto in view component, the view object is used to show the mesh The mark page, the view component is used to cache the view object;
By calling the interface of the view component, the browser kernel is run.
The third aspect, there is provided a kind of page display device, described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The configuration information of target pages is obtained, the target pages are any page in currently used application, described Configuration information includes the information of the browser kernel used needed for the display target pages, the browser kernel be comprising Any one in multiple browser kernels;
Based on the configuration information, create and use the kernel objects needed for the browser kernel;
Based on the kernel objects, the target pages are shown by the browser kernel.
The technical scheme provided by this disclosed embodiment can include the following benefits:Obtain target pages with confidence Breath, the configuration information includes showing the information of browser kernel used needed for the target pages, based on the configuration information, can be with Create using the kernel objects needed for the browser kernel, so that the kernel objects are based on, can be aobvious by the browser kernel Show the target pages, in this way, for the different pages, according to the configuration information of the page, switching at runtime uses different browsers Kernel shown carrying out the page, enhances the specific aim that the page shows.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is a kind of flow chart of the page display method according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the page display method according to another exemplary embodiment.
Fig. 3 A are a kind of block diagrams of the page display device according to an exemplary embodiment.
Fig. 3 B are a kind of block diagrams of the page display device according to another exemplary embodiment.
Fig. 4 is a kind of block diagram of the page display device 400 according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description 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 implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
In the related art, it is only capable of being shown by a kind of browser kernel all pages of application due to terminal, but it is a kind of Browser kernel is likely to not support the partial page of application, for example, U2 kernels cannot parse Web page, accordingly, it is possible to cause Page display failure, or, cause the display effect to the page poor.Therefore, in the disclosed embodiments, there is provided a kind of page Plane display method, can be directed to different target pages, and switching at runtime is entered using different browser kernels to the target pages Row display, to solve above-mentioned technical problem.
The page display method that the embodiment of the present disclosure is provided can be performed by terminal, can be installed in the terminal and run Using the application can include multiple pages.The terminal can be mobile phone, panel computer and computer etc., the embodiment of the present disclosure This is not limited.
Fig. 1 is a kind of flow chart of the page display method according to an exemplary embodiment, as shown in figure 1, the page Plane display method is used in terminal, comprises the following steps.
In a step 101, the configuration information of target pages is obtained, the target pages are any in currently used application The page, the configuration information includes showing the information of the browser kernel used needed for the target pages, and the browser kernel is bag Any one in the multiple browser kernels for containing.
In a step 102, based on the configuration information, create and use the kernel objects needed for the browser kernel.
In step 103, based on the kernel objects, the target pages are shown by the browser kernel.
In the disclosed embodiments, the configuration information of target pages is obtained, the configuration information includes showing the target pages The information of the required browser kernel for using, based on the configuration information, can create and use the kernel needed for the browser kernel Object, so as to be based on the kernel objects, can show the target pages, in this way, for different pages by the browser kernel Face, according to the configuration information of the page, switching at runtime carries out the page and shows using different browser kernels, enhances the page and shows The specific aim shown.
Alternatively, based on the configuration information, before creating using the kernel objects needed for the browser kernel, also include:
Mark based on the target pages, judges whether the kernel objects;
When in the absence of the kernel objects, performing should be based on the configuration information, create using needed for the browser kernel The step of kernel objects.
Alternatively, the mark based on the target pages, judges whether the kernel objects, including:
Whether there is the corresponding object interface of mark of the target pages from local search, the object interface is used to indicate this Kernel objects;
When the corresponding object interface of the mark that there are the target pages, it is determined that in the presence of the kernel objects.
Alternatively, based on the kernel objects, the page is shown by the browser kernel, including:
Call the object interface of the kernel objects;
The browser kernel is run by the object interface for calling, is shown with to the target pages.
Alternatively, the object interface by calling runs the browser kernel, including:
View object in the kernel objects is loaded onto in view component, the view object is used to show the page object Face, the view component is used to cache the view object;
By calling the interface of the view component, the browser kernel is run.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the disclosure, disclosure reality according to any combination Example is applied no longer to repeat this one by one.
Fig. 2 is a kind of flow chart of the page display method according to another exemplary embodiment, as shown in Fig. 2 should Page display method is used in terminal, and the page display method is comprised the following steps:
In step 201, the configuration information of target pages is obtained, the target pages are any in currently used application The page, the configuration information includes showing the information of the browser kernel used needed for the target pages, and the browser kernel is bag Any one in the multiple browser kernels for containing.
As it was noted above, some terminals can simultaneously include multiple browser kernels, for example, the terminal of Android operation system The browser kernel that can be carried including terminal simultaneously, can also be included in the browser that one or more third party provides Core.The application installed in terminal potentially includes multiple pages, and in the disclosed embodiments, terminal can be directed to the different pages, Switching at runtime is realized the page and is shown using the different browsers kernel in the multiple browser kernels for including.
In a kind of possible implementation, above-mentioned target pages can be any webpage in currently used application (Web) page.During a certain target pages for showing currently used application, know which is needed to use for the ease of terminal Individual browser kernel shows the target pages, and before the configuration information of target pages is obtained, user can should with configured in advance Configuration information, the configuration information can include browser kernel title, if for example, user want by browser kernel A come The target pages are shown, then the entitled A of the corresponding browser kernel of the target pages can be configured in above-mentioned configuration information.Such as This, before terminal shows target pages, can obtain the configuration information, and based on the configuration information, it may be determined that need to use Which browser kernel shows the target pages.
In addition, in a kind of possible implementation, the configuration information may be embodied in page configuration file, the page Configuration file can configured in advance be good according to the actual requirements by user, and the page configuration file can include multiple nodes, each Node is respectively the configuration information of each page, and the embodiment of the present disclosure is not specifically limited to the way of realization of the configuration information.
In actual implementation process, terminal can read the configuration information by a class, and such can be referred to as work Factory's class, that is to say, before the target pages are shown, the terminal operating factory class, the factory class operationally, reads the configuration Information.
In step 202., the mark based on the target pages, judges whether the kernel objects.
As it was noted above, after terminal reads the configuration information, you can it is determined that needing to use which browser kernel to show Show the target web.When using browser kernel, it usually needs using the kernel objects of the browser kernel, for example, this is interior Verification as including view object etc., wherein, the view object is used for shows target pages.Certainly, the kernel objects are also possible to bag Other objects are included, other objects can be used for the display for aiding in the view object to realize the page, here not to other objects It is specifically limited.
For some pages, for example, local page, the kernel objects may be present.And for the other page, For example, Webpage, the kernel objects may not exist.Therefore, which browser kernel is terminal it is determined that need to use show After showing the target pages, in addition it is also necessary to judge whether the kernel objects of the browser kernel.
In the disclosed embodiments, the mark of the target pages can be based on, the kernel objects are judged whether, its In, the mark based on the target pages, judging whether the implementation process of the kernel objects can include:It is from local search The no corresponding object interface of mark that there are the target pages, the object interface is used to indicate the kernel objects, when in the presence of the mesh When marking the corresponding object interface of mark of the page, it is determined that in the presence of the kernel objects.
Wherein, the storage location such as local database, hard disk, internal memory for including but is not limited to terminal.
Wherein, the mark of the target pages can be used for one target pages of unique mark.Above-mentioned object interface can lead to Browser kernel A is crossed to realize.That is to say, if in the corresponding object interface of mark that locally there are target pages, can be with Event will carry out corresponding storage between the mark of target pages and object interface, in a kind of possible implementation, page object The mode of corresponding storage can be as shown in table 1 below between the mark in face and object interface:
Table 1
Mark Object interface
ID 1
ID n Interface A
For example, when the target pages are when being designated ID1, can know that the ID1 is not corresponding by inquiring about above-mentioned table 1 Object interface, hence, it can be determined that not existing the kernel objects.When the target pages are when being designated ID n, by inquiry It is Interface A to this interface to state table 1 and can obtain the ID n corresponding, therefore, terminal can determine there is the interior verification As.
It should be noted that in the disclosed embodiments, when the corresponding object interface of the mark that there are target pages, only It is to illustrate the mark of target pages as a example by storage corresponding between object interface in the form of above-mentioned table 1, in another reality Apply in example, terminal can also in other forms by corresponding storage between the mark of target pages and object interface, and the disclosure is implemented Example is not construed as limiting to this.
When the corresponding object interface of mark that there are the target pages, terminal determines there are the kernel objects, in this kind of feelings Under condition, step 204 is directly performed, when in the absence of the object interface, terminal determines do not exist the kernel objects, in this kind of situation Under, perform step 203.
In step 203, when in the absence of the kernel objects, based on the configuration information, create and use the browser kernel Required kernel objects.
When determining in the absence of the kernel objects by above-mentioned steps 202, terminal is needed based on the configuration information, and establishment makes With the kernel objects needed for the browser kernel, in actual implementation process, its implementation process can include:Terminal is matched somebody with somebody based on this Confidence ceases, it is determined that the required browser kernel for using, afterwards, runs the corresponding class of browser kernel (class), so as to create Use the kernel objects needed for the browser kernel.
For example, if terminal is based on the configuration information, it is determined that the required browser kernel for using is A, afterwards, terminal operating should The corresponding class classA of browser kernel A, so as to create use the kernel objects needed for the browser kernel.
In step 204, based on the kernel objects, the target pages are shown by the browser kernel.
Wherein, based on the kernel objects, the implementation process for showing the target pages by the browser kernel can include: The object interface of the kernel objects is called, the browser kernel is run by the object interface for calling, entered with to the target pages Row display.
In addition, including above by the implementation process that the object interface for calling runs the browser kernel:By the interior verification View object as in is loaded onto in view component, and the view object is used to show the target pages, and the view component is used to delay The view object is deposited, by calling the interface of the view component, the browser kernel is run.
Wherein, the view component can be shown that the view component is used equivalent to a container on the interface of terminal In the caching view object.Browser kernel according to needed for showing the target pages is different, and what is cached in the view component regards Figure object is also different, i.e., the view object in the view component is that dynamic is produced.
That is to say, the view component interface is in decoupled state with view object actual in the view component, only exists When needing operation browser kernel to realize that the page shows, just will be actually needed the view object for using is loaded onto the sets of views to terminal In part, and by calling the interface of the view component, realize the operation of browser kernel.
The view component serves the effect of bridge joint, by externally providing connecing for unified view component and view component Mouthful so that terminal by loading the view object of different browser kernels, need not be being realized not in the case of modification program With the display function of the page, the specific aim that the page shows is enhanced.Meanwhile, also for newly-increased browser kernel is provided conveniently.
In the disclosed embodiments, the configuration information of target pages is obtained, the configuration information includes showing the target pages The information of the required browser kernel for using, based on the configuration information, can create and use the kernel needed for the browser kernel Object, so as to be based on the kernel objects, can show the target pages, in this way, for different pages by the browser kernel Face, according to the configuration information of the page, switching at runtime carries out the page and shows using different browser kernels, enhances the page and shows The specific aim shown.
Fig. 3 A are a kind of block diagrams of the page display device according to an exemplary embodiment.Reference picture 3A, the device Including acquisition module 310, creation module 320 and display module 330.
Acquisition module 310, the configuration information for obtaining target pages, during the target pages are currently used application Any page, the configuration information includes showing the information of the browser kernel used needed for the target pages, the browser kernel Be comprising multiple browser kernels in any one;
Creation module 320, for the configuration information obtained based on the acquisition module 310, is created using in the browser Kernel objects needed for core;
Display module 330, it is aobvious by the browser kernel for the kernel objects created based on the creation module 320 Show the target pages.
Alternatively, Fig. 3 B are refer to, the device also includes:
Judge module 340, for the mark based on the target pages, judges whether the kernel objects;
Trigger module 350, is performed and should be matched somebody with somebody based on this for when in the absence of the kernel objects, triggering the creation module 320 Confidence ceases, the step of establishment using kernel objects needed for the browser kernel.
Alternatively, the judge module 340 includes:
Inquiry submodule, the corresponding object interface of mark for whether there is the target pages from local search, this pair As interface is used to indicate the kernel objects;
Determination sub-module, for when the corresponding object interface of mark that there are the target pages, it is determined that in the presence of the kernel Object.
Alternatively, the display module 330 includes:
Submodule is called, the object interface for calling the kernel objects;
Operation submodule, for calling the object interface that submodule is called to run the browser kernel by this, with to this Target pages are shown.
Alternatively, the operation submodule is used for:
View object in the kernel objects is loaded onto in view component, the view object is used to show the page object Face, the view component is used to cache the view object;
By calling the interface of the view component, the browser kernel is run.
In the disclosed embodiments, the configuration information of target pages is obtained, the configuration information includes showing the target pages The information of the required browser kernel for using, based on the configuration information, can create and use the kernel needed for the browser kernel Object, so as to be based on the kernel objects, can show the target pages, in this way, for different pages by the browser kernel Face, according to the configuration information of the page, switching at runtime carries out the page and shows using different browser kernels, enhances the page and shows The specific aim shown.
On 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.
Fig. 4 is a kind of block diagram of the page display device 400 according to an exemplary embodiment.For example, device 400 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
Reference picture 4, device 400 can include following one or more assemblies:Processing assembly 402, memory 404, power supply Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communication component 416.
The integrated operation of the usual control device 400 of processing assembly 402, such as with display, call, data communication, phase Machine is operated and the associated operation of record operation.Processing assembly 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.Additionally, processing assembly 402 can include one or more modules, just Interaction between processing assembly 402 and other assemblies.For example, processing assembly 402 can include multi-media module, it is many to facilitate Interaction between media component 408 and processing assembly 402.
Memory 404 is configured as storing various types of data supporting the operation in device 400.These data are shown Example includes the instruction for any application program or method operated on device 400, and contact data, telephone book data disappears Breath, picture, video etc..Memory 404 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) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that power supply is associated with for device 400.
Multimedia groupware 408 is included in one screen of output interface of offer between described device 400 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.The touch sensor can not only sensing touch or sliding action Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 408 includes a front camera and/or rear camera.When device 400 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memory 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 412 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 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor cluster 414 can detect the opening/closed mode of device 400, the relative positioning of component is for example described Component is the display and keypad of device 400, and sensor cluster 414 can be with 400 1 components of detection means 400 or device Position change, user is presence or absence of with what device 400 was contacted, the orientation of device 400 or acceleration/deceleration and device 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to be detected when without any physical contact The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 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 realization, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of device 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the treatment of mobile terminal When device is performed so that mobile terminal is able to carry out the page display method involved by above-mentioned Fig. 1 or Fig. 2 embodiments.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a kind of page display method, it is characterised in that methods described includes:
The configuration information of target pages is obtained, the target pages are any page in currently used application, the configuration Information includes the information of the browser kernel used needed for the display target pages, the browser kernel be comprising multiple Any one in browser kernel;
Based on the configuration information, create and use the kernel objects needed for the browser kernel;
Based on the kernel objects, the target pages are shown by the browser kernel.
2. the method for claim 1, it is characterised in that described based on the configuration information, creates and is browsed described in Before kernel objects needed for device kernel, also include:
Based on the mark of the target pages, the kernel objects are judged whether;
When in the absence of the kernel objects, execution is described to be based on the configuration information, creates and uses the browser kernel institute The step of kernel objects for needing.
3. method as claimed in claim 2, it is characterised in that the mark based on the target pages, judges whether to deposit In the kernel objects, including:
Whether there is the corresponding object interface of mark of the target pages from local search, the object interface is used to indicate institute State kernel objects;
When the corresponding object interface of the mark that there are the target pages, it is determined that there are the kernel objects.
4. method as claimed in claim 3, it is characterised in that described based on the kernel objects, by the browser Core shows the page, including:
Call the object interface of the kernel objects;
The browser kernel is run by the object interface for calling, is shown with to the target pages.
5. method as claimed in claim 4, it is characterised in that the object interface by calling is run in the browser Core, including:
View object in the kernel objects is loaded onto in view component, the view object is used to show the page object Face, the view component is used to cache the view object;
By calling the interface of the view component, the browser kernel is run.
6. a kind of page display device, it is characterised in that described device includes:
Acquisition module, the configuration information for obtaining target pages, the target pages are any in currently used application The page, the configuration information includes the information of the browser kernel used needed for the display target pages, in the browser Core be comprising multiple browser kernels in any one;
Creation module, for the configuration information obtained based on the acquisition module, is created and uses the browser kernel institute The kernel objects for needing;
Display module, for the kernel objects created based on the creation module, institute is shown by the browser kernel State target pages.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Judge module, for the mark based on the target pages, judges whether the kernel objects;
Trigger module, for when in the absence of the kernel objects, triggering, the creation module execution is described to be based on the configuration Information, the step of establishment using kernel objects needed for the browser kernel.
8. device as claimed in claim 7, it is characterised in that the judge module includes:
Inquiry submodule, the corresponding object interface of mark for whether there is the target pages from local search is described right As interface is used to indicate the kernel objects;
Determination sub-module, for when the corresponding object interface of the mark that there are the target pages, it is determined that there is the kernel Object.
9. device as claimed in claim 8, it is characterised in that the display module includes:
Submodule is called, the object interface for calling the kernel objects;
Operation submodule, for running the browser kernel by the object interface for calling submodule to call, with to institute Target pages are stated to be shown.
10. device as claimed in claim 9, it is characterised in that the operation submodule is used for:
View object in the kernel objects is loaded onto in view component, the view object is used to show the page object Face, the view component is used to cache the view object;
By calling the interface of the view component, the browser kernel is run.
11. a kind of page display devices, it is characterised in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
The configuration information of target pages is obtained, the target pages are any page in currently used application, the configuration Information includes the information of the browser kernel used needed for the display target pages, the browser kernel be comprising multiple Any one in browser kernel;
Based on the configuration information, create and use the kernel objects needed for the browser kernel;
Based on the kernel objects, the target pages are shown by the browser kernel.
CN201611094848.0A 2016-11-30 2016-11-30 Page display method and device Active CN106708967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611094848.0A CN106708967B (en) 2016-11-30 2016-11-30 Page display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611094848.0A CN106708967B (en) 2016-11-30 2016-11-30 Page display method and device

Publications (2)

Publication Number Publication Date
CN106708967A true CN106708967A (en) 2017-05-24
CN106708967B CN106708967B (en) 2020-06-02

Family

ID=58935502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611094848.0A Active CN106708967B (en) 2016-11-30 2016-11-30 Page display method and device

Country Status (1)

Country Link
CN (1) CN106708967B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011940A (en) * 2017-11-29 2018-05-08 广东欧珀移动通信有限公司 Handle the method, apparatus and computer-readable recording medium of configuration status change
CN109739647A (en) * 2018-12-28 2019-05-10 北京小米移动软件有限公司 A kind of data processing method and device
CN110247966A (en) * 2019-06-12 2019-09-17 深圳市酷开网络科技有限公司 Kernel creation method, smart television and computer readable storage medium
CN114518912A (en) * 2022-02-21 2022-05-20 度小满科技(北京)有限公司 Page loading method, device and equipment and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080270466A1 (en) * 2005-05-20 2008-10-30 International Business Machines Corporation Applying a Templated Business Graph to a Business Object
CN102254029A (en) * 2011-07-29 2011-11-23 株洲南车时代电气股份有限公司 View-based data access system and method
JP2012118963A (en) * 2010-12-02 2012-06-21 Sap Ag Data visualization by induction
CN102624891A (en) * 2012-03-08 2012-08-01 腾讯科技(深圳)有限公司 Method for switching kernel of browser and corresponding browser
CN102968341A (en) * 2012-10-25 2013-03-13 北京奇虎科技有限公司 Method and device for switching different versions of IE (internet explorer) kernels on basis of multi-kernel browser
CN103150312A (en) * 2011-12-23 2013-06-12 腾讯科技(深圳)有限公司 Method and terminal for opening external link in network application
CN103617079A (en) * 2011-09-28 2014-03-05 北京奇虎科技有限公司 Method and system for switching between IE6 kernel and novel IE kernel
CN103914204A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and device for displaying and switching views
CN104881318A (en) * 2015-05-07 2015-09-02 北京金山安全软件有限公司 Interface calling method and device and terminal
EP1164473B1 (en) * 2000-05-18 2016-10-26 Microsoft Technology Licensing, LLC State management of server-side control objects

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1164473B1 (en) * 2000-05-18 2016-10-26 Microsoft Technology Licensing, LLC State management of server-side control objects
US20080270466A1 (en) * 2005-05-20 2008-10-30 International Business Machines Corporation Applying a Templated Business Graph to a Business Object
JP2012118963A (en) * 2010-12-02 2012-06-21 Sap Ag Data visualization by induction
CN102254029A (en) * 2011-07-29 2011-11-23 株洲南车时代电气股份有限公司 View-based data access system and method
CN103617079A (en) * 2011-09-28 2014-03-05 北京奇虎科技有限公司 Method and system for switching between IE6 kernel and novel IE kernel
CN103150312A (en) * 2011-12-23 2013-06-12 腾讯科技(深圳)有限公司 Method and terminal for opening external link in network application
CN102624891A (en) * 2012-03-08 2012-08-01 腾讯科技(深圳)有限公司 Method for switching kernel of browser and corresponding browser
CN102968341A (en) * 2012-10-25 2013-03-13 北京奇虎科技有限公司 Method and device for switching different versions of IE (internet explorer) kernels on basis of multi-kernel browser
CN103914204A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and device for displaying and switching views
CN104881318A (en) * 2015-05-07 2015-09-02 北京金山安全软件有限公司 Interface calling method and device and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PENG LI ET AL: "Script InSight: Using Models to Explore JavaScript Code from the Browser View", 《INTERNATIONAL CONFERENCE ON WEB ENGINEERING 2009》 *
庄冠华 等: "对象视图模型及其创建和删除算法", 《计算机应用研究》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011940A (en) * 2017-11-29 2018-05-08 广东欧珀移动通信有限公司 Handle the method, apparatus and computer-readable recording medium of configuration status change
CN109739647A (en) * 2018-12-28 2019-05-10 北京小米移动软件有限公司 A kind of data processing method and device
CN110247966A (en) * 2019-06-12 2019-09-17 深圳市酷开网络科技有限公司 Kernel creation method, smart television and computer readable storage medium
CN110247966B (en) * 2019-06-12 2021-12-14 深圳市酷开网络科技股份有限公司 Kernel creation method, smart television and computer-readable storage medium
CN114518912A (en) * 2022-02-21 2022-05-20 度小满科技(北京)有限公司 Page loading method, device and equipment and readable storage medium
CN114518912B (en) * 2022-02-21 2023-04-25 度小满科技(北京)有限公司 Page loading method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN106708967B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN107943439B (en) Interface moving method and device, intelligent terminal, server and operating system
CN104159275B (en) Method for connecting network and device
CN107329743A (en) Methods of exhibiting, device and the storage medium of five application page
CN104778405B (en) Ad blocking method and device
CN106569800A (en) Front end interface generation method and apparatus
CN107066172A (en) The document transmission method and device of mobile terminal
CN107730847A (en) Sharing articles finding method and device
CN106126685A (en) Page loading method and device
CN106708967A (en) Page display method and device
CN106775248A (en) Push the methods of exhibiting and device of content
CN107193606A (en) Using distribution method and device
KR20200012699A (en) Product display method and device
CN106598677A (en) Installation package downloading method and device
CN103970841A (en) Label management method and device
CN107220059A (en) The display methods and device of application interface
CN106919334A (en) Application program access method and device
CN107193441A (en) Desktop suspension member method for previewing and device
CN107239351A (en) Method of attaching and device
CN106886357A (en) A kind of information deletion method and device
RU2734780C1 (en) Method of presenting information, device and storage medium for information therefor
CN104050236B (en) Web site contents update reminding method, server and client side
CN104063424B (en) Web page picture shows method and demonstration device
CN107463372A (en) The method for updating pages and device of a kind of data-driven
CN107450912A (en) Layout method, device and the terminal of the page
CN106775708A (en) The page layout switch control method and device of mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant