CN106599231A - Page display method and apparatus - Google Patents

Page display method and apparatus Download PDF

Info

Publication number
CN106599231A
CN106599231A CN201611179201.8A CN201611179201A CN106599231A CN 106599231 A CN106599231 A CN 106599231A CN 201611179201 A CN201611179201 A CN 201611179201A CN 106599231 A CN106599231 A CN 106599231A
Authority
CN
China
Prior art keywords
application
uri
intended application
page
business module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611179201.8A
Other languages
Chinese (zh)
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 CN201611179201.8A priority Critical patent/CN106599231A/en
Publication of CN106599231A publication Critical patent/CN106599231A/en
Pending legal-status Critical Current

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a page display method and apparatus, and belongs to the technical field of computers. The method comprises the steps of receiving a page access instruction based on a page displayed by a business module which runs currently, wherein the page access instruction carries a uniform resource identifier (URI) of a to-be-accessed target page; and when a specified field of the URI comprises an identifier of a specified protocol and it is queried that a target application exists in installed applications based on the URI, starting up the target application based on the URI, and displaying the target page through the target application, wherein the target application is an application corresponding to a website which the target page belongs to. When the application corresponding to the website which the target page belongs to exists, the application is started up and the target page is displayed through the application, so that the page display mode is added.

Description

