CN104424260A - Browser information sharing method and device - Google Patents

Browser information sharing method and device Download PDF

Info

Publication number
CN104424260A
CN104424260A CN201310384531.0A CN201310384531A CN104424260A CN 104424260 A CN104424260 A CN 104424260A CN 201310384531 A CN201310384531 A CN 201310384531A CN 104424260 A CN104424260 A CN 104424260A
Authority
CN
China
Prior art keywords
browser
information
menu
window
derivation
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
CN201310384531.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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310384531.0A priority Critical patent/CN104424260A/en
Publication of CN104424260A publication Critical patent/CN104424260A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the invention discloses a browser information sharing method and device and belongs to the field of communication. The method comprises obtaining export collection menu identification information of a first browser, wherein the export collection menu is arranged in a menu window of the first browser; starting the process of the first browser to start the first browser; obtaining handles of a main window of the first browser to obtain information of the main window of the first browser, and obtaining menu window information of the main window of the first browser from the information of the main window of the first browser; sending information to the menu window according to the export collection menu identification information, controlling the first browser to trigger the export collection menu in the menu window to import information recorded in the first browser into the second browser. By the aid of the information sharing method, information recorded in the browsers of different types can be shared automatically rapidly and conveniently.

Description

Browser information shares method and device
Technical field
The present invention relates to Internet technical field, particularly a kind of browser information shares method and device.
Background technology
Browser is the Client browse program that WWW (Web) is served, and can send various request to Web server, and makes an explanation to the hypertext information sent from server and various multimedia data format, show and play.The browser of current main flow mainly comprises Firefox, Internet Explorer(IE), 360 secure browsers, search dog browser etc.
User can preserve the browsing information of some individual subscribers in a browser when using above-mentioned browser, such as, and collection information, history information, Download Info etc.Some user can install and use multiple browser in this locality, and user, when using a kind of browser, sometimes wishing to consult the information recorded in other browser, the information recorded being imported in this browser with regard to needing in other browser.Or sometimes user needs the information recorded in acquisition browser to do further analysis, also needs the information recorded in browser to derive.The browser of main flow both provides greatly the function being automatically imported other browser information (such as collection information) or the function information recorded in browser being exported to assigned address, facilitates user the information recorded in other browser is imported to this browser or exports to assigned address.The information recorded in browser is mostly kept in corresponding file, the form of this file is mostly different, but the general all unencryptions of this file, can data directly in file reading and therefrom extract the information recorded in browser, such as url(web page address), title(title), order(order) etc. the bookmark information in collection.
But the information recorded in some browser at present, such as, bookmark information in collection, often adopt cryptographic storage mode, thus, user directly can not obtain the bookmark information of cryptographic storage, user is caused cannot directly to obtain the information recorded in browser, such as collection information, thus also cannot directly obtain the information recorded in a browser when using the browser of these employing cryptographic storage modes, and also do not have a kind of general method can be automatically imported in other browser by the information recorded in different types of browser now, the inconvenience in use is brought to user.
Summary of the invention
The invention provides a kind of browser information deriving method and device, the information recorded cannot be automatically imported the medium problem of other browser to solve existing method in different types of browser.
Particularly, embodiments provide a kind of browser information and share method, described browser information shares method, comprising: the identification information obtaining the derivation collection menu of the first browser, derives collection menu setting in the menu window of the first browser; Start the process of the first browser to open the first browser, obtain the handle of the main window of the first browser to obtain the information of the main window of the first browser, and from the information of the main window of the first browser, obtain the menu window information of the first browser main window; Identification information according to deriving collection menu sends message to menu window, controls the derivation collection menu in the first browser triggering menu window, the information recorded in the first browser to be derived and to be stored in corresponding file; Resolve the information be stored in corresponding document derived, the information after resolving is imported in the second browser.
In addition, embodiments provide a kind of browser information sharing means, described browser information sharing means, comprise: menu identification acquisition module, menu window data obtaining module, derivation module and parsing module, menu identification acquisition module, for obtaining the identification information of the derivation collection menu of the first browser, derive collection menu setting in the menu window of the first browser; Menu window data obtaining module, for starting the process of the first browser to open the first browser, obtain the handle of the main window of the first browser to obtain the information of the main window of the first browser, and from the information of the main window of the first browser, obtain the menu window information of the main window of the first browser; Deriving module, for sending message according to the identification information of deriving collection menu to menu window, controlling the derivation collection menu in the first browser triggering menu window, the information recorded in the first browser to be derived and to be stored in corresponding file; Parsing module, for resolving the information be stored in corresponding document of derivation, imports to the information after resolving in the second browser.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By starting the first browser and obtaining the menu window of the first browser, then send message according to the identification information of deriving collection menu to menu window, thus control after the information of record derives by the first browser, then import in the second browser.Solve existing method and the information recorded in different types of browser cannot be automatically imported the medium problem of other browser, adopt the information sharing mode that the present invention is general, thus can quickly and easily the information recorded in different types of browser be shared automatically.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent to allow above and other object of the present invention, feature and advantage, below especially exemplified by preferred embodiment, and coordinate accompanying drawing, be described in detail as follows.
Accompanying drawing explanation
Fig. 1 is the process flow diagram that browser information that one embodiment of the invention provides shares method;
Fig. 2 A is the process flow diagram that browser information that another embodiment of the present invention provides shares method;
Fig. 2 B is the schematic diagram of the menu window process obtaining browser;
Fig. 2 C is the schematic diagram of the menu window that browser shows;
Fig. 2 D is the schematic diagram of browser popup menu;
Fig. 2 E is the schematic diagram of deriving collection dialog box;
Fig. 3 is the process flow diagram that browser information that another embodiment of the present invention provides shares method;
Fig. 4 is the process flow diagram that browser information that another embodiment of the present invention provides shares method;
Fig. 5 is the main frame block diagram of the browser information sharing means that one embodiment of the invention provides;
Fig. 6 is the main frame block diagram of the browser information sharing means that another embodiment of the present invention provides;
Fig. 7 is the main frame block diagram of the browser information sharing means that another embodiment of the present invention provides;
Fig. 8 is the main frame block diagram of the browser information sharing means that another embodiment of the present invention provides;
Fig. 9 is a kind of structured flowchart of terminal.
Embodiment
For further setting forth the present invention for the technological means reaching predetermined goal of the invention and take and effect, below in conjunction with accompanying drawing and preferred embodiment, method and its embodiment of device, structure, feature and effect are shared to the browser information proposed according to the present invention, is described in detail as follows.
Aforementioned and other technology contents, Characteristic for the present invention, can clearly present in following cooperation describes in detail with reference to graphic preferred embodiment.By the explanation of embodiment, when can to the present invention for the technological means reaching predetermined object and take and effect be able to more deeply and concrete understanding, however institute's accompanying drawings be only to provide with reference to and the use of explanation, be not used for being limited the present invention.
First embodiment
Please refer to Fig. 1, the browser information that it illustrates one embodiment of the invention provides shares the process flow diagram of method.The method can browser information shared procedure performed by browser information sharing means, below be all illustrated so that the information in the first browser is imported in the second browser; Browser information sharing means may operate on the equipment such as terminal, server, and described browser information shares method, can comprise the following steps 101-107:
Step 101, obtains the identification information of the derivation collection menu of the first browser, derives collection menu setting in the menu window of the first browser.
Identification information can be (Identity) ID of " deriving collection " menu or " derivation is stowed to specific format file " menu, and ID is the unique encodings of this menu.Specific format can be such as (Hypertext MarkupLanguage, HTML (Hypertext Markup Language)) Html form etc.
Step 103, start the process of the first browser to open the first browser, obtain the handle of the main window of the first browser to obtain the information of the main window of the first browser, and from the information of the main window of the first browser, obtain the menu window information of the main window of the first browser.
Window shown after main window i.e. first browser of the first browser is unlocked, the information of the main window of the first browser comprises the information such as subwindow title of main window of the title of the main window of the first browser, the first browser.Menu window information comprises the title and mark etc. of the submenu in the title of menu window and mark, menu window.
Step 105, the identification information according to deriving collection menu sends message to menu window, controls the derivation collection menu in the first browser triggering menu window, the information recorded in the first browser to be derived and to be stored in corresponding file.
The information recorded in first browser can comprise collection information, history information or Download Info.Collection information can be the bookmark information in collection, the such as information such as bookmark name, web page address.
Step 107, resolves the information be stored in corresponding document derived, and the information after resolving is imported in the second browser.
In sum, the browser information that the present embodiment provides shares method, by starting the first browser and obtaining the menu window of the first browser, message is sent to menu window again according to the identification information of deriving collection menu, thus control the first browser by after the derivation of the information of record, then import in the second browser.Solve existing method and the information recorded in different types of browser cannot be automatically imported the medium problem of other browser, adopt the information sharing mode that the present invention is general, thus can quickly and easily the information recorded in different types of browser be shared automatically.
Second embodiment
Please refer to Fig. 2 A, the browser information that it illustrates another embodiment of the present invention provides shares the process flow diagram of method.Fig. 2 A improves on the basis of Fig. 1.The method can browser information shared procedure performed by browser information sharing means, below be all illustrated so that the information in the first browser is imported in the second browser; Browser information sharing means may operate on the equipment such as terminal, server, and described browser information shares method, can comprise the following steps 201-213:
Step 201, obtains the identification information of the derivation collection menu of the first browser, derives collection menu setting in the menu window of the first browser.
Current browser both provides greatly " derive collection " the similar menu item such as menu or " derivation is stowed to specific format file " menu.Wherein, the first browser can be current any browser, such as Firefox, Internet Explorer(IE), 360 secure browsers, search dog browser etc.Identification information can be (Identity) ID of " deriving collection " menu or " derivation is stowed to specific format file " menu, and ID is the unique encodings of this menu.Specific format can be such as (Hypertext Markup Language, HTML (Hypertext Markup Language)) Html form etc.
Preferably, in step 201, when obtaining the identification information of derivation collection menu of the first browser, can comprise: the menu information file loading the first browser; Menu information in Loading Menu message file; The identification information of the derivation collection menu of the first browser is obtained from menu information.
Namely menu information file deposits the file of menu information.Menu information such as can comprise the information such as menu identification, pad name.
The method of the menu information file of loading first browser is described for search dog browser, and search dog browser menu information is arranged in different files at different editions.In general menu information leaves in (dynamic link library, Dynamic Link Library) dll file, at the earlier version of search dog, menu information leaves name in and is called in the file of sogouexplorer.exe.If the dll file depositing menu information exists, just load this dll file.If this dll file does not exist, explanation is the earlier version of search dog browser, then load the file that name is called sogouexplorer.exe.The menu information file loading the first browser can in the following way:
HMODULE hModule=LoadLibraryEx(strExePath.,NULL,LOAD_LIBRARY_AS_DATAFILE)。
Menu information in Loading Menu message file can in the following way:
HMENU hMenu=LoadMenu (hModule, MAKEINTRESOURCE (0x64)); Wherein, hMenu is menu resource, namely all menu informations, the title of such as menu, the mark etc. of menu.
When obtaining the identification information of derivation collection menu of the first browser from menu information, can by the menu item in traversal hMenu, pad name is found to be the menu item that " (such as Html) file that derivation is stowed to specific format " or name are called " deriving collection ", and obtain the identification information of this menu item, such as ID.The menu structure of different editions browser is likely different, " deriving collection " menu item of a wherein version of such as search dog browser is the submenu of " collection " menu, namely can be expressed as: collection-> derives collection, and " derivation is stowed to Html file " menu item of another version of search dog browser is the submenu of " deriving collection ", and " deriving collection " menu is the submenu of " collection ", namely can be expressed as: collection-> derives collection-> derivation and is stowed to Html file.In a word, no matter be the browser of which kind of version, always pad name can be found to be " (such as Html) file that derivation is stowed to specific format " menu or " deriving collection " menu ".
Step 203, starts the process of the first browser to open the first browser.
Can be called that the function of CreateProcess starts the process of the first browser by calling name, such as be called the function (such as parameter can be the log-on message etc. of the first browser) of CreateProcess to name by Transfer Parameters, the first browser will be activated.
Step 205, obtains the handle of the main window of the first browser to obtain the information of the main window of the first browser, and from the information of the main window of the first browser, obtains the menu window information of the main window of the first browser.
Window is most important part in user interface, is rectangular area corresponding with an application program on screen, comprises gimbal region and client area, is the visual interface between user and the application program producing this window.
Window shown after main window i.e. first browser of the first browser is unlocked, the information of the main window of the first browser comprises the information such as subwindow title of main window of the title of the main window of the first browser, the first browser.Menu window information comprises the title and mark etc. of the submenu in the title of menu window and mark, menu window.
For the implementation of search dog browser description of step 205, as shown in Figure 2 B, the window that name is called the function lookup class " SE_SogouExplorerFrame " by name of FindWindowEx can be called, obtain window handle.This window is the main window of search dog browser.The handle obtaining main window just can obtain the information of main window, and can control main window.After obtaining the handle of main window, then under the main window of search dog browser, search the subwindow of class " SE_TuotuoReBar " by name, under this subwindow, search the subwindow of class " SE_TuotuoMenuBar " by name again.SE_TuotuoMenuBar is exactly the menu window of search dog browser.And the menu window 221 that reality shows on a web browser is seen interface as that shown in fig. 2 c by user.
Step 207, the identification information according to derivation collection menu sends message to menu window, and menu is collected in the derivation triggered in menu window to control the first browser, and controls the first browser unlatching derivation dialog box.
Can send message PostMessage (hMenuBar, WM_COMMAND, uId, 0) to menu window in the following way, wherein name is called that the parameter of uId is the identification information of the derivation collection menu obtained in step 201, such as ID.Still be described for search dog browser and send this message to after menu window, the follow-up implementation of browser: after sending this message to menu window, then will control browser click " derivation is stowed to Html file " menu item 223 as shown in Figure 2 D.And unlatching derivation dialog box as shown in Figure 2 E, such as derive collection dialog box, derive collection dialog box and comprise the information such as path 225, derivation control 227, cancellation control 229 deriving collection.
Step 209, obtains the window handle of deriving dialog box, and obtains the window handle of deriving and revising in dialog box and deriving path, and the window of deriving path to amendment sends message, to revise derivation path.
To derive the dialog box that dialog box is " deriving collection " as shown in Figure 2 E, the function lookup class " #32770 " by name that name is called FindWindowEx can be called, window name is the dialog box of " deriving collection ", this window is derives collection dialog box, obtains the window handle of deriving collection dialog box.
Search the child control of class " Edit " by name on window again, obtain the window handle (name of handle is called hEdit) of deriving path, by sending message SendMessage (hEdit, WM_SETTEXT, 0, L " D: Bookmark.htm ") derive path to revise to derivation multipath window.
Step 211, obtains the window handle of deriving and deriving control in dialog box, sends message, so that the information recorded in the first browser is exported to amended derivation path, and be stored in corresponding file to the window of deriving control.
As shown in Figure 2 E, can by searching the window handle (handle name is called hOk) of " derivation " control 227, send message in the following way to the window SendMessage (hDlg of " derivation " control 227, WM_COMMAND, IDOK, (LPARAM) hOk), wherein name is called that the parameter of hDlg is the window handle of deriving collection dialog box.
The information recorded in first browser can comprise collection information, history information or Download Info.Collection information can be the bookmark information in collection, the such as information such as bookmark name, web page address.
Step 213, resolves the information be stored in corresponding document derived, and the information after resolving is imported in the second browser.
When resolving the information be stored in corresponding document derived, the information such as the title of information, mark can be obtained, if information is collection information, then can obtain the bookmark information in collection, such as the information such as bookmark name, web page address.Second browser can such as, for being different from present arbitrarily browser, Firefox, Internet Explorer(IE of the first browser), 360 secure browsers, search dog browser etc.Be understandable that, in this step, also the information after parsing can be preserved to be further analyzed.
In sum, the browser information that the present embodiment provides shares method, and the window also by deriving path to amendment sends message, derives path to revise; And the information recorded in the first browser is exported to amended derivation path, and be stored in corresponding file.Thus can realize the information of derivation being stored in the file in appointment derivation path, the convenience in use is brought to user.
3rd embodiment
Please refer to Fig. 3, the browser information that it illustrates another embodiment of the present invention provides shares the process flow diagram of method.The method can browser information shared procedure performed by browser information sharing means; Browser information sharing means may operate on the equipment such as terminal, server, and it is similar that the browser information shown in its to Fig. 2 A shares method, and its difference is, the step 203 of Fig. 2 A specifically can comprise: step 301-305.
Step 301, creates new desktop.
Such as, name can be called and be called that the function creation name of CreateDesktop is called the new desktop of hDskNew.Namely new desktop is different from the presently used desktop of user.
Step 303, on the new desktop created, starts the process of the first browser to open the first browser.
Can be called that the function of CreateProcess starts the process of the first browser by calling name, such as be called the function (such as parameter can be the title of new desktop, the log-on message etc. of the first browser) of CreateProcess to name by Transfer Parameters, the first browser will be activated at new desktop.Such user just can't see the window of the first browser on presently used desktop, and what browser information shared method employing is running background pattern, and user experience is better.
Step 305, is switched to current thread on new desktop and runs.
Thread, sometimes referred to as (Light weight Process, LWP) Lightweight Process, is the minimum unit that program performs stream.A thread can create and cancel another thread, can concurrence performance between the multiple threads in same process.Due to the mutual restriction between thread, cause thread to be in operation and present discontinuity.Can call function SetThreadDesktop (hDskNew), current thread is switched on new desktop and runs.Because first browser is activated at new desktop in step 303, only have current thread to be switched on new desktop in this step and run, can send message to the first browser be positioned on new desktop, otherwise the first browser be positioned on new desktop does not receive message.
In sum, the browser information that the present embodiment provides shares method, also by the new desktop created, starts the process of the first browser to open the first browser; And current thread is switched on new desktop and runs.Such first browser will be activated at new desktop, thus user just can't see the window of the first browser on presently used desktop, and what browser information shared method employing is running background pattern, and user experience is better.
4th embodiment
Please refer to Fig. 4, the browser information that it illustrates another embodiment of the present invention provides shares the process flow diagram of method.The method can browser information shared procedure performed by browser information sharing means; Browser information sharing means may operate on the equipment such as terminal, server, and it is similar that the browser information shown in its to Fig. 3 shares method, and its difference is, also comprises: step 401.
Step 401, after the information recorded has derived, is switched to the presently used desktop of user and runs, and be closed in the process of the first browser that new desktop starts in the first browser by current thread.
By the time, after the information (such as collection information) recorded in the first browser has derived, can be called that current thread switching is got back to the presently used desktop of user and run by the function of SetThreadDesktop by calling name.The process of the first browser that the function hard closing of TerminateProcess starts on new desktop can be called by calling name.
In sum, the browser information that the present embodiment provides shares method, after the information also by recording in the first browser having derived, current thread being switched to the presently used desktop of user and running, being user-friendly to.
Be below device embodiment of the present invention, the details of not detailed description in device embodiment, can with reference to the embodiment of the method for above-mentioned correspondence.
5th embodiment
Please refer to Fig. 5, it illustrates the main frame block diagram of the browser information sharing means that one embodiment of the invention provides.Described browser information sharing means, comprising: menu identification acquisition module 501, menu window data obtaining module 503, derivation module 505 and parsing module 507.
Particularly, menu identification acquisition module 501, for obtaining the identification information of the derivation collection menu of the first browser, derives collection menu setting in the menu window of the first browser.
Menu window data obtaining module 503, for starting the process of the first browser to open the first browser, obtain the handle of the main window of the first browser to obtain the information of the main window of the first browser, and from the information of the main window of the first browser, obtain the menu window information of the main window of the first browser.
Deriving module 505, for sending message according to the identification information of deriving collection menu to menu window, controlling the derivation collection menu in the first browser triggering menu window, the information recorded in the first browser to be derived and to be stored in corresponding file.
Parsing module 507, for resolving the information be stored in corresponding document of derivation, imports to the information after resolving in the second browser.
In sum, the browser information sharing means that the present embodiment provides, by starting the first browser and obtaining the menu window of the first browser, message is sent to menu window again according to the identification information of deriving collection menu, thus control the first browser by after the information of record, then import in the second browser.Solve existing method and the information recorded in different types of browser cannot be automatically imported the medium problem of other browser, adopt the information sharing mode that the present invention is general, thus can quickly and easily the information recorded in different types of browser be shared automatically.
6th embodiment
Please refer to Fig. 6, it illustrates the main frame block diagram of the browser information sharing means that another embodiment of the present invention provides.Browser information sharing means shown in its to Fig. 5 is similar, its difference is, described menu identification acquisition module 501, can comprise: file load module 601, menu information load-on module 603 and acquisition module 605, described derivation module 505, can comprise: control module 607, path modified module 609 and memory module 611.
File load module 601, for loading the menu information file of the first browser;
Menu information load-on module 603, for the menu information in Loading Menu message file;
Acquisition module 605, for obtaining the identification information of the derivation collection menu of the first browser from menu information.
Control module 607, opens derivation dialog box for controlling the first browser.
Path modified module 609, for obtaining the window handle of deriving dialog box, and obtain the window handle of deriving amendment derivation path in dialog box, the window of deriving path to amendment sends message, derives path to revise.
Memory module 611, for obtaining the window handle of deriving and deriving control in dialog box, sending message to the window of deriving control, so that the information recorded in the first browser is exported to amended derivation path, and being stored in corresponding file.
In sum, the browser information sharing means that the present embodiment provides, the window also by deriving path to amendment sends message, derives path to revise; And the information recorded in the first browser is exported to amended derivation path, and be stored in corresponding file.Thus can realize the information of derivation being stored in the file in appointment derivation path, the convenience in use is brought to user.
7th embodiment
Please refer to Fig. 7, it illustrates the main frame block diagram of the browser information sharing means that another embodiment of the present invention provides.Browser information sharing means shown in its to Fig. 6 is similar, and its difference is, described menu window data obtaining module 503, can comprise: creation module 701, startup module 703 and thread handover module 705.
Creation module 701, for creating new desktop.
Start module 703, for the new desktop created, start the process of the first browser to open the first browser.
Thread handover module 705, runs for current thread being switched on new desktop.
In sum, the browser information sharing means that the present embodiment provides, also by the new desktop created, starts the process of the first browser to open the first browser; And current thread is switched on new desktop and runs.Such first browser will be activated at new desktop, thus user just can't see the window of the first browser on presently used desktop, and what adopt when browser information is shared is running background pattern, and user experience is better.
8th embodiment
Please refer to Fig. 8, it illustrates the main frame block diagram of the browser information sharing means that another embodiment of the present invention provides.Browser information sharing means shown in its to Fig. 7 is similar, and its difference is, described browser information sharing means, can also comprise: processing module 801.
Processing module 801, after the information for recording in the first browser having derived, being switched to the presently used desktop of user and running, and being closed in the process of the first browser that new desktop starts by current thread.
In sum, the browser information sharing means that the present embodiment provides, after the information also by recording in the first browser having derived, being switched to the presently used desktop of user and having run, being user-friendly to by current thread.
9th embodiment
Please refer to Fig. 9, it illustrates a kind of structured flowchart of terminal.As shown in Figure 9, to operate in terminal exemplarily with browser information sharing means, terminal comprises storer 902, memory controller 904, one or more (only illustrating one in figure) processor 906, Peripheral Interface 908, radio-frequency module 910, photographing module 914, audio-frequency module 916, Touch Screen 918 and key-press module 920.These assemblies are by the mutual communication of one or more communication bus/signal wire.
Be appreciated that the structure shown in Fig. 9 is only signal, terminal also can comprise than assembly more or less shown in Fig. 9, or has the configuration different from shown in Fig. 9.Each assembly shown in Fig. 9 can adopt hardware, software or its combination to realize.
Storer 902 can be used for storing software program and module, as the browser information that carries out in terminal in the embodiment of the present invention shares programmed instruction/module corresponding to method (such as, menu identification acquisition module 501 in browser information sharing means, menu window data obtaining module 503, derivation module 505, parsing module 507 etc.), processor 902 is by running the software program and module that are stored in storer 904, thus perform the application of various function and data processing, namely realize the above-mentioned browser information that carries out in terminal and share method.
Storer 902 can comprise high speed random access memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, storer 902 can comprise the storer relative to the long-range setting of processor 906 further, and these remote memories can be connected to terminal by network.The example of above-mentioned network includes but not limited to internet, intranet, LAN (Local Area Network), mobile radio communication and combination thereof.Processor 906 and other possible assemblies can carry out the access of storer 902 under the control of memory controller 904.
Various input/output device is coupled to CPU and storer 902 by Peripheral Interface 908.Various softwares in processor 906 run memory 902, instruction are to perform the various function of terminal and to carry out data processing.
In certain embodiments, Peripheral Interface 908, processor 906 and memory controller 904 can realize in one single chip.In some other example, they can respectively by independently chip realization.
Radio-frequency module 910, for receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus carries out communication with communication network or other equipment.Radio-frequency module 910 can comprise the various existing circuit component for performing these functions, such as, and antenna, radio-frequency (RF) transceiver, digital signal processor, encrypt/decrypt chip, subscriber identity module (SIM) card, storer etc.Radio-frequency module 910 can with various network as internet, intranet, wireless network carry out communication or carry out communication by wireless network and other equipment.Above-mentioned wireless network can comprise cellular telephone networks, WLAN (wireless local area network) or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standard, agreement and technology, include, but are not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhancement mode mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband codedivision multiple access, W-CDMA), CDMA (Code Division Multiple Access) (Code division access, CDMA), tdma (time division multiple access, TDMA), bluetooth, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (as IEEE-USA standard IEEE 802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), the networking telephone (Voiceover internet protocal, VoIP), worldwide interoperability for microwave access (Worldwide Interoperability forMicrowave Access, Wi-Max), other are for mail, the agreement of instant messaging and short message, and any other suitable communications protocol, even can comprise those current agreements be developed not yet.
Photographing module 914 is for taking pictures or video.Photo or the video of shooting can be stored in storer 902, and send by radio-frequency module 910.
Audio-frequency module 916 provides audio interface to user, and it can comprise one or more microphone, one or more loudspeaker and voicefrequency circuit.Voicefrequency circuit receives voice data from Peripheral Interface 908, voice data is converted to telecommunications breath, and telecommunications breath is transferred to loudspeaker.Telecommunications breath is changed the sound wave can heard into people's ear by loudspeaker.Voicefrequency circuit also from microphone receive telecommunications breath, convert electrical signals to voice data, and by data transmission in network telephony to Peripheral Interface 908 to be further processed.Voice data can obtain from storer 902 or by radio-frequency module 910.In addition, voice data also can be stored in storer 902 or by radio-frequency module 910 and send.In some instances, audio-frequency module 916 also can comprise an earphone and broadcast hole, for providing audio interface to earphone or other equipment.
Touch Screen 918 provides one to export and inputting interface between terminal and user simultaneously.Particularly, Touch Screen 918 exports to user's display video, and the content of these video frequency output can comprise word, figure, video and combination in any thereof.Some Output rusults correspond to some user interface object.Touch Screen 918 also receives the input of user, and the gesture operation such as click, slip of such as user, so that response is made in the input of user interface object to these users.The technology detecting user's input can be based on resistance-type, condenser type or other touch control detection technology possible arbitrarily.The instantiation of Touch Screen 918 display unit includes, but are not limited to liquid crystal display or light emitting polymer displays.
Key-press module 920 provides user to carry out the interface inputted to terminal equally, and user can perform different functions by pressing different buttons to make terminal.
In addition, the embodiment of the present invention also provides a kind of computer-readable recording medium, is stored with computer executable instructions, and above-mentioned computer-readable recording medium is such as nonvolatile memory such as CD, hard disk or flash memory.Above-mentioned computer executable instructions shares method for allowing computing machine or similar arithmetic unit complete above-mentioned browser information.
The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical solution of the present invention content, according to any simple modification that technical spirit of the present invention is done above embodiment, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.

