CN108664498A - A kind of display methods and terminal of web page contents - Google Patents

A kind of display methods and terminal of web page contents Download PDF

Info

Publication number
CN108664498A
CN108664498A CN201710198613.4A CN201710198613A CN108664498A CN 108664498 A CN108664498 A CN 108664498A CN 201710198613 A CN201710198613 A CN 201710198613A CN 108664498 A CN108664498 A CN 108664498A
Authority
CN
China
Prior art keywords
application
preset
web interface
interface
display
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
CN201710198613.4A
Other languages
Chinese (zh)
Other versions
CN108664498B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710198613.4A priority Critical patent/CN108664498B/en
Publication of CN108664498A publication Critical patent/CN108664498A/en
Application granted granted Critical
Publication of CN108664498B publication Critical patent/CN108664498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of display methods of web page contents, this method includes:When the first application starts, loads and show preset web interface;The first control operation is received in first display area at preset web interface;According to the correspondence and the first display area of preset action type and display area, determine that the action type of the first control operation, action type include:Application operating and web page operation, wherein application operating is to be operated to the options on application interface, and web page operation is to be operated to default display area;When the first control operation is application operating, the first application instruction is generated, and web page contents are shown on preset web interface according to the first application instruction control;When the first control operation is web page operation, the options on web interface corresponding with default display area is shown on preset web interface.The embodiment of the present invention further simultaneously discloses a kind of terminal.

Description

