CN102831150A - Interactive method, system and terminal for browser and local application - Google Patents

Interactive method, system and terminal for browser and local application Download PDF

Info

Publication number
CN102831150A
CN102831150A CN2012102177581A CN201210217758A CN102831150A CN 102831150 A CN102831150 A CN 102831150A CN 2012102177581 A CN2012102177581 A CN 2012102177581A CN 201210217758 A CN201210217758 A CN 201210217758A CN 102831150 A CN102831150 A CN 102831150A
Authority
CN
China
Prior art keywords
browser
local
module
html file
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102177581A
Other languages
Chinese (zh)
Other versions
CN102831150B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201210217758.1A priority Critical patent/CN102831150B/en
Publication of CN102831150A publication Critical patent/CN102831150A/en
Application granted granted Critical
Publication of CN102831150B publication Critical patent/CN102831150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention is applicable to the technical field of communication, and provides an interactive method for a browser and a local application. The interactive method comprises the following steps of: analyzing local application data to be a hyper text markup language file; setting associated information data of the local application to a browser access allowed status; and displaying analyzed local application on the browser. The invention further provides an interactive system for the browser and the local application. According to the invention, information of local data is used, so that the information can be vividly shown inside a webpage of the browser; convenience for operation of a user is improved, and experience of the user is also greatly enhanced at the same time.

Description