Claims (12)

1. browser information shares a method, it is characterized in that, described browser information is shared method and comprised:
Obtain the identification information of the derivation collection menu of the first browser, described derivation collection menu setting is in the menu window of described first browser;
Start the process of the first browser to open described first browser, obtain the handle of the main window of the first browser to obtain the information of the main window of described first browser, and from the information of the main window of described first browser, obtain the menu window information of the main window of described first browser;
According to described derive collection menu identification information send message to menu window, control described first browser trigger in described menu window derivation collection menu, the information recorded in described first browser is derived and is stored in corresponding file;
Resolve the information be stored in corresponding document derived, the information after resolving is imported in the second browser.
2. browser information according to claim 1 shares method, it is characterized in that, obtains in the identification information of derivation collection menu of the first browser, comprising:
Load the menu information file of the first browser;
Load the menu information in described menu information file;
The identification information of the derivation collection menu of the first browser is obtained from described menu information.
3. browser information according to claim 1 shares method, it is characterized in that, according to described derive collection menu identification information send message to menu window, control described first browser trigger in described menu window derivation collection menu after, also comprise:
Control the first browser and open derivation dialog box;
Obtain the window handle of deriving dialog box, and obtain the window handle in amendment derivation path in described derivation dialog box, the window of deriving path to amendment sends message, derives path to revise;
Obtain the window handle of deriving control in described derivation dialog box, send message to the window of deriving control, so that the information recorded in the first browser is exported to amended derivation path, and be stored in corresponding file.
4. browser information according to claim 1 shares method, it is characterized in that, the process starting the first browser, to open in described first browser, comprising:
Create new desktop;
On the described new desktop created, start the process of the first browser to open described first browser;
Current thread is switched on described new desktop and runs.
5. browser information according to claim 4 shares method, it is characterized in that, the information recorded is derived and after being stored in corresponding file, also comprise in described first browser:
After the information recorded in described first browser has derived, described current thread is switched to the presently used desktop of user and runs, and be closed in the process of described first browser that described new desktop starts.
6. the browser information according to any one of claim 1,3,5 shares method, it is characterized in that, the information recorded in described first browser comprises collection information, history information or Download Info.
7. a browser information sharing means, is characterized in that, described browser information sharing means, comprising:
Menu identification acquisition module, for obtaining the identification information of the derivation collection menu of the first browser, described derivation collection menu setting is in the menu window of described first browser;
Menu window data obtaining module, for starting the process of the first browser to open described first browser, obtain the handle of the main window of the first browser to obtain the information of the main window of described first browser, and from the information of the main window of described first browser, obtain the menu window information of the main window of described first browser;
Derive module, for sending message according to described identification information of deriving collection menu to menu window, control described first browser trigger in described menu window derivation collection menu, the information recorded in described first browser is derived and is stored in corresponding file;
Parsing module, for resolving the information be stored in corresponding document of derivation, imports to the information after resolving in the second browser.
8. browser information sharing means according to claim 7, is characterized in that, described menu identification acquisition module, comprising:
File load module, for loading the menu information file of the first browser;
Menu information load-on module, for loading the menu information in described menu information file;
Acquisition module, for obtaining the identification information of the derivation collection menu of the first browser from described menu information.
9. browser information sharing means according to claim 7, is characterized in that, described derivation module, comprising:
Control module, opens derivation dialog box for controlling the first browser;
Path modified module, for obtaining the window handle of deriving dialog box, and obtain the window handle in amendment derivation path in described derivation dialog box, the window of deriving path to amendment sends message, derives path to revise;
Memory module, for obtaining the window handle of deriving control in described derivation dialog box, sending message to the window of deriving control, so that the information recorded in the first browser is exported to amended derivation path, and being stored in corresponding file.
10. browser information sharing means according to claim 7, is characterized in that, described menu window data obtaining module, comprising:
Creation module, for creating new desktop;
Start module, for the described new desktop created, start the process of the first browser to open described first browser;
Thread handover module, runs for current thread being switched on described new desktop.
11. browser information sharing means according to claim 10, is characterized in that, described browser information sharing means, also comprises:
Processing module, after the information for recording in described first browser having derived, being switched to the presently used desktop of user and running, and be closed in the process of described first browser that described new desktop starts by described current thread.
12. browser information sharing means according to any one of claim 7,9,11, it is characterized in that, the information recorded in described first browser comprises collection information, history information or Download Info.
CN201310384531.0A 2013-08-29 2013-08-29 Browser information sharing method and device Pending CN104424260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310384531.0A CN104424260A (en) 2013-08-29 2013-08-29 Browser information sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310384531.0A CN104424260A (en) 2013-08-29 2013-08-29 Browser information sharing method and device