A kind of display methods and terminal of web page contents
Technical field
The present invention relates to the webpage in internet arena realize technology more particularly to a kind of web page contents display methods and Terminal.
Background technology
Under the fast-changing environment of mobile Internet, application program (Native App, Native in terminal Application the ability of exploitation), publication cost and iteratively faster also is occurring quickly to change, and terminal can be real Existing function is also more and more.
Currently, the realization of some functions of terminal is realized by the application program (application software) that third party develops , for example, user can carry out the browsing of caricature by the caricature class application software installed in terminal.But using third party When the application program of exploitation realizes some function, the type for the terminal held due to different user or the difference of classification, then, needle The case where same application program is installed to the terminal of different hardware size, it is possible that being realized in application program corresponding diligent The case where resource of energy needs to carry out different processing, to be adapted to different terminals.For example, that is installed in user's using terminal is unrestrained When drawing the browsing of class application software progress caricature, hardware size when terminal is mobile phone and terminal is tablet is different, And caricature, in the form that the way of realization of caricature class application software is picture compression packet, in this case, user is using caricature When class application software carries out the browsing of caricature, the phase for reacquiring picture resource and progress for each terminal is needed The processing for the size answered can be just shown in terminal, and then, the display parameters for causing display interface in this way cannot be quickly through Identical picture realizes control, but to reacquire picture resource to realize, so as to cause the effect of function of application is realized Rate is affected.
Invention content
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of display methods of web page contents and terminal, It can avoid the different disposal of resource in terminal using the upper display for realizing web page contents, improve realization application program The efficiency of function.
The technical proposal of the invention is realized in this way:
An embodiment of the present invention provides a kind of display methods of web page contents, including:
When the first application starts, loads and show preset web interface;
The first control operation is received in first display area at the preset web interface;
According to the correspondence and first display area of preset action type and display area, described first is determined The action type of operation is controlled, the action type includes:Application operating and web page operation, wherein the application operating is pair Options on application interface is operated, and the web page operation is to be operated to default display area;
When the first control operation is the application operating, the first application instruction is generated, and answer according to described first With instruction control web page contents are shown on the preset web interface;
When the first control operation is the web page operation, shown on the preset web interface and described default Options on the corresponding web interface in display area.
An embodiment of the present invention provides a kind of terminals, including:
Loading unit, for when the first application starts, loading preset web interface;
Display unit, for showing the preset web interface;
Receiving unit, for receiving the first control operation in first display area at the preset web interface;
Determination unit, for the correspondence and first viewing area according to preset action type and display area Domain determines that the action type of the first control operation, the action type include:Application operating and web page operation, wherein institute It is to be operated to the options on application interface to state application operating, and the web page operation is to be grasped to default display area Make;
Generation unit, for when the first control operation is the application operating, generating the first application instruction,
The display unit is additionally operable to show net on the preset web interface according to the first application instruction control Page content;And when it is described first control operation be the web page operation when, on the preset web interface display with it is described Options on the default corresponding web interface in display area.
The embodiment of the present invention provides a kind of terminal simultaneously, including:Receiver, display, processor and storage are State processor-executable instruction, the receiver reception data and the storage medium of data that shows of the display, institute It states receiver and the display executes operation dependent on the processor, when described instruction is executed by processor, execute such as Lower operation:
The processor, for when the first application starts, loading preset web interface;
The display, for showing the preset web interface;
The receiver, for receiving the first control operation in first display area at the preset web interface;
The processor is additionally operable to the correspondence according to preset action type and display area and first display Region determines that the action type of the first control operation, the action type include:Application operating and web page operation, wherein The application operating is to be operated to the options on application interface, and the web page operation is to be grasped to default display area Make;And when the first control operation is the application operating, generate the first application instruction;
The display is additionally operable to show webpage on the preset web interface according to the first application instruction control Content;And when it is described first control operation be the web page operation when, on the preset web interface display with it is described pre- If the options on the corresponding web interface in display area.
An embodiment of the present invention provides a kind of display methods of web page contents and terminals, when the first application starts, the end End loads and shows preset web interface;Terminal receives the first control operation in first display area at preset web interface;Eventually End determines the operation of the first control operation according to the correspondence and the first display area of preset action type and display area Type, action type include:Application operating and web page operation, wherein application operating is to be carried out to the options on application interface Operation, web page operation are to be operated to default display area;When the first control operation is application operating, terminal generates first Using instruction, and according to the first application instruction control web page contents are shown on preset web interface;When the first control operation is When web page operation, terminal shows the options on web interface corresponding with default display area on preset web interface.It adopts It, can be by receiving on the preset web interface that sets after starting due to the first application with above-mentioned technic relization scheme First control operation shows web page contents on the first upper realization web interface of application, that is to say, that the first application in terminal When realizing a certain function, the function of the first application can be completed by preset web interface display web page contents, and in webpage The source of appearance is consistent, and need not be handled, accordingly even when realizing the function of the first application in different terminals, is used The display methods for the web page contents that the embodiment of the present invention proposes can also use same web page content sources quickly to realize first The correlation function of application, is realized again without being reacquired to web page resources, realizes that first applies work(to improve The efficiency of energy.
Description of the drawings
Fig. 1 is a kind of Organization Chart of the display system of web page contents provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart one of the display methods of web page contents provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram one at illustrative preset web interface provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram two at illustrative preset web interface provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram three at illustrative preset web interface provided in an embodiment of the present invention;
Fig. 6 is the flow for displaying of illustrative web page contents provided in an embodiment of the present invention;
Fig. 7 is a kind of flowchart 2 of the display methods of web page contents provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram four at illustrative preset web interface provided in an embodiment of the present invention;
Fig. 9 is a kind of flow chart 3 of the display methods of web page contents provided in an embodiment of the present invention;
Figure 10 is the comparison diagram of illustrative tablet provided in an embodiment of the present invention and the display picture in mobile phone;
Figure 11 is a kind of flow chart four of the display methods of web page contents provided in an embodiment of the present invention;
Figure 12 is the Organization Chart of application container provided in an embodiment of the present invention;
Figure 13 is a kind of flow chart five of the display methods of web page contents provided in an embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram one of terminal provided in an embodiment of the present invention;
Figure 15 is a kind of structural schematic diagram two of terminal provided in an embodiment of the present invention;
Figure 16 is a kind of structural schematic diagram three of terminal provided in an embodiment of the present invention;
Figure 17 is a kind of structural schematic diagram four of terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes.
Fig. 1 is the Organization Chart of the display system of web page contents, and the embodiment of the present invention is realized in webpage based on the Organization Chart The display methods of appearance.Fig. 1 includes:One or more servers 2, terminal 1 and network 3, network 3 include router, net Network entity is closed etc., is not embodied in Fig. 1.Terminal 1 is carried out with server 2 in webpage by cable network or wireless network The interaction of appearance, so that from terminal 1 web page contents can be obtained from server 2, to realize the aobvious of web page contents on the terminal 1 Show.The type of terminal 1 is as shown in Figure 1, including the types such as mobile phone, tablet computer or PDA, desktop computer, PC machine, intelligence TV.Wherein, The first application needed for various users is installed in terminal, for example has application (such as Video Applications, the audio broadcasting of amusement function Using game application, ocr software, chat application, the application of animation class and live streaming application), for another example have the application of service function (such as digital map navigation application purchases by group application, camera application).
Based on above-mentioned framework, following each embodiments are realized.
Embodiment one
An embodiment of the present invention provides a kind of display methods of web page contents, as shown in Fig. 2, this method may include:
S101, when first application start when, load and show preset web interface.
The application scenarios of the embodiment of the present invention can be when some application function is realized in the first application on by terminal the The mode of the interface display of some application function of one application is web page contents.
Optionally, the first application in the embodiment of the present invention can be arranged in terminal, which can be to be equipped with The intelligent electronic device of application specific functionality, for example, smart mobile phone, smart television and tablet computer etc., the embodiment of the present invention is not It is restricted, the type embodiment of the present invention of specific application specific functionality is not also restricted, for example, animation class application etc..
In embodiments of the present invention, it when the desired using terminal of user realizes some application function, is answered due to working as first When with starting, terminal can load and show preset web interface according to pre-setting for some application function is realized, with Realization shows web page contents on preset web interface.
Preferably, in embodiments of the present invention, the first application can be that picture shows class application, for example, animation class application Deng the embodiment of the present invention is not restricted.
It should be noted that in embodiments of the present invention, it can be by increasing an application container come real in the first application The display of existing web page contents, is wherein embedded in Web page-container, preset web page contents is set in Web page-container in application container, In this way when the first application starts, it can be loaded in the first application of terminal and show the first preset web.
Specifically, in embodiments of the present invention, terminal can load preset web interface according to preset webpage parameter. Wherein, set in advance when preset webpage parameter is also this setting Web page-container, which can be first Or original upload preset web interface, can also be each load preset web interface, it specifically can be according to actually setting Meter is realized that the present invention is not restricted.
Optionally, preset webpage parameter can be the relevant parameter of default network address or preset web resource, and the present invention is real Example is applied not to be restricted.
Illustratively, if the first application is animation class application, terminal can load preset web circle according to default network address Face, and show the preset web interface, the content at the preset web interface can be cartoon face.
S102, the first control operation is received in first display area at preset web interface.
After showing preset web interface in first application of terminal, due to user it can be seen that on preset web interface Feature operation button, therefore, user can pass through Trigger Function operation button and realize preset web interface web page content Display variation, in this way, terminal is exactly the had received based on user behavior in first display area at preset web interface One control operation.
Wherein, display area is the region of the display picture on the display screen of terminal, and the first display area is that user exists The region of function button triggering is carried out on the preset web interface that terminal is shown, that is, triggers the region of the first control operation.
Optionally, the first control operation in the embodiment of the present invention can be for in the webpage shown on preset web interface Hold the operation that is controlled, for example, page turning, share, close, or the operations such as options on display web interface.
It should be noted that in embodiments of the present invention, the triggering way of realization of the first control operation does not limit specifically System, for example, the first control operation can be realized by the feature operation button on triggering preset web interface, or by touching It sends out the preset particular display area on preset web interface and realizes, the embodiment of the present invention does not limit the first control operation Triggering form.
Here, it when the first control operation is realized by the preset particular display area triggered on preset web interface, touches The mode of preset particular display area on the preset web interface of hair can be single-point triggering or gesture operation, wherein hand Gesture operation can be preset certain gestures, and different gestures can correspond to different functions, may be implemented for example, horizontally slipping Page turn over operation, slides up and down and switching of chapters and sections etc. may be implemented, and the embodiment of the present invention is not restricted.
Illustratively, the caricature class being illustrated in figure 3 on mobile phone applies upper preset web interface schematic diagram, and user is pre- If the display area 1 on web interface is triggered and (has received the first control operation in display area 1).
S103, correspondence and the first display area according to preset action type and display area, determine the first control The action type of operation is made, which includes:Application operating and web page operation, wherein application operating is to application interface On options operated, web page operation is to be operated to default display area.
In the embodiment of the present invention, after terminal receives the first control operation in first display area at preset web interface, Due to being previously stored the correspondence of preset action type and real region in terminal, then being determined in the first display area In the case of, terminal can determine the action type of the first control operation received in the first display area.The present invention is real It applies in example, due to realizing that the mode of some application function is embedded web page container in application container in the first application of terminal, because This, when some application function is realized in first application, the action type of the operation triggered on preset web interface can be with Including:Application operating and web page operation, wherein application operating is to be operated to the options on application interface, web page operation To be operated to default display area.
It should be noted that realizing that first answers by the way of embedded web page container in application container in the embodiment of the present invention May include application interface on the preset web interface of the first application of terminal when with function (some i.e. above-mentioned application function) On options, the options on the application interface is the first of setting to control and press in addition to show content other than on preset web interface Key, first control button be realized by application container with first apply matched applications keys, realize to first application The button that present displayed content is controlled, that is to say, that the first operation button is first using corresponding button.
Also, in embodiments of the present invention, since terminal can preset net by preset web interface display web page contents Page boundary face can be provided with the options on web interface when realizing, you can the control item or press that control web page contents are shown Key, but shown in preset web interface in embodiments of the present invention have web page contents and application it is corresponding first control by Key, the options on web interface can be user can just be shown by triggering the default display area on display area 's.Wherein, the setting for presetting display area can just be set in the research and development of early period, can also be by being used in setting option What the selection at family also confirmed, the embodiment of the present invention is not restricted.
In this case, terminal is when the first control operation for receiving the first display area, the first control operation The operation by triggering the first control button on earth, or the operation that the default display area of triggering just has, i.e., the first control behaviour What the action type of work is, terminal is needed first to be judged to obtain.
Further, in embodiments of the present invention, since preset display area can be by the choosing of user in setting option It selects and also confirms, then the specific gesture motion that display area is preset in triggering can also be voluntarily arranged in user in setting option, show Example property, as shown in figure 4, can be set in setting option (button of the first operation button) of the user on preset web interface It sets triggering and presets the triggering gesture of display area (display area 1), such as click.
S104, when first control operation be application operating when, generate first application instruction, and according to this first application instruct Control shows web page contents on preset web interface.
Terminal according to preset action type and display area correspondence and the first display area, determine the first control After the action type for making operation, since action type may include two kinds, one kind is application operating, and one kind is web page operation, Therefore, when the first control operation is application operating, terminal be to control web page contents to being shown on preset web interface into Row operation.In embodiments of the present invention, the communication between application container and Web page-container be can be by webpage bridge joint come real Existing, wherein application container can generate corresponding with the first control operation according to monitoring users event (the first control operates) First application instruction, the change that the web page contents shown on preset web interface are controlled according to the first application instruction by terminal Change.
It should be noted that the mode that application container transmits order (application instruction) to Web page-container is:It directly will order It is configured to (NSString*) of the executable Javascript code calls by WebView stringByEvaluatingJavaScriptFromString:(NSString*) method of script is realized, application container Transmitting one section to WebView needs the JavaScript code executed finally to obtain implementing result.
For example, the first application instruction is (options on application interface) when navigating to certain one page, realize as follows:
**/
Function mttnavigatetopage (pageindex, deviceinfo);
It should be noted that the interaction for the information that detailed application container is realized with Web page-container will be in subsequent embodiment In be described in detail.
S105, when first control operation be web page operation when, on preset web interface display with default display area pair The options on web interface answered.
Terminal according to preset action type and display area correspondence and the first display area, determine the first control After the action type for making operation, since action type may include two kinds, one kind is application operating, and one kind is web page operation, Therefore, when the first control operation is web page operation, terminal is the options on web interface to be shown to realize to presetting net The control operation of the web page contents shown on page boundary face.In embodiments of the present invention, just due to preset web interface display It is web page contents, therefore, user only needs, according to the gesture or action that preset, to be triggered in default display area, just It can be shown to carry out the options on the web interface of the feature operation of web page contents on preset web interface, that is, work as When first control operation is web page operation, terminal can show webpage corresponding with default display area on preset web interface Options on interface.
Illustratively, as shown in figure 5, display area 1 (default viewing area of the user on the preset web interface of mobile phone Domain) operation (web page operation) clicked, in this way, mobile phone is again aobvious on the web page contents that preset web interface is being shown Corresponding with display area 1 page turning the mode option (for example, lateral page turning and slide up and down page turning etc.) is shown, i.e., on web interface Options.
It should be noted that Web page-container to application container transmit message be messaging protocol form, important is by The src values of iFrame express different message.
Specifically, as shown in fig. 6, Web page-container to application container transmit message mode be iFrame modes, pass through net The page page loads a hiding iFrame, reaches browser by setting preset web parameter (such as web page address) to iFrame Layer (application obscure portions for the application container that i.e. we say) intercepts preset web parameter using shouldStartLoad requesting methods, The preset web parameter is parsed, browser layer can take this preset web parameter to reach hair by the readjustment of webView The function of message.
Wherein, code sample is as follows:
Illustratively, display area among the page is clicked, the second application instruction popup menu of terminal is (on web interface Options)/* *
* page middle section, terminal popup menu are clicked
**/
mtt:comic:taponmiddlearea
Wherein, the src of iFrame is mtt at this time:comic:taponmiddlearea.
It is understood that after starting due to the first application, it can be by being received on the preset web interface that sets First control operation first application upper realization web interface on show web page contents, that is to say, that first in terminal answers , can be by preset web interface display web page contents when used in a certain function of realization, the function of the first application of completion, and webpage The source of content is consistent, and need not be handled, accordingly even when realizing the function of the first application in different terminals, is adopted The display methods of the web page contents proposed with the embodiment of the present invention can also use same web page content sources quickly to realize the The correlation function of one application, is realized again without being reacquired to web page resources, and the first application is realized to improve The efficiency of function
Further, as shown in fig. 7, after S105, the display methods of web page contents provided in an embodiment of the present invention, also Including:S106-S107.It is as follows:
S106, corresponding second control of options received on triggering web interface operate.
S107, response the second control operation generate the second application instruction, and according to the second application instruction control default Web page contents are shown on web interface.
After terminal shows the options on web interface corresponding with default display area on preset web interface, by In there is the options on web interface on preset web interface, therefore, user can to the options on web interface into Row operation, i.e. terminal receive the corresponding second control operation of the options on triggering web interface based on user behavior, to realize The operation that web page contents are shown.
In embodiments of the present invention, terminal receives the options corresponding second on triggering web interface based on user behavior Control operation responds the second control operation, and response at this moment is realized on Web page-container, and then, webpage holds Device bridges notice application container by webpage will carry out the respective handling of the second control operation, in this way, the application container of terminal is rung It answers the second control to operate, generates the second application instruction, such terminal can be according to the second application instruction control in default net Page boundary shows web page contents on face.
It should be noted that the options on triggering web interface in the embodiment of the present invention correspond to the second control operation can be with It is operated for the control consistent with the operation in the options on triggering web interface, for example, the options on web interface is a left side Right page turning slides left and right the function for the page turning that can be achieved with page up or lower one page in display area, therefore, work as terminal Trigger (it can be appreciated that choosing) web interface on left and right page turning after, user preset web interface display area into When the right sliding of row (triggering the corresponding second control operation of options on web interface), terminal just respond and horizontally slips (vacation If the page turning of corresponding page up), the second application instruction is generated, and according to the second application instruction control on preset web interface Show that web page contents carry out the page processing of page up.In the embodiment of the present invention, the correspondence of gesture and function is (for example, left The page turning of the corresponding lower one page of sliding) it is not specifically limited.
In this case, when the options on web interface is page turning pattern, when user clicks interpretive scheme, the second application Instruction is change page turning pattern, and the realization of specific second application instruction can be:
**/
//function mttchangeviewmode(viewmode,deviceinfo);
/**
It should be noted that terminal control shows that the specific implementation of web page contents will see the second control on preset web interface What the function of system operation is, terminal is corresponding with the second control operation according to the display of the second application instruction control web page contents Function.
Illustratively, as shown in figure 8, display area 1 (default viewing area of the user on the preset web interface of mobile phone Domain) operation (web page operation) clicked, in this way, mobile phone is again aobvious on the web page contents that preset web interface is being shown Corresponding with display area 1 page turning the mode option (for example, lateral page turning and slide up and down page turning etc.) is shown, i.e., on web interface Options.Then, user triggers lateral page turning, as long as this shows that user at preset web interface laterally slide It is dynamic to carry out page turning, if specifically, being had received on mobile phone based on user behavior transverse direction corresponding with lateral page turning When the operation of sliding or gesture (the second control operation), which can generate instruction and carry out page-turning instruction (application instruction), finally, Mobile phone will realize that web page contents show down the content of one page or page up according to page-turning instruction.
Further, as shown in Fig. 9 and Fig. 7, after S104 or S107, web page contents provided in an embodiment of the present invention Display methods further includes:S108.It is as follows:
S108, the display record for preserving preset web interface web page content.
In embodiments of the present invention, after terminal to the display of web page contents once carried out control operation or processing, net The display of page content is just changed, therefore, in order to have company when next time carries out the display of web page contents again Continuous property, after the control operation carried out every time to web page contents, terminal can preserve preset web interface web page content Display record.
For example, when the page of web page contents changes, can disappear to application container transmission according to following several situations Breath, to realize the preservation of the display record to web page contents.It is illustrated by taking the application of caricature class as an example, it is as follows:
/**
* page previous section is clicked, no matter in that mode, mtt will be sent out after the variation of caricature number of pages:comci: Didscrolltopage, it is as follows:
**/
mtt:comic:taponheadarea
Alternatively,
/**
* page aft section is clicked, no matter in that mode, mtt will be sent out after the variation of caricature number of pages:comci: Didscrolltopage, it is as follows:
**/
mtt:comic:tapontailarea
Specifically, in the embodiment of the present invention, terminal preserves the process of the display record of preset web interface web page content Can be the record etc. for preserving the display page of current web page content, perhaps carrying out label in display, the embodiment of the present invention is not The specific implementation of aobvious number record of limitation.
Further, when the next time first application starts, if terminal preserves webpage on preset web interface If the display record of content, then terminal can be recorded according to display, load preset web interface;Then, terminal Display records corresponding web-based history content with display on preset web interface.
It should be noted that in embodiments of the present invention, it is during terminal loads preset web interface it is contemplated that aobvious The case where showing record, meanwhile, which also needs to obtain the relevant parameter information of terminal to assist realizing default net in load The realization in page boundary face, display record is one of those, i.e., one can be passed to when terminal loads preset web interface every time The display of secondary reading records, current pattern, the parameter informations such as facility information;For example, terminal loads preset web interface every time When can be passed to the display record of last reading, the way of realization of current pattern, the parameter informations such as facility information can be:
**/
function mttinitpage(pageindex,viewmode,deviceinfo);
/**
Illustratively, when the first application starts, terminal can realize that load is default according to following realization method The process of web interface.It is as follows:
/**
* parameter information explanation
*pageindex:Display record eg:0-100
*videwmode:Reading model (0 sideslip pattern 1 erects slip form type)
*deviceinfo:Facility information, json objects, screen width width, screen height height, terminal versions Version, terminal token token (can identify be Web page-container hair message)
**
Wherein, above-mentioned reading model is exactly one kind in the options on web interface, characterizes the option of reading model.
It is understood that in each terminal, the process of the load at preset web interface is all that can get Directly carry out to realize the adaptation display of different terminals after the parameter information of terminal using the web page resources of identical source. That is, first in terminal applies when realizing a certain function, it can be complete by preset web interface display web page contents At the function of the first application, and the source of web page contents is consistent, and need not be handled, accordingly even when in different terminals The upper function of realizing the first application, the display methods of the web page contents proposed using the embodiment of the present invention can also use identical net Page content sources quickly realize the correlation function of the first application, are realized again without being reacquired to web page resources, To improve the efficiency for realizing the first application function.
Illustratively, shown in Figure 10, respectively terminal is mobile phone and when terminal is tablet, using identical web page source When, show the schematic diagram of web page contents.It can be seen that from the comparison in Figure 10:It is answered using caricature class in mobile phone and on tablet When with the web page contents for showing identical web page source, the effect for carrying out load preset web interface, efficiency can be directly reached It is very high.
Embodiment two
Based on embodiment one, an embodiment of the present invention provides a kind of display methods of web page contents, as shown in figure 11, the party The implementation of method is to be embedded in Web page-container in the application container in the first application based on terminal, specifically before S101, this Inventive embodiments create application container and the method for Web page-container may include:S201-202.It is as follows:
S201, application container, the options being provided in application container on application interface are created.
S202, Web page-container is created in application container, and connect the Web page-container and the webpage bridge joint of application container, it should The options being provided in Web page-container on web interface and preset web interface;Wherein, webpage bridge joint is answered for realizing triggering With the options on interface to the display control of the display content at preset web interface, and realize the choosing on triggering web interface Select display control of the item to the display content at preset web interface.
The embodiment of the present invention realizes that the premise of the display methods of web page contents is to exist to be embedded in Web page-container in terminal Application container.
It should be noted that application container, i.e. native containers are a kind of controllers of terminal applies, which is responsible for Show specific view, and controls the displaying of data and respond the event (such as various operations of user) of user.Specifically, just It is application container displayed web page container i.e. web container (view), shows corresponding web page contents in web container, and respond browsing The customer incident triggered in terminal during web page contents.Web container is the container that web page contents are shown, is responsible for load and displaying Html web page content carries the rendering of view object and basic browse operation, and the order by receiving native containers The history that redirects of the view object in web page contents, the work(such as caricature page turning and switching page turning pattern may be implemented in (application instruction) Can, the embodiment of the present invention is not restricted.
Optionally, in the embodiment of the present invention, in the web container built in terminal use, Android uses webview, iOS Use UIWebview (ios7 and following) and WKWebview (ios8 or more).
In embodiments of the present invention, terminal should on first have to create have application container, then, be arranged in application container There is an options on application interface, that is, corresponding first work(of application being arranged on preset web interface when application It can button.
After terminal creates application container, which is to create Web page-container in application container and connect the Web page-container It is bridged with the webpage of application container, wherein options and preset web circle being provided in the Web page-container on web interface Face;Wherein, display of the webpage bridge joint for realizing the options on triggering application interface to the display content at preset web interface Control, and realize the display control for triggering the options on web interface to the display content at preset web interface.
Specifically, the Organization Chart based on application container as shown in figure 12 it is found that first apply corresponding native containers, It is built in the first application, is a component part of native applications.Message bridges:It is responsible between native containers and web container Message transmission, native containers can start user command (i.e. application instruction) to arrive web container end, and web container also can be by user's thing Part (control operation) is transmitted to native containers.Web container:For carrying and showing the subject content of application, receive user's Control operation, and show that some basic functions (options on web interface) of application are slided or shown and is different such as page turning Browse mode etc., the embodiment of the present invention is not restricted, and html web page content (i.e. preset web circle is additionally provided in web container Face), the html web page that html web page content refers to the accession to, specific appearance form is the web page resources that terminal is obtained from web server (i.e. HTML byte streams, it then follows the content of html coded formats).Wherein, customer incident refers to operation of the user in web container (the second control operation), for example slide, click the operations such as the page or long-press.User command is to be sent to web container from the ends native Application instruction, for example to jump to certain one page, start the different viewing modes etc. of web container.
Illustratively, the specific implementation form of native containers, uses respectively under android system and iOS system The derived class of ActiveView and UIViewController, specifically includes:Master controller (for example, MttCartoonReaderViewController), view object (for example, MttCartoonReaderMainView), web wash with watercolours Device (such as MttCartoonReaderBaseWebView), webpage bridge joint (such as MttWebViewBridge) and application is contaminated to render Device (such as MttCartoonReaderQQWebView or MttCartoonReaderKuaiKanWebView).Wherein, master controller For showing web page contents, consigns to native application integration as container and use, the object composition one The view object of MttCartoonReaderMainView and the subclass object of web renderers, and basic interface control, Including operating options, options is arranged and sharing options etc., view object is used to characterize the parameter information used in view, Web renderers are abstract base class for showing html files, and specific implementation is determined by different application platforms, and webpage bridge joint is used for The master controller and the direct message transmission of web page for being responsible for application are transmitted with order, for example, The message that MttCartoonReaderQQWebView or MttCartoonReaderKuaiKanWebView is generated passes through the object Master controller is passed to, the order of master controller is sent to the webpage of web renderers by such.
Illustratively, the framework based on Figure 12, the display side of web page contents provided in an embodiment of the present invention under simple description Method is illustrated so that the first application is the application of caricature class as an example, and the flow for displaying of web page contents starts, and the first application initialization is unrestrained Draw the web container and web bridge (webpage bridge joint) of load;Native containers receive the customer incident that web bridge are transmitted; Web bridge are responsible for transmitting the message between native containers and web container;Web container shows caricature (preset web interface On web page contents), and receive the command (application instruction) that web bridge are transmitted, application instruction user's registration user The readjustment of event, such as user click on the left of caricature, and load prevpage is made in right side, intermediate region, and the next page shows menu Operation;Wherein, the display content (web page contents) of caricature, mainly HTML content.
Illustratively, native containers initialization web container and the web bridge for communication;Web container passes through net Network loads the URL of a caricature, starts to show caricature content;The history that native containers are watched according to user be (last time viewing Position) mttinitpage orders are sent, web container navigates to the specific page;Navigation bar (application of the user in native containers Options on interface) it is inner selection jump to certain page;Native containers are sent according to the number of pages that user selects Mttnavigatetopage orders, web container navigate to the specific page;The page receives user click event in web container, Native containers receive the event by web bridge, show corresponding menu bar (options on web interface);With When family page in web container slides into last page or first page, web container sends user by web bridge and controls Native containers are arrived in system operation, and native containers navigate to next chapter or web container by web bridge to application container Corresponding message notifying (for example, one page etc. is unable to the prompt of executive control operation to the end).
Illustratively, web container corresponds to being embodied as message notifying by web bridge to application container:
Further, the application container and the method for Web page-container provided in an embodiment of the present invention of creating can be answered as one With plug-in unit, application plug-in is arranged on the position of the bottom layer realization for the primary view applied with any one, so that it may at this Any one shows using the web page contents on upper realization preset web interface, that is to say, that the application plug-in can be It is achieved that also, for different web page contents in the access of the web page contents of compatible different application platforms on framework Source need to only be replaced i.e. replaceable, and web page contents in the inlet of the preset web parameter of the setting at preset web interface Html page need not then carry out any processing.
It is understood that embedded web page container in the application container that the embodiment of the present invention is realized, and held by application Device realizes that the entire realization device of the function control on web container individually arbitrarily can apply upper, realization web page contents by framework Display, being inserted into application for such plug-in type can realize the method for corresponding function, greatly reduce different application Between need to re-start the efficiency of the exploitation of identical function, and be directed to different terminals, be not required to carry out web page contents Html page any processing so that web page resources used on different terminals compatibility preferably.
Embodiment three
Based on embodiment two, an embodiment of the present invention provides a kind of display methods of web page contents, as shown in figure 13, the party Method includes:
S301, it is loaded in the primary empty view of the first application and presets Entry Interface.
S302, third control operation is received in default Entry Interface.
S303, response third control operation, load preset web interface and show.
Since establishment application container provided in an embodiment of the present invention and the method for Web page-container can be used as an application to insert Application plug-in is arranged on the position of the bottom layer realization for the primary view applied with any one part, so that it may with arbitrary at this Showing for the web page contents on preset web interface is realized in one application, that is to say, that the application plug-in can be in framework In the access of the web page contents of upper compatible different application platforms it is achieved that also, for the source of different web page contents I.e. replaceable, and web page contents only need to be replaced in the inlet of the preset web parameter of the setting at preset web interface Html page need not then carry out any processing.Therefore, terminal can load default in the primary empty view of the first application Entry Interface, the default Entry Interface are the connection interface of above application plug-in unit and the first application, and such terminal is in default entrance Interface receives third control and operates, the function that third control operation is shown for starting web page contents, that is, the process initialized, It is equivalent to the effect that the first application above-mentioned starts, then, terminal responds third control operation, starts to load preset web interface And it shows.
Specifically, the process of terminal loads preset web interface and display and the description process one in the S101 of embodiment one It causes, details are not described herein again.
S304, the first control operation is received in first display area at preset web interface.
Terminal receives the process and embodiment one of the first control operation in first display area at preset web interface Description process in S102 is consistent, and details are not described herein again.
S305, correspondence and the first display area according to preset action type and display area, determine the first control The action type of operation is made, which includes:Application operating and web page operation, wherein application operating is to application interface On options operated, web page operation is to be operated to default display area.
Terminal determines the first control according to the correspondence and the first display area of preset action type and display area The process of the action type of operation is consistent with the description process in the S103 of embodiment one, and details are not described herein again.
S306, when first control operation be application operating when, generate first application instruction, and according to this first application instruct Control shows web page contents on preset web interface.
When the first control operation is application operating, terminal generates the first application instruction, and is instructed according to first application The process of action type and the description process in the S104 of embodiment one that control shows web page contents on preset web interface Unanimously, details are not described herein again.
S307, when first control operation be web page operation when, on preset web interface display with default display area pair The options on web interface answered.
When the first control operation is web page operation, terminal shows corresponding with default display area on preset web interface Web interface on options action type process it is consistent with the description process in the S105 of embodiment one, herein no longer It repeats.
It is understood that after starting due to the first application, it can be by being received on the preset web interface that sets First control operation first application upper realization web interface on show web page contents, that is to say, that first in terminal answers , can be by preset web interface display web page contents when used in a certain function of realization, the function of the first application of completion, and webpage The source of content is consistent, and need not be handled, accordingly even when realizing the function of the first application in different terminals, is adopted The display methods of the web page contents proposed with the embodiment of the present invention can also use same web page content sources quickly to realize the The correlation function of one application, is realized again without being reacquired to web page resources, and the first application is realized to improve The efficiency of function.
Example IV
As shown in figure 14, an embodiment of the present invention provides a kind of terminal 1, which may include:
Loading unit 10, for when the first application starts, loading preset web interface;
Display unit 11, for showing the preset web interface;
Receiving unit 12, for receiving the first control operation in first display area at the preset web interface;
Determination unit 13, for the correspondence and first viewing area according to preset action type and display area Domain determines that the action type of the first control operation, the action type include:Application operating and web page operation, wherein institute It is to be operated to the options on application interface to state application operating, and the web page operation is to be grasped to default display area Make;
Generation unit 14, for when the first control operation is the application operating, generating the first application instruction;
The display unit 11 is additionally operable to be shown on the preset web interface according to the first application instruction control Web page contents;And when the first control operation is the web page operation, display and institute on the preset web interface State the options on the corresponding web interface in default display area.
Optionally, the receiving unit 12 is additionally operable to the display on the preset web interface and is shown with described preset After showing the options on the corresponding web interface in region, corresponding second control of the options triggered on the web interface is received System operation.
The generation unit 14 is additionally operable to respond the second control operation, generates the second application instruction.
The display unit 11 is additionally operable to be shown on the preset web interface according to the second application instruction control Web page contents.
Optionally, it is based on Figure 14, as shown in figure 15, the terminal 1 further includes:Storage unit 15.
The storage unit 15 is shown according to the first application instruction control on the preset web interface for described Show after web page contents or described web page contents is shown on the preset web interface according to the second application instruction control Later, the display record of preset web interface web page content is preserved.
Optionally, the loading unit 10 is specifically used for being recorded according to the display, loads the preset web interface.
The display unit 11 records corresponding go through specifically for being shown on the preset web interface with the display History Web content.
Optionally, it is based on Figure 14, as shown in figure 16, the terminal 1 further includes:Creating unit 16.
The creating unit 16, it is described to answer for before the load and showing preset web interface, creating application container With the options being provided in container on the application interface;And Web page-container is created in the application container, and connection The Web page-container and the webpage of the application container bridge, the selection being provided in the Web page-container on the web interface Item and the preset web interface;Wherein, the webpage bridges for realizing the options triggered on the application interface to institute The display control of the display content at preset web interface is stated, and realization triggers the options on the web interface to described pre- If the display control of the display content of web interface.
Optionally, the loading unit 10, before being additionally operable to the load and showing preset web interface, described first It is loaded in the primary empty view of application and presets Entry Interface.
The receiving unit 12 is additionally operable to receive third control operation in the default Entry Interface.
Optionally, the loading unit 10 is specifically used for response third control operation, loads the preset web interface.
Optionally, the loading unit 10 loads preset web circle also particularly useful for according to preset webpage parameter Face.
Optionally, the terminal in the embodiment of the present invention can be to be equipped with the intelligent electronic device of the first application function, example Such as, smart mobile phone, smart television and tablet computer etc., the embodiment of the present invention is not restricted.
It is understood that after starting due to the first application, it can be by being received on the preset web interface that sets First control operation first application upper realization web interface on show web page contents, that is to say, that first in terminal answers , can be by preset web interface display web page contents when used in a certain function of realization, the function of the first application of completion, and webpage The source of content is consistent, and need not be handled, accordingly even when realizing the function of the first application in different terminals, is adopted The display methods of the web page contents proposed with the embodiment of the present invention can also use same web page content sources quickly to realize the The correlation function of one application, is realized again without being reacquired to web page resources, and the first application is realized to improve The efficiency of function.
Embodiment five
As shown in figure 17, it is based on example IV, in practical applications, above-mentioned loading unit 10, determination unit 13 generate single Member 14 and creating unit 16 can be realized by the processor 17 on server, specially central processing unit (CPU, Central Processing Unit), microprocessor (MPU, Micro Processor Unit), digital signal processor (DSP, Digital Signal Processing/Processor) or field programmable gate array (FPGA, Field Programmable Gate Array) etc. realizations, receiving unit 12 realize that display unit 11 is by display 19 by receiver 18 It realizes, storage unit 15 is realized by storage medium 110, the storage medium 110, receiver 18 and display 19, which can pass through, is System bus is connect with processor 17, wherein for storage medium 110 for storing executable program code, which includes meter Calculation machine operational order, storage medium 110 may include high-speed random access memory (RAM, Random Access Memory), May also further include nonvolatile memory, for example, at least one magnetic disk storage.
Specifically, an embodiment of the present invention provides a kind of terminal, which may include:
The processor 17, for when the first application starts, loading preset web interface;
The display 19, for showing the preset web interface;
The receiver 18, for receiving the first control operation in first display area at the preset web interface;
The processor 17 is additionally operable to the correspondence according to preset action type and display area and described first and shows Show region, determines that the action type of the first control operation, the action type include:Application operating and web page operation, In, the application operating is to be operated to the options on application interface, the web page operation be to default display area into Row operation;And when the first control operation is the application operating, generate the first application instruction;
The display 19 is additionally operable to show net on the preset web interface according to the first application instruction control Page content;And when it is described first control operation be the web page operation when, on the preset web interface display with it is described Options on the default corresponding web interface in display area.
Optionally, the receiver 18 is additionally operable to the display on the preset web interface and the default display After options on the corresponding web interface in region, corresponding second control of the options triggered on the web interface is received Operation.
The processor 17 is additionally operable to respond the second control operation, generates the second application instruction.
The display 19 is additionally operable to show net on the preset web interface according to the second application instruction control Page content.
Optionally, the storage medium 110 is controlled according to the first application instruction in the preset web for described It shows after web page contents or described is shown on the preset web interface according to the second application instruction control on interface After web page contents, the display record of preset web interface web page content is preserved.
Optionally, the processor 17 is specifically used for being recorded according to the display, loads the preset web interface.
The display 19 records corresponding history specifically for being shown on the preset web interface with the display Web content.
Optionally, the processor 17, for before the load and showing preset web interface, creating application container, The options being provided in the application container on the application interface;And Web page-container is created in the application container, And the Web page-container and the webpage bridge joint of the application container are connected, it is provided on the web interface in the Web page-container Options and the preset web interface;Wherein, the webpage bridge joint is for realizing the selection triggered on the application interface To the display control of the display content at the preset web interface, and realize the options pair on the triggering web interface The display control of the display content at the preset web interface.
Optionally, the processor 17 is answered before being additionally operable to the load and showing preset web interface described first It is loaded in primary empty view and presets Entry Interface.
The receiver 18 is additionally operable to receive third control operation in the default Entry Interface.
Optionally, the processor 17 loads the preset web interface also particularly useful for response third control operation.
Optionally, the processor 17 loads preset web circle also particularly useful for according to preset webpage parameter Face.
Optionally, the terminal in the embodiment of the present invention can be to be equipped with the intelligent electronic device of the first application function, example Such as, smart mobile phone, smart television and tablet computer etc., the embodiment of the present invention is not restricted.
It is understood that after starting due to the first application, it can be by being received on the preset web interface that sets First control operation first application upper realization web interface on show web page contents, that is to say, that first in terminal answers , can be by preset web interface display web page contents when used in a certain function of realization, the function of the first application of completion, and webpage The source of content is consistent, and need not be handled, accordingly even when realizing the function of the first application in different terminals, is adopted The display methods of the web page contents proposed with the embodiment of the present invention can also use same web page content sources quickly to realize the The correlation function of one application, is realized again without being reacquired to web page resources, and the first application is realized to improve The efficiency of function.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention can be used can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.

Claims (15)

1. a kind of display methods of web page contents, which is characterized in that including:
When the first application starts, loads and show preset web interface;
The first control operation is received in first display area at the preset web interface;
According to the correspondence and first display area of preset action type and display area, first control is determined The action type of operation, the action type include:Application operating and web page operation, wherein the application operating is to application Options on interface is operated, and the web page operation is to be operated to default display area;
When the first control operation is the application operating, the first application instruction is generated, and refer to according to first application Control is enabled to show web page contents on the preset web interface;
When the first control operation is the web page operation, display and the default display on the preset web interface Options on the corresponding web interface in region.
2. according to the method described in claim 1, it is characterized in that, it is described on the preset web interface display with it is described pre- If after the options on the corresponding web interface in display area, the method further includes:
Receive the corresponding second control operation of the options triggered on the web interface;
The second control operation is responded, generates the second application instruction, and according to the second application instruction control described pre- If showing web page contents on web interface.
3. method according to claim 1 or 2, which is characterized in that described to be controlled in institute according to the first application instruction It states after showing web page contents on preset web interface or described instructed according to second application controls in the preset web After showing web page contents on interface, the method further includes:
Preserve the display record of preset web interface web page content.
4. according to the method described in claim 3, it is characterized in that, it is described load and show preset web interface, including:
It is recorded according to the display, loads the preset web interface;
Display records corresponding web-based history content with the display on the preset web interface.
5. according to the method described in claim 1, it is characterized in that, the load and before showing preset web interface, described Method further includes:
Create application container, the options being provided in the application container on the application interface;
Web page-container is created in the application container, and connects the Web page-container and the webpage bridge joint of the application container, The options being provided in the Web page-container on the web interface and the preset web interface;Wherein, the webpage bridge The display control to the display content at the preset web interface for realizing the options triggered on the application interface is connect, with And realize the display control for triggering the options on the web interface to the display content at the preset web interface.
6. method according to claim 1 or 5, which is characterized in that the load and before showing preset web interface, institute The method of stating further includes:
It is loaded in the primary empty view of first application and presets Entry Interface;
Third control operation is received in the default Entry Interface.
7. according to the method described in claim 6, it is characterized in that, it is described load and show preset web interface, including:
Third control operation is responded, the preset web interface is loaded and shows.
8. a kind of terminal, which is characterized in that including:
Loading unit, for when the first application starts, loading preset web interface;
Display unit, for showing the preset web interface;
Receiving unit, for receiving the first control operation in first display area at the preset web interface;
Determination unit, for the correspondence and first display area according to preset action type and display area, really The action type of the fixed first control operation, the action type include:Application operating and web page operation, wherein described to answer With operation to be operated to the options on application interface, the web page operation is to be operated to default display area;
Generation unit, for when the first control operation is the application operating, generating the first application instruction,
The display unit is additionally operable to be shown in webpage on the preset web interface according to the first application instruction control Hold;And it when the first control operation is the web page operation, is shown on the preset web interface and described default Options on the corresponding web interface in display area.
9. terminal according to claim 8, which is characterized in that
The receiving unit is additionally operable to the display on preset web interface net corresponding with the default display area After options on page boundary face, the corresponding second control operation of the options triggered on the web interface is received;
The generation unit is additionally operable to respond the second control operation, generates the second application instruction,
The display unit is additionally operable to be shown in webpage on the preset web interface according to the second application instruction control Hold.
10. terminal according to claim 8 or claim 9, which is characterized in that the terminal further includes:Storage unit;
The storage unit shows webpage according to the first application instruction control for described on the preset web interface After content or it is described according to it is described second application instruction control show web page contents on the preset web interface after, Preserve the display record of preset web interface web page content.
11. terminal according to claim 10, which is characterized in that
The loading unit is specifically used for loading the preset web interface;
The display unit is specifically used for being recorded according to the display, shows the web-based history content at the preset web interface.
12. terminal according to claim 8, which is characterized in that the terminal further includes:Creating unit;
The creating unit, for before the load and showing preset web interface, creating application container, the application container In be provided with options on the application interface;And Web page-container is created in the application container, and the connection net Page container and the webpage of the application container bridge, options and the institute being provided in the Web page-container on the web interface State preset web interface;Wherein, the webpage bridge joint is preset for realizing the options triggered on the application interface to described The display control of the display content of web interface, and realization trigger the options on the web interface to the preset web The display control of the display content at interface.
13. the terminal according to claim 8 or 12, which is characterized in that
The loading unit, before being additionally operable to the load and showing preset web interface, in the primary sky of first application It is loaded in white view and presets Entry Interface;
The receiving unit is additionally operable to receive third control operation in the default Entry Interface.
14. terminal according to claim 13, which is characterized in that
The loading unit is specifically used for response third control operation, loads the preset web interface.
15. a kind of terminal, which is characterized in that including:It receiver, display, processor and is stored with the processor and can hold The storage medium for the data that row instruction, the data of the reception of the receiver and the display are shown, the receiver and institute It states display and executes operation dependent on the processor, when described instruction is executed by processor, execute following operation:
The processor, for when the first application starts, loading preset web interface;
The display, for showing the preset web interface;
The receiver, for receiving the first control operation in first display area at the preset web interface;
The processor is additionally operable to the correspondence according to preset action type and display area and first viewing area Domain determines that the action type of the first control operation, the action type include:Application operating and web page operation, wherein institute It is to be operated to the options on application interface to state application operating, and the web page operation is to be grasped to default display area Make;And when the first control operation is the application operating, generate the first application instruction;
The display is additionally operable to be shown in webpage on the preset web interface according to the first application instruction control Hold;And it when the first control operation is the web page operation, is shown on the preset web interface and described default Options on the corresponding web interface in display area.
CN201710198613.4A 2017-03-29 2017-03-29 Webpage content display method and terminal Active CN108664498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710198613.4A CN108664498B (en) 2017-03-29 2017-03-29 Webpage content display method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710198613.4A CN108664498B (en) 2017-03-29 2017-03-29 Webpage content display method and terminal

Publications (2)

Publication Number Publication Date
CN108664498A true CN108664498A (en) 2018-10-16
CN108664498B CN108664498B (en) 2023-05-16

Family

ID=63786821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710198613.4A Active CN108664498B (en) 2017-03-29 2017-03-29 Webpage content display method and terminal

Country Status (1)

Country Link
CN (1) CN108664498B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753617A (en) * 2019-01-14 2019-05-14 广州虎牙信息科技有限公司 A kind of page display method, equipment and storage medium
CN109902255A (en) * 2019-02-27 2019-06-18 百度在线网络技术(北京)有限公司 Page mixing browsing record generation method, device, equipment and storage medium
CN114924816A (en) * 2022-04-08 2022-08-19 青岛海尔科技有限公司 Page jump method, storage medium and electronic device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030145042A1 (en) * 2002-01-25 2003-07-31 David Berry Single applet to communicate with multiple HTML elements contained inside of multiple categories on a page
CN101719125A (en) * 2009-11-06 2010-06-02 冯强 Hand-held communication terminal and webpage browsing method thereof
CN101976169A (en) * 2010-10-22 2011-02-16 鸿富锦精密工业(深圳)有限公司 Electronic reading device and page turning method thereof
CN102385583A (en) * 2010-08-31 2012-03-21 腾讯科技(深圳)有限公司 Method for controlling browser to open window and web browser
CN102681774A (en) * 2012-04-06 2012-09-19 优视科技有限公司 Method and device for controlling application interface through gesture and mobile terminal
US20120281706A1 (en) * 2011-05-06 2012-11-08 Puneet Agarwal Systems and methods for cloud bridging between intranet resources and cloud resources
CN103793436A (en) * 2012-11-02 2014-05-14 腾讯科技(深圳)有限公司 Page browsing method and browser
CN103942231A (en) * 2013-01-18 2014-07-23 联想(北京)有限公司 Webpage displaying method and electronic device
CN104182115A (en) * 2013-05-21 2014-12-03 腾讯科技(深圳)有限公司 Method and device for carrying out page turning setting in reading application and terminal
CN105404539A (en) * 2015-12-30 2016-03-16 网易(杭州)网络有限公司 Method for transplanting client game into webpage game, webpage game system and terminal
CN105653578A (en) * 2015-12-18 2016-06-08 北京奇虎科技有限公司 Browser operation method and electronic equipment
CN105975167A (en) * 2016-05-27 2016-09-28 网易(杭州)网络有限公司 Page comment control method and device
CN106371710A (en) * 2016-08-30 2017-02-01 乐视控股(北京)有限公司 Function menu display method and device
US20170063924A1 (en) * 2015-09-01 2017-03-02 United Parcel Service Of America, Inc. Facilitating remote access of devices in a secure environment

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030145042A1 (en) * 2002-01-25 2003-07-31 David Berry Single applet to communicate with multiple HTML elements contained inside of multiple categories on a page
CN101719125A (en) * 2009-11-06 2010-06-02 冯强 Hand-held communication terminal and webpage browsing method thereof
CN102385583A (en) * 2010-08-31 2012-03-21 腾讯科技(深圳)有限公司 Method for controlling browser to open window and web browser
CN101976169A (en) * 2010-10-22 2011-02-16 鸿富锦精密工业(深圳)有限公司 Electronic reading device and page turning method thereof
US20120281706A1 (en) * 2011-05-06 2012-11-08 Puneet Agarwal Systems and methods for cloud bridging between intranet resources and cloud resources
CN102681774A (en) * 2012-04-06 2012-09-19 优视科技有限公司 Method and device for controlling application interface through gesture and mobile terminal
CN103793436A (en) * 2012-11-02 2014-05-14 腾讯科技(深圳)有限公司 Page browsing method and browser
CN103942231A (en) * 2013-01-18 2014-07-23 联想(北京)有限公司 Webpage displaying method and electronic device
CN104182115A (en) * 2013-05-21 2014-12-03 腾讯科技(深圳)有限公司 Method and device for carrying out page turning setting in reading application and terminal
US20170063924A1 (en) * 2015-09-01 2017-03-02 United Parcel Service Of America, Inc. Facilitating remote access of devices in a secure environment
CN105653578A (en) * 2015-12-18 2016-06-08 北京奇虎科技有限公司 Browser operation method and electronic equipment
CN105404539A (en) * 2015-12-30 2016-03-16 网易(杭州)网络有限公司 Method for transplanting client game into webpage game, webpage game system and terminal
CN105975167A (en) * 2016-05-27 2016-09-28 网易(杭州)网络有限公司 Page comment control method and device
CN106371710A (en) * 2016-08-30 2017-02-01 乐视控股(北京)有限公司 Function menu display method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
STILLER, CARSTEN等: "An approach for accessible map-based websites", 《PROCEEDINGS OF THE 10TH IASTED INTERNATIONAL CONFERENCE ON INTERNET AND MULTIMEDIA SYSTEMS AND APPLICATIONS》 *
何贤伟: "网上报名考试系统的开发与研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
谢将权: "基于web的移动应用框架的研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753617A (en) * 2019-01-14 2019-05-14 广州虎牙信息科技有限公司 A kind of page display method, equipment and storage medium
CN109753617B (en) * 2019-01-14 2021-08-31 广州虎牙信息科技有限公司 Page display method, equipment and storage medium
CN109902255A (en) * 2019-02-27 2019-06-18 百度在线网络技术(北京)有限公司 Page mixing browsing record generation method, device, equipment and storage medium
CN114924816A (en) * 2022-04-08 2022-08-19 青岛海尔科技有限公司 Page jump method, storage medium and electronic device
CN114924816B (en) * 2022-04-08 2023-06-09 青岛海尔科技有限公司 Page jump method, storage medium and electronic device

Also Published As

Publication number Publication date
CN108664498B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
US20240118858A1 (en) Virtual workspace viewport following in collaboration systems
CN109844717B (en) System and method for real-time remote control of mobile applications
CN106156066B (en) Page switching method, device and client
US9971740B2 (en) Dynamic webpage image
US9613011B2 (en) Cross-reference of shared browser applications
KR101897603B1 (en) Apparatus and Method for displaying usage history of application between devices
KR20140028029A (en) Presentation format for an application tile
CN110162353B (en) Multi-page switching method and equipment, storage medium and terminal
JP2018536233A (en) Method and system for generating wigwig web content
CN111586452A (en) Cross-device interaction method and device and playing device
CN104967908A (en) Video hot spot marking method and apparatus
EP3131303B1 (en) Method and device for transmitting data in intelligent terminal to television terminal
AU2014406868A1 (en) Webpage data processing method and device
CN107247544A (en) Use interaction figure picture optimization software application user interface capabilities
CN113434065B (en) Information processing method and terminal
KR20170135956A (en) Method and apparatus for displaying an instant messaging window and computer readable medium
WO2017096813A1 (en) Webpage displaying method, mobile terminal, intelligent terminal, program, and storage medium
CN108664498A (en) A kind of display methods and terminal of web page contents
US20130138770A1 (en) Apparatus and method for sharing web contents using inspector script
Thommes et al. RemoteUI: A high-performance remote user interface system for mobile consumer electronic devices
CN104378428A (en) Method and device for downloading files
CN109792452A (en) The adaptive user interface of payload with reduction
CN104156372A (en) Method, devices and system for opening page
CN106326476A (en) Information processing method and device
CN106502496B (en) Window switching method and device

Legal Events

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