CN106503183A - A kind of handheld terminal browser page sharing method, device and handheld terminal - Google Patents

A kind of handheld terminal browser page sharing method, device and handheld terminal Download PDF

Info

Publication number
CN106503183A
CN106503183A CN201610939684.0A CN201610939684A CN106503183A CN 106503183 A CN106503183 A CN 106503183A CN 201610939684 A CN201610939684 A CN 201610939684A CN 106503183 A CN106503183 A CN 106503183A
Authority
CN
China
Prior art keywords
sharing
account
file
handheld terminal
share
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
CN201610939684.0A
Other languages
Chinese (zh)
Inventor
李翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610939684.0A priority Critical patent/CN106503183A/en
Publication of CN106503183A publication Critical patent/CN106503183A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The invention discloses a kind of handheld terminal browser page info sharing method, device and handheld terminal, wherein method include that the first account is chosen in handheld terminal browser page info treats sharing contents information;Sharing contents acquisition of information document object model tree and render tree is treated described in parsing, and web page files are generated according to the document object model tree and the render tree;The web page files are shared file according to what preset rules changed into predetermined format;Share the file of sharing to the second account, for second account according to described share file acquisition described in treat sharing contents information.The present invention is chosen in handheld terminal browser page info by external command and treats sharing contents information, is reduced the asymmetric probability of the Information Sharing caused because of excessive interference, is improve specific aim and the accuracy of sharing contents.

Description