Browser and local exchange method, system and terminal of using
Technical field
The present invention relates to communication technical field, relate in particular to a kind of browser and local exchange method, system and terminal of using.
Background technology
Along with development of Communication Technique, various intelligent terminals have been widely used in the middle of people's the life.Through terminal online, the interactive custom that has become most of people.At present the browser at terminal has duplicating, shares collaborative with application program, greatly facilitates the user and shares data in mobile phone at browsing page, shares browsing information with friend simultaneously.But in the prior art, the browser at most of terminals is external with local sharing of using, the surface, such as ejection information in the interface menu of browser application itself, menu item such as share, its interactivity is not high, causes sense of experience of users lower.
Can know that to sum up existing browser and the local interaction technique of using obviously exist inconvenience and defective, so be necessary to improve on reality is used.
Summary of the invention
To above-mentioned defective, the object of the present invention is to provide a kind of browser and local exchange method, system and terminal of using, it is easy to operate, has higher operating experience.
To achieve these goals, the present invention provides a kind of browser and the local exchange method of using, and said method comprises:
Said local application data is resolved to the HTML file;
The said local related information data of using are made as browser permission Access status;
The said application by this locality after resolving is shown in said browser.
According to browser of the present invention and the local exchange method of using, said said the application by this locality after resolving be shown in said browser step and comprise:
Resolve said HTML file;
With the HTML file composing layout processing after the said parsing.
According to browser of the present invention and the local exchange method of using, said method comprises:
Resolve said HTML file and generate dom tree;
Generate render according to said dom tree and set the layout processing of setting type.
According to browser of the present invention and the local exchange method of using, said method also comprises:
The selection of receiving data information and share order;
Show associated person information and share mode;
Receive said associated person information and share the select command of mode.
According to browser of the present invention and the local exchange method of using, said contact person arranges demonstration from high in the end according to frequency of utilization.
The present invention also provides a kind of browser and the local interactive system of using accordingly, comprising:
The analytic application module is used for said local application data is resolved to the HTML file;
Authority is provided with module, is used for the said local related information data of using are made as browser permission Access status;
The display process module is used for said the application by this locality after resolving is shown in said browser.
According to browser of the present invention and the local interactive system of using, said display process module comprises:
Analyzing sub-module is used to resolve said HTML file;
The layout processing submodule is used for the HTML file composing layout processing after the said parsing.
According to browser of the present invention and the local interactive system of using, said analyzing sub-module is used to resolve said HTML file and generates dom tree;
Said layout processing submodule is used for generating the render tree according to said dom tree and carries out layout processing.
According to browser of the present invention and the local interactive system of using, said system also comprises:
First receiver module is used for the selection of receiving data information and shares order;
Second display module is used to show associated person information and shares mode;
Second receiver module, the select command that is used to receive said associated person information and shares mode.
The present invention also provides a kind of terminal of system as stated that comprises.
The present invention is the HTML file through the data parsing that this locality is used; Application can be worked in coordination be shown in browser; The related information data of simultaneously this locality being used are made as browser are allowed Access status; Make browser have the authority of visiting local association information, user-friendly.Preferably, be through being shown in browser after the composing layout processing by the application after resolving, not only user-friendly whereby, also have fine interface, improve user experience.
Description of drawings
Fig. 1 is the browser and the local interactive system structural representation of using of one embodiment of the invention;
Fig. 2 is the browser and the local interactive system structural representation of using of another embodiment of the present invention;
Fig. 3 A is the browser interface synoptic diagram of one embodiment of the invention;
Fig. 3 B is another interface synoptic diagram of the browser of Fig. 3 A illustrated embodiment;
Fig. 4 is the microblogging application interface synoptic diagram of one embodiment of the invention;
Fig. 5 is browser of the present invention and the local exchange method process flow diagram of using;
Fig. 6 A is the structural representation of the dom tree of one embodiment of the invention;
Fig. 6 B is the structural representation of the render tree of Fig. 6 A illustrated embodiment;
Fig. 6 C is that the browser interface of Fig. 6 A illustrated embodiment shows synoptic diagram;
Fig. 7 is the html file synoptic diagram that the microblogging of one embodiment of the invention is used;
Fig. 8 is that the browser that passes through of one embodiment of the invention is worked in coordination with the method flow diagram of sharing.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Referring to Fig. 1 and Fig. 2, the invention provides a kind of browser and the local interactive system of using, this system 100 can be the software unit that is built in the terminal, hardware cell or software and hardware combining unit.Concrete, interactive system 100 comprises that analytic application module 10, authority are provided with module 20 and display process module 30, wherein:
Analytic application module 10 is used for local application data is resolved to html (Hypertext Markup Language, HTML) file, and local application can be microblogging, note and mail etc.Html is a browser language comparatively commonly used, and each application data can show in browser after being resolved to the html file.With the microblogging is example, after analytic application module 10 resolves to the html file with the application data of microblogging, is shown in browser after can handling through display process module 30.
Authority is provided with module 20 and is used for the related information data that use this locality are made as browser permission Access status.Generally speaking, the data between the application can not be visited each other, through authority the authority that module 20 can freely be provided with visit data between each application are set.With microblogging and browser application is example, and the related information of microblogging comprises various associated person informations, and the present invention is provided with module 20 through authority can make browser access obtain microblogging contact person's data message.
Display process module 30 is used for being shown in browser with being used by this locality after resolving.Concrete, in conjunction with Fig. 2, this display process module 30 comprises analyzing sub-module 31 and layout processing submodule 32, wherein, analyzing sub-module 31 is used to resolve the html file and generates DOM (Document Object Model DOM Document Object Model) tree; Layout processing submodule 32 is used for the html file composing layout processing after resolving; In the practical application; (the render tree is the description further to dom tree to layout processing submodule 32 according to becoming the render tree behind the dom tree; It is relevant that the content of its description and layout such as play up at attribute) layout of setting type; This locality after layout processing is used and finally is shown in browser through display process module 30, and icon or the sign that can directly click this application after user's open any browser get into this application, user friendly whereby operation.
Referring to Fig. 2, in the another embodiment of the present invention, interactive system 100 also comprises again:
First receiver module 40 is used for the selection of receiving data information and shares order.In an embodiment of the present invention; When the user browses certain application through browser; Such as microblogging, mail etc.; If the user finds that the literal of one section excellence wants to share with friend, send the order of sharing to system 100 after then choosing related text information, system 100 receives and handles this and share order through first receiver module 40.
Second display module 50 is used to show associated person information and shares mode.When system 100 receive share order after, through second display module 50 contact person's information is shown in the interface, and the contact person shows the mode of sharing at the back, such as note, mail and microblogging etc.Preferably, the contact person shows according to the big minispread of frequency of utilization, whereby, makes the user directly content is shared with the most frequently used contact person.
Second receiver module 60, the select command that is used to receive said associated person information and shares mode.After system 100 demonstrated associated person information through second display module 50, the user selected the contact person that will share and shares mode.After system should order through 60 receptions of second receiver module, promptly system 100 promptly carried out and shares operation.If select related content is shared with the contact person through note such as the user; Then directly click the note sign after this contact, related content directly sends to this contact person through note, operates and need not to jump to the note interface again; Make and share easy and simple to handlely, improve user experience.
Of the present invention a kind of terminal of system 100 as stated that comprises is provided also; And this terminal one concrete embodiment that uses is shown in Fig. 3 A, and some are arranged in the terminal contact is that microblogging link, then user's open any browser are arranged; Display web page then directly shows household, relative or friend's microblogging.Concrete, after open any browser, have the microblogging navigation in the browser, and the network address of this navigation link is local, not the link on the network.When the user clicks microblogging, can jump to interface shown in Fig. 3 B.Click microblogging, then directly can visit the microblogging network address, need not in the contact person or the microblogging website is logined.Preferably, the microblogging that Fig. 3 B representes can be the contact person who comprises each website, can be Tengxun's microblogging, Sina's microblogging etc.
Again referring to Fig. 4, when the user browses certain application in advance through browser, when the user has selected passage; If this moment, the user just shared, will directly show contact information, carry out mail, note, collision and share or the like; And need not to duplicate, be more preferably and need not switch to the location of carrying out related data in the related application again, like the most frequently used contact person pony; It ranks the first according to frequency of utilization, if separate through note, then directly clicks the note icon; Can directly send, need not to jump to again the note interface, save the blocked operation at interface whereby.
Referring to Fig. 5, the invention provides a kind of browser and the local exchange method of using, it can pass through to realize that like Fig. 1 or interactive system 100 shown in Figure 2 said method comprises:
Step S501, analytic application module 10 resolves to the html file with local application data.Concrete; Local application data can not directly load on browser; And html is the comparatively text language operated of simple, general-purpose of browser; Therefore, through analytic application module 10 this locality is used such as can conveniently working in coordination with after the parsings such as note, microblogging in browser, Fig. 7 is the html text of a microblogging example of the present invention.
Step S502, authority is provided with related information data that module 20 uses this locality and is made as browser is allowed Access status.Be applied as example with microblogging; It has the associated person information of relation, when microblogging is worked in coordination with behind browser, is convenient follow-up operation; Must let browser have and visit and obtain the authority that microblogging is used correlative connection information, increase is applied in operability collaborative on the browser whereby.
Step S503, display process module 30 will be used by this locality after resolving and be shown in browser.In the practical application, display process module 30 is at first resolved the html file of related application, and the file composing layout processing after will resolving again is shown in system interface with it then.During concrete the execution, analyzing sub-module 31 is resolved the html file and is generated dom tree, sees Fig. 6 A, and layout processing submodule 32 generates the render tree according to dom tree and carries out layout processing, sees Fig. 6 B, and the render after the layout is shown to the interface, sees Fig. 6 C.
Referring to Fig. 8, the present invention also provides a kind of this locality to be applied in the collaborative method of sharing on the browser again, and it comprises:
Step S801, the selection of first receiver module, 40 receiving data informations and share order.The content that the user shares through these first receiver module, 40 selections, and send and share order.
Step S802, second display module 50 shows associated person information and shares mode.Showing from big to small according to frequency of utilization when each contact person shows, is the most frequent contact person such as the contact person pony, and then this contact person is positioned at first of display list.
Step S803, second receiver module 60 receive said associated person information and share the select command of mode.In concrete the application, the content-based mode of sharing can have multiplely, and such as sharing through note, mail and microblogging etc., system 100 receives users and carries out to the contact person and after sharing the select command of mode and share operation.
In sum; The present invention is the HTML file through the data parsing that this locality is used; Application can be worked in coordination be shown in browser; The related information data of simultaneously this locality being used are made as browser is allowed Access status, make browser have the authority of visiting local association information, and are user-friendly.Preferably, be through being shown in browser after the composing layout processing by the application after resolving, not only user-friendly whereby, also have fine interface, improve user experience.
Certainly; The present invention also can have other various embodiments; Under the situation that does not deviate from spirit of the present invention and essence thereof; Those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (10)

