CN104598225A - Method, device and system for inserting view information into page - Google Patents

Method, device and system for inserting view information into page Download PDF

Info

Publication number
CN104598225A
CN104598225A CN201410853415.3A CN201410853415A CN104598225A CN 104598225 A CN104598225 A CN 104598225A CN 201410853415 A CN201410853415 A CN 201410853415A CN 104598225 A CN104598225 A CN 104598225A
Authority
CN
China
Prior art keywords
plug
unit
view information
page
information
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
CN201410853415.3A
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410853415.3A priority Critical patent/CN104598225A/en
Publication of CN104598225A publication Critical patent/CN104598225A/en
Pending legal-status Critical Current

Links

Abstract

The invention aims at providing a method, a device and a system for inserting view information into a page. According to the method, the device and the system, by virtue of interaction between a host and a plug-in unit, the view information is created by the plug-in unit and is displayed in the host; when the host loads the page, the plug-in unit which corresponds to one or more to-be-inserted view information is loaded into the page, a view creation mode which corresponds to the view information is called by the corresponding plug-in unit to generate the view information, and the view information is inserted into the page according to the corresponding position of the view information in the page. According to the method, the device and the system, the view information provided by other APP (Application) can be accessed for a page-browsing mobile application, so that the presentation effect of the page-browsing mobile application is greatly enriched and is even superior to that of Flash, Java Applet and a rich application program on a PC (Personal Computer) platform, and the browsing experience of a user is enhanced.

Description