A kind of handheld terminal browser page sharing method, device and handheld terminal
Technical field
The present invention relates to technical field of telecommunications, more particularly, to a kind of handheld terminal browser page sharing method, Device and handheld terminal.
Background technology
In today that development of Mobile Internet technology constantly develops, by handheld terminal, for example mobile phone, browses info web and obtains Take various information and be increasingly becoming one of most important acquisition of information means in people's life.Various browsers in current mobile phone Content of text that can only quickly in sharing web page, it is impossible to the complex contents in quick sharing web page, for example treats in sharing contents Including layout style, picture and list.
During for such case, the settling mode of most of users is shared by way of screenshotss at present, but Such share mode often whole webpage intercepted, but it is often to be located at that actually user really wants to share The content of a certain specific region in webpage rather than the content of whole webpage, therefore, the specific aim that screenshotss share mode is not strong, Seriously words are also possible to cause the asymmetric of sharing information.
Meanwhile, for picture file itself, which has preferable versatility, but also there is relatively low reliability.Most Afterwards, in some formal scenes, picture file is not often reference format.
Content of the invention
In view of the above problems, the present invention proposes a kind of handheld terminal browser page sharing method, device and hand-held end End.
For realizing that the purpose, the present invention are adopted the following technical scheme that:
In the embodiment of the present invention, first purpose is to provide a kind of handheld terminal browser page info sharing method, bag Include:
First account is chosen in handheld terminal browser page info and treats sharing contents information, wherein described wait to share in Appearance information is chosen based on external command;
Sharing contents acquisition of information document object model tree and render tree are treated described in parsing, and according to the document object mould Type tree and the render tree generate web page files;
The web page files are shared file according to what preset rules changed into predetermined format;
Share the file of sharing to the second account, for second account according to described share file acquisition described in treat Sharing contents information.
In the present invention, second account according to described share file acquisition described in treat sharing contents information after, including:
To described, second account treats that sharing contents information carries out text maninulation, the text behaviour under editable pattern One or more in making to include input, deletion, Format adjusting, duplication, shearing or paste.
In the present invention, the preset rules are to share the form of file according to the selection of user determines.
In the present invention, the form for sharing file include electronic document WORD forms, electrical form EXCEL forms and Portable document PDF.
In the present invention, described the web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as the WORD forms, then the web page files are changed into the word file.
In the present invention, described the web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as the EXCEL forms, then the web page files are changed into the EXCEL file.
In the present invention, described the web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as the PDF, then the web page files are changed into the pdf document.
In the present invention, described share the file of sharing to the second account, including:
Call share interface obtain share list;
Share list and select and transfer application program to be shared from described;
By the application program to be shared by the sharing files of sharing to the second account.
In the present invention, described by the web page files according to preset rules change into predetermined format share file after, also Including:
Second account shares file described in preserving.
In the present invention, the logging device of first account is the first handheld terminal, the logging device of second account For the second handheld terminal, second account preserve described in share file, including:
Second account shares file to the memory space of second handheld terminal described in preserving;
Before sharing file described in the second account preservation, also include:
First account shares file to the memory space of first handheld terminal described in preserving.
In the present invention, described share the file of sharing to the second account, including:
First handheld terminal will be stored in depositing for first handheld terminal by wired or communication Share file described in storage space to transmit to second handheld terminal.
In the present invention, the logging device of the logging device of first account and second account is same hand-held end End, shares and described share file and include to the second account:
Second account shares file to the memory space of the handheld terminal described in preserving.
In the present invention, described treat that sharing contents information includes one kind of word, picture, list and layout style or many Kind.
In the present invention, the web page files are HTML html file.
In the embodiment of the present invention, second purpose is to provide a kind of handheld terminal browser page info sharing apparatus, bag Include:
Module is chosen, is chosen in handheld terminal browser page info for the first account and is treated sharing contents information, its Described in treat sharing contents information based on external command choose;
Generation module, for parse described treat sharing contents acquisition of information document object model tree and render tree, and according to The document object model tree and the render tree generate web page files;
Modular converter, for sharing the web page files with file according to what preset rules changed into predetermined format;
Sharing module, for share described share file to the second account, so that second account is shared according to described Sharing contents information is treated described in file acquisition.
In the present invention, the handheld terminal browser page info sharing apparatus include:
Editor module, for the second account according to described share file acquisition described in treat sharing contents information after, described To described, second account treats that sharing contents information carries out text maninulation under editable pattern, the text maninulation include input, One or more in deletion, Format adjusting, duplication, shearing or stickup.
In the present invention, the preset rules are to share the form of file according to the selection of user determines.
In the present invention, the form for sharing file include electronic document WORD forms, electrical form EXCEL forms and Portable document PDF.
In the present invention, the modular converter includes:
First converting unit, for when user is when being chosen as the WORD forms, then changing into institute by the web page files State word file.
In the present invention, the modular converter includes:
Second converting unit, for when user is when being chosen as the EXCEL forms, then changing into institute by the web page files State EXCEL file.
In the present invention, the modular converter includes:
3rd converting unit, for when user is when being chosen as the PDF, then changing into the web page files described Pdf document.
In the present invention, the sharing module includes:
Acquiring unit, for call share interface obtain share list;
Selected unit, for sharing list and selecting and transfer application program to be shared from described;
Shares unit, for by the application program to be shared by the sharing files of sharing to the second account.
In the present invention, the handheld terminal browser page info sharing apparatus include:
First memory module, for by the web page files according to preset rules change into predetermined format share file it Share file described in the second account preservation afterwards.
In the present invention, the logging device of first account is the first handheld terminal, the logging device of second account For the second handheld terminal, the sharing module includes:
First memory element, for sharing file to the storage of second handheld terminal described in second account preservation Space;
Second memory element, described for sharing the preservation of the first account of file as described before described in second account preservation Share file to the memory space of first handheld terminal.
In the present invention, the sharing module includes:
Transmission unit, will be stored in described first for first handheld terminal by wired or communication Share file described in the memory space of handheld terminal to transmit to second handheld terminal.
In the present invention, the logging device of the logging device of first account and second account is same hand-held end End, the handheld terminal browser page info sharing apparatus also include:
Second memory module, for the sharing files of sharing to the second account, second account preserves described Share file to the memory space of the handheld terminal.
In the present invention, described treat that sharing contents information includes one kind of word, picture, list and layout style or many Kind.
In the present invention, the web page files are HTML html file.
In the embodiment of the present invention, the 3rd purpose is to provide a kind of handheld terminal, including:
One or more processors;
Memorizer;
One or more application programs, wherein one or more of application programs are stored in the memorizer and quilt It is configured to by one or more of computing devices, one or more of programs are configured to:
First account is chosen in handheld terminal browser page info and treats sharing contents information, wherein described wait to share in Appearance information is chosen based on external command;
Sharing contents acquisition of information document object model tree and render tree are treated described in parsing, and according to the document object mould Type tree and the render tree generate web page files;
The web page files are shared file according to what preset rules changed into predetermined format;
Share the file of sharing to the second account, for second account according to described share file acquisition described in treat Sharing contents information.
In the present invention, second account according to described share file acquisition described in treat sharing contents information after, including:
To described, second account treats that sharing contents information carries out text maninulation, the text behaviour under editable pattern One or more in making to include input, deletion, Format adjusting, duplication, shearing or paste.
In the present invention, the preset rules are to share the form of file according to the selection of user determines.
In the present invention, the form for sharing file include electronic document WORD forms, electrical form EXCEL forms and Portable document PDF.
In the present invention, described the web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as the WORD forms, then the web page files are changed into the word file.
In the present invention, described the web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as the EXCEL forms, then the web page files are changed into the EXCEL file.
In the present invention, described the web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as the PDF, then the web page files are changed into the pdf document.
In the present invention, described share described share file and include to the second account:
Call share interface obtain share list;
Share list and select and transfer application program to be shared from described;
By the application program to be shared by the sharing files of sharing to the second account.
In the present invention, described by the web page files according to preset rules change into predetermined format share file after, also Including:
Second account shares file described in preserving.
In the present invention, the logging device of first account is the first handheld terminal, the logging device of second account For the second handheld terminal, second account preserve described in share file, including:
Second account shares file to the memory space of second handheld terminal described in preserving;
Before sharing file described in the second account preservation, also include:
First account shares file to the memory space of first handheld terminal described in preserving.
In the present invention, described share the file of sharing to the second account, including:
First handheld terminal will be stored in depositing for first handheld terminal by wired or communication Share file described in storage space to transmit to second handheld terminal.
In the present invention, the logging device of the logging device of first account and second account is same hand-held end End, shares and described share file and include to the second account:
Second account shares file to the memory space of the handheld terminal described in preserving.
In the present invention, described treat that sharing contents information includes one kind of word, picture, list and layout style or many Kind.
In the present invention, the web page files are HTML html file.
Compared with prior art, a kind of handheld terminal browser page info sharing method of the invention, device and hand-held end End has the advantages that:
A kind of handheld terminal browser page info sharing method of the present invention, device and handheld terminal are existed by external command Choose in handheld terminal browser page info and treat sharing contents information, solving the whole webpage of intercepting to a certain extent carries out letter The interference problem that breath causes when sharing, reduces the asymmetric probability of the Information Sharing caused because of excessive interference, improves point Enjoy specific aim and the accuracy of content.
A kind of handheld terminal browser page info sharing method of the present invention, device and handheld terminal are by be shared interior The web page files of appearance information switch to the file of sharing of predetermined format, and for example, WORD forms or PDF are not only remained and treated Layout style, picture and list in sharing contents information etc., also overcome picture text in formal scene to a certain extent Part is not often the problem of reference format, while there is higher reliability also, greatly facilitates the use of user.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, can be other attached to be obtained according to these accompanying drawings Figure.
Fig. 1 shows that the flow process of handheld terminal browser page info sharing method in one embodiment of the invention is illustrated Figure;
Fig. 2 shows Information schematic diagram;
Fig. 3 show in one embodiment of the invention in handheld terminal browser page info sharing method the first application and First applies schematic diagram of attending to anything else;
Fig. 4 shows that the modular structure of handheld terminal browser page info sharing apparatus in one embodiment of the invention is shown It is intended to;
Fig. 5 shows the module diagram of handheld terminal in one embodiment of the invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention in Accompanying drawing, to the embodiment of the present invention in technical scheme be clearly and completely described.
In some flow processs of description in description and claims of this specification and above-mentioned accompanying drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be according to the suitable of its appearance herein Executing or executed in parallel, sequence number such as 101,102 of operation etc. is only used for distinguishing each different operation, sequence number sequence Any execution sequence is not represented itself.In addition, these flow processs can include more or less of operation, and these operations can To execute in order or executed in parallel.It should be noted that " first ", " second " herein etc. description, be for distinguish not Message together, equipment, module etc., do not represent sequencing, and it is different types also not limit " first " and " second ".
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on Embodiment in the present invention, the every other enforcement obtained under the premise of creative work is not made by those skilled in the art Example, belongs to the scope of protection of the invention.
Fig. 1 is referred to, the flow process of one embodiment of handheld terminal browser page sharing method is it illustrates.This enforcement Example is applied in the handheld terminal with communication function illustrate in this way, and the handheld terminal can include intelligent handss Machine, panel computer, guider, vehicle intelligent equipment, intelligent watch, E-book reader etc..The handheld terminal browser page Sharing method, comprises the steps:
Step 102:First account chooses sharing contents information for the treatment of in handheld terminal browser page info, wherein described Treat that sharing contents information is chosen based on external command.
In detail, the first account not only can be the login account of handheld terminal browser, such as the login account of 360 browsers Number, can also be the third-party login account of cooperation mandate, such as Sina's account, Fetion account, day wing account.
Handheld terminal browser page info can be the info web in browser, for example the net in 360 browsers Page information, can also be integrated browsing pages information in application program, for example browsing pages information in wechat.
Treat that sharing contents information includes one or more of word, picture, list and layout style.
Refer to Fig. 2, it is contemplated that handheld terminal browser page info very abundant, and also to improve sharing information Efficiency, above-mentioned treat sharing contents information be preferably the handheld terminal browser page in local webpage content area, such as Fig. 2 institutes The B regions for showing are to treat sharing contents information.
Alternatively, handheld terminal can be not turned on sharing model by default, only predetermined when user is received Sharing model is just opened after triggering command.
In certain embodiments, triggering command is preferably touch command, naturally it is also possible to provides and arranges menu, allows user to exist Sharing model is triggered in the setting menu.
In certain embodiments, external command can be single-point touch, can also be multi-point touch, wherein, single-point touch Be by a finger Touch screen a little realizing manipulating;Multi-point touch is to realize grasping by recognizing multiple contacts Control.
Consider that display device section is generally rectangular cross-section, in order to reduce the complexity of user operation, in certain embodiments, External command can trigger frame lectotype and treat sharing contents information to choose, and its center lectotype is using rectangle or circular selection Instrument is chosen.
The multiformity of user's request is considered, is further improved and is chosen the interest for treating sharing contents information, in some realities Apply in example, external command can trigger circle lectotype and treat sharing contents information to choose, its centre circle lectotype is to be touched according to user The track of control carries out circle choosing, and illustratively, user can mark covering with a finger on handheld terminal browser page info Need sharing contents information graphic track.
In certain embodiments, frame lectotype, circle lectotype are put on display with tabular form and are selected for user.
Step 104:Sharing contents acquisition of information document object model tree and render tree are treated described in parsing, and according to the text Shelves object model tree and the render tree generate web page files.
Specifically, document object model tree (Document Object Model, abbreviation DOM), also known as dom tree, which is ten thousand The standard programming interface of the process extensible markup language that dimension net alliance organization is recommended, for describing browser page information.? In practice, it all regards each element in browser page information as one by one object, so that in browser page information Element can also be obtained by computer language or be edited.
Render tree, also known as RENDER trees, for the layout of browser page information, is responsible for showing document object model tree On screen.In actual implementation render tree, the visual attribute for calculating each rendering objects is needed.By calculating each unit The Style Attributes of element are completing.Pattern includes visual in CSS from various sources, INLINE patterns element and HTML Change attribute.The source of CSS include browser stylesheet, in webpage load CSS, user on a web browser User's CSS of setting.
In ARIXTRA handheld terminal, the display of browser page information is shown by control WEBVIEW, wherein, WEBVIEW is a class of JAVA, and which is inherited in VIEW classes, and the realization of WEBVIEW is based on existing default WEBKIT kernels. WEBKIT is a browsing device net page typesetting engine that increases income, including WEBCORE typesetting engines and JSCORE engines, WEBCORE Typesetting engine and JSCORE engines come from KDE projects KHTMLH and KJS open source projects.
Browser page information is returned when receiving after user's request browser page information from server, at this moment, peace Tall and erect system can be handed over to HTML PARSSER, and HTML PARSSER can give HTML TOKENIZER parsing text characters, It is that in units of label, for example the label of list is during in view of html document<TABLE>, therefore, HTML TOKENIZER Label one by one can be parsed, then label can be given HTML TREE BUILDER and go to build DOM by HTML PARSSER Tree and render tree, and most at last browser page presentation of information on screen.
HTML PARSSER are the storehouses of the HTML parsings that a JAVA writes, and it does not rely on other JAVA library files, main It is used for transforming or extracts HTML.
HTML TOKENIZER are lexical analyzers, for analyzing the label of html document.
HTML TREE BUILDER are parts of HTML TREE, the HTML analytic tree modules that is write by PERL, analysis Html source code simultaneously generates analytic tree, and wherein, PERL is a kind of computer programming language of feature richness, operates in more than 100 Plant on computer platform, widely applicable, from large scale computer to portable equipment, expansible exploitation on a large scale is created to from rapid prototyping.
In practice, it is contemplated that the quantity of server and client side is possibly one or more, therefore in order to reduce prolonging Slow and reduction network transmission typically all can adopt caching technology, and in WEBVIEW caching mechanisms, which includes that web data is cached Cache with HTML5, wherein, HTML5 is cached also known as application cache, is conducted interviews when being easy to without Internet connection.
In web cache mechanism, which has 4 kinds of cache modes, respectively:
LOAD_CACHE_ONLY:Network is not used, only read local cache data;
LOAD_DEFAULT:Decide whether to fetch data from network according to CACHE-CONTROL;
LOAD_NO_CACHE:Caching is not used, only from Network Capture data.
LOAD_CACHE_ELSE_NETWORK, as long as locally having, regardless of whether expired, or NO-CACHE, all using slow Data in depositing.
Illustratively:As the www.taobao.com cached under LOAD_DEFAULT patterns, if CACHE-CONTROL For NO-CACHE, all can fetch data from network anyway, if without network, faulty page face just occurs;
As the www.taobao.com cached under LOAD_CACHE_ELSE_NETWORK patterns, regardless of whether there is net Network, as long as locally there is caching, all using caching.Just obtain from network when locally not caching.
Above-mentioned web cache mechanism is considered, in order to preferably capture the web page files for treating sharing contents information, Ke Yitong Cross browser monitoring users to select and treat sharing contents information by frame lectotype or circle lectotype, then resolving inversely is obtained and treated The corresponding dom tree of sharing contents information and render tree, generate web page files finally according to document object model tree and render tree.
In certain embodiments, monitor to select and treat that sharing contents information can be realized by ONLONGCLICK, wherein, ONLONGCLICK is the event triggered by more than 2 seconds.
Preferably, web page files are HTML html file.
Step 106:The web page files are shared file according to what preset rules changed into predetermined format.
In detail, preset rules are to determine the form for sharing file according to the selection of user.
In view of Portable document PDF with higher versatility, reliability and safety and in formal field Jing Zhongjing includes PDF frequently as reference format, the form for sharing file.
In certain embodiments, web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as PDF, then web page files are changed into pdf document.
Alternatively, web page files are changed into pdf document generally to realize by jar file, jar file is the one of JAVA exploitations The packing of kind of ZIP forms, but which is not only a compressed package, is also executable program, e-book, plug-in unit etc., can also quilt Compiler and JAVA virtual machine are directly invoked.
There is wide applicability and editability in view of MS Office Applications, the form for sharing file includes electronics Document WORD forms, electrical form EXCEL forms.
In certain embodiments, web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as WORD forms, then web page files are changed into word file.
Alternatively, web page files are changed into word file to comprise the steps:
Standard web page file;
Content write word file by standardized web page files.
Wherein, standard web page file can be carried out by JSOUP components, and JSOUP components are one to be used for parsing HTML JAVA class libraries.It provides a set of application programming interfaces, extracts data by traveling through dom tree, render tree, and to html element Element, attribute and text execute operation;
The content write word file of standardized web page files can be realized by FILE WITER, FILE WITER A convenient class JAVA class for writing character file, its from OUTPUT STRAEAM READER Similar integrals, according to Character writes data in stream.
In certain embodiments, web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as EXCEL forms, then web page files are changed into EXCEL file.
Alternatively, web page files are changed into EXCEL file to comprise the steps:
List in web page files is converted to XML file;
XML file is converted to EXCEL file.
Wherein, the list in web page files is converted to XML file to go to decompose webpage text by HTML PARSER Part, then according to dom tree generates XML character strings one by one, finally obtains XML file;
XML file is converted to EXCEL file to be achieved by XML-EXCEL transducers.
Step 108:Share file to the second account described in sharing, so that second account is obtained according to the file of sharing Sharing contents information is treated described in taking.
In detail, share file to comprise the steps to the second account:
Call share interface obtain share list;
Select and transfer application program to be shared from list is shared;
Sharing files will be shared to the second account by application program to be shared.
Illustratively, share interface in Android system and correspond to INTNET, wherein INTNET is used between assistance application Interaction and communication.
It is understood that the second account is and the first account property identical account, by taking 360 browsers as an example, second Account is the legal account of the registration in 360 browsers with the first account.
Preferably, the second account is according to sharing after file acquisition treats sharing contents information, including:
Second account is treated sharing contents information under editable pattern and carries out text maninulation, text maninulation include input, One or more in deletion, Format adjusting, duplication, shearing or stickup.Wherein, editable pattern is common text editing mould Editing mode in formula, such as WORD documents.
Checking at any time for the ease of user, shares text file is shared to the second account preservation after the second account Part.Consider that an account can correspond to a handheld terminal in practice, for example, the logging device of the first account is first-hand Terminal is held, the logging device of the second account is the second handheld terminal, then file is shared in the preservation of the second account to be included:Second account Preserve and share file to the memory space of the second handheld terminal.Certainly, before the second account is preserved and shares file, can also wrap Include:First account is preserved shares file to the memory space of the first handheld terminal.
It should be appreciated that share file to the second account, including:First handheld terminal is by wired or wireless Communication mode will be stored in the file of sharing of the memory space of the first handheld terminal and transmit to the second handheld terminal.Wherein, wired Communication mode is including but not limited to using optical fiber, coaxial cable, telephone wire, netting twine as transmission medium;Communication bag Include but be not limited to mobile communication connection, the communication that Wi-Fi connection or other futures will develop.
Exceptionally, in order to protect privacy and further improve safety, while in order to preferably be convenient for people to use, mesh Start the handheld terminal for occurring supporting double accounts on front market, that is to say the logging device of the first account and the login of the second account Equipment be same handheld terminal, the first account for example as shown in Figure 3 log on as on handheld terminal first application, the second account Number log on as the on handheld terminal first application to attend to anything else.In this case, sharing file includes to the second account Second account preserves the memory space for sharing file to handheld terminal.
Fig. 4 is referred to, based on same inventive concept, the embodiment of the present invention provides a kind of handheld terminal browser page letter Breath sharing apparatus, including choosing module 4001, generation module 4003, modular converter 4005 and sharing module 4007, wherein,
Module 4001 is chosen, is chosen in handheld terminal browser page info for the first account and is treated that sharing contents are believed Breath, wherein treats that sharing contents information is chosen based on external command;
Generation module 4003, treats sharing contents acquisition of information document object model tree and render tree for parsing, and according to Document object model tree and render tree generate web page files;
Modular converter 4005, for sharing web page files with file according to what preset rules changed into predetermined format;
Sharing module 4007, for sharing file to the second account, so that the second account is according to sharing file acquisition Treat sharing contents information.
Preferably, treat that sharing contents information includes that the layout between word, picture, list and word, picture, list is arranged One or more of version;Web page files are HTML html file.
In practice, preset rules are to determine the form for sharing file according to the selection of user, wherein, share the lattice of file Formula includes electronic document WORD forms, electrical form EXCEL forms and Portable document PDF.
Modular converter 4005 includes:
First converting unit, for when user is when being chosen as WORD forms, then changing into word file by web page files;
Second converting unit, for when user is when being chosen as EXCEL forms, then changing into EXCEL file by web page files;
3rd converting unit, for when user is when being chosen as PDF, then changing into pdf document by web page files.
In certain embodiments, sharing module 4007 includes:
Acquiring unit, for call share interface obtain share list;
Selected unit, for selecting application program to be shared and transferring from sharing list;
Shares unit, will share sharing files to other equipment for the application program to be shared by transferring.
Checking at any time for the ease of user, handheld terminal browser page info sharing apparatus include:
First memory module, for web page files to be changed into the sharing after file of predetermined format according to preset rules Two accounts are preserved shares file.
It is to be understood that handheld terminal browser page info sharing apparatus also include:
Editor module, for the second account according to sharing after file acquisition treats sharing contents information, the second account is can Treating sharing contents information under edit pattern carries out text maninulation, wherein text maninulation include being input into, delete, Format adjusting, multiple One or more in system, shearing or stickup.
As described above, in certain embodiments, the logging device of the first account is the first handheld terminal, and the second account is stepped on Recording apparatus are the second handheld terminal, and sharing module includes:
First memory element, preserves for the second account and shares file to the memory space of the second handheld terminal;
Second memory element, preserves the first account before sharing file and preserves and share file to first-hand for the second account Hold the memory space of terminal.
Preferably, sharing module 4007 includes:
Transmission unit, will be stored in the first handheld terminal for the first handheld terminal by wired or communication The file of sharing of memory space transmit to second handheld terminal.
As described above, in certain embodiments, the logging device of the logging device of the first account and the second account is same Handheld terminal, handheld terminal browser page info sharing apparatus also include:
Second memory module, for sharing sharing files to the second account, the second account is preserved shares file to handss Hold the memory space of terminal.
Fig. 5 is referred to, based on same inventive concept, the embodiment of the present invention also provides a kind of handheld terminal, such as Fig. 5 institutes Show, for convenience of description, illustrate only the part related to the embodiment of the present invention, particular technique details is not disclosed, be refer to Present invention method part.The handheld terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), the arbitrarily terminal unit such as vehicle-mounted computer, So that terminal is as mobile phone as an example:
Fig. 5 is illustrated that the block diagram of the part-structure of the mobile phone related to handheld terminal provided in an embodiment of the present invention.Ginseng Fig. 5 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1510, memorizer 1520, input block 1530, display Unit 1540, sensor 1550, voicefrequency circuit 1560, Wireless Fidelity (wireless-fidelity, Wi-Fi) module 1570, place The reason part such as device 1580 and power supply 1590.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 5 not structure The in pairs restriction of mobile phone, can include than illustrating more or less of part, or combine some parts, or different parts Arrangement.
Each component parts of mobile phone are specifically introduced with reference to Fig. 5:
RF circuits 1510 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, process to processor 1580;In addition, up data is activation will be designed to base station.Generally, RF circuits 1510 include but is not limited to antenna, at least one amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 1510 can also pass through radio communication leading to network and other equipment Letter.Above-mentioned radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memorizer 1520 can be used to store software program and module, and processor 1580 is stored in memorizer by operation 1520 software program and module, so that execute various function application and the data processing of mobile phone.Memorizer 1520 can be led Storing program area to be included and storage data field, wherein, storing program area can storage program area, needed at least one function Application program (such as sound-playing function, image player function etc.) etc.;Storage data field can store the use institute according to mobile phone Data (such as voice data, phone directory etc.) of establishment etc..Additionally, memorizer 1520 can be stored including high random access Device, can also include nonvolatile memory, and for example, at least one disk memory, flush memory device or other volatibility are solid State memory device.
Input block 1530 can be used for the numeral of receives input or character information, and produce with the user setup of mobile phone with And the key signals input that function control is relevant.Specifically, input block 1530 may include contact panel 1531 and other inputs Equipment 1532.Contact panel 1531, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user Using the behaviour of any suitable object such as finger, stylus or adnexa on contact panel 1531 or near the contact panel 1531 Make), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 1531 may include to touch detection Two parts of device and touch controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect touch operation band The signal for coming, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 1580, and the order sent of receiving processor 1580 can be executed.Additionally, Contact panel 1531 can be realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch surface Plate 1531, input block 1530 can also include other input equipments 1532.Specifically, other input equipments 1532 can include But it is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more.
Display unit 1540 can be used for show by user input information or be supplied to user information and mobile phone each Plant menu.Display unit 1540 may include display floater 1541, optionally, can adopt liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display floater 1541.Further, contact panel 1531 can cover display floater 1541, when contact panel 1531 is detected Arrive thereon or after neighbouring touch operation, processor 1580 is sent to determine the type of touch event, with preprocessor 1580 provide corresponding visual output on display floater 1541 according to the type of touch event.Although in Figure 5, contact panel 1531 is the part independent as two realizing input and the input function of mobile phone with display floater 1541, but in some realities Apply in example, can contact panel 1531 is integrated with display floater 1541 and input and the output function of realizing mobile phone.
Mobile phone may also include at least one sensor 1550, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display floater 1541, proximity transducer can cut out display floater when mobile phone is moved in one's ear 1541 and/or backlight.Used as one kind of motion sensor, accelerometer sensor can detect that (generally three axles) add in all directions The size of speed, can detect that size and the direction of gravity when static, can be used for application (the such as horizontal/vertical screen for recognizing mobile phone attitude Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone also The other sensors such as configurable gyroscope, barometer, drimeter, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 1560, speaker 1561, microphone 1562 can provide the audio interface between user and mobile phone.Audio frequency The signal of telecommunication after the voice data for receiving conversion can be transferred to speaker 1561, is changed by speaker 1561 by circuit 1560 Export for acoustical signal;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 1562, by voicefrequency circuit 1560 Voice data is converted to after reception, then after voice data output processor 1580 is processed, through RF circuits 1510 being sent to ratio Such as another mobile phone, or voice data is exported to memorizer 1520 further to process.
Wi-Fi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses by Wi-Fi module 1570 Mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 5 is illustrated Wi-Fi module 1570, but it is understood that, which is simultaneously not belonging to must be configured into for mobile phone, can exist as needed completely Omit in the scope of the essence for not changing invention.
Processor 1580 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, Software program and/or module in memorizer 1520 are stored in by running or executing, and are called and is stored in memorizer 1520 Interior data, execute the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 1580 may include one or more processing units;Preferably, processor 1580 can integrated application processor and modulation /demodulation process Device, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly located Reason radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 1580.
Mobile phone also includes the power supply 1590 (such as battery) that powers to all parts, it is preferred that power supply can pass through power supply Management system is logically contiguous with processor 1580, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., will not be described here.
In embodiments of the present invention, the processor 1580 included by the terminal also has following functions:
First account is chosen in handheld terminal browser page info and treats sharing contents information, wherein treats that sharing contents are believed Breath is chosen based on external command;
Sharing contents acquisition of information document object model tree and render tree are treated in parsing, and according to document object model tree and wash with watercolours Dye tree generates web page files;
Web page files are shared file according to what preset rules changed into predetermined format;
Share file to the second account, so that the second account treats sharing contents information according to file acquisition is shared.
Preferably, treat that sharing contents information includes that the layout between word, picture, list and word, picture, list is arranged One or more of version;Web page files are HTML html file.
Preset rules are to determine the form for sharing file according to the selection of user, and wherein, the form for sharing file is preferably wrapped Include electronic document WORD forms, electrical form EXCEL forms and Portable document PDF.
In certain embodiments, web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as WORD forms, then web page files are changed into word file.
In certain embodiments, web page files are included according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as EXCEL forms, then web page files are changed into EXCEL file.In certain embodiments, will Web page files include according to the file of sharing that preset rules change into predetermined format:
When user is when being chosen as PDF, then web page files are changed into pdf document.
In certain embodiments, sharing file includes to the second account:
Call share interface obtain share list;
Select and transfer application program to be shared from list is shared;
Sharing files will be shared to the second account by application program to be shared.
In certain embodiments, by web page files according to preset rules change into predetermined format share file after, also wrap Include:
Second account is preserved shares file.
In certain embodiments, the second account is according to sharing after file acquisition treats sharing contents information, including:
Second account is treated sharing contents information under editable pattern and carries out text maninulation, and wherein text maninulation includes defeated Enter, delete, Format adjusting, duplication, shearing or paste in one or more.
As described above, when the logging device of the first account is the first handheld terminal, the logging device of the second account is second Handheld terminal, the second account is preserved shares file, including:Second account preserves the storage sky for sharing file to the second handheld terminal Between.Can, before the second account is preserved and shares file, also include with expanding:First account is preserved shares file to first The memory space of handheld terminal.
In practice, share file to the second account, including:First handheld terminal is by wired or radio communication Mode will be stored in the file of sharing of the memory space of the first handheld terminal and transmit to the second handheld terminal.
In certain embodiments, the logging device of the logging device of the first account and the second account is same handheld terminal, Sharing file includes to the second account:
Second account preserves the memory space for sharing file to handheld terminal.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematic, for example, the unit Divide, only a kind of division of logic function can have other dividing mode, for example multiple units or component when actually realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not execute.Another, shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
One of ordinary skill in the art will appreciate that realize that all or part of step in above-described embodiment method is can be with The hardware for being instructed correlation by program is completed, and described program can be stored in a kind of computer-readable recording medium, on It can be read only memory, disk or CD etc. to state the storage medium that mentions.
Compared with prior art, a kind of handheld terminal browser page info sharing method of the invention, device and hand-held end End has the advantages that:
A kind of handheld terminal browser page info sharing method of the present invention, device and handheld terminal are existed by external command Choose in handheld terminal browser page info and treat sharing contents information, solving the whole webpage of intercepting to a certain extent carries out letter The interference problem that breath causes when sharing, reduces the asymmetric probability of the Information Sharing caused because of excessive interference, improves point Enjoy specific aim and the accuracy of content.
A kind of handheld terminal browser page info sharing method of the present invention, device and handheld terminal are by be shared interior The web page files of appearance information switch to the file of sharing of predetermined format, and for example, WORD forms or PDF are not only remained and treated Layout style, picture and list in sharing contents information etc., also overcome picture text in formal scene to a certain extent Part is not often the problem of reference format, while there is higher reliability also, greatly facilitates the use of user.
Above to a kind of handheld terminal browser page info sharing method provided by the present invention, device and handheld terminal It is described in detail, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, in specific embodiment And will change in range of application, in sum, this specification content should not be construed as limiting the invention.
The invention discloses following scheme:
A1. a kind of handheld terminal browser page info sharing method, including:
First account is chosen in handheld terminal browser page info and treats sharing contents information, wherein described wait to share in Appearance information is chosen based on external command;
Sharing contents acquisition of information document object model tree and render tree are treated described in parsing, and according to the document object mould Type tree and the render tree generate web page files;
The web page files are shared file according to what preset rules changed into predetermined format;
Share the file of sharing to the second account, for second account according to described share file acquisition described in treat Sharing contents information.
A2. the method according to A1, second account according to described share file acquisition described in treat that sharing contents are believed After breath, including:
To described, second account treats that sharing contents information carries out text maninulation, the text behaviour under editable pattern One or more in making to include input, deletion, Format adjusting, duplication, shearing or paste.
A3. the method according to A1, the preset rules are to share the lattice of file according to the selection of user determines Formula.
A4. the method according to A3, the form for sharing file include electronic document WORD forms, electrical form EXCEL forms and Portable document PDF.
The web page files described are changed into sharing for predetermined format according to preset rules by the A5. method according to A4 File includes:
When user is when being chosen as the WORD forms, then the web page files are changed into the word file.
The web page files described are changed into sharing for predetermined format according to preset rules by the A6. method according to A4 File includes:
When user is when being chosen as the EXCEL forms, then the web page files are changed into the EXCEL file.
The web page files described are changed into sharing for predetermined format according to preset rules by the A7. method according to A4 File includes:
When user is when being chosen as the PDF, then the web page files are changed into the pdf document.
A8. the method according to A1, described share the file of sharing to the second account, including:
Call share interface obtain share list;
Share list and select and transfer application program to be shared from described;
By the application program to be shared by the sharing files of sharing to the second account.
The web page files described are changed into sharing for predetermined format according to preset rules by the A9. method according to A1 After file, also include:
Second account shares file described in preserving.
A10. the method according to A9, the logging device of first account is the first handheld terminal, second account Number logging device be the second handheld terminal, second account preserve described in share file, including:
Second account shares file to the memory space of second handheld terminal described in preserving;
Before sharing file described in the second account preservation, also include:
First account shares file to the memory space of first handheld terminal described in preserving.
A11. the method according to A10, described share the file of sharing to the second account, including:
First handheld terminal will be stored in depositing for first handheld terminal by wired or communication Share file described in storage space to transmit to second handheld terminal.
A12. the logging device of the method according to A1, the logging device of first account and second account is Same handheld terminal, shares and described share file and include to the second account:
Second account shares file to the memory space of the handheld terminal described in preserving.
A13. the method according to A1, described treats that sharing contents information includes word, picture, list and layout style One or more.
A14. the method according to A1, the web page files are HTML html file.
B15. a kind of handheld terminal browser page info sharing apparatus, including:
Module is chosen, is chosen in handheld terminal browser page info for the first account and is treated sharing contents information, its Described in treat sharing contents information based on external command choose;
Generation module, for parse described treat sharing contents acquisition of information document object model tree and render tree, and according to The document object model tree and the render tree generate web page files;
Modular converter, for sharing the web page files with file according to what preset rules changed into predetermined format;
Sharing module, for share described share file to the second account, so that second account is shared according to described Sharing contents information is treated described in file acquisition.
B16. the device according to B15, the handheld terminal browser page info sharing apparatus include:
Editor module, for second account according to described share file acquisition described in treat sharing contents information after, To described, second account treats that sharing contents information carries out text maninulation under editable pattern, the text maninulation includes defeated Enter, delete, Format adjusting, duplication, shearing or paste in one or more.
B17. the device according to B16, the preset rules are according to the selection of user determines to share file Form.
B18. the device according to B17, the form for sharing file include electronic document WORD forms, electrical form EXCEL forms and Portable document PDF.
B19. the device according to B18, the modular converter include:
First converting unit, for when user is when being chosen as the WORD forms, then changing into institute by the web page files State word file.
B20. the device according to B18, the modular converter include:
Second converting unit, for when user is when being chosen as the EXCEL forms, then changing into institute by the web page files State EXCEL file.
B21. the device according to B18, the modular converter include:
3rd converting unit, for when user is when being chosen as the PDF, then changing into the web page files described Pdf document.
B22. the device according to B15, the sharing module include:
Acquiring unit, for call share interface obtain share list;
Selected unit, for sharing list and selecting and transfer application program to be shared from described;
Shares unit, for by the application program to be shared by the sharing files of sharing to the second account.
B23. the device according to B15, the handheld terminal browser page info sharing apparatus include:
First memory module, for by the web page files according to preset rules change into predetermined format share file it Share file described in the second account preservation afterwards.
B24. the device according to B23, the logging device of first account is the first handheld terminal, second account Number logging device be the second handheld terminal, the sharing module includes:
First memory element, for sharing file to the storage of second handheld terminal described in second account preservation Space;
Second memory element, described for sharing the preservation of the first account of file as described before described in second account preservation Share file to the memory space of first handheld terminal.
B25. the device according to B15, the sharing module include:
Transmission unit, will be stored in described first for first handheld terminal by wired or communication Share file described in the memory space of handheld terminal to transmit to second handheld terminal.
B26. the logging device of the device according to B15, the logging device of first account and second account For same handheld terminal, the handheld terminal browser page info sharing apparatus also include:
Second memory module, for the sharing files of sharing to the second account, second account preserves described Share file to the memory space of the handheld terminal.
B27. the device according to B14, described treats that sharing contents information includes word, picture, list and layout wind One or more of lattice.
B28. the device according to B14, the web page files are HTML html file.
C29. a kind of handheld terminal, including:
One or more processors;
Memorizer;
One or more application programs, wherein one or more of application programs are stored in the memorizer and quilt It is configured to by one or more of computing devices, one or more of programs are configured to:
First account is chosen in handheld terminal browser page info and treats sharing contents information, wherein described wait to share in Appearance information is chosen based on external command;
Sharing contents acquisition of information document object model tree and render tree are treated described in parsing, and according to the document object mould Type tree and the render tree generate web page files;
The web page files are shared file according to what preset rules changed into predetermined format;
Share the file of sharing to the second account, for second account according to described share file acquisition described in treat Sharing contents information.
C30. the handheld terminal according to C29, second account according to described share file acquisition described in wait to share After content information, including:
To described, second account treats that sharing contents information carries out text maninulation, the text behaviour under editable pattern One or more in making to include input, deletion, Format adjusting, duplication, shearing or paste.
C31. the handheld terminal according to C29, the preset rules are according to the selection of user determines to share text The form of part.
C32. the handheld terminal according to C31, the form for sharing file include electronic document WORD forms, electronics Form EXCEL forms and Portable document PDF.
The web page files described are changed into predetermined format according to preset rules by the C33. handheld terminal according to C32 File of sharing include:
When user is when being chosen as the WORD forms, then the web page files are changed into the word file.
The web page files described are changed into predetermined format according to preset rules by the C34. handheld terminal according to C32 File of sharing include:
When user is when being chosen as the EXCEL forms, then the web page files are changed into the EXCEL file.
The web page files described are changed into predetermined format according to preset rules by the C35. handheld terminal according to C32 File of sharing include:
When user is when being chosen as the PDF, then the web page files are changed into the pdf document.
C36. the handheld terminal according to C29, described share described share file and include to the second account:
Call share interface obtain share list;
Share list and select and transfer application program to be shared from described;
By the application program to be shared by the sharing files of sharing to the second account.
The web page files described are changed into predetermined format according to preset rules by the C37. handheld terminal according to C29 Share file after, also include:
Second account shares file described in preserving.
C38. the handheld terminal according to C37, the logging device of first account is the first handheld terminal, described the The logging device of two accounts is the second handheld terminal, shares file described in the second account preservation, including:
Second account shares file to the memory space of second handheld terminal described in preserving;
Before sharing file described in the second account preservation, also include:
First account shares file to the memory space of first handheld terminal described in preserving.
C39. the handheld terminal according to C38, described share the file of sharing to the second account, including:
First handheld terminal will be stored in depositing for first handheld terminal by wired or communication Share file described in storage space to transmit to second handheld terminal.
C40. the handheld terminal according to C29, the login of the logging device of first account and second account Equipment is same handheld terminal, shares and described share file and include to the second account:
Second account shares file to the memory space of the handheld terminal described in preserving.
C41. the handheld terminal according to C29, described treats that sharing contents information includes word, picture, list and cloth One or more of office's style.
C42. the handheld terminal according to C29, the web page files are HTML html file.