1. browser and the local exchange method of using is characterized in that said method comprises:
Said local application data is resolved to the HTML file;
The said local related information data of using are made as browser permission Access status;
The said application by this locality after resolving is shown in said browser.
2. browser according to claim 1 and the local exchange method of using is characterized in that, said said the application by this locality after resolving is shown in said browser step and comprises:
Resolve said HTML file;
With the HTML file composing layout processing after the said parsing.
3. browser according to claim 2 and the local exchange method of using is characterized in that said method comprises:
Resolve said HTML file and generate dom tree;
Generate render according to said dom tree and set the layout processing of setting type.
4. browser according to claim 1 and the local exchange method of using is characterized in that said method also comprises:
The selection of receiving data information and share order;
Show associated person information and share mode;
Receive said associated person information and share the select command of mode.
5. browser according to claim 4 and the local exchange method of using is characterized in that said contact person arranges demonstration from high in the end according to frequency of utilization.
6. a browser and the local interactive system of using is characterized in that, comprising:
The analytic application module is used for said local application data is resolved to the HTML file;
Authority is provided with module, is used for the said local related information data of using are made as browser permission Access status;
The display process module is used for said the application by this locality after resolving is shown in said browser.
7. browser according to claim 6 and the local interactive system of using is characterized in that said display process module comprises:
Analyzing sub-module is used to resolve said HTML file;
The layout processing submodule is used for the HTML file composing layout processing after the said parsing.
8. browser according to claim 7 and the local interactive system of using is characterized in that said analyzing sub-module is used to resolve said HTML file and generates dom tree;
Said layout processing submodule is used for generating the render tree according to said dom tree and carries out layout processing.
9. browser according to claim 1 and the local interactive system of using is characterized in that said system also comprises:
First receiver module is used for the selection of receiving data information and shares order;
Second display module is used to show associated person information and shares mode;
Second receiver module, the select command that is used to receive said associated person information and shares mode.
10. one kind comprises the terminal like each said system of claim 6~9.
CN201210217758.1A 2012-06-28 2012-06-28 Browser and local exchange method, system and the terminal applied Active CN102831150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210217758.1A CN102831150B (en) 2012-06-28 2012-06-28 Browser and local exchange method, system and the terminal applied

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210217758.1A CN102831150B (en) 2012-06-28 2012-06-28 Browser and local exchange method, system and the terminal applied