A kind of method, equipment and system view information inserted in the page
Technical field
The present invention relates to Mobile solution (APP) areas of information technology, particularly relate to a kind of technology view information inserted in the page.
Background technology
On a pc platform, Flash or rich application program (Rich Internet Applications, referred to as RIA) can provide abundant visual effect for browser.But mobile phone A PP only can present its own user interface, cannot present the user interface of other APP.Especially, for the APP with browser sex character, if only present the page by own user interface, visual effect is very single, and what be difficult to meet user browses demand.
Such as, in Android mobile phone, APP is when presenting result of page searching, and the basic function that only can provide based on browser WebView, presents simple text and picture, cannot access the user interface that other APP provide.
Summary of the invention
The object of this invention is to provide a kind of method, equipment and system view information inserted in the page.
According to an aspect of the present invention, provide a kind of method view information inserted at host's end in the page, described host comprises the Mobile solution with page browsing function, and wherein, the method comprises:
-when load page, determine the plug-in unit corresponding to one or more view information be inserted in the described page;
-load described plug-in unit, create mode to generate described view information with the view called by described plug-in unit corresponding to described view information;
-according to the relevant position of described view information in the described page, described view information is inserted in the described page.
According to another aspect of the present invention, additionally provide a kind of device view information inserted at host's end in the page, described host comprises the Mobile solution with page browsing function, and wherein, this device comprises:
For when load page, determine the device of the plug-in unit corresponding to one or more view information be inserted in the described page;
For loading described plug-in unit, create mode to generate the device of described view information with the view called by described plug-in unit corresponding to described view information;
For according to the relevant position of described view information in the described page, described view information is inserted the device in the described page.
According to an aspect of the present invention, provide a kind of method view information inserted in the page, wherein, the method comprises:
-host, when load page, determines the plug-in unit corresponding to one or more view information be inserted in the described page, and wherein, described host comprises the Mobile solution with page browsing function;
-described host loads described plug-in unit;
-described plug-in unit the view called corresponding to described view information creates mode to generate described view information, and described view information is passed to described host;
Described view information, according to the relevant position of described view information in the described page, is inserted in the described page by-described host.
According to another aspect of the present invention, additionally provide a kind of system view information inserted in the page, wherein, the plug-in unit that this system comprises host and runs in host, described host comprises the Mobile solution with page browsing function;
Wherein, described host is used for:
-when load page, determine the plug-in unit corresponding to one or more view information be inserted in the described page;
-load described plug-in unit, to generate described view information by described plug-in unit;
-according to the relevant position of described view information in the described page, described view information is inserted in the described page.
Wherein, described plug-in unit is used for:
-the view called corresponding to described view information creates mode to generate described view information;
-described view information is passed to described host.
Compared with prior art, the present invention can mutual by host and plug-in unit, creates view information, and in host, show this view information by plug-in unit.Host is when load page, the plug-in unit corresponding to one or more view information be inserted in load page, mode is created to generate view information with the view called by corresponding plug-in unit corresponding to view information, and according to the relevant position of view information in the page, view information is inserted in the page.The view information that the invention enables page browsing class Mobile solution can access other APP to provide, thus greatly enriched page browsing class Mobile solution present effect, even be better than Flash, JavaApplet on PC platform, rich application program present effect, improve the viewing experience of user.Further, the present invention proposes a kind of general view and create mode, make each plug-in unit self-defined its view can create mode, and be applied in the page that host presents.This makes the function of plug-in unit to embody in host better, and then enhances the exploitation wish of add-in developer, and enhances the status of host in Mobile solution ecologic environment.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 illustrates a kind of according to an embodiment of the invention method flow diagram view information inserted in the page;
Fig. 2 illustrates a kind of in accordance with another embodiment of the present invention system schematic view information inserted in the page.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
The present invention can realize in a mobile device.Particularly, mobile device, when load page, determines the plug-in unit corresponding to one or more view information be inserted in the page; Then, mobile device loading of plug-in, creates mode to generate view information with the view called by plug-in unit corresponding to view information; Subsequently, view information, according to the relevant position of view information in the page, is inserted in the page by mobile device.
Wherein, mobile device includes but not limited to the hand-held electronic product of any one based on intelligent operating system, it can carry out man-machine interaction, such as smart mobile phone, panel computer etc. with user by input equipments such as keyboard, dummy keyboard, touch pad, touch-screen and voice-operated devices.Wherein, intelligent operating system includes but not limited to any by providing various Mobile solution (Application to mobile device, referred to as APP) enrich the operating system of functions of the equipments, such as Android (Android), IOS, Windows Phone etc.
Fig. 1 illustrates method flow diagram according to an embodiment of the invention, and it specifically illustrates a kind of process view information inserted at host's end in the page.As shown in Figure 1, in step sl, host, when load page, determines the plug-in unit corresponding to one or more view information be inserted in the page, and wherein, host comprises the Mobile solution with page browsing function; In step s 2, host's loading of plug-in; In step s3, the plug-in unit view called corresponding to view information creates mode to generate view information; In step s 4 which, view information is passed to host by plug-in unit; In step s 5, view information, according to the relevant position of view information in the page, is inserted in the page by host.
Particularly, in step sl, host, when load page, determines the plug-in unit corresponding to one or more view information be inserted in the page, and wherein, host comprises the Mobile solution with page browsing function.
At this, host can be the various Mobile solution (APP) with page browsing function, also, and the various Mobile solution with browser sex character.Host is concrete as search APP, browser APP etc.Wherein, search APP such as mobile phone Baidu, Google APP etc., browser APP is Baidu's mobile phone browser, QQ browser etc. such as.
Plug-in unit means, and is embedded into and runs on the application program in host.Such as, for Android operation system, plug-in unit can be an Android APK, as long as wherein add the SDK of host, this plug-in unit can identify by host and run in host environment.
Generally speaking, plug-in unit is separated with host, and therefore, plug-in unit can be increased individually or be updated.
At this, plug-in unit not runs in the running environment that intelligent operating system provides, but runs in the plug-in component operation environment that host provides.Plug-in component operation environment means, and the various conditions required for plug-in component operation, specifically include but not limited to software environment and hardware environment.Host and plug-in unit together constitute system, and this system also can be called as plug-in system.
The page includes but not limited to any internet page, concrete as the homepage page, the sub-channel page, content details page, result of page searching etc.
View information means, the self-defining graphical user interface information of plug-in unit.View information also can be considered to the pattern of graphic user interface.
Plug-in unit can define view information miscellaneous.Such as, diet comment class plug-in unit can the self-defined Duo Jia of presenting restaurant list of restaurants type view information, present the restaurant details type view information of restaurant details.For another example, the plug-in unit of map class can the ground pattern view information of self-defined position of appearing information.Also as, the plug-in unit of music class self-definedly can present the music type view information for playing music sources.
At this, one that the present invention proposes plug-in system strengthens characteristic, can create view information, and in host, show this view information in plug-in unit.
Such as, plug-in system can provide the interface (android.view.View class) of view information with the form of Android (Android) standard, plug-in unit is easy to realize self-defining view.
In the self-defined view information that plug-in unit realizes, following at least any one content can be supported:
1) system standard control, such as Android standard control;
2) two dimension view program, the Canvas 2D API of such as Android;
3) 3-D view program, the OpenGL 3D API of such as Android;
4) system resource and assets, the resource of such as Android and assets.
At this, general view creates mode ICreateView () using Android view class (android.view.View class) as its view interface.
At this, view creates mode and means, and creates the mode of view information by calling aforementioned at least any one content.Each plug-in unit all can create mode by self-defined one or more view, and each view creates mode and may be used for creating corresponding view information.
At this, view creates identification information (ICreateView () ID) and can be used to distinguish different view establishment modes.View creates identification information and is associated with plug-in unit, thus also can be used to identify plug-in unit.
Alternately, each plug-in unit is distinguished with other plug-in units mutually by a plug-in unit identification information.When each plug-in unit only has view to create mode, the plug-in unit identification information that the indication information that this view creates mode can create identification information or this plug-in unit by view characterizes.
When the page is loaded, the page running on WebView can know that it runs in a specific APP (i.e. host), scripted code (JavaScript) in the page can call some specific JavaScript expansion interfaces, and expansion interface can notify the relevant information of one or more view information that host is inserted into.
At this, the relevant information of view information includes but not limited to following information:
1) view creates the indication information of information.At this, the indication information of view establishment information is used to indicate host to be needed to call plug-in unit to create view information, and this indication information is generally view and creates identification information, also, and ICreateView () ID.When the only self-defined view of plug-in unit creates mode, indication information also can be plug-in unit identification information.
2) relevant position of view information in the page.At this, after host obtains view information in subsequent step, view information can be inserted according to the relevant position of view information in the page in the page.
The indication information that host can create information according to view determines the plug-in unit corresponding to one or more view information be inserted in the page, and concrete determination mode includes but not limited to following 2 kinds:
1) host can plug-in unit identification information corresponding to the one or more view information be inserted in the page, determines corresponding plug-in unit.
At this, create the plug-in unit of mode for only self-defined view, the plug-in unit identification information of this plug-in unit may be used for indicating the view of this plug-in unit to create mode.
2) host can create identification information by the view corresponding to the one or more view information be inserted in the page, determines corresponding plug-in unit.
At this, host can preserve the corresponding relation that view creates identification information and plug-in unit, and host according to this corresponding relation, can determine that the view of the view information be inserted into creates the plug-in unit corresponding to identification information.
Preferably, host can determine that the one or more views in host corresponding to each plug-in unit create identification information.
According to the definition of metadata (metadata), host can check that the view whether having self-defined realization in the middle of plug-in unit creates mode ICreateView (), if existed, then preservation plug-in unit and view create the corresponding relation of identification information ICreateView () ID.
Accordingly, host preserves the corresponding relation that plug-in unit and view create identification information, specifically as shown in the following Table 1:
Table 1
As shown in table 1, plug-in unit 1 is self-defined has 3 views to create mode, and each establishment mode corresponds to a kind of view information; Plug-in unit 2 is self-defined has 1 view to create mode, and this establishment mode corresponds to a kind of view information; Plug-in unit 3 is self-defined has 2 views to create mode, and each establishment mode corresponds to a kind of view information.
Host determines that the one or more views in host corresponding to each plug-in unit create identification information and at least can carry out at following two time points:
1) when host is activated, host determines that the one or more views in host corresponding to each plug-in unit create identification information.
2) when host detect the page comprise need to call plug-in unit to create the indication information of view information time, host determines that the one or more views in host corresponding to each plug-in unit create identification informations, to determine the plug-in unit corresponding to this indication information.
In step s 2, host's loading of plug-in.
At this, if the plug-in unit be loaded creates mode to there being multiple view, host then needs the view corresponding to view information indicating plug-in unit to be inserted into create mode.
The plug-in unit that in the page, each view information be inserted into can be corresponding different, or, the plug-in unit that partial view information can be corresponding identical.When the corresponding same plug-in unit of multiple view information, host only need load a plug-in unit, but generates multiple different view information by repeatedly running this plug-in unit.
In step s3, the plug-in unit view called corresponding to view information creates mode to generate view information.
At this, plug-in unit can create mode ICreateView () based on its self-defining view, generates view information.
The view information that plug-in unit generates includes but not limited to following two kinds:
1) content of content-based information presents the view information of class.
At this, content information includes but not limited to the various content corresponding with view information, concrete as word content information, picture content information etc.
Preferably, plug-in unit can call view and create mode content-based information to generate view information.
At this, the corresponding content information of view information can pass to plug-in unit by host in step s 2.
Particularly, plug-in unit calls view and creates mode content-based information includes but not limited to following 2 kinds in the mode generating view information:
1.1) content information that plug-in unit can directly transmit based on host generates view information.
Such as, host can transmit multiple restaurants relevant information for the plug-in unit of diet comment class, and each restaurant relevant information specifically comprises restaurant name, address, restaurant, restaurant phone, restaurant picture etc.
The view that the plug-in unit of diet comment class can call for creating list of restaurants type view information creates mode, and, directly generate list of restaurants type view information based on aforementioned multiple restaurants relevant information.
1.2) keyword that plug-in unit can transmit based on host generates view information.
At this, keyword can obtain corresponding content to be presented for plug-in unit, generates view information to create mode by plug-in unit by view.
Particularly, the database that plug-in unit can be set up in advance based on keyword query, and obtain the to be presented content corresponding with this keyword.
Such as, the plug-in unit of diet comment class based on keyword " seabed is dragged for " Query Database, and can obtain the multiple restaurants relevant information for creating list of restaurants type view information.
For another example, the plug-in unit of diet comment class based on keyword "+shop, peony garden is dragged in seabed " Query Database, and can obtain the restaurant relevant information about " shop, peony garden is dragged in seabed " for creating restaurant details type view information.
At this, this database can be the local data base of plug-in unit; Or this database also can store as the webserver of cloud database corresponding to plug-in unit.
According to a preferred embodiment of the present invention, the page that host loads comprises result of page searching.When the content information that host passes to plug-in unit comprises the content of a Search Results, plug-in unit can create mode by corresponding views and generate the view information of this Search Results in conjunction with this content.
The content information passing to plug-in unit as host comprises search keyword.At this, search keyword means the keyword that user submits to search engine.Plug-in unit can pass through the webserver of search keyword query plug-in unit, to obtain the object information corresponding with searching for keyword.Plug-in unit can create mode by view and generate one or more view information based on obtained object information.Multiple view information that plug-in unit generates can present as one or more Search Results in Search Results.
2) non-content presents the view information of class.
At this, the view information that non-content presents class includes but not limited to application class view information and game class view information.Wherein, application class view information is concrete as counter, two-dimension code generator etc.; Game class view information is concrete as LODE RUNNER, see repeatedly.
In step s 4 which, view information is passed to host by plug-in unit.
Correspondingly, host obtains and calls view by plug-in unit and create the view information that generates of mode.
In step s 5, view information, according to the relevant position of view information in the page, is inserted in the page by host.
Wherein, the position of view information in the page can be embodied based on the mode of some piece (div) in the page.
Host is according to the relevant position in the page of the one or more view information be inserted into obtained in step sl, and the view information transmitted by plug-in unit is inserted in the page.
Preferably, after present the page comprising view information for user, the operation of user to view information can also be passed to plug-in unit by host, and in the affiliated area of view information, present the view information after the renewal that plug-in unit returns.
At this, the operation of user to view information includes but not limited to various user by various input modes such as keyboard, dummy keyboard, touch pad, touch-screens to the operation of view information.User to the operation of view information specifically as user selects some interactive button in view information, user inputting word information etc. in the input frame of view information.
The operation of user to view information is passed to plug-in unit by host; Then, plug-in unit is according to the operation closed operation of user to view information; Subsequently, the view information after renewal is returned to host by plug-in unit; Host presents the view information after renewal by the affiliated area of view information in the page.
Fig. 2 illustrates system schematic in accordance with another embodiment of the present invention, and this system comprises a kind of device view information inserted at host's end in the page, also i.e. insertion apparatus 210, and this system also specifically comprises a plug-in unit run in host 220.As shown in Figure 2, insertion apparatus 210 and plug-in unit 220 are all installed in the host of mobile device, and insertion apparatus 210 specifically comprises device 211-213.
The device 211 of host is when load page, determine the plug-in unit corresponding to one or more view information be inserted in the page, wherein, host comprises the Mobile solution (for ease of distinguishing, below device 211 being called plug-in unit determining device 211) with page browsing function; Device 212 loading of plug-in (for ease of distinguishing, below device 212 being called plug-in unit charger 212); Plug-in unit 220 view called corresponding to view information creates mode to generate view information; View information is passed to host by plug-in unit 220; View information, according to the relevant position of view information in the page, is inserted in the page and (for ease of distinguishing, below device 213 is called view insertion apparatus 213) by device 213.
Particularly, the plug-in unit determining device 211 of host, when load page, determines the plug-in unit corresponding to one or more view information be inserted in the page, and wherein, host comprises the Mobile solution with page browsing function.
At this, host can be the various Mobile solution (APP) with page browsing function, also, and the various Mobile solution with browser sex character.Host is concrete as search APP, browser APP etc.Wherein, search APP such as mobile phone Baidu, Google APP etc., browser APP is Baidu's mobile phone browser, QQ browser etc. such as.
Plug-in unit means, and is embedded into and runs on the application program in host.Such as, for Android operation system, plug-in unit can be an Android APK, as long as wherein add the SDK of host, this plug-in unit can identify by host and run in host environment.
Generally speaking, plug-in unit is separated with host, and therefore, plug-in unit can be increased individually or be updated.
At this, plug-in unit not runs in the running environment that intelligent operating system provides, but runs in the plug-in component operation environment that host provides.Plug-in component operation environment means, and the various conditions required for plug-in component operation, specifically include but not limited to software environment and hardware environment.Host and plug-in unit together constitute system, and this system also can be called as plug-in system.
The page includes but not limited to any internet page, concrete as the homepage page, the sub-channel page, content details page, result of page searching etc.
View information means, the self-defining graphical user interface information of plug-in unit.View information also can be considered to the pattern of graphic user interface.
Plug-in unit can define view information miscellaneous.Such as, diet comment class plug-in unit can the self-defined Duo Jia of presenting restaurant list of restaurants type view information, present the restaurant details type view information of restaurant details.For another example, the plug-in unit of map class can the ground pattern view information of self-defined position of appearing information.Also as, the plug-in unit of music class self-definedly can present the music type view information for playing music sources.
At this, one that the present invention proposes plug-in system strengthens characteristic, can create view information, and in host, show this view information in plug-in unit.
Such as, plug-in system can provide the interface (android.view.View class) of view information with the form of Android (Android) standard, plug-in unit is easy to realize self-defining view.
In the self-defined view information that plug-in unit realizes, following at least any one content can be supported:
1) system standard control, such as Android standard control;
2) two dimension view program, the Canvas 2D API of such as Android;
3) 3-D view program, the OpenGL 3D API of such as Android;
4) system resource and assets, the resource of such as Android and assets.
At this, general view creates mode ICreateView () using Android view class (android.view.View class) as its view interface.
At this, view creates mode and means, and creates the mode of view information by calling aforementioned at least any one content.Each plug-in unit all can create mode by self-defined one or more view, and each view creates mode and may be used for creating corresponding view information.
At this, view creates identification information (ICreateView () ID) and can be used to distinguish different view establishment modes.View creates identification information and is associated with plug-in unit, thus also can be used to identify plug-in unit.
Alternately, each plug-in unit is distinguished with other plug-in units mutually by a plug-in unit identification information.When each plug-in unit only has view to create mode, the plug-in unit identification information that the indication information that this view creates mode can create identification information or this plug-in unit by view characterizes.
When the page is loaded, the page running on WebView can know that it runs in a specific APP (i.e. host), scripted code (JavaScript) in the page can call some specific JavaScript expansion interfaces, and expansion interface can notify the relevant information of one or more view information that host is inserted into.
At this, the relevant information of view information includes but not limited to following information:
1) view creates the indication information of information.At this, the indication information of view establishment information is used to indicate host to be needed to call plug-in unit to create view information, and this indication information is generally view and creates identification information, also, and ICreateView () ID.When the only self-defined view of plug-in unit creates mode, indication information also can be plug-in unit identification information.
2) relevant position of view information in the page.At this, after host obtains view information in subsequent operation, view information can be inserted according to the relevant position of view information in the page in the page.
The indication information that plug-in unit determining device 211 can create information according to view determines the plug-in unit corresponding to one or more view information be inserted in the page, and concrete determination mode includes but not limited to following 2 kinds:
1) plug-in unit determining device 211 can plug-in unit identification information corresponding to the one or more view information be inserted in the page, determines corresponding plug-in unit.
At this, create the plug-in unit of mode for only self-defined view, the plug-in unit identification information of this plug-in unit may be used for indicating the view of this plug-in unit to create mode.
2) plug-in unit determining device 211 can create identification information by the view corresponding to the one or more view information be inserted in the page, determines corresponding plug-in unit.
At this, plug-in unit determining device 211 can preserve the corresponding relation that view creates identification information and plug-in unit, and plug-in unit determining device 211 according to this corresponding relation, can determine that the view of the view information be inserted into creates the plug-in unit corresponding to identification information.
Preferably, host can also comprise a mark determining device (not shown in Fig. 2), and mark determining device can determine that the one or more views in host corresponding to each plug-in unit create identification information.
According to the definition of metadata (metadata), mark determining device can check that the view whether having self-defined realization in the middle of plug-in unit creates mode ICreateView (), if existed, then preservation plug-in unit and view create the corresponding relation of identification information ICreateView () ID.
Accordingly, host preserves the corresponding relation that plug-in unit and view create identification information, specifically as shown in Table 1 above.
Mark determining device determines that the one or more views in host corresponding to each plug-in unit create identification information and at least can carry out at following two time points:
1) when host is activated, mark determining device determines that the one or more views in host corresponding to each plug-in unit create identification information.
2) when other specific devices in plug-in unit determining device 211 or host detect the page comprise need to call plug-in unit to create the indication information of view information time, mark determining device determines that the one or more views in host corresponding to each plug-in unit create identification information, to determine the plug-in unit corresponding to this indication information.
Preferably, identify determining device to integrate with plug-in unit determining device 211.
Then, plug-in unit charger 212 loading of plug-in 220.
At this, if the plug-in unit be loaded 220 creates mode to there being multiple view, the view corresponding to view information that plug-in unit charger 212 need indicate plug-in unit 220 to be inserted into creates mode.
The plug-in unit that in the page, each view information be inserted into can be corresponding different, or, the plug-in unit that partial view information can be corresponding identical.When the corresponding same plug-in unit of multiple view information, plug-in unit charger 212 need load a plug-in unit, but generates multiple different view information by repeatedly running this plug-in unit.
Subsequently, plug-in unit 220 view called corresponding to view information creates mode to generate view information.
At this, plug-in unit 220 can create mode ICreateView () based on its self-defining view, generates view information.
The view information that plug-in unit 220 generates includes but not limited to following two kinds:
1) content of content-based information presents the view information of class.
At this, content information includes but not limited to the various content corresponding with view information, concrete as word content information, picture content information etc.
Preferably, plug-in unit 220 can call view and create mode content-based information to generate view information.
At this, the corresponding content information of view information can pass to plug-in unit 220 by the plug-in unit charger 212 of host when performing the operation of loading of plug-in.
Particularly, plug-in unit 220 calls view and creates mode content-based information includes but not limited to following 2 kinds in the mode generating view information:
1.1) content information that plug-in unit 220 can directly transmit based on the plug-in unit charger 212 of host generates view information.
Such as, the plug-in unit charger 212 of host can transmit multiple restaurants relevant information for the plug-in unit 220 of diet comment class, and each restaurant relevant information specifically comprises restaurant name, address, restaurant, restaurant phone, restaurant picture etc.
The view that the plug-in unit 220 of diet comment class can call for creating list of restaurants type view information creates mode, and, directly generate list of restaurants type view information based on aforementioned multiple restaurants relevant information.
1.2) keyword that plug-in unit 220 can transmit based on the plug-in unit charger 212 of host generates view information.
At this, keyword can obtain corresponding content to be presented for plug-in unit 220, generates view information to create mode by plug-in unit 220 by view.
Particularly, the database that plug-in unit 220 can be set up in advance based on keyword query, and obtain the to be presented content corresponding with this keyword.
Such as, the plug-in unit 220 of diet comment class based on keyword " seabed is dragged for " Query Database, and can obtain the multiple restaurants relevant information for creating list of restaurants type view information.
For another example, the plug-in unit 220 of diet comment class based on keyword "+shop, peony garden is dragged in seabed " Query Database, and can obtain the restaurant relevant information about " shop, peony garden is dragged in seabed " for creating restaurant details type view information.
At this, this database can be the local data base of plug-in unit 220; Or this database also can store as the webserver of cloud database corresponding to plug-in unit 220.
According to a preferred embodiment of the present invention, the page that the plug-in unit determining device 211 of host loads comprises result of page searching.When the content information that the plug-in unit charger 212 of host passes to plug-in unit 220 comprises the content of a Search Results, plug-in unit 220 can create mode by corresponding views and generate the view information of this Search Results in conjunction with this content.
The content information passing to plug-in unit 220 when the plug-in unit charger 212 of host comprises search keyword.At this, search keyword means the keyword that user submits to search engine.Plug-in unit 220 can pass through the webserver of search keyword query plug-in unit 220, to obtain the object information corresponding with searching for keyword.Plug-in unit 220 can create mode by view and generate one or more view information based on obtained object information.Multiple view information that plug-in unit 220 generates can present as one or more Search Results in Search Results.
2) non-content presents the view information of class.
At this, the view information that non-content presents class includes but not limited to application class view information and game class view information.Wherein, application class view information is concrete as counter, two-dimension code generator etc.; Game class view information is concrete as LODE RUNNER, see repeatedly.
Subsequently, view information is passed to host by plug-in unit 220.
Correspondingly, host obtains and calls view by plug-in unit 220 and create the view information that generates of mode.
Then, view information, according to the relevant position of view information in the page, is inserted in the page by the view insertion apparatus 213 of host.
Wherein, the position of view information in the page can be embodied based on the mode of some piece (div) in the page.
The view information that plug-in unit 220 transmits, according to the relevant position in the page of the one or more view information be inserted into obtained during load page, is inserted in the page by view insertion apparatus 213.
Preferably, insertion apparatus 210 can also comprise a view update device (not shown in Fig. 2), after present the page comprising view information for user, the operation of user to view information can also be passed to plug-in unit 220 by view update device, and in the affiliated area of view information, present the view information after the renewal that plug-in unit 220 returns.
At this, the operation of user to view information includes but not limited to various user by various input modes such as keyboard, dummy keyboard, touch pad, touch-screens to the operation of view information.User to the operation of view information specifically as user selects some interactive button in view information, user inputting word information etc. in the input frame of view information.
The operation of user to view information is passed to plug-in unit 220 by view update device; Then, plug-in unit 220 is according to the operation closed operation of user to view information; Subsequently, the view information after renewal is returned to host by plug-in unit 220; The view update device of host presents the view information after renewal by the affiliated area of view information in the page.
Preferably, view update device can integrate with view insertion apparatus 213.
It should be noted that the present invention can be implemented in the assembly of software and/or software restraint, such as, special IC (ASIC), general object computing machine or any other similar hardware device can be adopted to realize.In one embodiment, software program of the present invention can perform to realize step mentioned above or function by processor.Similarly, software program of the present invention (comprising relevant data structure) can be stored in computer readable recording medium storing program for performing, such as, and RAM storer, magnetic or CD-ROM driver or flexible plastic disc and similar devices.In addition, steps more of the present invention or function can adopt hardware to realize, such as, as coordinating with processor thus performing the circuit of each step or function.
In addition, a part of the present invention can be applied to computer program, such as computer program instructions, when it is performed by computing machine, by the operation of this computing machine, can call or provide according to method of the present invention and/or technical scheme.And call the programmed instruction of method of the present invention, may be stored in fixing or moveable recording medium, and/or be transmitted by the data stream in broadcast or other signal bearing medias, and/or be stored in the working storage of the computer equipment run according to described programmed instruction.At this, comprise a device according to one embodiment of present invention, this device comprises the storer for storing computer program instructions and the processor for execution of program instructions, wherein, when this computer program instructions is performed by this processor, trigger this plant running based on the aforementioned method according to multiple embodiment of the present invention and/or technical scheme.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and when not deviating from spirit of the present invention or essential characteristic, the present invention can be realized in other specific forms.Therefore, no matter from which point, all should embodiment be regarded as exemplary, and be nonrestrictive, scope of the present invention is limited by claims instead of above-mentioned explanation, and all changes be therefore intended in the implication of the equivalency by dropping on claim and scope are included in the present invention.Any Reference numeral in claim should be considered as the claim involved by limiting.In addition, obviously " comprising " one word do not get rid of other unit or step, odd number does not get rid of plural number.Multiple unit of stating in system claims or device also can be realized by software or hardware by a unit or device.First, second word such as grade is used for representing title, and does not represent any specific order.