Claims (10)

1. a kind of handheld terminal browser page info sharing method, it is characterised in that include:
First account is chosen in handheld terminal browser page info and treats sharing contents information, wherein described treat sharing contents believe Breath is chosen based on external command;
Sharing contents acquisition of information document object model tree and render tree are treated described in parsing, and according to the document object model tree Web page files are generated with the render tree;
The web page files are shared file according to what preset rules changed into predetermined format;
Share the file of sharing to the second account, for second account according to described share file acquisition described in wait to share Content information.
2. handheld terminal browser page info sharing method according to claim 1, it is characterised in that second account Number according to described share file acquisition described in treat sharing contents information after, including:
To described, second account treats that sharing contents information carries out text maninulation, the text maninulation bag under editable pattern One or more in including input, deletion, Format adjusting, duplication, shearing or pasting.
3. handheld terminal browser page info sharing method according to claim 1, it is characterised in that the default rule It is then the form for sharing file according to the selection of user determines.
4. handheld terminal browser page info sharing method according to claim 3, it is characterised in that described share text The form of part includes electronic document WORD forms, electrical form EXCEL forms and Portable document PDF.
5. a kind of handheld terminal browser page info sharing apparatus, it is characterised in that include:
Module is chosen, is chosen in handheld terminal browser page info for the first account and is treated sharing contents information, wherein institute State and treat that sharing contents information is chosen based on external command;
Generation module, for parse described treat sharing contents acquisition of information document object model tree and render tree, and according to described Document object model tree and the render tree generate web page files;
Modular converter, for sharing the web page files with file according to what preset rules changed into predetermined format;
Sharing module, for share described share file to the second account, so that second account shares file according to described Sharing contents information is treated described in obtaining.
6. handheld terminal browser page info sharing apparatus according to claim 5, it is characterised in that the hand-held end End browser page Information Sharing device includes:
Editor module, for second account according to described share file acquisition described in treat sharing contents information after, described To described, second account treats that sharing contents information carries out text maninulation under editable pattern, the text maninulation include input, One or more in deletion, Format adjusting, duplication, shearing or stickup.
7. handheld terminal browser page info sharing apparatus according to claim 5, it is characterised in that the default rule It is then the form for sharing file according to the selection of user determines.
8. handheld terminal browser page info sharing apparatus according to claim 7, it is characterised in that described share text The form of part includes electronic document WORD forms, electrical form EXCEL forms and Portable document PDF.
9. a kind of handheld terminal, it is characterised in that include:
One or more processors;
Memorizer;
One or more application programs, wherein one or more of application programs are stored in the memorizer and are configured It is that one or more of programs are configured to by one or more of computing devices:
First account is chosen in handheld terminal browser page info and treats sharing contents information, wherein described treat sharing contents believe Breath is chosen based on external command;
Sharing contents acquisition of information document object model tree and render tree are treated described in parsing, and according to the document object model tree Web page files are generated with the render tree;
The web page files are shared file according to what preset rules changed into predetermined format;
Share the file of sharing to the second account, for second account according to described share file acquisition described in wait to share Content information.
10. handheld terminal according to claim 9, it is characterised in that second account is obtained according to the file of sharing After sharing contents information is treated described in taking, including:
To described, second account treats that sharing contents information carries out text maninulation, the text maninulation bag under editable pattern One or more in including input, deletion, Format adjusting, duplication, shearing or pasting.
CN201610939684.0A 2016-10-24 2016-10-24 A kind of handheld terminal browser page sharing method, device and handheld terminal Pending CN106503183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610939684.0A CN106503183A (en) 2016-10-24 2016-10-24 A kind of handheld terminal browser page sharing method, device and handheld terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610939684.0A CN106503183A (en) 2016-10-24 2016-10-24 A kind of handheld terminal browser page sharing method, device and handheld terminal