Publications (2)

Publication Number Publication Date
CN102831150A true CN102831150A (en) 2012-12-19
CN102831150B CN102831150B (en) 2016-01-27

Family

ID=47334287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210217758.1A Active CN102831150B (en) 2012-06-28 2012-06-28 Browser and local exchange method, system and the terminal applied

Country Status (1)

Country Link
CN (1) CN102831150B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327152A (en) * 2013-05-24 2013-09-25 东莞宇龙通信科技有限公司 Method and device for displaying contact person coordinating function items and mobile terminal
CN103905627A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Information acquisition method and user equipment
CN104808971A (en) * 2014-01-24 2015-07-29 北京三星通信技术研究有限公司 Network application program manager, method, device and mobile terminal
CN104834646A (en) * 2014-02-11 2015-08-12 腾讯科技(深圳)有限公司 Webpage display method, client and system
CN105721704A (en) * 2016-02-26 2016-06-29 宁波萨瑞通讯有限公司 Method for forwarding E-mail information and mobile terminal
CN106899455A (en) * 2017-03-07 2017-06-27 广州优视网络科技有限公司 The method and apparatus that a kind of client is interacted with webpage
CN110196745A (en) * 2019-05-29 2019-09-03 维沃移动通信有限公司 Data sharing method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080229199A1 (en) * 2007-03-14 2008-09-18 Microsoft Corporation Customizing help content
CN101299854A (en) * 2008-06-19 2008-11-05 中兴通讯股份有限公司 Mobile terminal and data maintenance method thereof
CN102074128A (en) * 2009-11-19 2011-05-25 盛大计算机(上海)有限公司 Electronic book reader and method thereof for sharing information
CN102118504A (en) * 2011-02-28 2011-07-06 中兴通讯股份有限公司 Methods and devices for calling local applications by means of mobile terminal browser
CN102323880A (en) * 2011-06-30 2012-01-18 中兴通讯股份有限公司 Mobile phone application interface development method and terminal based on browser parsing mode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080229199A1 (en) * 2007-03-14 2008-09-18 Microsoft Corporation Customizing help content
CN101299854A (en) * 2008-06-19 2008-11-05 中兴通讯股份有限公司 Mobile terminal and data maintenance method thereof
CN102074128A (en) * 2009-11-19 2011-05-25 盛大计算机(上海)有限公司 Electronic book reader and method thereof for sharing information
CN102118504A (en) * 2011-02-28 2011-07-06 中兴通讯股份有限公司 Methods and devices for calling local applications by means of mobile terminal browser
CN102323880A (en) * 2011-06-30 2012-01-18 中兴通讯股份有限公司 Mobile phone application interface development method and terminal based on browser parsing mode

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905627A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Information acquisition method and user equipment
CN103327152A (en) * 2013-05-24 2013-09-25 东莞宇龙通信科技有限公司 Method and device for displaying contact person coordinating function items and mobile terminal
CN104808971A (en) * 2014-01-24 2015-07-29 北京三星通信技术研究有限公司 Network application program manager, method, device and mobile terminal
CN104808971B (en) * 2014-01-24 2020-02-21 北京三星通信技术研究有限公司 Network application program manager, method and device and mobile terminal
CN104834646A (en) * 2014-02-11 2015-08-12 腾讯科技(深圳)有限公司 Webpage display method, client and system
CN105721704A (en) * 2016-02-26 2016-06-29 宁波萨瑞通讯有限公司 Method for forwarding E-mail information and mobile terminal
CN106899455A (en) * 2017-03-07 2017-06-27 广州优视网络科技有限公司 The method and apparatus that a kind of client is interacted with webpage
CN110196745A (en) * 2019-05-29 2019-09-03 维沃移动通信有限公司 Data sharing method and terminal