Claims (16)

1. at host's end view information inserted the method in the page, described host comprises the Mobile solution with page browsing function, and wherein, the method comprises:
-when load page, determine the plug-in unit corresponding to one or more view information be inserted in the described page;
-load described plug-in unit, create mode to generate described view information with the view called by described plug-in unit corresponding to described view information;
-according to the relevant position of described view information in the described page, described view information is inserted in the described page.
2. method according to claim 1, wherein, describedly determine that the step of the plug-in unit corresponding to one or more view information be inserted in the described page specifically comprises:
-view corresponding to described view information creates identification information, determines described plug-in unit.
3. method according to claim 2, wherein, the method also comprises:
-determine that the one or more views in described host corresponding to each plug-in unit create identification information.
4. according to the method in any one of claims 1 to 3, wherein, the step of the described plug-in unit of described loading also comprises:
-content information corresponding to described view information is passed to described plug-in unit, create mode to be called described view by described plug-in unit and generate described view information based on described content information.
5. method according to claim 4, wherein, described content information comprises keyword, and described keyword can obtain corresponding content to be presented for described plug-in unit, generates described view information to create mode by described view.
6. method according to claim 5, wherein, the described page comprises result of page searching, and described content information comprises search keyword, described search keyword can obtain corresponding object information for described plug-in unit, generates described view information to create mode by described view.
7. method according to any one of claim 1 to 6, wherein, the method also comprises:
-operation of user to described view information is passed to described plug-in unit, and in the affiliated area of described view information, present the view information after the renewal that described plug-in unit returns.
8. at host's end view information inserted the device in the page, described host comprises the Mobile solution with page browsing function, and wherein, this device comprises:
For when load page, determine the device of the plug-in unit corresponding to one or more view information be inserted in the described page;
For loading described plug-in unit, create mode to generate the device of described view information with the view called by described plug-in unit corresponding to described view information;
For according to the relevant position of described view information in the described page, described view information is inserted the device in the described page.
9. device according to claim 8, wherein, describedly determine that the operation of the plug-in unit corresponding to one or more view information be inserted in the described page specifically comprises:
-view corresponding to described view information creates identification information, determines described plug-in unit.
10. device according to claim 9, wherein, this device also comprises:
For determining that the one or more views in described host corresponding to each plug-in unit create the device of identification information.
Device according to any one of 11. according to Claim 8 to 10, wherein, the operation of the described plug-in unit of described loading also comprises:
-content information corresponding to described view information is passed to described plug-in unit, create mode to be called described view by described plug-in unit and generate described view information based on described content information.
12. devices according to claim 11, wherein, described content information comprises keyword, and described keyword can obtain corresponding content to be presented for described plug-in unit, generates described view information to create mode by described view.
13. devices according to claim 12, wherein, the described page comprises result of page searching, and described content information comprises search keyword, described search keyword can obtain corresponding object information for described plug-in unit, generates described view information to create mode by described view.
Device according to any one of 14. according to Claim 8 to 13, wherein, this device also comprises:
For the operation of user to described view information is passed to described plug-in unit, and in the affiliated area of described view information, present the device of the view information after the renewal that described plug-in unit returns.
View information to be inserted the method in the page by 15. 1 kinds, and wherein, the method comprises:
-host, when load page, determines the plug-in unit corresponding to one or more view information be inserted in the described page, and wherein, described host comprises the Mobile solution with page browsing function;
-described host loads described plug-in unit;
-described plug-in unit the view called corresponding to described view information creates mode to generate described view information, and described view information is passed to described host;
Described view information, according to the relevant position of described view information in the described page, is inserted in the described page by-described host.
View information to be inserted the system in the page by 16. 1 kinds, wherein, the plug-in unit that this system comprises host and runs in host, described host comprises the Mobile solution with page browsing function;
Wherein, described host is used for:
-when load page, determine the plug-in unit corresponding to one or more view information be inserted in the described page;
-load described plug-in unit, to generate described view information by described plug-in unit;
-according to the relevant position of described view information in the described page, described view information is inserted in the described page.
Wherein, described plug-in unit is used for:
-the view called corresponding to described view information creates mode to generate described view information;
-described view information is passed to described host.
CN201410853415.3A 2014-12-31 2014-12-31 Method, device and system for inserting view information into page Pending CN104598225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410853415.3A CN104598225A (en) 2014-12-31 2014-12-31 Method, device and system for inserting view information into page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410853415.3A CN104598225A (en) 2014-12-31 2014-12-31 Method, device and system for inserting view information into page