Publications (1)

Publication Number Publication Date
CN104424260A true CN104424260A (en) 2015-03-18

Family

ID=52973245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310384531.0A Pending CN104424260A (en) 2013-08-29 2013-08-29 Browser information sharing method and device

Country Status (1)

Country Link
CN (1) CN104424260A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550112A (en) * 2015-12-17 2016-05-04 北京海泰方圆科技股份有限公司 Browser rendering capability test method
CN107526972A (en) * 2016-06-21 2017-12-29 福建省天奕网络科技有限公司 Big data quantity parameter hides the method and its system transmitted between process
CN112541139A (en) * 2020-12-31 2021-03-23 深圳市哈哈丫丫互联网有限公司 Universal and extremely simple html hypertext bookmark importing and exporting green program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250756A1 (en) * 2009-03-31 2010-09-30 Morris Robert P Methods, Systems, And Computer Program Products For Establishing A Shared Browsing Session Between A User Of A Web Browser With A User Of Another Web Browser
CN102946437A (en) * 2012-11-27 2013-02-27 北京奇虎科技有限公司 Explorer and data sharing method for same
CN102968492A (en) * 2012-11-27 2013-03-13 北京奇虎科技有限公司 Browser and method of data sharing between browsers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100250756A1 (en) * 2009-03-31 2010-09-30 Morris Robert P Methods, Systems, And Computer Program Products For Establishing A Shared Browsing Session Between A User Of A Web Browser With A User Of Another Web Browser
CN102946437A (en) * 2012-11-27 2013-02-27 北京奇虎科技有限公司 Explorer and data sharing method for same
CN102968492A (en) * 2012-11-27 2013-03-13 北京奇虎科技有限公司 Browser and method of data sharing between browsers

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550112A (en) * 2015-12-17 2016-05-04 北京海泰方圆科技股份有限公司 Browser rendering capability test method
CN107526972A (en) * 2016-06-21 2017-12-29 福建省天奕网络科技有限公司 Big data quantity parameter hides the method and its system transmitted between process
CN107526972B (en) * 2016-06-21 2019-12-10 福建省天奕网络科技有限公司 Method and system for hiding and transmitting large data quantity parameters between processes
CN112541139A (en) * 2020-12-31 2021-03-23 深圳市哈哈丫丫互联网有限公司 Universal and extremely simple html hypertext bookmark importing and exporting green program