Publications (1)

Publication Number Publication Date
CN106503183A true CN106503183A (en) 2017-03-15

Family

ID=58319219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610939684.0A Pending CN106503183A (en) 2016-10-24 2016-10-24 A kind of handheld terminal browser page sharing method, device and handheld terminal

Country Status (1)

Country Link
CN (1) CN106503183A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376225A (en) * 2018-01-04 2018-08-07 阿里巴巴集团控股有限公司 A kind of page processing method and device
CN109033473A (en) * 2018-09-06 2018-12-18 广州酷狗计算机科技有限公司 Picture sharing method, device and computer readable storage medium
CN109284459A (en) * 2018-10-16 2019-01-29 中国搜索信息科技股份有限公司 A kind of webpage code-transferring method based on browser kernel
CN110347979A (en) * 2019-07-18 2019-10-18 网易(杭州)网络有限公司 Information sharing method, device and touch control terminal, storage medium of the split screen across application

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167014A (en) * 2012-12-07 2013-06-19 傲游国际有限公司 Method and device of sharing resources with browsers
CN103793932A (en) * 2014-02-18 2014-05-14 优视科技有限公司 Method and device for storing image and text in mobile terminal browser
CN103841157A (en) * 2012-11-26 2014-06-04 腾讯科技(深圳)有限公司 File sharing device and method
CN103853767A (en) * 2012-12-04 2014-06-11 腾讯科技(深圳)有限公司 Method and device for sharing social circle based on browser
CN105868344A (en) * 2016-03-28 2016-08-17 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841157A (en) * 2012-11-26 2014-06-04 腾讯科技(深圳)有限公司 File sharing device and method
CN103853767A (en) * 2012-12-04 2014-06-11 腾讯科技(深圳)有限公司 Method and device for sharing social circle based on browser
CN103167014A (en) * 2012-12-07 2013-06-19 傲游国际有限公司 Method and device of sharing resources with browsers
CN103793932A (en) * 2014-02-18 2014-05-14 优视科技有限公司 Method and device for storing image and text in mobile terminal browser
CN105868344A (en) * 2016-03-28 2016-08-17 联想(北京)有限公司 Information processing method and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376225A (en) * 2018-01-04 2018-08-07 阿里巴巴集团控股有限公司 A kind of page processing method and device
CN109033473A (en) * 2018-09-06 2018-12-18 广州酷狗计算机科技有限公司 Picture sharing method, device and computer readable storage medium
CN109033473B (en) * 2018-09-06 2022-02-11 广州酷狗计算机科技有限公司 Picture sharing method and device and computer readable storage medium
CN109284459A (en) * 2018-10-16 2019-01-29 中国搜索信息科技股份有限公司 A kind of webpage code-transferring method based on browser kernel
CN110347979A (en) * 2019-07-18 2019-10-18 网易(杭州)网络有限公司 Information sharing method, device and touch control terminal, storage medium of the split screen across application