Publications (1)

Publication Number Publication Date
CN104598225A true CN104598225A (en) 2015-05-06

Family

ID=53124045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410853415.3A Pending CN104598225A (en) 2014-12-31 2014-12-31 Method, device and system for inserting view information into page

Country Status (1)

Country Link
CN (1) CN104598225A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866623A (en) * 2015-06-11 2015-08-26 郑州悉知信息技术有限公司 Searching method and searching server
CN105260206A (en) * 2015-10-10 2016-01-20 北京京东尚科信息技术有限公司 Data source plug-in implementation method and server
CN106383702A (en) * 2016-08-31 2017-02-08 广州品唯软件有限公司 Live data display method and equipment
CN107239460A (en) * 2016-03-28 2017-10-10 百度在线网络技术(北京)有限公司 A kind of association search method, device and system for mobile device
CN107688572A (en) * 2016-08-03 2018-02-13 腾讯科技(深圳)有限公司 A kind of page display method and terminal
CN107766528A (en) * 2017-10-24 2018-03-06 深圳市雷鸟网络传媒有限公司 Data load method, terminal and the computer-readable recording medium of the waterfall stream page
CN108089859A (en) * 2017-12-27 2018-05-29 复旦大学 A kind of mashed up method between Android application based on recording and playback
CN109144605A (en) * 2018-08-06 2019-01-04 北京奇艺世纪科技有限公司 A kind of applied program processing method and device
CN110244985A (en) * 2018-03-09 2019-09-17 优酷网络技术(北京)有限公司 A kind of view rendering method, computer storage medium and terminal device
CN111913698A (en) * 2020-08-13 2020-11-10 唐杰 Cross-platform universal forum community program control method and system
CN112506529A (en) * 2020-11-26 2021-03-16 杭州讯酷科技有限公司 Method for quickly constructing compatible system by using plug-in
CN108089929B (en) * 2016-11-22 2021-04-16 沈阳美行科技有限公司 Method and device for operating application program by using plug-in
CN113343151A (en) * 2021-06-25 2021-09-03 上海渠杰信息科技有限公司 Method and equipment for processing webpage view

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1629803A (en) * 2003-12-18 2005-06-22 腾讯科技(深圳)有限公司 Method for embedding a third party interface in host program interface
CN102314429A (en) * 2010-06-30 2012-01-11 上海视加信息科技有限公司 Method for controlling webpage by using extensive makeup language (XML) protocol
CN102999579A (en) * 2012-11-13 2013-03-27 北京奇虎科技有限公司 Browser for processing page textbox, and method for processing page textbox element
CN103309741A (en) * 2013-06-17 2013-09-18 腾讯科技(深圳)有限公司 Method and device for calling plug-in function
CN103577207A (en) * 2012-08-01 2014-02-12 阿里巴巴集团控股有限公司 Loading method and loading device for interface components in custom interface system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1629803A (en) * 2003-12-18 2005-06-22 腾讯科技(深圳)有限公司 Method for embedding a third party interface in host program interface
CN102314429A (en) * 2010-06-30 2012-01-11 上海视加信息科技有限公司 Method for controlling webpage by using extensive makeup language (XML) protocol
CN103577207A (en) * 2012-08-01 2014-02-12 阿里巴巴集团控股有限公司 Loading method and loading device for interface components in custom interface system
CN102999579A (en) * 2012-11-13 2013-03-27 北京奇虎科技有限公司 Browser for processing page textbox, and method for processing page textbox element
CN103309741A (en) * 2013-06-17 2013-09-18 腾讯科技(深圳)有限公司 Method and device for calling plug-in function

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866623A (en) * 2015-06-11 2015-08-26 郑州悉知信息技术有限公司 Searching method and searching server
CN105260206A (en) * 2015-10-10 2016-01-20 北京京东尚科信息技术有限公司 Data source plug-in implementation method and server
CN107239460A (en) * 2016-03-28 2017-10-10 百度在线网络技术(北京)有限公司 A kind of association search method, device and system for mobile device
CN107688572A (en) * 2016-08-03 2018-02-13 腾讯科技(深圳)有限公司 A kind of page display method and terminal
CN107688572B (en) * 2016-08-03 2021-07-27 腾讯科技(深圳)有限公司 Page display method and terminal
CN106383702A (en) * 2016-08-31 2017-02-08 广州品唯软件有限公司 Live data display method and equipment
CN108089929B (en) * 2016-11-22 2021-04-16 沈阳美行科技有限公司 Method and device for operating application program by using plug-in
CN107766528A (en) * 2017-10-24 2018-03-06 深圳市雷鸟网络传媒有限公司 Data load method, terminal and the computer-readable recording medium of the waterfall stream page
CN107766528B (en) * 2017-10-24 2021-09-28 深圳市雷鸟网络传媒有限公司 Data loading method and terminal for waterfall flow page and computer readable storage medium
CN108089859B (en) * 2017-12-27 2020-11-20 复旦大学 Recording playback-based blending method between android applications
CN108089859A (en) * 2017-12-27 2018-05-29 复旦大学 A kind of mashed up method between Android application based on recording and playback
CN110244985A (en) * 2018-03-09 2019-09-17 优酷网络技术(北京)有限公司 A kind of view rendering method, computer storage medium and terminal device
CN109144605A (en) * 2018-08-06 2019-01-04 北京奇艺世纪科技有限公司 A kind of applied program processing method and device
CN111913698A (en) * 2020-08-13 2020-11-10 唐杰 Cross-platform universal forum community program control method and system
CN111913698B (en) * 2020-08-13 2023-12-15 弗雷森斯(苏州)科技有限公司 Control method and system for cross-platform universal forum community program
CN112506529A (en) * 2020-11-26 2021-03-16 杭州讯酷科技有限公司 Method for quickly constructing compatible system by using plug-in
CN112506529B (en) * 2020-11-26 2024-03-26 杭州讯酷科技有限公司 Method for quickly constructing compatible system by using plug-in
CN113343151A (en) * 2021-06-25 2021-09-03 上海渠杰信息科技有限公司 Method and equipment for processing webpage view