Similar Documents

Publication Publication Date Title
WO2020063019A1 (en) Information processing method, device, storage medium, electronic device and system
CN104461474A (en) Mobile terminal and screen-shooting method and device therefor
US10769215B2 (en) Method, apparatus and computer program product providing an application integrated mobile device search solution using context information
US8645491B2 (en) Methods and apparatus for enabling a hybrid web and native application
CN104935744A (en) Verification code display method, verification code display device and mobile terminal
CN111580879A (en) Applet running method and device, electronic equipment and computer storage medium
CN105094861A (en) Webpage application program loading method, device and system
US20140337752A1 (en) Handling and configuration of a mobile communications terminal
US20100299338A1 (en) Method and apparatus for providing device compatibility service
CN104239317A (en) Method and device for compiling pictures in browser
CN104965848A (en) Front-end resource loading method and apparatus
CN104424241B (en) Web site url processing method based on two dimensional code, apparatus and system
CN104731808A (en) Browser webpage loading method and browser webpage loading device
US20150128033A1 (en) Method and apparatus for webpage browsing
CN110399578A (en) Page access method and device
CN111125595B (en) Multi-page control method and device, electronic equipment and storage medium
CN112243016B (en) Middleware platform, terminal equipment, 5G artificial intelligence cloud processing system and processing method
CN104424260A (en) Browser information sharing method and device
WO2016169426A1 (en) Video playing method and device
CN112995005B (en) Virtual network data exchange method and device
CN104182331A (en) Browser performance test method, browser performance test system and terminal
WO2023005711A1 (en) Service recommendation method and electronic device
WO2022052706A1 (en) Service sharing method, system and electronic device
CN104346228A (en) Application program sharing method and terminal
CN104753969A (en) Method and device for synchronizing clipboard content information

Legal Events

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

Application publication date: 20150318

RJ01 Rejection of invention patent application after publication