This application claims priority to Chinese Patent Application No. 201210307882.7, entitled “INFORMATION TRANSMISSION METHOD, APPARATUS, SYSTEM, AND TERMINAL,” filed on Aug. 27, 2012, which is incorporated by reference in its entirety.
The disclosed implementations relate generally to the field of Internet technologies, and in particular, to the field of information transmission technologies, and specifically, to an information transmission method, apparatus, system, and terminal.
With the development of the Internet and terminal technologies, people can obtain information by using the Internet, for example, browse web webpage information by using a browser in a PC (Personal Computer); and people can also experience various applications of a terminal, for example, experience an instant communication application in a mobile phone. If a user browses a web page by using a browser of a PC, and intends to use the web page in an instant communication application in a mobile phone, a conventional solution may be that: the user stores information of the web page locally, copies the information to the mobile phone by using a storage medium such as a USB flash drive, and invokes the information in the instant communication application of the mobile phone; or the PC end uploads the information to a cloud server, the mobile phone end then logs in the cloud server, downloads the information from the cloud server, and invokes the information in the instant communication application.
In the development trend of information exchange, due to complex operations, the conventional information transmission solutions fail to satisfy actual requirements on the convenience of information transmission of users. How to improve the convenience of information transmission becomes a technical problem urgent to be solved.
Embodiments of the present invention provide an information transmission method, apparatus, system, and terminal, which can implement information transmission, and improve the convenience of information transmission.
In a first aspect, the present invention provides an information transmission method, including:
In a second aspect, the present invention provides another information transmission method, including:
In a third aspect, the present invention provides still another information transmission method, including:
In a fourth aspect, the present invention provides an information transmission apparatus, including:
In a fifth aspect, the present invention provides a terminal, including
In a sixth aspect, the present invention provides another terminal, including:
In a seventh aspect, the present invention further provides an information transmission system, including a first mobile terminal, a second terminal, and a server, where the first mobile terminal is the terminal provided in the fifth aspect, the second terminal is the terminal provided in the sixth aspect, and
the server is configured to bind the first mobile terminal and a plug-in according to ingress information of the plug-in in the browser of the second terminal and account information of the first mobile terminal that are sent by the first mobile terminal, and deliver a first binding notification message to the first mobile terminal, and deliver a second binding notification message to the plug-in.
In an eighth aspect, the present invention provides a computer storage medium, where the computer storage medium stores a program, and the program, when being executed, includes a part or all of the steps in the methods above.
In accordance with some implementations of the present application, an information transmission method is performed at a first mobile terminal having a processor and memory for storing one or more programs to be executed by the processor. The first mobile terminal initiates an information retrieval application at the first mobile terminal and detects a predefined user operation on the first mobile terminal to retrieve information from a web browser running on a second terminal, the web browser including a plug-in bound to a user account associated with the first mobile terminal. In response to the predefined user operation, the first mobile terminal sends an information transmission instruction to the plug-in at the second terminal. According to the information transmission instruction, the plug-in is configured to process webpage information of a current web page in the web browser and overlay the processed webpage information on top of the current web page in the web browser. Finally, the first terminal receives at least a portion of the processed webpage information from the second terminal and displays the received webpage information on a display of the first mobile terminal.
In accordance with some implementations of the present application, an information transmission method is performed at a second terminal having a processor and memory for storing one or more programs to be executed by the processor. The second terminal activates a plug-in in a web browser at the second terminal, the plug-in being bound to a user account associated with a first mobile terminal. Upon receipt of an information transmission instruction from the first mobile terminal, the second terminal processes webpage information of a current web page in the web browser, and overlays the processed webpage information on top of the current web page in the web browser. Finally, the second terminal sends at least a portion of the processed webpage information to the first mobile terminal.
In accordance with some implementations of the present application, a first mobile terminal includes one or more processors; and memory storing one or more programs. The one or more programs, when executed by the one or more processors, cause the first mobile terminal to: initiate an information retrieval application at the first mobile terminal; detect a predefined user operation on the first mobile terminal to retrieve information from a web browser running on a second terminal, the web browser including a plug-in bound to a user account associated with the first mobile terminal; in response to the predefined user operation, send an information transmission instruction to the plug-in at the second terminal, wherein the plug-in is configured to process, according to the information transmission instruction, webpage information of a current web page in the web browser, and overlay the processed webpage information on top of the current web page in the web browser; receive at least a portion of the processed webpage information from the second terminal; and display the received webpage information on a display of the first mobile terminal.
By implementing the embodiments of the present invention, the following beneficial effects are obtained.
In the embodiments of the present invention, the plug-in grabs, according to the information transmission instruction from the terminal bound to the plug-in, the webpage information of the current web page in the browser where the plug-in is located, processes the webpage information, and returns the processed webpage information to the terminal, so as to implement information transmission between the plug-in in the browser and the terminal that are bound to each other, thereby improving the convenience of information transmission.
The aforementioned implementation of the invention as well as additional implementations will be more clearly understood as a result of the following detailed description of the various aspects of the invention when taken in conjunction with the drawings. Like reference numerals refer to corresponding parts throughout the several views of the drawings.
The technical solutions in the embodiments of the present invention following clearly and completely described below the with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the embodiments in the following description are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
In the embodiments of the present invention, a plug-in is a program written by an application interface following a certain criteria, and after the plug-in is installed, an information transmission process may be performed by using the plug-in. A terminal may include intelligent equipment such as a PC, a tablet computer, a mobile phone, a PDA (Personal Digital Assistant), an e-reader, a notebook computer, and a vehicle-mounted terminal.
In the embodiments of the present invention, a first mobile terminal may be a terminal of any type, and preferably be a mobile terminal that can monitor, through a built-in gravity sensor, an action of shaking the first mobile terminal by a user to generate a gravity sensing event, or a mobile terminal that can monitor voice information input by the user to form a voice control command, or a mobile terminal that is set with a particular key, including a particular icon key or a particular physical key, and can monitor an action of clinking on the particular key by the user to generate a predefined key pressing event. A second terminal may be a terminal of any type, which is installed with a browser, used to browse a web page of the Internet, and may be used to load the plug-in. Unless otherwise stated, in the following embodiments, a browser where the plug-in is located refers to the browser where the plug-in is loaded in the second terminal.
In the embodiments of the present invention, the plug-in and the first mobile terminal are bounded to each other through binding ingress information of the plug-in and account information of the first mobile terminal. The ingress information of the plug-in includes address information and identification information of the plug-in. The address information includes a URL (Uniform/Universal Resource Locator) address of the plug-in or a storage address of the plug-in. The identification information is used for uniquely identifying the plug-in, and the identification information may be an ID (Identity) or a sequence number of the plug-in. The account information is preferably user account information of an application of the first mobile terminal, for example, user account information for logging in an instant communication application in the first mobile terminal.
To protect the account privacy of a user, preferably, one plug-in is only bound to one piece of account information of the first mobile terminal at the same time; and the user may remove, in a setting interface of the first mobile terminal, binding between the plug-in and the user account information of the first mobile terminal, or modify the account information bound to the plug-in. It should be noted that, after receiving information transmitted by the plug-in, the first mobile terminal may display the information in a built-in browser of the application of the first mobile terminal, or share the information with other terminal users or other applications of the first mobile terminal.
An information transmission method according to an embodiment of the present invention is described in detail in the following with reference to
Referring to
S101: The plug-in receives an information transmission instruction sent by a first mobile terminal bound to the plug-in.
In this step, the information transmission instruction may be an instruction sent by the first mobile terminal according to a gravity sensing event. For example, the first mobile terminal detects a gravity sensing event generated by a user shaking the terminal, and sends the generated information transmission instruction to the plug-in, to instruct the plug-in to perform information transmission. In this case, preferably, the first mobile terminal has a built-in gravity sensor, for example, a speed sensor, an acceleration sensor, or a gyroscope sensor, and generates a gravity sensing event according to a signal detecting result of the sensor. Or, the information transmission instruction may also be an information transmission instruction sent by the first mobile terminal according to a voice control command. For example, the first mobile terminal detects voice information input by the user, and if the voice information is a preset voice control command, the first mobile terminal generates the information transmission instruction and sends the information transmission instruction to the plug-in, to instruct the plug-in to perform information transmission. In this case, preferably, the first mobile terminal pre-stores a voice control command used for instructing information transmission, and when the voice information of the user is detected, determines whether the voice information is matched with (namely, is the same as or similar to) the preset voice control command. Or, the information transmission instruction may also be an instruction sent by the first mobile terminal according to a predefined key pressing event. For example, the user of the first mobile terminal clicks on a particular key on the first mobile terminal, so that a predefined key pressing event is generated. The first mobile terminal generates the information transmission instruction and sends the information transmission instruction to the plug-in, to instruct the plug-in to perform information transmission. In this case, preferably, the first mobile terminal is preset with a particular key, including a particular icon key or a particular physical key.
S102: The plug-in obtains, according to the information transmission instruction, webpage information of a current web page in a browser where the plug-in is located.
The webpage information includes: address information of the current web page and information of images in the current web page. In this step, after receiving the information transmission instruction sent by the first mobile terminal bound to the plug-in, the plug-in grabs the address information of the current web page in the browser where the plug-in is located and the information of images in the current web page.
S103: The plug-in processes the webpage information, and displays the processed webpage information by adopting a floating layer.
The following implementation manners may be adopted in this step.
First Implementation Manner
Step a: The plug-in selects images having a minimum side length larger than a preset value from the current web page.
Abundant information of images may exist in the current web page, for example, information of images of a main body of the web page, advertisement information of images of a floating window in the web page, or advertisement information of images displayed in edges of the web page. Generally, the side length of the advertisement information of images in the web page is small. In this step, the images having a minimum side length larger than the preset value may be selected from the current web page, so that the advertisement information of images in the current web page may be filtered off. It should be noted that, the preset value may be set according to actual conditions. For example, the preset value may be set to 100 pixels, or a value of a maximum side length in the advertisement information of images, or a value larger than that of the maximum side length in the advertisement information of images, or the like.
Step b: Compress the selected information of images, to form a thumbnail.
Step c: Display the thumbnail by using a floating layer. In this step, the plug-in may display the thumbnail by using the floating layer in many manners. For example, the thumbnail may be displayed in the floating layer in a cascading manner, or in a list, or in a nine-block box.
Second Implementation Manner
Step d: The plug-in selects images in a preset format from the current web page.
The current web page may include information of images in multiple formats, for example, information of images in the JPEG (Joint Photographic Experts Group) format, information of images in the BMP (Bitmap) format, information of images in the GIF (Graphics Interchange Format) format, information of images in the TIF (Tagged Image File Format) format, and the like. The user of the first mobile terminal may set the format of information of images to be transmitted according to actual requirements. In this step, the information of images of the current web page may be selected according to the format set by the user.
Step e: Compress the selected information of images, to form a thumbnail.
Step f: Display the thumbnail by using a floating layer.
For steps e to f in this implementation manner, reference may be made to steps b to c of the foregoing implementation manner, which are not described here again.
S104: The plug-in sends the webpage information in the floating layer to the first mobile terminal.
The user may select a desired thumbnail in the floating layer for transmission, and after selecting the thumbnail, the user may trigger the plug-in to perform this step. For example, a send key is provided in the floating layer, and the user clicks on the send key to trigger the plug-in to perform this step. In this step, the plug-in sends, according to a selection operation of the user on the thumbnail displayed in the floating layer, the thumbnail selected by the user and the address information of the current web page to the first mobile terminal. Specifically, the plug-in may adopt the following implementation manners in the sending process.
In a first implementation manner, the plug-in may establish a communication connection such as an NFC (Near Field Communication) communication connection, a bluetooth communication connection, or a Wifi (wireless-fidelity) communication connection with the first mobile terminal. By using the established communication connection, the plug-in sends the webpage information in the floating layer to the first mobile terminal.
In a second implementation manner, the plug-in may forward the webpage information in the floating layer to the first mobile terminal through a server, which specifically includes that: the plug-in may transmit the webpage information in the floating layer to the server, and the server forwards the webpage information in the floating layer to the first mobile terminal.
For the convenience of information transmission, before sending the webpage information in the floating layer, the plug-in may process the webpage information, for example, may compress and encapsulate the thumbnail selected by the user and the address information of the current web page, so as to improve the efficiency of information transmission. It can be understood that, after receiving the processed webpage information in the floating layer, the first mobile terminal correspondingly decapsulates and decompresses the webpage information.
Referring to
S201: The first mobile terminal sends an information transmission instruction to the plug-in bound to the first mobile terminal, so that the plug-in obtains, according to the information transmission instruction, webpage information of a current web page in a browser where the plug-in is located.
The following implementation manners may be adopted in this step.
In a first implementation manner, the first mobile terminal preferably includes a gravity sensor. The gravity sensor may be a speed sensor, an acceleration sensor, or a gyroscope sensor, configured to monitor a gravity sensing event in the first mobile terminal. Before this step is performed, the first mobile terminal detects a gravity sensing event in real time, and sends, according to the detected gravity sensing event, an information transmission instruction to the plug-in bound to the first mobile terminal, to instruct the plug-in to obtain, according to the information transmission instruction, the webpage information of the current web page in the browser where the plug-in is located. For example, if a user of the first mobile terminal intends to apply the webpage information of the current web page in the browser where the plug-in is located in an instant communication application of the first mobile terminal, the user may shake the first mobile terminal in an interface of the instant communication application to generate a gravity sensing event, so as to trigger the first mobile terminal to perform this step.
In a second implementation manner, the first mobile terminal pre-stores a voice control command used for instructing the information transmission. Before this step is performed, the first mobile terminal detects voice information input by the user in real time, compares the detected voice information with the preset voice control command, and if the two are matched (namely, are the same or similar), sends an information transmission instruction to the plug-in bound to the first mobile terminal, to instruct the plug-in to obtain, according to the information transmission instruction, the webpage information of the current web page in the browser where the plug-in is located. For example, the user of the first mobile terminal inputs voice information “information transmission” to the first mobile terminal, and if the first mobile terminal determines that the voice information is matched with the preset voice control command “information transmission”, the first mobile terminal is triggered to perform this step.
In a third implementation manner, the first mobile terminal is preferably set with a particular key, which may include a particular icon key or a particular physical key. The first mobile terminal detects a predefined key pressing event in real time, and sends, according to the detected predefined key pressing event, an information transmission instruction to the plug-in bound to the first mobile terminal, to instruct the plug-in to obtain, according to the information transmission instruction, the webpage information of the current web page in the browser where the plug-in is located. For example, the user of the first mobile terminal clicks on a particular icon key on the first mobile terminal, and a predefined key pressing event is generated, the first mobile terminal is triggered to perform this step.
S202: The first mobile terminal receives the webpage information sent by the plug-in through the floating layer.
Before this step is performed, the user of the first mobile terminal may select a thumbnail from the webpage information displayed in the floating layer. In this step, the webpage information received by the first mobile terminal includes address information of the current web page of the browser where the plug-in is located and the thumbnail selected by the user.
Referring to
S301: The first mobile terminal sends an information transmission instruction to the plug-in bound to the first mobile terminal.
For step S301 in this embodiment, reference may be made to step S201 shown in
S302: The plug-in obtains, according to the information transmission instruction, webpage information of a current web page in a browser where the plug-in is located.
S303: The plug-in processes the webpage information, and displays the processed webpage information by adopting a floating layer.
S304: The plug-in sends the webpage information in the floating layer to the first mobile terminal.
For steps S302 to S304 in this embodiment, reference may be made to step S102 to step S104 shown in
Referring to
S401: The second terminal installs the plug-in in the browser.
The second terminal may download installation information of the plug-in to a local end, and install the plug-in in the browser by using installation information of the local end; or the second terminal may access the Internet, to obtain the installation information of the plug-in online, and load the plug-in in the browser.
S402: The second terminal generates a 2D barcode according to ingress information of the plug-in.
S403: The first mobile terminal scans and parses the 2D barcode, to obtain the ingress information of the plug-in.
The first mobile terminal may use scanning software in the first mobile terminal, to scan and parse the 2D barcode, and obtain the ingress information of the plug-in. The first mobile terminal may also use a scanning plug-in in an application of the first mobile terminal, for example, use a 2D barcode scanning plug-in in an instant communication application of the first mobile terminal, to scan and parse the 2D barcode.
S404: The first mobile terminal sends the ingress information of the plug-in and user account information associated with the first mobile terminal to a user account binding server for binding the user account (and the first mobile terminal) to the plug-in.
S405: The server performs binding processing according to the ingress information of the plug-in and the user account information associated with the first mobile terminal.
S406: The first mobile terminal receives a first binding notification message delivered by the server, where the first binding notification message includes the ingress information of the plug-in bound to the first mobile terminal.
S407: The plug-in at the second terminal receives a second binding notification message delivered by the server, where the second binding notification message includes the user account information of the first mobile terminal bound to the plug-in.
S408: The second terminal activates the plug-in.
After the plug-in and the first mobile terminal are bound to each other, the user may click on the plug-in installed in the browser of the second terminal. The second terminal activates the plug-in according to the click operation of the user. The plug-in then performs an information transmission process in an activated state.
S409: The plug-in detects whether the information transmission instruction from the first mobile terminal is received within a preset time window, and if yes, step S412 is performed; if no, the second terminal deactivates the plug-in.
The preset time window may be set according to actual requirements. For example, the preset time window may be set to 2 hours, 3 hours, or the like. Setting the preset time window may protect the privacy of the user, and prevent unnecessary information transmission form revealing browsing privacy on web pages and use privacy on applications of the first mobile terminal of the user. It can be understood that, after the second terminal deactivates the plug-in, if the information transmission process needs to be re-initiated, the user needs to click on the plug-in manually to trigger the second terminal to re-activate the plug-in.
S410: The first mobile terminal detects a user operation on the first mobile terminal, including a gravity sensing event, a voice control command, or a predefined key pressing event.
S411: The first mobile terminal sends the information transmission instruction according to the detected user operation to the plug-in at the second terminal through the server.
In this step, if the first mobile terminal detects a gravity sensing event, the first mobile terminal sends the information transmission instruction to the plug-in according to the detected gravity sensing event. Or, if the first mobile terminal detects a voice control command, the first mobile terminal sends the information transmission instruction to the plug-in according to the detected voice control command. Or, if the first mobile terminal detects a predefined key pressing event, the first mobile terminal sends the information transmission instruction to the plug-in according to the detected predefined key pressing event.
In this embodiment, step S409 and steps S410 to S411 can be performed in parallel, namely, steps S410 to S411 may be performed first, and then step S409 is performed; or step S409 and steps S410 to S411 are performed simultaneously.
S412: The plug-in receives the information transmission instruction sent by the first mobile terminal.
S413: The second terminal maintains the plug-in in an activated state.
S414: The plug-in obtains webpage information of a current web page in the browser where the plug-in is located.
Step 415: The plug-in processes the webpage information and overlays the processed webpage information on top of the current webpage in the browser.
S416: The plug-in sends the webpage information to the first mobile terminal.
In this step, for step S412 to step S416, reference may be made to step S101 to step S104 in the embodiment shown in
In the following, the information transmission method is described with a specific example with reference to
It is assumed that a first mobile terminal is the mobile phone, and a second terminal is the PC. A user uses the browser of the PC to browse a web page, and at the same time, uses an instant communication application in the mobile phone. It is assumed that the user intends to transmit the address information and information of images of the current web page between the PC and the mobile phone, so as to use the information of images of the web page in the instant communication application of the mobile phone. A process of “Shaketodown” shown in
As shown in
At the mobile phone end, the mobile phone detects in real time whether a gravity sensing event generated by shaking the mobile phone exists in an interface of the instant communication application, and if yes, sends an information transmission instruction to the plug-in. At the PC end, the plug-in detects whether the information transmission instruction sent by the mobile phone is received within a preset time window, and if no, the PC deactivates the plug-in, and waits for a next clicking operation on the plug-in by the user for triggering the PC to activate the plug-in; if yes, the PC maintains the plug-in in an activated state, and the plug-in grabs the address information and the information of images of the current web page in the browser. As shown in
After the information transmission process is completed, if the plug-in is maintained in an activated state, a next information transmission process may be entered; and the user may also click on the plug-in to trigger the PC to deactivate the plug-in.
In the embodiment of the present invention, the plug-in grabs, according to the information transmission instruction from the terminal bound to the plug-in, the webpage information of the current web page in the browser where the plug-in is located, processes the webpage information, and returns the processed webpage information to the terminal, so as to implement information transmission between the plug-in in the browser and the terminal that are bound to each other, thereby improving the convenience of information transmission and the simplicity of operations of the user.
An embodiment of the present invention discloses a computer storage medium. The computer storage medium stores a program. When being executed, the program includes a part or all of steps of the information transmission methods in the embodiments shown in
With reference to
Referring to
The instruction receiving module 101 is configured to receive an information transmission instruction from a first mobile terminal bound to the information transmission apparatus.
The information obtaining module 102 is configured to obtain, according to the information transmission instruction, webpage information of a current web page in a browser where the information transmission apparatus is located.
The webpage information includes address information of the current web page and information of images in the current web page. In this step, the information obtaining module 102 may grab the address information of the current web page in the browser where the plug-in is located and the information of images in the current web page.
The information processing module 103 is configured to process the webpage information, and display the processed webpage information by adopting a floating layer.
A process of processing and displaying the webpage information by the information processing module 103 may include two implementation manners. For the two feasible implementation manners, reference may be made to relevant description in step S103 shown in
Specifically, referring to
The selection unit 1301 is configured to select images having a minimum side length larger than a preset value from the current web page, or images in a preset format from the current web page.
The processing unit 1302 is configured to compress the selected information of images, to form a thumbnail.
The displaying unit 1303 is configured to display the thumbnail by using a floating layer.
The information transmission module 104 is configured to send webpage information in the floating layer to the first mobile terminal.
The user may select a desired thumbnail in the floating layer for transmission, and after selecting the thumbnail, the user may trigger the information transmission module 104 to perform the information transmission. For example, a send key is provided in the floating layer, and the user clicks on the send key to trigger the plug-in to perform this step. The information transmission module 104 sends, according to a selection operation of the user on the thumbnail displayed in the floating layer, the thumbnail selected by the user and the address information of the current web page to the first mobile terminal. In specific implementation, a transmission process of the information transmission module 104 may include two feasible implementation manners. For the two feasible implementation manners, reference may be made to relevant description in step S104 shown in
Referring to
The message receiving module 105 is configured to receive a second binding notification message delivered by a server, where the second binding notification message includes account information of the first mobile terminal bound to the plug-in.
The detecting module 106 is configured to monitor whether an information transmission instruction sent by a first mobile terminal bound to the apparatus is received within a preset time window, and if the information transmission instruction from the first mobile terminal is received in the preset time window, maintain in an activated state, and instruct the information obtaining module 102 to obtain webpage information of a current web page in a browser where the information transmission apparatus is located; if the information transmission instruction from the first mobile terminal is not received in the preset time window, enter a deactivated state according to a deactivation operation of the second terminal.
It should be noted that, functions of functional modules of the information transmission apparatus of the embodiment of the present invention may be specifically implemented according to the methods in the foregoing method embodiments. For a specific implementation process, reference may be made to relevant description of the foregoing method embodiments, which is not described here again.
In the embodiment of the present invention, the plug-in grabs, according to the information transmission instruction from the terminal bound to the plug-in, the webpage information of the current web page in the browser where the plug-in is located, processes the webpage information, and returns the processed webpage information to the terminal, so as to implement information transmission between the plug-in in the browser and the terminal that are bound to each other, thereby improving the convenience of information transmission.
With reference to
The management module 201 is configured to load the information transmission apparatus 202 in the browser, and manage the information transmission apparatus 202.
That the management module 201 manages the information transmission apparatus 202, and the management includes loading, ingress management, and activation management. Specifically, referring to
The loading unit 2101 is configured to load the information transmission apparatus in the browser.
The ingress management unit 2102 is configured to generate a 2D barcode according to ingress information of the information transmission apparatus.
The activation management unit 2103 is configured to, after the information transmission apparatus and the first mobile terminal are bound to each other, activate the information transmission apparatus, or when an information transmission instruction from the first mobile terminal is not received by the information transmission apparatus in a preset time window, deactivate the information transmission apparatus.
It should be noted that, functions of functional modules of the second terminal of the embodiment of the present invention may be specifically implemented according to the methods in the foregoing method embodiments. For a specific implementation process, reference may be made to related description of the foregoing method embodiments, which is not described here again.
In the embodiment of the present invention, the plug-in grabs, according to the information transmission instruction from the terminal bound to the plug-in, the webpage information of the current web page in the browser where the plug-in is located, processes the webpage information, and returns the processed webpage information to the terminal, so as to implement information transmission between the plug-in in the browser and the terminal that are bound to each other, thereby improving the convenience of information transmission.
With reference to
Referring to
The instruction module 301 is configured to send an information transmission instruction to a plug-in bound to the terminal, so that the plug-in obtains, according to the information transmission instruction, webpage information of a current web page in a browser where the plug-in is located.
The formation of the information transmission instruction sent by the instruction module 301 may include three feasible implementation manners. For the implementation manners, reference may be made to relevant description in step S201 shown in
The information transmission module 302 is configured to receive webpage information sent by the plug-in through a floating layer.
The webpage information received by the transmission module 302 includes address information of the current web page of the browser where the plug-in is located and a thumbnail selected by the user.
Referring to
The detecting module 303 is configured to monitor a gravity sensing event, and instruct the instruction module to send an information transmission instruction to the plug-in according to the detected gravity sensing event; or monitor a voice control command, and send the information transmission instruction to the plug-in according to the voice control command; or monitor a predefined key pressing event, and send the information transmission instruction to the plug-in according to the detected predefined key pressing event.
The binding module 304 is configured to obtain ingress information of the plug-in, and interact with a server, so as to bind the terminal and the plug-in.
Referring to
The ingress obtaining unit 3401 is configured to obtain ingress information of the plug-in by scanning a 2D barcode corresponding to the plug-in.
The sending unit 3402 is configured to send the ingress information of the plug-in and account information of the terminal to the server for binding.
The message receiving unit 3403 is configured to receive a first binding notification message delivered by the server, where the first binding notification message includes the ingress information of the plug-in bound to the first mobile terminal.
It should be noted that, functions of functional modules of the second terminal of the embodiment of the present invention may be specifically implemented according to the methods in the foregoing method embodiments. For a specific implementation process, reference may be made to related description of the foregoing method embodiments, which is not described here again.
In the embodiment of the present invention, the plug-in grabs, according to the information transmission instruction from the terminal bound to the plug-in, the webpage information of the current web page in the browser where the plug-in is located, processes the webpage information, and returns the processed webpage information to the terminal, so as to implement information transmission between the plug-in in the browser and the terminal that are bound to each other, thereby improving the convenience of information transmission.
With reference to
Referring to
The server is configured to bind the first mobile terminal and the plug-in according to ingress information of the plug-in in the browser of the second terminal and account information of the first mobile terminal that are sent by the first mobile terminal, and deliver a first binding notification message to the first mobile terminal, and deliver a second binding notification message to the plug-in.
In the embodiment of the present invention, the plug-in grabs, according to the information transmission instruction from the terminal bound to the plug-in, the webpage information of the current web page in the browser where the plug-in is located, processes the webpage information, and returns the processed webpage information to the terminal, so as to implement information transmission between the plug-in in the browser and the terminal that are bound to each other, thereby improving the convenience of information transmission.
Persons of ordinary skill in the art should understand that all or a part of the processes of the methods in the embodiments may be implemented by a computer program instructing relevant hardware. The program may be stored in a computer readable storage medium. When the program is run, the processes of the method in the embodiments are performed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (Read-Only Memory, ROM), a Random Access Memory (Read-Only Memory, RAM), and the like.
Disclosed above are merely exemplary embodiments of the present invention rather than limiting the right scope of the present invention. Therefore, equal changes made according to claims of the present invention shall still belong to the scope covered by the present invention.
While particular embodiments are described above, it will be understood it is not intended to limit the invention to these particular embodiments. On the contrary, the invention includes alternatives, modifications and equivalents that are within the spirit and scope of the appended claims. Numerous specific details are set forth in order to provide a thorough understanding of the subject matter presented herein. But it will be apparent to one of ordinary skill in the art that the subject matter may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.
Although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, first ranking criteria could be termed second ranking criteria, and, similarly, second ranking criteria could be termed first ranking criteria, without departing from the scope of the present invention. First ranking criteria and second ranking criteria are both ranking criteria, but they are not the same ranking criteria.
The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the description of the invention and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “includes,” “including,” “comprises,” and/or “comprising,” when used in this specification, specify the presence of stated features, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, operations, elements, components, and/or groups thereof.
As used herein, the term “if” may be construed to mean “when” or “upon” or “in response to determining” or “in accordance with a determination” or “in response to detecting,” that a stated condition precedent is true, depending on the context. Similarly, the phrase “if it is determined [that a stated condition precedent is true]” or “if [a stated condition precedent is true]” or “when [a stated condition precedent is true]” may be construed to mean “upon determining” or “in response to determining” or “in accordance with a determination” or “upon detecting” or “in response to detecting” that the stated condition precedent is true, depending on the context.
Although some of the various drawings illustrate a number of logical stages in a particular order, stages that are not order dependent may be reordered and other stages may be combined or broken out. While some reordering or other groupings are specifically mentioned, others will be obvious to those of ordinary skill in the art and so do not present an exhaustive list of alternatives. Moreover, it should be recognized that the stages could be implemented in hardware, firmware, software or any combination thereof.
The foregoing description, for purpose of explanation, has been described with reference to specific implementations. However, the illustrative discussions above are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The implementations were chosen and described in order to best explain principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various implementations with various modifications as are suited to the particular use contemplated. Implementations include alternatives, modifications and equivalents that are within the spirit and scope of the appended claims. Numerous specific details are set forth in order to provide a thorough understanding of the subject matter presented herein. But it will be apparent to one of ordinary skill in the art that the subject matter may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the implementations.
Number | Date | Country | Kind |
---|---|---|---|
201210307882.7 | Aug 2012 | CN | national |