Similar Documents

Publication Publication Date Title
CN104598225A (en) Method, device and system for inserting view information into page
US9672540B2 (en) Web page ad slot identification
US9852550B2 (en) System and method of markerless injection of ads in AR
CN102306174B (en) Method and equipment for interacting with user based on web page elements
KR20150035282A (en) System for authorting and providing augmented reality cotents
CN104754420A (en) Barrage interaction method and device in process of multimedia file playing
US10528980B2 (en) Targeted marketing using dynamically varied recommendations
CN102411614A (en) Display Of Image Search Results
CN105446989A (en) Search method and device, and display device
CN104636434A (en) Search result processing method and device
CN107315827A (en) The method and its device of a kind of correlation recommendation in electronic reading
CN105027110A (en) Systems and methods of creating an animated content item
CN104571813A (en) Information displaying method and device
CN104809223A (en) Method and device for supplying application content search result in application
CN105302461A (en) Method and equipment for providing target page in mobile application
CN105094603A (en) Method and device for related inputting
CN114357345A (en) Picture processing method and device, electronic equipment and computer readable storage medium
CN105183853A (en) Method and device used for presenting label page
CN104794174A (en) Webpage marking information display method and device
TWI609280B (en) Content and object metadata based search in e-reader environment
US10210001B2 (en) Automatic execution of objects in a user interface
CN105468227A (en) Method and apparatus for displaying information in webpage
CN107562324A (en) The method and terminal of data display control
CN113496017A (en) Verification method, device, equipment and storage medium
US9785650B2 (en) Flexible content display

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150506