Similar Documents

Publication Publication Date Title
CN106815316A (en) Method, device and mobile terminal that content of pages is shared
CN106506618A (en) A kind of information sharing method, device and mobile terminal
CN106970790B (en) Application program creating method, related equipment and system
CN108846087A (en) A kind of page rendering method, apparatus, terminal and server
CN110196675A (en) A kind of method and electronic equipment of addition annotation
CN108364644A (en) A kind of voice interactive method, terminal and computer-readable medium
CN103702297B (en) Short message enhancement, apparatus and system
CN106503183A (en) A kind of handheld terminal browser page sharing method, device and handheld terminal
CN108287918B (en) Music playing method and device based on application page, storage medium and electronic equipment
CN108055569A (en) Direct broadcasting room barrage sending method, device and corresponding terminal
CN108536481A (en) A kind of application program launching method, mobile terminal and computer storage media
CN108984548A (en) Content of pages caching method and device
CN107329985B (en) Page collection method and device and mobile terminal
CN107040609A (en) A kind of network request treating method and apparatus
CN104182429B (en) Web page processing method and terminal
CN106937043A (en) The method and apparatus of mobile terminal and its image procossing
CN106549951A (en) A kind of guard method for sharing file, device and mobile terminal
CN107193889A (en) Ad blocking method, terminal and computer-readable recording medium
CN103501485B (en) Push the method, apparatus and terminal device of application
CN106227588A (en) The creation method of a kind of multi-instance object, device and mobile terminal
CN104281568B (en) Paraphrasing display method and paraphrasing display device
CN108322807A (en) A kind of barrage methods of exhibiting and device
CN106055480A (en) Webpage debugging method and terminal
CN113613064B (en) Video processing method, device, storage medium and terminal
CN107436948A (en) File search method, device and terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20170724

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication