CN105791360B - The browser function sharing method and system of striding equipment - Google Patents

The browser function sharing method and system of striding equipment Download PDF

Info

Publication number
CN105791360B
CN105791360B CN201410821790.XA CN201410821790A CN105791360B CN 105791360 B CN105791360 B CN 105791360B CN 201410821790 A CN201410821790 A CN 201410821790A CN 105791360 B CN105791360 B CN 105791360B
Authority
CN
China
Prior art keywords
equipment
browser
function
striding
upnp
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.)
Active
Application number
CN201410821790.XA
Other languages
Chinese (zh)
Other versions
CN105791360A (en
Inventor
宫叶清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201410821790.XA priority Critical patent/CN105791360B/en
Publication of CN105791360A publication Critical patent/CN105791360A/en
Application granted granted Critical
Publication of CN105791360B publication Critical patent/CN105791360B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention proposes the browser function sharing method and system of a kind of striding equipment, wherein, in the browser function sharing method of the striding equipment, first equipment includes browser, browser has the function of the first corresponding universal plug and play UPnP interface, UPnP interface corresponds to browser equipment, the service of browser equipment is provided by the first function of browser, method includes the following steps: the browser equipment in the second equipment search UPnP network is to obtain browser equipment list, wherein, browser equipment list includes the browser equipment in the first equipment, wherein, first equipment and the second equipment belong to a UPnP network;Second equipment obtains the corresponding operation interface menu of browser equipment in the first equipment;Second equipment operates the browser equipment in the first equipment according to operation interface menu.The browser function sharing method of striding equipment of the invention, realize the communication of the striding equipment of browser function with share, sharing contents are more abundant, promote user experience.

Description

The browser function sharing method and system of striding equipment
Technical field
The present invention relates to network technique fields, in particular to the browser function sharing method and system of striding equipment.
Background technique
In current browser application, the control sharing of the browser function of Yao Shixian striding equipment is a technology Blank.Currently, sharing function is mainly that initiative shares form, i.e., by the sharing context menu of browser come to character The text of string type, which is done, to be shared.The sharing function of striding equipment generally uses the sharing function of system default, such as passes through short message, bluetooth Or the application programs such as third-party application (fast tooth, wechat etc.) realize the sharing of simple character string rank.It has the disadvantage in that Sharing contents are single, general sharing contents be only limitted to URL (Uniform Resource Locator, resource locator), The sharing of character string is shared the sharing of application layer between usually this equipment, to picture, video etc. almost without striding equipment The function of sharing;What the application of control sharing function was typically all tripartite's application program based on system level to realize, and Simple functionalization control is mainly done, but there is no realizations in browser application, thus is difficult to realize the browser function of striding equipment It can control sharing.
Summary of the invention
The present invention is directed to solve above-mentioned technical problem at least to a certain extent.
For this purpose, the first purpose of this invention is to propose a kind of browser function sharing method of striding equipment, Neng Goushi The communication of the striding equipment of existing browser function with share, sharing contents are more abundant, promote user experience.
Second object of the present invention is to propose a kind of browser function share system of striding equipment.
In order to achieve the above object, the browser function that embodiment proposes a kind of striding equipment according to a first aspect of the present invention is shared Method, the first equipment include browser, and the browser has the function of the first corresponding universal plug and play UPnP interface, described UPnP interface corresponds to browser equipment, and the service of the browser equipment is provided by the first function of the browser, the side Method is the following steps are included: the second equipment searches for the browser equipment in UPnP network to obtain browser equipment list, wherein institute Stating browser equipment list includes the browser equipment in first equipment, wherein first equipment and the second equipment are same Belong to the UPnP network;Second equipment obtains the corresponding operation interface of browser equipment in first equipment Menu;Second equipment operates the browser equipment in first equipment according to the operation interface menu.
The browser function sharing method of the striding equipment of the embodiment of the present invention, the second equipment can search for belonging to same UPnP net Browser equipment in network obtains the corresponding behaviour of browser equipment in first equipment to obtain browser equipment list Make interface menu, then the browser equipment in first equipment is operated according to the operation interface menu, thus Can in conjunction with browser kernel function and cross-platform Web APP so that the browser function based on Web technological development Identical browser equipment UPnP service network is added, realize the communication of the striding equipment of browser function with share, by UPnP/ DLNA application protocol expands to the WEB other than media sharing and shares field.Furthermore, it can be achieved that browser itself support video, The striding equipment for being embedded in broadcasting, carousel displaying of photo slideshow etc. of audio is shared, and is not limited solely to the sharing of character string, shares Content is more abundant, promotes user experience.
Second aspect of the present invention embodiment provides a kind of browser function sharing method system of striding equipment, comprising: the One equipment, first equipment includes browser, and the browser has the function of that the first corresponding universal plug and play UPnP connects Mouthful, the UPnP interface corresponds to browser equipment, and the service of the browser equipment is provided by the first function of the browser; Second equipment, the browser equipment that second equipment is used to search in UPnP network is to obtain browser equipment list, wherein The browser equipment list includes the browser equipment in first equipment, wherein first equipment and the second equipment The UPnP network is belonged to, and obtains the corresponding operation interface menu of browser equipment in first equipment, with And the browser equipment in first equipment is operated according to the operation interface menu.
The browser function share system of the striding equipment of the embodiment of the present invention, the second equipment can search for belonging to same UPnP net Browser equipment in network obtains the corresponding behaviour of browser equipment in first equipment to obtain browser equipment list Make interface menu, then the browser equipment in first equipment is operated according to the operation interface menu, thus Can in conjunction with browser kernel function and cross-platform Web APP so that the browser function based on Web technological development Identical browser equipment UPnP service network is added, realize the communication of the striding equipment of browser function with share, by UPnP/ DLNA application protocol expands to the WEB other than media sharing and shares field.Furthermore, it can be achieved that browser itself support video, The striding equipment for being embedded in broadcasting, carousel displaying of photo slideshow etc. of audio is shared, and is not limited solely to the sharing of character string, shares Content is more abundant, promotes user experience.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart according to the browser function sharing method of the striding equipment of one embodiment of the invention;
Fig. 2 is the flow chart according to the browser function sharing method of the striding equipment of a specific embodiment of the invention
Fig. 3 is the structural schematic diagram according to the browser function share system of the striding equipment of one embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.
In the description of the present invention, it is to be understood that, term " multiple " refers to two or more;Term " first ", " second " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
For UPnP (Universal Plug and Play, universal plug and play)/DLNA (Digital Living Network Alliance, Digital Life Network Alliance) for technology, current main application range is in family's multimedia digital Share aspect, i.e., some WIFI (Wireless Fidelity, Wireless Fidelity) smart machines pass through some common of open equipment Functional interface, to realize the technology remotely controlled.Such as controlled and played by mobile phone video on designated equipment, picture and Music, this kind of application is very much, since it is the unified standard of striding equipment cross-platform cross industry, as long as based on WIFI's Equipment can follow this technology to develop corresponding product.
Based on this principle, present invention firstly provides the browser function sharing methods and system of striding equipment, below with reference to attached Figure describes the browser function sharing method and system of striding equipment according to an embodiment of the present invention.
Fig. 1 is the flow chart according to the browser function sharing method of the striding equipment of one embodiment of the invention.
Second equipment can share the first equipment by executing the browser function sharing method of striding equipment as shown in Figure 1 Browser function.As shown in Figure 1, the browser function sharing method of striding equipment according to an embodiment of the present invention, comprising:
S101, the second equipment search for the browser equipment in UPnP network to obtain browser equipment list, wherein browsing Device list of devices includes the browser equipment in the first equipment, wherein the first equipment and the second equipment belong to a UPnP net Network.
The embodiment of the present invention can realize that the browser function between the first equipment and the second equipment is shared.Wherein, it first sets Standby includes browser, and browser has the function of that the first corresponding UPnP interface, UPnP interface correspond to browser equipment, and browser is set Standby service is provided by the first function of browser.First function be the first equipment in browser in arbitrarily need disclosure, can The function of sharing.
First equipment, the second equipment can be mobile phone, tablet computer, personal digital assistant, e-book, Intelligent wearable and sets It is standby to wait mobile terminals, it is also possible to PC (Personal Computer, personal computer) etc..
S102, the second equipment obtain the corresponding operation interface menu of browser equipment in the first equipment.
Wherein, operation interface menu is determined according to corresponding first function of browser equipment in the first equipment.Behaviour The position for making the setting of interface menu can be by determining to having the function of the first of corresponding UPnP interface disclosed in needs.It lifts For example, can increase in the main menu configuration file (Browser.xml) of browser menu item " addition bookmark to equipment ", " setting homepage to equipment " etc., these menu items can be defined by browser developers.
Specifically, in an embodiment of the present invention, the second equipment is after obtaining browser equipment list, it is possible to provide to the The user of two equipment, user can carry out a series of operation on the list items in browser equipment list, and such as specified target is set It is standby, that is, select a browser equipment to share or control, naturally it is also possible to which simultaneous selection multiple browser equipments carry out A device configuration multiple devices while the function of sharing thus may be implemented in manipulation.
When it is target device that user, which specifies the browser equipment in the first equipment, it is corresponding that the browser equipment can be obtained Operation interface menu.
S103, the second equipment operate the browser equipment in the first equipment according to operation interface menu.
For example, if increasing " addition bookmark in each bookmark icon context menu of bookmark list interface To equipment " menu item, current bookmark can be added to specified device navigator by this menu item by the second equipment;Or If increasing the menu item of " setting homepage to equipment " in the browser main menu of the second equipment, the second equipment can pass through this dish Individual event can call the setting First page information function Set Home Page Info of UPnP interface method to be arranged in the first equipment Browser equipment homepage.
The browser function sharing method of the striding equipment of the embodiment of the present invention, the second equipment can search for belonging to same UPnP net Browser equipment in network obtains the corresponding operation of the browser equipment in the first equipment and connects to obtain browser equipment list Mouth menu, then operates the browser equipment in the first equipment according to operation interface menu, so as to combine browsing The function of device kernel and cross-platform Web APP so that the browser function based on Web technological development can be added it is identical Browser equipment UPnP service network, realize the communication of the striding equipment of browser function with share, by UPnP/DLNA application protocol The WEB expanded to other than media sharing shares field.Furthermore, it can be achieved that the insertion of video, audio that browser itself is supported is broadcast Put, the carousel of photo slideshow show etc. striding equipment share, be not limited solely to the sharing of character string, sharing contents are richer Richness promotes user experience.
In addition, in one embodiment of the invention, manipulation peace can be used in the browser function sharing method of striding equipment The design of full mechanism.For example, Bluetooth pairing mode can be used, certification instruction is sent when selection manipulates target, in browser Equipment requires user's confirmation can be controlled after receiving certification instruction, passive controlled etc. so as to avoid operation target chaotic Risk realizes the safe Communication Control of comparison in a certain range.It, can also for the browser equipment of one-to-many control It can be arranged by controlled option in such a way that active certification is controlled, increasing confirmation in a browser, this avoid as blue The equally cumbersome pairing process of tooth, improves control efficiency.
It is specifically described below with reference to browser function sharing method of the Fig. 2 to the striding equipment of the embodiment of the present invention.
In one embodiment of the invention, the browsing of the UPnp/DLNA protocol realization striding equipment based on WIFI can be passed through Device function is shared.
S1 realizes the integrated of the UPnP/DLNA function of the first equipment and the second equipment.
Specifically, the relevant operation library UPnP/DLNA can be integrated in browser in a device.With android system For equipment, common to operate there are two libraries, one is cling-core-1.0.3, the other is teleal-common- 1.0.13, the two operation libraries can be developed based on UPnP protocol.Since UPnP protocol is divided into three parts: (1) equipment, (2) service, (3) control point, if to control some equipment, control point must first send a controlling behavior request, it is desirable that should Equipment starts to service, and then sends corresponding control message by the URL of equipment again.Wherein, control message is just located in XML SOAP (Simple Object those of in (Extensible Markup Language, extensible markup language) file Access Protocol, Simple Object Access Protocol) format information.Finally, service meeting returning response information, it is indicated that service It is successfully or to fail.
Based on this principle, the browser in equipment needs while being made into browser equipment (Device) and control point (Control Point).It is imported in browser application code firstly, library can be operated UPnP, i.e., it will in browser code Common UPnP operation the library cling-core-1.0.3.jar or teleal-common-1.0.13.jar of android system is put Enter under libs catalogue, and introduces one of the two jar files.Since the two libraries jar are the UPnP behaviour of different tissues exploitation Make library, so can all realize basic UPnP development interface.The browser in the first equipment is designed as an equipment as a result, The equipment can contain embedded equipment (i.e. browser equipment) and service in varying numbers.Wherein, each browser is set For standby creation, one UPnP interface of Functional Design disclosed in respectively each needs, each UPnP interface corresponds to one Browser equipment (such as the entitled UPnP Browser Device of equipment) and a service (such as service entitled UPnP Browser Service), it include the movement (Action) and state variable of corresponding function in each service;Then by these Browser equipment, service are established as device description file, and the creation method of device description file can refer to UPnP official website The detailed step and description of (http://www.upnp.org) to this, are not described herein.
Secondly, browser will also realize control point function, i.e., increase following functions in browser interface or menu: (1) search for browser equipment: can be searched in WIFI network by this function has similar service (UPnP Browser Service all devices), and object run equipment can be specified by list of devices, it also needs to refresh again certainly and search The function of rope equipment;(2) interface appropriate with increase operation interface menu (or the function for needing to share or control in menu Energy button), for example increase " addition bookmark to equipment " in each bookmark icon context menu of bookmark list interface Current bookmark can be added to specified device navigator by this menu by menu, user;Or it can be in browser entree Increase " setting homepage to equipment " menu in list, UPnP interface method Set Home Page Info can be called by this menu The homepage etc. of specified browser equipment is arranged.
Since the function of movement and state variable is called for striding equipment, in order to realize all movement and shape The function of state variable, these movements and state variable need and the application of browser itself combines, such as setting homepage (Set Home Page Info) this movement can combine reality with the Set Home Page () of Browser Setting It is existing.
In order to which whether testing service interface structure builds success, the UPnP tool set of profession has been used in the embodiment of the present invention Intel (R) Tools for UPnP (TM) Technology has the tool of one " Device Spy " specially to use in this set tool The structure of equipment and service, movement and state variable in capture UPnP network, can check browser equipment by it The detailed structure view of service.
It can send and notify to existing UPnP network after the completion of browser equipment creation, and the UPnP network is added.
As a result, when the first equipment for being integrated with UPnP/DLNA function is connect with the second equipment by WIFI, then form UPnP network.It should be appreciated that UPnP network may include multiple equipment, the first equipment and the second equipment are only to explain, illustrating this The browser function of the striding equipment of inventive embodiments shares the example of scheme.
S2 opens the service of the browser equipment in the first equipment.
In one embodiment of the invention, the browser after browser starting in the first equipment, in the first equipment The service of the browser equipment in starting entry file (such as BrowserActivity) first equipment of Lai Kaiqi can be passed through.Specifically Ground can be started the service of browser equipment by equipment run function (such as Device::start () function), be stopped by equipment Only function (such as Device::stop () function) terminates the service of browser equipment.Due to only having root device can be used Device::start (), therefore during creating browser equipment, need to describe document creation one according to root device The example of equipment class, to be created that a root device.
Then, browser equipment is established to share and control the interface UI, it specifically, can be by the disclosed UPnP function of needs It can determine where establishing operation interface menu, it can in the main menu configuration file (Browser.xml) of browser Middle increase menu item " addition bookmark to equipment ", " setting homepage to equipment " etc., these menu items can be by browser developers To define.
S3, the second equipment search for the browser equipment in UPnP network to obtain browser equipment list.
Second equipment can be by calling search () method to search for all devices in UPnP network automatically, by searching for it The equipment obtained afterwards is all available devices in UPnP network.In one embodiment of the invention, for operating easily, may be used To filter out non-browser equipment from the equipment searched.It specifically, can be according to the Service name disclosed in browser equipment (UPnP Browser Service), this title can be found in upnp devices, in this way with the second equipment same All browser equipments in the network UPnP can be searched and filter out.In the process, these browser equipments Belonging to which platform Android device can not have to be concerned about, generally pass through implementor name or URI (Uniform Resource Identifier, universal resource identifier) distinguish these browser equipments.It can be designed that browser is set by these information Standby list.
S4, the second equipment obtain the corresponding operation interface menu of browser equipment in the first equipment.
Wherein, operation interface menu is determined according to corresponding first function of browser equipment in the first equipment.Behaviour The position for making the setting of interface menu can be by determining to having the function of the first of corresponding UPnP interface disclosed in needs.It lifts For example, can increase in the main menu configuration file (Browser.xml) of browser menu item " addition bookmark to equipment ", " setting homepage to equipment " etc., these menu items can be defined by browser developers.
Specifically, in an embodiment of the present invention, the second equipment is after obtaining browser equipment list, it is possible to provide to the The user of two equipment, user can carry out a series of operation on the list items in browser equipment list, and such as specified target is set It is standby, that is, select a browser equipment to share or control, naturally it is also possible to which simultaneous selection multiple browser equipments carry out A device configuration multiple devices while the function of sharing thus may be implemented in manipulation.
When it is target device that user, which specifies the browser equipment in the first equipment, it is corresponding that the browser equipment can be obtained Operation interface menu.
S5, the second equipment operate the browser equipment in the first equipment according to operation interface menu.
In one embodiment of the invention, the second equipment sets the browser in the first equipment according to operation interface menu Specifically include for operation is carried out: the second equipment sends control instruction by operation interface menu;And obtain browser equipment pair The control point answered, and control point is operated according to control instruction.
Wherein, control point is created by the example of control point class (such as ControlPoint class), and is started by control point Function (such as ControlPoint::strat () function) is opened, and stops function (such as by control point ControlPoint::stop () function) it closes.After control point is opened, it can broadcast a discovery message to UPnP network, this A dominating pair of vertices as just can be used as internal public object come using.So as to be operated according to control instruction to the control point.
The browser function sharing method of the striding equipment of the embodiment of the present invention realizes striding equipment sharing browser function as a result, Energy and striding equipment sharing files function.
Wherein, it is by broadcast mechanism (Broadcast) Lai Shixian, by stating extensively that striding equipment, which shares browser function, It broadcasts and facilitates third party application to call these control instructions to reach the sharing of striding equipment.For example, in picture library application (Gallery) it can be applied by the sharing menu search of picture (or video) to " browser " in, browser is to ACTION_ Two options can be popped up first when the Intent processing of VIEW type: " local browser processing " or " selection browser is set Standby processing ", if user has selected the latter, so that it may enter selection target browser equipment in browser equipment list and go point Picture or video are enjoyed, it is necessary to pass through HTML5 (Hypertext Markup Language 5, hypertext mark for browser here Remember language) new features to be embedded in playing pictures, music or the format of video, handled with Web mode be browser rendering it is excellent Gesture.
Although and striding equipment sharing files function has had the files transmission sides such as many solutions, such as bluetooth, fast tooth Formula, UPnP/DLNA media sharing mode etc., still, are integrated into conduct in browser application for the latter in the embodiment of the present invention Another entrance solution can play and download corresponding matchmaker by way of sending and loading URL completely in browser The function of body resource, so that sharing contents and form can be richer.Firstly, it is necessary to describe to increase newly in file in browser equipment Media document is added to share generic service (urn:schemas-upnp-org:service:ContentDirectory), this clothes Business is the generic service specification of all media services, has there is many UPnP document orientations, this service below realize by Media file is shared with entire UPnP network in a manner of URL, straight due to the URL for being namely based on HTTP of browser load Connect the standard mode for meeting media services sharing, it is easy to accomplish.
For example, the embodiment of the present invention can be applied to following scene:
1, A mobile phone directly copies browser bookmark, historical record in the browser of B mobile phone, need to only select to share and arrive The context menu of equipment, wherein the second equipment in A mobile phone corresponding diagram 1, the first equipment in B mobile phone corresponding diagram 1;
2, the third-party application of A mobile phone can call directly all sharing functions of B mobile phone browser, wherein A mobile phone pair The second equipment in Fig. 1, the first equipment in B mobile phone corresponding diagram 1 are answered, for example, passing through a third-party application search from A mobile phone To the B mobile phone browser for having UPnP interface, control instruction opening webpage directly then is sent to B mobile phone browser or is checked Bookmark, historical record etc.;
3, can send to open to other multiple mobile phones simultaneously by A mobile phone browser specifies website pages to carry out multi-screen The function of displaying, wherein the second equipment in A mobile phone corresponding diagram 1, the first equipment in other multiple mobile phone corresponding diagrams 1;
4, the browsing of large screen is shown: when meeting room uses the projector with WIFI function, projector passes through HDMI (High Definition Multimedia Interface, high-definition multimedia interface) is mounted with one The MINI PC (Mini Personal Computer, mini personal computer) of android system, mobile phone terminal browser can be with The browser equipment that the MINI PC in WIFI environment is searched by the browsing sharing function of itself, by browsing sharing function The website URL that will be shown and show directly is opened in large screen equipment, wherein the second equipment in mobile phone terminal corresponding diagram 1, The first equipment in MINI PC corresponding diagram 1.
In order to realize above-described embodiment, the present invention also proposes a kind of browser function share system of striding equipment.
Fig. 3 is the structural schematic diagram according to the browser function share system of the striding equipment of one embodiment of the invention.
As shown in figure 3, the browser function share system of striding equipment according to an embodiment of the present invention, comprising: the first equipment 10 and second equipment 20.
Specifically, the first equipment 10 includes browser 11, and browser has the function of the first corresponding universal plug and play UPnP interface, UPnP interface correspond to browser equipment 12, and the service of browser equipment 12 is provided by the first function of browser 11;
The embodiment of the present invention can realize that the browser function between the first equipment 10 and the second equipment 20 is shared.Wherein, One equipment 10 includes browser 11, and browser 11 has the function of that the first corresponding UPnP interface, UPnP interface correspond to browser and sets Standby 12, the service of browser equipment 12 is provided by the first function of browser 11.First function is the browsing in the first equipment 10 The function of arbitrarily needing disclosure in device 11, can share.
First equipment 10, the second equipment 20 can be mobile phone, tablet computer, personal digital assistant, e-book, intelligence wearing The mobile terminals such as formula equipment are also possible to PC (Personal Computer, personal computer) etc..
When the browser 11 of the first equipment 10 starts, browser 11 is by starting entry file (such as BrowserActivity) the service of the browser equipment 12 in the first equipment of Lai Kaiqi 10.More specifically, browser 11 can lead to The service that equipment run function (such as Device::start () function) starts browser equipment 12 is crossed, function is stopped by equipment The service of (such as Device::stop () function) end browser equipment 12.
The browser equipment that second equipment 20 is used to search in UPnP network is to obtain browser equipment list, wherein clear Device list of devices of looking at includes the browser equipment 12 in the first equipment 10, wherein the first equipment 10 and the second equipment 20 belong to One UPnP network, and the corresponding operation interface menu of browser equipment 12 in the first equipment 10 is obtained, and according to operation Interface menu operates the browser equipment 12 in the first equipment 10.
Wherein, operation interface menu is determined according to corresponding first function of browser equipment 12 in the first equipment 10 's.It the position of the setting of operation interface menu can be by determining to having the function of the first of corresponding UPnP interface disclosed in needs It is fixed.For example, menu item " addition bookmark can be increased in the main menu configuration file (Browser.xml) of browser 11 To equipment ", " setting homepage to equipment " etc., these menu items can be defined by browser developers.
More specifically, in an embodiment of the present invention, the second equipment 20 is after obtaining browser equipment list, it is possible to provide To the user of the second equipment 20, user can carry out a series of operation on the list items in browser equipment list, such as specified Target device selects a browser equipment to share or control, naturally it is also possible to the multiple browser equipments of simultaneous selection It is manipulated, device configuration multiple devices while the function of sharing thus may be implemented.
When it is target device that user, which specifies the browser equipment 12 in the first equipment 10, the browser equipment can be obtained 12 corresponding operation interface menus operate the browser equipment 12 in the first equipment 10 according to operation interface menu.More Specifically, the second equipment 20 is specifically used for: sending control instruction by operation interface menu;And acquisition browser equipment 12 is right The control point answered, and control point is operated according to control instruction.
In one embodiment of the invention, control point is created by the example of control point class (such as ControlPoint class) It builds, and is opened by control point run function (such as ControlPoint::strat () function), and stopped by control point Function (such as ControlPoint::stop () function) is closed.
For example, if increasing " addition bookmark in each bookmark icon context menu of bookmark list interface To equipment " menu item, current bookmark can be added to specified device navigator by this menu item by the second equipment 20;Or If person increases the menu item of " setting homepage to equipment " in the browser main menu of the second equipment 20, the second equipment 20 can lead to Crossing this menu item can call the setting First page information function Set Home Page Info of UPnP interface method to be arranged first The homepage of browser equipment in equipment.
Wherein, the UPnP/DLNA function of the first equipment and the second equipment in the browser function share system of striding equipment Integrated and the second equipment can refer to implementation shown in Fig. 2 with the detailed process for the browser function for sharing the first equipment in realization Example, is no longer repeated herein.
The browser function share system of the striding equipment of the embodiment of the present invention, the second equipment can search for belonging to same UPnP net Browser equipment in network obtains the corresponding operation of the browser equipment in the first equipment and connects to obtain browser equipment list Mouth menu, then operates the browser equipment in the first equipment according to operation interface menu, so as to combine browsing The function of device kernel and cross-platform Web APP so that the browser function based on Web technological development can be added it is identical Browser equipment UPnP service network, realize the communication of the striding equipment of browser function with share, by UPnP/DLNA application protocol The WEB expanded to other than media sharing shares field.Furthermore, it can be achieved that the insertion of video, audio that browser itself is supported is broadcast Put, the carousel of photo slideshow show etc. striding equipment share, be not limited solely to the sharing of character string, sharing contents are richer Richness promotes user experience.
In addition, in one embodiment of the invention, manipulation peace can be used in the browser function share system of striding equipment The design of full mechanism.For example, Bluetooth pairing mode can be used, certification instruction is sent when selection manipulates target, in browser Equipment requires user's confirmation can be controlled after receiving certification instruction, passive controlled etc. so as to avoid operation target chaotic Risk realizes the safe Communication Control of comparison in a certain range.It, can also for the browser equipment of one-to-many control It can be arranged by controlled option in such a way that active certification is controlled, increasing confirmation in a browser, this avoid as blue The equally cumbersome pairing process of tooth, improves control efficiency.
The browser function sharing method of the striding equipment of the embodiment of the present invention realizes striding equipment sharing browser function as a result, Energy and striding equipment sharing files function.
Wherein, it is by broadcast mechanism (Broadcast) Lai Shixian, by stating extensively that striding equipment, which shares browser function, It broadcasts and facilitates third party application to call these control instructions to reach the sharing of striding equipment.For example, in picture library application (Gallery) it can be applied by the sharing menu search of picture (or video) to " browser " in, browser is to ACTION_ Two options can be popped up first when the Intent processing of VIEW type: " local browser processing " or " selection browser is set Standby processing ", if user has selected the latter, so that it may enter selection target browser equipment in browser equipment list and go point Picture or video are enjoyed, it is necessary to pass through HTML5 (Hypertext Markup Language 5, hypertext mark for browser here Remember language) new features to be embedded in playing pictures, music or the format of video, handled with Web mode be browser rendering it is excellent Gesture.
Although and striding equipment sharing files function has had the files transmission sides such as many solutions, such as bluetooth, fast tooth Formula, UPnP/DLNA media sharing mode etc., still, are integrated into conduct in browser application for the latter in the embodiment of the present invention Another entrance solution can play and download corresponding matchmaker by way of sending and loading URL completely in browser The function of body resource, so that sharing contents and form can be richer.Firstly, it is necessary to describe to increase newly in file in browser equipment Media document is added to share generic service (urn:schemas-upnp-org:service:ContentDirectory), this clothes Business is the generic service specification of all media services, has there is many UPnP document orientations, this service below realize by Media file is shared with entire UPnP network in a manner of URL, straight due to the URL for being namely based on HTTP of browser load Connect the standard mode for meeting media services sharing, it is easy to accomplish.
For example, the embodiment of the present invention can be applied to following scene:
1, A mobile phone directly copies browser bookmark, historical record in the browser of B mobile phone, need to only select to share and arrive The context menu of equipment, wherein the second equipment in A mobile phone corresponding diagram 1, the first equipment in B mobile phone corresponding diagram 1;
2, the third-party application of A mobile phone can call directly all sharing functions of B mobile phone browser, wherein A mobile phone pair The second equipment in Fig. 1, the first equipment in B mobile phone corresponding diagram 1 are answered, for example, passing through a third-party application search from A mobile phone To the B mobile phone browser for having UPnP interface, control instruction opening webpage directly then is sent to B mobile phone browser or is checked Bookmark, historical record etc.;
3, can send to open to other multiple mobile phones simultaneously by A mobile phone browser specifies website pages to carry out multi-screen The function of displaying, wherein the second equipment in A mobile phone corresponding diagram 1, the first equipment in other multiple mobile phone corresponding diagrams 1;
4, the browsing of large screen is shown: when meeting room uses the projector with WIFI function, projector passes through HDMI (High Definition Multimedia Interface, high-definition multimedia interface) is mounted with one The MINI PC (Mini Personal Computer, mini personal computer) of android system, mobile phone terminal browser can be with The browser equipment that the MINI PC in WIFI environment is searched by the browsing sharing function of itself, by browsing sharing function The website URL that will be shown and show directly is opened in large screen equipment, wherein the second equipment in mobile phone terminal corresponding diagram 1, The first equipment in MINI PC corresponding diagram 1.
It should be appreciated that in an embodiment of the present invention, the browser function of striding equipment is realized using application layer protocol UPnP Share and be that other agreements also can be used certainly in a preferred embodiment of the invention, such as is directly carried out using ICP/IP protocol The browser function that socket communication mechanism carrys out striding equipment is shared, but this solution development is more complicated cumbersome, and error rate Height, the transmission for being not suitable for big data quantity are shared, and seem awkward when especially manipulating simultaneously to numerous device navigators, By project plan comparison, realize it is that comparison is scientific and effective using UPnP protocol.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this The range of invention is by claim and its equivalent limits.

Claims (10)

1. a kind of browser function sharing method of striding equipment, which is characterized in that the first equipment includes browser, the browser Have the function of that the first corresponding universal plug and play UPnP interface, the UPnP interface correspond to browser equipment, the browser The service of equipment is provided by the first function of the browser, the described method comprises the following steps:
Second equipment searches for the browser equipment in UPnP network to obtain browser equipment list, wherein the browser is set Standby list includes the browser equipment in first equipment, wherein first equipment and the second equipment belong to an institute State UPnP network;
Second equipment obtains the corresponding operation interface menu of browser equipment in first equipment, and described second Increase the menu item of the operation interface menu, the operation interface dish in equipment in the main menu configuration file of browser equipment It is singly to be determined according to corresponding first function of browser equipment in first equipment;
Second equipment operates the browser equipment in first equipment according to the operation interface menu.
2. the browser function sharing method of striding equipment as described in claim 1, which is characterized in that in first equipment When browser starts, further includes:
The browser opens the service of the browser equipment in first equipment by starting entry file.
3. the browser function sharing method of striding equipment as claimed in claim 2, which is characterized in that wherein, opened by equipment Dynamic function starts the service of the browser equipment, and stopping function by equipment terminates the service of the browser equipment.
4. the browser function sharing method of striding equipment as described in claim 1, which is characterized in that second equipment according to The operation interface menu carries out operation to the browser equipment in first equipment and specifically includes:
Second equipment sends control instruction by the operation interface menu;And
The corresponding control point of the browser equipment is obtained, and the control point is operated according to the control instruction.
5. the browser function sharing method of striding equipment as claimed in claim 4, which is characterized in that the control point passes through control The example creation of system point class, and opened by control point run function, and function is stopped by control point and is closed.
6. a kind of browser function share system of striding equipment characterized by comprising
First equipment, first equipment includes browser, and the browser has the function of the first corresponding universal plug and play UPnP interface, the UPnP interface correspond to browser equipment, the service of the browser equipment by the browser the first function It can provide;
Second equipment, second equipment are used for the browser equipment searched in UPnP network to obtain browser equipment list, And increase the menu item of operation interface menu, the behaviour in the main menu configuration file of browser equipment in second equipment It as interface menu is determined according to corresponding first function of browser equipment in first equipment, wherein the browsing Device list of devices includes the browser equipment in first equipment, wherein first equipment and the second equipment belong to one A UPnP network, and the corresponding operation interface menu of browser equipment in first equipment is obtained, and according to institute Operation interface menu is stated to operate the browser equipment in first equipment.
7. the browser function share system of striding equipment as claimed in claim 6, which is characterized in that
In the browser starting of first equipment, the browser opens first equipment by starting entry file In browser equipment service.
8. the browser function share system of striding equipment as claimed in claim 7, which is characterized in that wherein, opened by equipment Dynamic function starts the service of the browser equipment, and stopping function by equipment terminates the service of the browser equipment.
9. the browser function share system of striding equipment as claimed in claim 6, which is characterized in that second equipment is specific For:
Second equipment sends control instruction by the operation interface menu;And
The corresponding control point of the browser equipment is obtained, and the control point is operated according to the control instruction.
10. the browser function share system of striding equipment as claimed in claim 9, which is characterized in that the control point passes through The example of control point class creates, and is opened by control point run function, and stops function by control point and close.
CN201410821790.XA 2014-12-25 2014-12-25 The browser function sharing method and system of striding equipment Active CN105791360B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410821790.XA CN105791360B (en) 2014-12-25 2014-12-25 The browser function sharing method and system of striding equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410821790.XA CN105791360B (en) 2014-12-25 2014-12-25 The browser function sharing method and system of striding equipment

Publications (2)

Publication Number Publication Date
CN105791360A CN105791360A (en) 2016-07-20
CN105791360B true CN105791360B (en) 2019-11-22

Family

ID=56378581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410821790.XA Active CN105791360B (en) 2014-12-25 2014-12-25 The browser function sharing method and system of striding equipment

Country Status (1)

Country Link
CN (1) CN105791360B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107800611B (en) * 2016-09-07 2021-06-18 腾讯科技(深圳)有限公司 Page switching method and page switching device
CN108268640A (en) 2018-01-18 2018-07-10 京东方科技集团股份有限公司 A kind of striding equipment file open method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540687A (en) * 2009-05-06 2009-09-23 圆刚科技股份有限公司 Remote wake up method, host computers capable of being waken up remotely and wakeup management server
CN103888515A (en) * 2014-02-26 2014-06-25 四川长虹电器股份有限公司 Media resource sharing method based on browser
CN104253846A (en) * 2013-06-28 2014-12-31 青岛海尔电子有限公司 Intelligent terminal, data sharing system and data sharing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540687A (en) * 2009-05-06 2009-09-23 圆刚科技股份有限公司 Remote wake up method, host computers capable of being waken up remotely and wakeup management server
CN104253846A (en) * 2013-06-28 2014-12-31 青岛海尔电子有限公司 Intelligent terminal, data sharing system and data sharing method
CN103888515A (en) * 2014-02-26 2014-06-25 四川长虹电器股份有限公司 Media resource sharing method based on browser

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IPTV机顶盒多屏互动系统的研究与实现;白小龙;《中国优秀硕士学位论文全文数据库》;20141231;第6-18、21-33页 *

Also Published As

Publication number Publication date
CN105791360A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
US9654598B1 (en) User customization of cards
CN103729425B (en) Operate response method, client, browser and system
US8458612B2 (en) Application management framework for web applications
US8677280B2 (en) Sprocket shaped user interface for navigating a dynamic collection of information
CN104636139B (en) One kind visualizes cross-platform mobile application exploitation and generation system
CN102460412B (en) For managing and/or reproduce the system and method for internet multimedia content in a network
WO2013014874A1 (en) Gui generator, integrated circuit, gui generating method, and gui generating program
US20200073903A1 (en) Method and device of tagging links included in a screenshot of webpage
Hosio et al. Supporting distributed private and public user interfaces in urban environments
CN103685440B (en) Method for the shared file between multiple mobile electronic devices
US20120309434A1 (en) Application Adaptive Mobile Terminal
WO2012109568A1 (en) System and method for using an application on a mobile device to transfer internet media content
KR20140028029A (en) Presentation format for an application tile
JP6258475B2 (en) Method for providing media assets to client devices
CN103562908B (en) Method and computing device for realizing file access by utilizing different file hosts
CN103503385A (en) Method for information share and device
CN103412748B (en) Display control method, the apparatus and system of the user interface of embedded platform
US20160004515A1 (en) Method for providing application development environment and device
CN105142011A (en) Web-based television terminal multi-screen interaction method and device
US9128751B2 (en) Schema-based link processing
WO2013182089A1 (en) Object suspension realizing method and device
CN104317648B (en) A kind of method and apparatus of monitoring advertisement
CN104216698B (en) A kind of registration web page method and relevant apparatus
CN116095222A (en) Incoming call reminding method and terminal
US20180006901A1 (en) Establishing System and Method for Establishing Application Program Having Capability Controlling Input and Output Interface for Mobile Computing Device

Legal Events

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