Page display method and device
Technical field
It 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, network service platform has provided the user the rich and varied page.Generally In the case of, terminal can show the page by miscellaneous service module, wherein, the business module includes but is not limited to various browsing Device and application.At present, if showing the page by certain business module, during the page shows, terminal will be one straight-through Cross the business module and show each page.For example, if terminal shows process by the browser display page in subsequent page In, it will all the time by each page of the browser display.
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 page shown by business module based on current operation, receives page access instruction, the page access instruction The middle URI (Uniform Resource Identifier, Uniform Resource Identifier) for carrying target pages to be visited;
When the specific field of the URI include that the mark of specified protocol and inquired based on the URI installed should When there is intended application with, the intended application is started based on the URI, to show the target by the intended application The page, the intended application is the corresponding application of the target pages affiliated web site.
Alternatively, it is described before being inquired based on the URI in installed application and there is intended application, also include:
Whether there is the corresponding application declaratives of the URI from local search, the application declarative is used to indicate based on described URI can start the application belonging to the application declarative;
When there is the corresponding application declaratives of the URI, it is determined that inquire there is the target in installed application should With.
Alternatively, the determination is inquired and existed in installed application before the intended application, is also included:
When the application declarative includes business module type declarations, judge indicated by the business module type declarations Whether business module type is identical with the type of the business module of current operation;
Correspondingly, the determination is inquired and there is the intended application in installed application, including:
When the business module type indicated by the business module type declarations and the type of the business module of current operation When identical, it is determined that inquire the presence of the intended application in installed application.
Alternatively, it is described that the intended application is started based on the URI, including:
Constructing variable transmits object, the parameter that the parameter transmission object is used for needed for the storage startup intended application;
Based on the URI, object is transmitted by the parameter and starts the intended application.
Alternatively, the specified protocol includes HTML (Hypertext Markup Language) HTTP or Hyper text transfer security protocol HTTPS.
Second aspect, there is provided a kind of page display device, described device includes:
Receiver module, for the page shown by the business module based on current operation, receives page access instruction, described The Uniform Resource Identifier URI of target pages to be visited is carried in page access instruction;
Starting module, the specific field of the URI for receiving when the receiver module includes the mark of specified protocol Know and inquired based on the URI when there is intended application in installed application, starting the target based on the URI should With to show the target pages by the intended application, the intended application is target pages affiliated web site correspondence Application.
Alternatively, described device also includes:
Enquiry module, for whether there is the corresponding application declaratives of the URI from local search, the application declarative is used for Indicate that the application belonging to the application declarative can be started based on the URI;
Determining module, for when there is the corresponding application declaratives of the URI, it is determined that inquire being deposited in installed application In the intended application.
Alternatively, described device also includes:
Judge module, for when the application declarative includes business module type declarations, judging the business module class Whether the indicated business module type of type statement is identical with the type of the business module of current operation;
Correspondingly, the determining module is additionally operable to:
When the business module type indicated by the business module type declarations and the type of the business module of current operation When identical, it is determined that inquire the presence of the intended application in installed application.
Alternatively, the starting module includes:
Construction submodule, for constructing variable object is transmitted, and the parameter transmission object is used for storage and starts the target Using required parameter;
Start submodule, for based on the URI, transmitting object by the parameter and starting the intended application.
Alternatively, the specified protocol includes HTML (Hypertext Markup Language) HTTP or Hyper text transfer security protocol HTTPS.
The third aspect, there is provided a kind of page display device, described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
The page shown by business module based on current operation, receives page access instruction, the page access instruction The middle Uniform Resource Identifier URI for carrying target pages to be visited;
When the specific field of the URI include that the mark of specified protocol and inquired based on the URI installed should When there is intended application with, the intended application is started based on the URI, to show the target by the intended application The page, the intended application is the corresponding application of the target pages affiliated web site.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
Visit when the page shown by the business module based on current operation receives the page to target pages to be visited When asking instruction, judge the target pages URI specific field in whether include the mark of specified protocol, if it is, explanation Both can be by the browser display target pages, it is also possible to which the target pages are shown by application.In order to improve display efficiency, Inquiry whether there is the corresponding intended application of the target pages affiliated web site, if it is present having adjusted the target based on the URI Using to show the target pages by the intended application, thus, increased the mode 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.
Description of the drawings
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement for meeting the disclosure Example, and be used to explain the principle of the disclosure together with description.
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 for implementing to exemplify according to another exemplary.
Fig. 3 A are a kind of block diagrams of the page display device according to an exemplary embodiment.
Fig. 3 B are the block diagrams of another kind of page display device according to an exemplary embodiment.
Fig. 3 C are the block diagrams of another kind of page display device according to an 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.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the 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.
Before explanation explained in detail is carried out to the embodiment of the present disclosure, first the application scenarios of the embodiment of the present disclosure are given Explanation.At present, during the page shows, can only be shown that display mode is relatively simple by a kind of business module.For This, in embodiments of the present invention, it is proposed that a kind of page display method, increased the mode that the page shows.The embodiment of the present disclosure The page display method of offer can be performed by terminal, and the terminal can install miscellaneous service module, it may for example comprise various to browse Device and application.Wherein, the terminal can be mobile phone, panel computer, computer etc., and the embodiment of the present disclosure is not limited this.
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 page shown by the business module based on current operation, receives page access instruction, the page The Uniform Resource Identifier URI of target pages to be visited is carried in the access instruction of face.
In a step 102, when the specific field of the URI includes the mark of specified protocol and inquires institute based on the URI When there is intended application in the application of installation, the intended application is started based on the URI, to show the target by the intended application The page, the intended application is the corresponding application of target pages affiliated web site.
In the disclosed embodiments, when the page shown by the business module based on current operation is received to be visited When the page access of target pages is instructed, judge the target pages URI specific field in whether include the mark of specified protocol Know, if it is, explanation both can be by the browser display target pages, it is also possible to show the target pages by application. In order to improve display efficiency, inquiry whether there is the corresponding intended application of the target pages affiliated web site, if it is present base Intended application in the URI is adjusted, to show the target pages by the intended application, thus, increased the side that the page shows Formula.
Alternatively, before there is intended application in installed application is inquired based on the URI, also include:
Whether there is the corresponding application declaratives of the URI from local search, the application declarative is used for instruction can based on the URI Start the application belonging to the application declarative;
When there is the corresponding application declaratives of the URI, it is determined that inquire the presence of the intended application in installed application.
Optionally it is determined that inquire existing in installed application before the intended application, also include:
When the application declarative includes business module type declarations, the business indicated by the business module type declarations is judged Whether module type is identical with the type of the business module of current operation;
Correspondingly, the determination is inquired and there is the intended application in installed application, including:
When the business module type indicated by the business module type declarations and the type phase of the business module of current operation Meanwhile, it is determined that inquire the presence of the intended application in installed application.
Alternatively, the intended application is started based on the URI, including:
Constructing variable transmits object, and the parameter transmission object is used to store the parameter started needed for the intended application;
Based on the URI, object is transmitted by the parameter and starts the intended application.
Alternatively, the specified protocol includes HTML (Hypertext Markup Language) HTTP or Hyper text transfer security protocol HTTPS.
Above-mentioned all optional technical schemes, can be according to the alternative embodiment for arbitrarily combining to form the disclosure, disclosure reality Apply example no longer to repeat this one by one.
Fig. 2 is a kind of flow chart of the page display method according to an exemplary embodiment, as shown in Fig. 2 the page Plane display method is used in terminal, and the page display method is comprised the following steps:
In step 201, the page shown by the business module based on current operation, receives page access instruction, the page The URI of target pages to be visited is carried in the access instruction of face.
Wherein, the page access instruction can be triggered by user, and the user can be triggered by assigned operation, the specified behaviour Make to be clicking operation, slide etc., the embodiment of the present disclosure does not limit this.
Multiple business module is usually mounted with terminal, it may for example comprise various browsers and various applications.Wherein, mostly Number business module may be incorporated for showing the page.By taking browser as an example, when user is wanted by the browser access page, can be with The URI of the target pages to be accessed is input in the address input box of the browser, afterwards, clicks on " search " option to trigger Above-mentioned page access instruction, thus, carrying the URI of the target pages in the page access instruction.
Or, for some browsers, it may be possible to provide there is browser homepage, in the browser homepage each page is shown Corresponding icon or option, for example, be also stored with each page in day cat, Jingdone district store, microblogging etc., also, the browser homepage The URI in face, the i.e. URI are hyperlink.User can also click on the corresponding icon of the target pages to be accessed or option, to touch Instruction of sending out page access above-mentioned, thus, also carrying the URI of the target pages in page access instruction.
It should be noted that it is above-mentioned be only to store the URI of each page in browser homepage as a example by illustrate, In another embodiment, the URI of each page can also be stored in other positions, and the embodiment of the present disclosure is not limited this.
In step 202., when the specific field of the URI includes the mark of specified protocol, pacified based on the URI inquiries Whether there is intended application in the application of dress, the intended application is the corresponding application of target pages affiliated web site.
At present, the field such as scheme (form) and host (host name) is mainly included in URI, wherein, the specific field May refer to the scheme in the URI.
Certainly, here only it is to be illustrated so that URI includes the fields such as scheme and host as an example, in practical application In, path Pattern (path mode) etc. are also possible that in the URI, the embodiment of the present disclosure is not limited this.
Wherein, the mark of above-mentioned specified protocol can be used for a kind of agreement of unique mark.In a kind of possible implementation In, the specified protocol can include HTTP (HyperText Transfer Protocol, HTML (Hypertext Markup Language)) or HTTPS (Hyper text Transfer Protocol Secure, Hyper text transfer security protocol).
In certain operations system, for example, Android operation system, due to when in the specific field of the URI of the target pages During including HTTP or HTTPS, the various browsers installed in terminal can respond the URI, you can be browsed by various Device opens the corresponding target pages of the URI.Therefore, when the page access instruction for carrying the URI is detected, may deposit in terminal The URI is responded in multiple business module.
However, in the multiple business module, when the target pages are shown, for a user, browser display Experience effect may can not show a candle to the display effect applied.Therefore, in order to improve display efficiency, in the application that terminal inquiry is installed With the presence or absence of the corresponding intended application of target web affiliated web site.
Wherein, the above-mentioned process that implements inquired about in installed application with the presence or absence of intended application based on the URI can To include:Whether there is the corresponding application declaratives of the URI from local search, the application declarative is used for instruction can based on the URI Start the application belonging to the application declarative, when there is the corresponding application declaratives of the URI, it is determined that inquiring in installed application There is the intended application.
For some applications, if the application can be adjusted by other business modules, can arrange for the application in advance Application declarative, the application declarative is used to indicate that the application belonging to the application declarative can be started based on the URI.It is possible in one kind In implementation, the corresponding application sound of URI of the application can be adjusted according to the intent-filter of ARIXTRA standard definition It is bright.
For example, if the URI ishttp://abc.example.com/detail/, then corresponding application declaratives of the URI Can be defined as<data android:Host=" abc.example.com " android:PathPattern="/ detail/.*"android:Scheme=" http "/>.
Under normal circumstances, the application declarative of each application can be stored in locally.For example, in a kind of possible implementation In, the application declarative can be stored under the catalogue that affiliated application is located.In alternatively possible implementation, each application Application declarative can also unify to be stored in a file, in order to terminal inquiry and management, the embodiment of the present disclosure is to this Do not limit.
If the locally stored corresponding application declaratives of URI for having a target pages, in can determine installed application There is the corresponding intended application of target pages affiliated web site, that is to say, based on the URI carried in the page access instruction, can To adjust intended application to show the target pages.Example is exemplified as with above-mentioned, if the URI of the intended application ishttp:// abc.example.com/detail/, then can determine there is the intended application.
Further, that what is installed in terminal applies when application declarative is arranged, and may also limit can adjust itself Other business modules type, for example, for certain application, may limit only browser can adjust the application. It is to be also possible to be provided with business module type declarations in the application declarative, in that case, is answering it is determined that there is the target With before, terminal also needs to judge whether the business module of current operation meets the type of strip indicated by business module type declarations Part.
That is to say, when the application declarative includes business module type declarations, judge the business module type declarations indication Whether the business module type shown is identical with the type of the business module of current operation, when indicated by the business module type declarations Business module type it is identical with the type of the business module of current operation when, it is determined that inquiring, exist in installed application should Intended application.
For example, if the application declarative of intended application includes business module type declarations, and the business module type declarations For<category android:Name=" android.intent.category.BROWSABLE "/>, then by " BROWSABLE " is as can be seen that when the type of the business module of only current operation belongs to browser, could adjust the target to answer With.
In addition, it is necessary to explanation, above-mentioned illustrated so that the specified protocol includes HTTP or HTTPS as an example, In another embodiment, the specified protocol can also include other agreements, and the embodiment of the present disclosure is not limited this.
In step 203, when there is the intended application during installed application is inquired based on the URI, based on the URI Start the intended application, to show the target pages by the intended application.
It is above-mentioned the intended application is started based on the URI to include following (1)-(2) in a kind of possible implementation Realize process:
(1) constructing variable transmission object, the parameter transmission object is used to store the parameter started needed for the intended application.
For example, in a kind of possible implementation, if the operating system of current operation is Android operation system, the ginseng Number transmission object can be Intent (intention) object, and terminal can use the URI method of calling of standard, construct an Intent Object, arranges its action (action) for " android.intent.action.View ".
Wherein, the process that implements of above-mentioned constructing variable transmission object may refer to correlation technique, the embodiment of the present disclosure Here is not described in detail.
(2) based on the URI, object is transmitted by the parameter and starts the intended application.
Example is exemplified as with above-mentioned, when the parameter transmission object is Intent objects, by Intent.SetData (Uri Uri) the URI of the incoming target pages of function, afterwards, the Intent objects are sent to the terminal by the business module of current operation Operating system.When the terminal receives specific field and includes the URI of mark of specified protocol, preferentially adjust according to the URI The business module of non-browser, that is, start the intended application.After terminal starts the intended application, you can be answered by the target With the target pages are shown, thus, increased the display mode of target pages.
Above-mentioned to use URI as the unified call interface for having adjusted other application, moulding is single, the convenient extension in inside, outside Convenient combination, convenience is provided for operating system to the maintenance and management of business module.
It should be noted that the embodiment of the present disclosure is only to realize being opened based on the URI by above-mentioned (1)-(2) implementation Move and be illustrated as a example by the intended application, in another embodiment, terminal is also possible to open based on the URI otherwise The intended application is moved, the embodiment of the present disclosure is not limited this.
Explanation is there is also the need to, when intended application is started using Intent objects, during above-mentioned realization, eventually End can know the type of the URI of target pages and the business module of current operation by the Intent objects.Certainly, terminal The type of the URI of target pages and the business module of current operation, the embodiment of the present disclosure can also otherwise be known This is not limited.
In addition, when there is no the intended application in the application installed, terminal can be aobvious by current business module Show the target pages, or, terminal can also be by other browser displays target pages.
In a kind of possible implementation, when can respond the corresponding URI of the target pages if multiple browsers, Terminal can show browser selection interface in current interface, and the browser selection interface includes that the URI can be responded Multiple browsers browser information, user can be according to the plurality of browser information and the hobby of itself, from the plurality of clear Look in device and select a browser to show the target pages.
If additionally, the running environment of currently displaying business module be closing application ecological environment, for example, wechat Deng that is, the business module itself may not support that the function of having adjusted other business modules, also, the business module are built-in with itself WebView (page shows), in that case, terminal also directly by the business module can show the target pages.
In the disclosed embodiments, when the page shown by the business module based on current operation is received to be visited When the page access of target pages is instructed, judge the target pages URI specific field in whether include the mark of specified protocol Know, if it is, explanation both can be by the browser display target pages, it is also possible to show the target pages by application. In order to improve display efficiency, inquiry whether there is the corresponding intended application of the target pages affiliated web site, if it is present base Intended application in the URI is adjusted, to show the target pages by the intended application, thus, increased the side that the page shows Formula.
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 receiver module 310 and starting module 320.
Receiver module 310, for the page shown by the business module based on current operation, receives page access instruction, The Uniform Resource Identifier URI of target pages to be visited is carried in the page access instruction;
Starting module 320, the specific field of the URI for receiving when the receiver module 310 includes specified protocol Mark and inquired based on the URI when there is intended application in installed application, the intended application is started based on the URI, with The target pages are shown by the intended application, the intended application is the corresponding application of target pages affiliated web site.
Alternatively, Fig. 3 B are refer to, the device also includes:
Enquiry module 330, for whether there is the corresponding application declaratives of the URI from local search, the application declarative is used for Indicate that the application belonging to the application declarative can be started based on the URI;
Determining module 340, for when there is the corresponding application declaratives of the URI, it is determined that inquiring in installed application There is the intended application.
Alternatively, Fig. 3 C are refer to, the device also includes:
Judge module 350, for when the application declarative includes business module type declarations, judging the business module type Whether the indicated business module type of statement is identical with the type of the business module of current operation;
Correspondingly, the determining module 340 is additionally operable to:
When the business module type indicated by the business module type declarations and the type phase of the business module of current operation Meanwhile, it is determined that inquire the presence of the intended application in installed application.
Alternatively, the starting module 320 includes:
Construction submodule, for constructing variable object is transmitted, and the parameter transmission object is used for storage and starts the intended application Required parameter;
Start submodule, for based on the URI, transmitting object by the parameter and starting the intended application.
Alternatively, the specified protocol includes HTML (Hypertext Markup Language) HTTP or Hyper text transfer security protocol HTTPS.
In the disclosed embodiments, when the page shown by the business module based on current operation is received to be visited When the page access of target pages is instructed, judge the target pages URI specific field in whether include the mark of specified protocol Know, if it is, explanation both can be by the browser display target pages, it is also possible to show the target pages by application. In order to improve display efficiency, inquiry whether there is the corresponding intended application of the target pages affiliated web site, if it is present base Intended application in the URI is adjusted, to show the target pages by the intended application, thus, increased the side that the page shows Formula.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
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, armarium is good for Body equipment, personal digital assistant etc..
With reference to Fig. 4, device 400 can include following one or more assemblies:Process assembly 402, memorizer 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 process assembly 402, such as with display, call, data communication, phase Machine operates and records the associated operation of operation.Process 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, process assembly 402 can include one or more modules, just Interaction between process assembly 402 and other assemblies.For example, process assembly 402 can include multi-media module, many to facilitate Interaction between media component 408 and process assembly 402.
Memorizer 404 is configured to store various types of data to support the operation in device 400.These data are shown Example includes the instruction of any application program for operating on device 400 or method, and contact data, telephone book data disappears Breath, picture, video etc..Memorizer 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 memory (EPROM), programmable read only memory (PROM), read only memory (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 the screen of one 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 detect and the touch or slide related persistent period and pressure.In certain embodiments, many matchmakers Body component 408 includes a front-facing camera and/or post-positioned pick-up head.When device 400 be in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured to 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, mike is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memorizer 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a speaker, for exports audio signal.
, to provide interface between process 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, and the relative localization 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 object nearby.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer 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 based on the wireless network of communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 416 receives the 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 RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
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 realizations, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memorizer 404 of instruction, above-mentioned instruction can be performed to complete said 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 process of mobile terminal When device is performed so that mobile terminal is able to carry out the page display method described in Fig. 1 or Fig. 2 embodiments.
Those skilled in the art will readily occur to its of the disclosure after considering description 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 page shown by business module based on current operation, receives page access instruction, takes in the page access instruction Uniform Resource Identifier URI with target pages to be visited;
When the specific field of the URI includes the mark of specified protocol and is inquired in installed application based on the URI When there is intended application, the intended application is started based on the URI, to show the page object by the intended application Face, the intended application is the corresponding application of the target pages affiliated web site.
2. the method for claim 1, it is characterised in that described when being inquired in installed application based on the URI Before there is intended application, also include:
Whether there is the corresponding application declaratives of the URI from local search, the application declarative is used to indicate to be based on the URI energy Enough start the application belonging to the application declarative;
When there is the corresponding application declaratives of the URI, it is determined that inquire the presence of the intended application in installed application.
3. method as claimed in claim 2, it is characterised in that the determination is inquired has the mesh in installed application Before mark application, also include:
When the application declarative includes business module type declarations, the business indicated by the business module type declarations is judged Whether module type is identical with the type of the business module of current operation;
Correspondingly, the determination is inquired and there is the intended application in installed application, including:
When the business module type indicated by the business module type declarations it is identical with the type of the business module of current operation When, it is determined that inquire the presence of the intended application in installed application.
4. the method for claim 1, it is characterised in that described that the intended application is started based on the URI, including:
Constructing variable transmits object, the parameter that the parameter transmission object is used for needed for the storage startup intended application;
Based on the URI, object is transmitted by the parameter and starts the intended application.
5. the method for claim 1, it is characterised in that the specified protocol includes HTML (Hypertext Markup Language) HTTP or super File Transfer security protocol HTTPS.
6. a kind of page display device, it is characterised in that described device includes:
Receiver module, for the page shown by the business module based on current operation, receives page access instruction, the page The Uniform Resource Identifier URI of target pages to be visited is carried in access instruction;
Starting module, for when the receiver module receive the URI specific field include specified protocol mark and Inquired based on the URI when there is intended application in installed application, the intended application is started based on the URI, with The target pages are shown by the intended application, the intended application is that the target pages affiliated web site is corresponding answers With.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Enquiry module, for whether there is the corresponding application declaratives of the URI from local search, the application declarative is used to indicate Application belonging to the application declarative can be started based on the URI;
Determining module, for when there is the corresponding application declaratives of the URI, it is determined that inquire the presence of institute in installed application State intended application.
8. device as claimed in claim 7, it is characterised in that described device also includes:
Judge module, for when the application declarative includes business module type declarations, judging the business module type sound Whether bright indicated business module type is identical with the type of the business module of current operation;
Correspondingly, the determining module is additionally operable to:
When the business module type indicated by the business module type declarations it is identical with the type of the business module of current operation When, it is determined that inquire the presence of the intended application in installed application.
9. device as claimed in claim 6, it is characterised in that the starting module includes:
Construction submodule, for constructing variable object is transmitted, and the parameter transmission object is used for storage and starts the intended application Required parameter;
Start submodule, for based on the URI, transmitting object by the parameter and starting the intended application.
10. device as claimed in claim 6, it is characterised in that the specified protocol include HTML (Hypertext Markup Language) HTTP or Hyper text transfer security protocol HTTPS.
11. a kind of page display devices, it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
The page shown by business module based on current operation, receives page access instruction, takes in the page access instruction Uniform Resource Identifier URI with target pages to be visited;
When the specific field of the URI includes the mark of specified protocol and is inquired in installed application based on the URI When there is intended application, the intended application is started based on the URI, to show the page object by the intended application Face, the intended application is the corresponding application of the target pages affiliated web site.
CN201611179201.8A 2016-12-19 2016-12-19 Page display method and apparatus Pending CN106599231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611179201.8A CN106599231A (en) 2016-12-19 2016-12-19 Page display method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611179201.8A CN106599231A (en) 2016-12-19 2016-12-19 Page display method and apparatus

Publications (1)

Publication Number Publication Date
CN106599231A true CN106599231A (en) 2017-04-26

Family

ID=58601779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611179201.8A Pending CN106599231A (en) 2016-12-19 2016-12-19 Page display method and apparatus

Country Status (1)

Country Link
CN (1) CN106599231A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005096A (en) * 2017-06-14 2018-12-14 北京小米移动软件有限公司 Using exchange method and device
US10990461B2 (en) 2017-06-14 2021-04-27 Beijing Xiaomi Mobile Software Co., Ltd. Application interaction method, interaction method and apparatus
CN114237755A (en) * 2021-12-20 2022-03-25 百度在线网络技术(北京)有限公司 Application running method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475720A (en) * 2013-09-12 2013-12-25 世纪龙信息网络有限责任公司 Application push method and system of intelligent terminal
CN105095427A (en) * 2015-07-17 2015-11-25 小米科技有限责任公司 Search recommendation method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475720A (en) * 2013-09-12 2013-12-25 世纪龙信息网络有限责任公司 Application push method and system of intelligent terminal
CN105095427A (en) * 2015-07-17 2015-11-25 小米科技有限责任公司 Search recommendation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHENYAO: "IOS9通用链接(universal link)", 《HTTP://FEGIRL.COM/2016/06/27/IOS9%20通用链接%EF%BC%88UNIVERSAL%20LINK%EF%BC%89/》 *
SUYAN_WHY: "android实现通过浏览器点击链接打开本地应用(APP)并拿到浏览器传递的数据", 《HTTPS://BLOG.CSDN.NET/SUYAN_WHY/ARTICLE/DETAILS/52622289》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005096A (en) * 2017-06-14 2018-12-14 北京小米移动软件有限公司 Using exchange method and device
US10990461B2 (en) 2017-06-14 2021-04-27 Beijing Xiaomi Mobile Software Co., Ltd. Application interaction method, interaction method and apparatus
US11360834B2 (en) 2017-06-14 2022-06-14 Beijing Xiaomi Mobile Software Co., Ltd. Application interaction method and apparatus
CN114237755A (en) * 2021-12-20 2022-03-25 百度在线网络技术(北京)有限公司 Application running method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104159275B (en) Method for connecting network and device
CN107329743A (en) Methods of exhibiting, device and the storage medium of five application page
CN106126685B (en) Page loading method and device
CN107730847A (en) Sharing articles finding method and device
CN103916829A (en) Desktop message notifying method and device
CN105095427A (en) Search recommendation method and device
CN106201610A (en) Web application accesses the method and device of the primary function of terminal
CN104111720A (en) Electronic device control method and device and electronic device
CN107193606A (en) Using distribution method and device
CN105930536A (en) Method and device for creating indexes and method and device for jumping pages
CN107239527A (en) web access method and device
CN106598677A (en) Installation package downloading method and device
CN106528617A (en) Webpage picture display method and apparatus
CN107220059A (en) The display methods and device of application interface
CN106775202A (en) A kind of method and device of information transfer
CN104158854B (en) Resource share method and device
CN105912363A (en) Module loading method and apparatus
CN107229403A (en) A kind of information content system of selection and device
CN106599231A (en) Page display method and apparatus
CN106792442A (en) data migration method and device
CN104050236B (en) Web site contents update reminding method, server and client side
CN105187671A (en) Recording method and device
CN106708967A (en) Page display method and device
KR101787918B1 (en) Search method, apparatus, program and recording medium
CN105912202A (en) Application sharing 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426

RJ01 Rejection of invention patent application after publication