Also Published As

Publication number Publication date
CN102831150B (en) 2016-01-27

Similar Documents

Publication Publication Date Title
EP2649536B1 (en) Codeless sharing of spreadsheet objects
CN102831150A (en) Interactive method, system and terminal for browser and local application
CN103473302A (en) Lock screen information display method, device and system
US9542365B1 (en) Methods for generating e-mail message interfaces
US20070214119A1 (en) Searching within a Site of a Search Result
CN106339414A (en) Webpage rendering method and device
CN104636434A (en) Search result processing method and device
CN104484193A (en) Method and device for rapidly starting application program
CN105488051B (en) Webpage processing method and device
CN107229760B (en) Storage medium, electronic device, the display methods of web page contents and device
CN101930456A (en) Method and system for establishing aggregated LinkUGC by using browser
CN104461512A (en) Method and device for starting application program quickly
US20200322404A1 (en) Parallel execution of request tracking and resource delivery
CN106487662B (en) Information sharing method and device
CN102622395A (en) Method, server and client for assisting in accessing to webpage by application virtualization
CN105205072A (en) Webpage information display method and system
CN102833238A (en) Method, device, equipment and system for assisting network equipment to carry out user authentication
CN105786207A (en) Information input method and device
CN101488154B (en) Words input implementing method used for web page
CN107741934A (en) page processing method and page processing system
JP2015518612A (en) Computer system, non-transitory computer readable storage medium and method enabling styling and decoration of multiple and dissimilar web pages by remote method invocation
CN102314468A (en) Synchronous browse method
CN102981852B (en) This commit method of long article and device
CN104156394A (en) Mobile page creating system and mobile page creating method
CN104239454A (en) Searching method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant