Information transferring method, computer and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of information transferring method, computer and mobile terminal.
Background technology
At present, the popularity rate of PC and mobile terminal is very high, and people are frequently necessary to the content transmission in computer
Into mobile terminal.In the prior art, generally use in the following manner by the content transmission in computer into mobile terminal:It is mobile
Terminal and computer are established by USB to be connected, artificial in computer to select to need to be transferred to the content in mobile terminal, is replicated
Into mobile terminal.
The step of mode of the prior art needs to operate is more, and efficiency of transmission is relatively low.
The content of the invention
In view of the problem of above-mentioned existing information transfer efficiency is low, it is proposed that the present invention overcomes above-mentioned ask to provide one kind
Topic or information transferring method, computer and the mobile terminal to solve the above problems at least in part.
According to one aspect of the present invention, there is provided a kind of information transferring method, including:Computer side mobile terminal administration journey
Sequence receives the message from mobile terminal, wherein, the message is used to inform that the computer has detected that the mobile terminal
Rock operation;The computer side mobile terminal administration program is authenticated to the mobile terminal;If certification passes through institute
Computer side mobile terminal administration program is stated under the triggering of the message, currently processed content is sent to the mobile terminal
Information.
Alternatively, the computer side mobile terminal administration program is sent out under the triggering of the message to the mobile terminal
The information of currently processed content is sent, including:The computer side mobile terminal administration program determined when receiving the message,
The computer opens webpage;The computer side mobile terminal administration program is sent by WIFI network to the mobile terminal
The URL and summary of the webpage.
Alternatively, the computer side mobile terminal administration program is sent out under the triggering of the message to the mobile terminal
The information of currently processed content is sent, including:The computer side mobile terminal administration program determines receiving the message
When, the computer edits document;The computer side mobile terminal administration program is by WIFI network to the mobile terminal
Send the document.
Alternatively, the computer side mobile terminal administration program is sent out under the triggering of the message to the mobile terminal
The information of currently processed content is sent, including:The computer side mobile terminal administration program determined when receiving the message,
The computer is just in Display directory;When the file in the selected catalogue of computer side mobile terminal administration program,
The selected file is sent to the mobile device by the computer by WIFI network, when the computer is not selected described
During file in catalogue, the computer sends the catalogue by WIFI network to the mobile terminal.
Alternatively, the computer side mobile terminal administration program is sent out under the triggering of the message to the mobile terminal
The information of currently processed content is sent, including:The computer side mobile terminal administration program determined when receiving the message,
The computer plays Internet video;The computer side mobile terminal administration program sends out the network address of the Internet video
Give the mobile terminal.
Alternatively, the computer side mobile terminal administration program is authenticated to the mobile terminal, including:It is if described
Computer side mobile terminal administration program determines that the mobile terminal belongs to blacklist according to the MAC of the mobile terminal, then certification
Do not pass through;If the computer side mobile terminal administration program determines the mobile terminal category according to the MAC of the mobile terminal
In keeper, then certification passes through;If the computer side mobile terminal administration program determines institute according to the MAC of the mobile terminal
Stating mobile terminal and be both not belonging to blacklist, be also not belonging to keeper, then pop-up prompting user inputs predetermined information, if input
Predetermined information meets rule, then certification is by the way that otherwise, certification does not pass through.
Alternatively, the computer side mobile terminal administration program after receiving the message, is judging the computer
The window of processing is desktop, taskbar or program window, if the window that the computer is being handled is desktop, the electricity
Terminal supervisory program is moved using the content currently processed as the computer of the content in current shear plate in brain side;If the electricity
The window that brain is being handled is taskbar, then in the program window that the computer side mobile terminal administration procedure selection has been opened most
The content currently processed as the computer of program window above;If the window that computer is being handled is program window,
The computer side mobile terminal administration program is using the described program window handled the content currently processed as the computer.
Alternatively, before computer side mobile terminal administration program receives the message from mobile terminal, methods described
Also include:The WIFI connections that the computer side mobile terminal administration program is established between the computer and the mobile terminal.
According to another aspect of the present invention, there is provided a kind of information transferring method, including:Mobile terminal side passes management soon
Mobile terminal described in Programmable detection rocks operation;The mobile terminal side passes management program and is detecting the mobile terminal soon
When rocking operation, send message to computer, wherein, the message is used to trigger computer side mobile terminal administration program to described
Mobile terminal sends the information of the currently processed content of the computer.
Alternatively, the mobile terminal side pass soon management program to computer send message after, methods described also includes:
If the computer side mobile terminal administration program opens webpage when receiving the message, then the mobile terminal
Side pass soon management program receive the URL of the webpage that the computer side mobile terminal administration program is sent by WIFI network with
Summary.
Alternatively, the mobile terminal side pass soon management program to computer send message after, methods described also includes:
If the computer side mobile terminal administration program edits document when receiving the message, then the mobile terminal
Side passes management program and receives the document that the computer side mobile terminal administration program is sent by WIFI network soon.
Alternatively, the mobile terminal side pass soon management program to computer send message after, methods described also includes:
If the computer side mobile terminal administration program is when receiving the message, just in Display directory, then when the computer
During file in the selected catalogue, the mobile terminal side passes management program and receives the computer soon to be sent out by WIFI network
The selected file sent, when the computer is without the file in the catalogue is selected, the mobile terminal side passes pipe soon
Reason program receives the catalogue that the computer side mobile terminal administration program is sent by WIFI network.
Alternatively, the mobile terminal side pass soon management program to computer send message after, methods described also includes:
If the computer side mobile terminal administration program plays Internet video when receiving the message, then the movement
End side passes management program and receives the net that the computer side mobile terminal administration program is sent by the WIFI network soon
The network address of network video.
Alternatively, the mobile terminal side pass soon management program to computer send message before, methods described is also wrapped
Include:The WIFI connections that the mobile terminal is established between the computer and the mobile terminal.
According to it is still another aspect of the present invention to provide a kind of computer, including:Receiving unit, moved for receiving to come from
The message of dynamic terminal, wherein, the message is used to informing that what the computer had detected that the mobile terminal to rock operation;Certification
Unit, for being authenticated to the mobile terminal;Transmitting element, in certification in the case of, in the message
Under triggering, the information of currently processed content is sent to the mobile terminal.
Alternatively, the transmitting element is used for:It is determined that when receiving the message, the computer opens webpage;
The URL and summary of the webpage are sent to the mobile terminal by WIFI network.
Alternatively, the transmitting element is used for:It is determined that when receiving the message, the computer edits document;
The document is sent to the mobile terminal by WIFI network.
Alternatively, the transmitting element is used for:It is determined that when receiving the message, the computer is just in Display directory;
When the file in the selected catalogue of the computer, the selected file is sent to by the shifting by WIFI network
Dynamic equipment, when the computer is without the file in the catalogue is selected, institute is sent to the mobile terminal by WIFI network
State catalogue.
Alternatively, the transmitting element is used for:It is determined that when receiving the message, the computer plays network video
Frequently;The network address of the Internet video is sent to the mobile terminal.
Alternatively, the authentication unit is used for:If determine that the mobile terminal belongs to according to the MAC of the mobile terminal
Blacklist, it is determined that certification does not pass through;If determining that the mobile terminal belongs to keeper according to the MAC of the mobile terminal,
Then determine that certification passes through;If determining that the mobile terminal is both not belonging to blacklist according to the MAC of the mobile terminal, also do not belong to
In keeper, then pop-up prompting user inputs predetermined information, if the predetermined information of input meets rule, it is determined that certification is led to
Cross, otherwise, certification does not pass through.
Alternatively, the computer also includes:Determining unit, for after receiving the message, judging the computer just
It is desktop, taskbar or program window in the window of processing, ought if the window that the computer is being handled is desktop
Content in the preceding shear plate content currently processed as the computer;If the window that the computer is being handled is task
Column, then select the content that uppermost program window is currently processed as the computer in the program window opened;It is if electric
The window that brain is being handled is program window, then using the described program window handled as the computer it is currently processed in
Hold.
Alternatively, the computer also includes:Unit is established, for establishing between the computer and the mobile terminal
WIFI connections.
According to another aspect of the invention, there is provided a kind of mobile terminal, including:Detection unit, it is described for detecting
Mobile terminal rocks operation;Transmitting element, for detecting when rocking operation of the mobile terminal, send and disappear to computer
Breath, wherein, the message is current to the mobile terminal transmission computer for triggering computer side mobile terminal administration program
The information of the content of processing.
Alternatively, the mobile terminal also includes:Receiving unit, for existing in the computer side mobile terminal administration program
When receiving the message, in the case of opening webpage, receive the computer side mobile terminal administration program and pass through WIFI
The URL and summary for the webpage that network is sent.
Alternatively, the mobile terminal also includes:Receiving unit, for existing in the computer side mobile terminal administration program
When receiving the message, in the case of editing document, receive the computer side mobile terminal administration program and pass through WIFI
The document that network is sent.
Alternatively, the mobile terminal also includes:Receiving unit, for existing in the computer side mobile terminal administration program
When receiving the message, just in the case of Display directory, when the file in the selected catalogue of the computer, connect
The selected file that the computer is sent by WIFI network is received, when the computer is without the file selected in the catalogue
When, receive the catalogue that the computer side mobile terminal administration program is sent by WIFI network.
Alternatively, the mobile terminal also includes:Receiving unit, for existing in the computer side mobile terminal administration program
When receiving the message, in the case of playing Internet video, receive the computer side mobile terminal administration program and pass through
The network address for the Internet video that the WIFI network is sent.
Alternatively, the mobile terminal also includes:Unit is established, for establishing between the computer and the mobile terminal
WIFI connections.
In the prior art, it is necessary to which mobile terminal and computer pass through when by the content transmission in computer into mobile terminal
USB establishes connection, and artificial selection needs to be transferred to the content in mobile terminal in computer, is copied into mobile terminal
In, therefore, the method flow of prior art is relatively complicated, it is necessary to the content manually participated in is more, less efficient.In the application
In, if mobile terminal, which detects that the mobile terminal has, rocks operation, you can notice computer sends information to mobile terminal, from
And improve the efficiency of information transfer.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is the step flow chart of according to embodiments of the present invention one information transferring method;
Fig. 2 is the schematic diagram of according to embodiments of the present invention one transmission webpage chosen content;
Fig. 3 is according to embodiments of the present invention one transmission webpage URL schematic diagram;
Fig. 4 is the schematic diagram of according to embodiments of the present invention one transmission file chosen content;
Fig. 5 is the schematic diagram of according to embodiments of the present invention one transmission catalogue;
Fig. 6 is the step flow chart of according to embodiments of the present invention two another information transferring method;
Fig. 7 is according to embodiments of the present invention two mobile phone and the step flow chart of PC verification methods;
Fig. 8 is the structured flowchart of according to embodiments of the present invention three computer;
Fig. 9 is the preferable structured flowchart of according to embodiments of the present invention three computer;
Figure 10 is the structured flowchart of according to embodiments of the present invention four mobile terminal;
Figure 11 is the preferable structured flowchart of according to embodiments of the present invention four mobile terminal.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
One of the core concepts of the embodiments of the present invention is that computer receives the message from mobile terminal, wherein, it is described
Message is used to informing that what the computer had detected that the mobile terminal to rock operation;Triggering of the computer in the message
Under, send information to the mobile terminal.In this application, if mobile terminal, which detects that the mobile terminal has, rocks operation,
Computer can be notified to send information to mobile terminal, so as to improve the efficiency of information transfer.
Reference picture 1, a kind of step flow chart of information transferring method embodiment of the present invention is shown, can specifically be included
Following steps:
Step 102, what mobile terminal side passed that management program detects the mobile terminal soon rocks operation;
The induction installations such as gravity sensor, by these induction installations, the fast biography pipe of mobile terminal are included in mobile terminal
What reason program can sense mobile terminal rocks operation, therefore, when user carries out rocking operation to terminal, mobile terminal side
The fast management program that passes can detect that this rocks operation,
In the present embodiment, mobile terminal can be the mobile devices such as mobile phone, tablet personal computer.
Step 104, the mobile terminal side mobile terminal administration program rocks operation detect the mobile terminal
When, message is sent to computer, wherein, the message is used to informing that what the computer had detected that the mobile terminal to rock behaviour
Make;
In a preferred embodiment of the embodiment of the present invention, before message is sent to computer, mobile terminal and computer it
Between established and connect by WIFI network, this connection is one-one relationship, i.e. a terminal and computer are established and connected.Move
Dynamic connection between terminal and computer can be realized by carry-on WIFI, carry-on WIFI be inserted into PC (PC) it
Afterwards, you can WIFI network is established, its network insertion provides (that PC for inserting carry-on WIFI) by the PC with network connection,
It can be surfed the Net by the mobile device such as network transceivers transceiver network signal, the mobile phone of user of inside by the carry-on WIFI,
Specifically, after carry-on WIFI insertions PC, WIFI network is provided to mobile phone, mobile phone logs in the WIFI network, according to Sign-On authentication, PC
The software of the software at end and mobile phone terminal is completed to shake hands, then by mobile phone terminal software supervision mobile phone shake behavior (according to motion
The data of sensor can determine whether), if it find that mobile phone, which shakes and shaken, meets preparatory condition, then refer to PC ends using transmission
Order, the application of PC ends checks the content at cursor position after receiving instruction, and the corresponding content at cursor position is sent to hand
Generator terminal application, mobile phone terminal application call corresponding tool to be shown after receiving content.By the above-mentioned means, establish mobile whole
Man-to-man connection between end and computer.
Step 106, the computer side mobile terminal administration program is authenticated to the mobile terminal;
In a preferred embodiment of the embodiment of the present invention, if the computer side mobile terminal administration program is according to
The MAC of mobile terminal determines that the mobile terminal belongs to blacklist, then certification does not pass through;If the computer side mobile terminal pipe
Reason program determines that the mobile terminal belongs to keeper according to the MAC of the mobile terminal, then certification passes through;If the computer
Side movement terminal supervisory program determines that the mobile terminal is both not belonging to blacklist according to the MAC of the mobile terminal, does not also belong to
In keeper, then pop-up prompts user to input predetermined information, if the predetermined information of input meets rule, certification passes through no
Then, certification does not pass through.
For example, after the certification message that the WIFI applications that the WIFI service routines of computer receive mobile terminal side are sent,
The identity of mobile phone is authenticated.Specifically, PC ends can eject prompting:" whether allowing the mobile phone certification to access ", if user
Selection allows, then WIFI service routines are by certification, and generate a token (token).
Alternatively, token is the character string that elapsed time stamp is encrypted.In order to prevent some sniffers from recognizing by sniff
Card process obtains token, and token is encrypted the present invention, and encryption key is preferably timestamp.
WIFI service routines in PC return to the authenticate-acknowledge message for carrying token to mobile phone.
After to mobile phone return authentication confirmation message, mobile phone just all preserves consistent token with PC, follow-up mobile phone with
Optional carrying token in the header of http request/response message of interaction between PC, after mobile phone receives message with PC,
Token is first verified that, is handled again after being verified.
In the present embodiment, computer can be desktop computer, and it is notebook computer to also begin to, and computer can be that itself has nothing
Line communication function, i.e. WIFI connections can be established, the external equipment with radio communication function can also be accessed.
Step 108, the computer side mobile terminal administration program is under the triggering of the message, by WIFI network to institute
State the information that mobile terminal sends the currently processed content of the computer.
In a preferred embodiment of the embodiment of the present invention, if the computer is determined when receiving the message, institute
State computer and open webpage, then the computer sends the URL of the webpage to the mobile terminal by WIFI network and plucked
Will, mobile terminal can open webpage accordingly after the URL and summary of the webpage is received, and so, user can be rapidly
The webpage read by mobile terminal opening computer.
If for example, the computer determines that when receiving the message computer is being opened in the webpage shown in Fig. 2
Hold, wherein coloured portions are selected content in webpage, then computer side mobile terminal administration program by selected word and
Multimedia resource together replicates and is sent to mobile terminal.If the computer determines that when receiving the message computer is just
In display webpage, computer cursor focus in a certain webpage, but and non-selected any content, then computer side mobile terminal administration journey
The URL of the webpage is sent to mobile terminal by sequence so that and mobile terminal opens the webpage, because without cursor focus,
Shortcut F6 can be used as triggering key so that URL is chosen, and then triggers copy function automatically, the URL that duplication is obtained
The mobile terminals such as mobile phone are sent to, allow mobile terminal to open the URL using browser.In addition to this it is possible to it is corresponding to obtain URL
Web page contents summary, and mobile terminal is shown the summary.If the computer is determined when receiving the message, electricity
Brain shows webpage, and computer cursor focus is to have selected webpage URL as shown in Figure 3, then computer side mobile terminal administration journey
URL is replicated and is sent to mobile terminal by sequence, and mobile terminal opens the URL using browser.In addition to this it is possible to obtain this
The summary of web page contents corresponding to URL, and mobile terminal is shown the summary.
In a preferred embodiment of the embodiment of the present invention, if the computer is determined when receiving the message, institute
State computer and edit document, then the computer sends the document, mobile terminal by WIFI network to the mobile terminal
After the document is received, the document can be stored and arrive precalculated position, can also directly open the document.Pass through the implementation
Example, the document that quickly can editing computer are sent to mobile terminal.
If for example, the computer determines that when receiving the message computer edits document, and in text
Word content is have selected in shelves, the word content of selection can be the part being colored as shown in Figure 4, and the part can be made
The content chosen with mouse, this kind of selected word can be directly copied and be sent to mobile terminal and be shown.
If the computer determines that when receiving the message computer edits document, and does not select in a document
Word content, then computer side mobile terminal administration program this article this document can be sent to mobile terminal, mobile terminal is opened
Corresponding application loads this article this document.If the computer determines that when receiving the message computer is shown
The multimedia resources such as picture, video, audio, then multimedia resource is sent to mobile device, mobile device opens corresponding answer
With loading multimedia resource.In addition, if be that picture is shown in computer, mobile device, can be with after the picture is received
Using the picture as desktop, screen locking picture and call picture etc.;If audio, then the audio can be set to by mobile device
Incoming ring tone;If video, mobile device can will check whether the mobile device is supported to play the form of the video.
In a preferred embodiment of the embodiment of the present invention, if the computer is determined when receiving the message, institute
Computer is stated just in Display directory, then when the file in the selected catalogue of the computer, the computer passes through WIFI nets
The selected file is sent to the mobile device by network, when the computer is without the file in the catalogue is selected, institute
State computer and the catalogue is sent to the mobile terminal by WIFI network.For example, computer is currently displaying the catalogue of D disks,
If entitled " photo " and the file of " work " in computer have selected D disks, computer are directly literary by the two by user
Content in part folder is sent to mobile terminal, if the not no any file in computer chooses D disks of user, computer is by D disks
Catalogue be sent to mobile terminal.
If for example, the computer determine when receiving the message, computer catalogue as shown in Figure 5,
If user does not have select file, the catalogue bibliographic structure is sent to mobile whole by computer side mobile terminal administration program
End, mobile terminal receive and show bibliographic structure, if mobile terminal end is further operated to bibliographic structure, for example double-click
Some file, then mobile terminal notice computer obtains respective file, and sends the file to mobile terminal and started.
In a preferred embodiment of the embodiment of the present invention, if the computer is determined when receiving the message, institute
To state computer and play Internet video, then the network address of the Internet video is sent to the mobile terminal by the computer,
Then, mobile terminal can play the Internet video according to network address.In addition, computer can also send out current play time point
Mobile terminal is given, so that mobile terminal continues to play the video from the current play time.
If for example, the computer determines that when receiving the message computer is playing webpage Streaming Media, such as
Fruit cursor focus is on the Stream Media Net Page that some is being played, or on the webpage connector of playing stream media, then computer sidesway
Dynamic terminal supervisory program sends the network address where Streaming Media to mobile terminal, mobile terminal opens the net by browser
Page, and streaming media resource corresponding to broadcasting;Further, computer can also together send the Streaming Media currently playing time
To mobile terminal, during mobile terminal terminal loads Streaming Media, jumping to the corresponding time commences play out and (does not from the beginning play);Enter one again
Step, computer can also analyze the network address where Streaming Media, after mobile terminal receives the network address where Streaming Media, open
APP corresponding to dynamic network address (is some film seen in sohu videos on such as, then mobile terminal can start sohu videos
APP), film corresponding to the interface notification APP openings provided by APP simultaneously plays.
Wherein, Streaming Media software can be the application programs such as such as PPTV, and computer is with can identifying the network of video resource
Location, or the multimedia resource title that identification plays, the content of identification is sent to mobile terminal, net corresponding to mobile terminal loading
Network address (form web page or app forms), so as to watch corresponding Internet video.
If for example, the computer determines that when receiving the message user passes through the application journey on the computer
Sequence plays game, for example, playing game as angry bird, i.e. for being played corresponding to the application program that is used is anger
The bird of anger, then computer side mobile terminal administration program obtains the identification information of the application program, and identification information is sent to
Mobile terminal, mobile terminal check whether the APP corresponding with the identification information, if then starting local angry bird
APP, if it is not, notice computer downloads the bird APP of indignation, and send it to mobile terminal and installed.
If computer determines that when receiving the message user is browsing the mailing address in computer, also, cursor
Focus just some telephone number, E-mail address, instant messaging good friend, internet message address, name, etc. address
On, or some address have selected by mouse, then the address is sent to by computer side mobile terminal administration program
Mobile terminal, mobile terminal are called according to the selection of address, send Email or send instant communication information,
Or according to name or name, search the contact address in address list, to the contact address on call, send information,
Email, internet message etc..For example information of the Zhang San in the address list of user includes:Zhangsan@360.cn and contact
Phone 13911111111, contacted if pre-defined after mobile terminal rocks by way of making a phone call, in electricity
In Zhang San or zhangsan 360.cn, mobile terminal can select to dial the phone of Zhang San cursor focus on brain.
In a preferred embodiment of the embodiment of the present invention, the computer is after receiving the message, it can be determined that institute
It is desktop, taskbar or program window to state the window that computer is being handled, if the window that the computer is being handled is table
Face, then the computer is using the content currently processed as the computer of the content in current shear plate;If the computer is
The window of processing is taskbar, then uppermost program window is as the electricity in the program window that the computer selection has been opened
The currently processed content of brain;If the window that computer is being handled is program window, described in the computer will be handled
The program window content currently processed as the computer.Pass through the embodiment, it may be determined that go out the content that computer is being handled
What is, so as to realize the transmission of the content handled computer.
Computer can use predetermined form by WIFI network to the information that mobile terminal is sent, when transmission content not
Meanwhile form can be different.
If computer current accessed is file, following information can be returned to mobile terminal:
If computer currently have selected word, following information can be returned to mobile terminal:
If desktop is currently shown in computer, following information can be returned to mobile terminal:
If the currently processed content of computer None- identified, following information can be returned to mobile terminal:
{
"type":"unknown"
}
If computer is currently accessing network address, following information can be returned to mobile terminal, so as to mobile terminal root
Message reference network address is descended according to this:
If current computer edits document, following information can be returned to mobile terminal, so as to mobile terminal root
The document of information acquisition editor is descended according to this:
In the prior art, it is necessary to which mobile terminal and computer pass through when by the content transmission in computer into mobile terminal
USB establishes connection, and artificial selection needs to be transferred to the content in mobile terminal in computer, is copied into mobile terminal
In, therefore, the method flow of prior art is relatively complicated, it is necessary to the content manually participated in is more, less efficient.In the present embodiment
In, if mobile terminal, which detects that the mobile terminal has, rocks operation, you can notice computer sends information to mobile terminal, from
And improve the efficiency of information transfer.
Reference picture 6, a kind of step flow chart of information transferring method embodiment of the present invention is shown, can specifically be included
Following steps:
Step 602, when user shakes mobile phone, mobile terminal side passes management program (also referred to as WIFI applications) detection hand soon
Machine rocks operation, and the message for indicating that this rocks operation is sent to PC.
Step 604, PC sides movement terminal supervisory program (also referred to as WIFI service routines) after receiving that message, is obtained and worked as
Front focus window, that is, the window where the content being presently processing.
Step 606, the related content of current focus window is obtained, i.e. obtain the content being presently processing.
If current focus window is desktop, the content of system clipboard is preserved, content therein is used as currently
The content of processing.If current focus window is taskbar, the window when front opening is enumerated, uppermost window is found, obtains
The process name and window title of the window are taken, the content chosen in the window is saved in as the content being presently processing and cut
In pasting board.If current focus window is program window, the process name and window title of the window are obtained, will be selected in the window
In content be saved in as the content being presently processing in clipbook.Wherein, the type of the content got can include
At least one of:Text, file, picture and URL.
If current focus window is browser process, content can be obtained by the way of special, for example, using F6
Key chooses address field acquisition URL hot key as choosing and cancelling.If current focus window is explorer, the window
Title is fixed, and address field is subwindow, using these contents as the content obtained.If program process, then can compare
Judge that what the file used is compared with window title and command line parameter, so as to get the file used.
Step 608, after content is got, the Content Transformation got is sent to mobile phone into suitable form.
, it is necessary to which mobile phone and PC are verified before above-mentioned steps are performed, Fig. 7 shows the flow of mobile phone and PC checkings
Figure, as shown in fig. 7, this method includes:
Step 702, the related program of PC start-up loadings certification, monitors corresponding port, the port of monitoring can include:
TCP:8360、UDP:8360、HTTP:8080.If it find that port is occupied, then next port is monitored, for example, from 8360
Rise, if occupied, monitor 8461.
Step 704, according to the MAC of mobile phone, judge whether mobile phone belongs to keeper;If keeper, then step is performed
706, directly by if non-administrator, then performing step 708.
Step 706, it is verified, the authenticate-acknowledge that the WIFI service routines in PC carry token to mobile phone return disappears
Breath.
Step 708, judge whether mobile phone belongs to blacklist, if it is, into off-line state, otherwise, perform step
710。
Step 710, the pop-up of PC ends is authenticated, for example, PC ends can eject prompting:" the mobile phone certification whether is allowed to visit
Ask ", if user selects to allow, WIFI service routines generate a token (token) by certification.
Alternatively, token is the character string that elapsed time stamp is encrypted.In order to prevent some sniffers from recognizing by sniff
Card process obtains token, and token is encrypted the present invention, and encryption key is preferably timestamp.
WIFI service routines in PC return to the authenticate-acknowledge message for carrying token to mobile phone.
After to mobile phone return authentication confirmation message, mobile phone just all preserves consistent token with PC, follow-up mobile phone with
Optional carrying token in the header of http request/response message of interaction between PC, after mobile phone receives message with PC,
Token is first verified that, is handled again after being verified.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group
Close, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to
According to the embodiment of the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
Reference picture 8, a kind of structured flowchart of computer apparatus embodiment of the present invention is shown, can specifically include following mould
Block:
Receiving unit 802, for receiving the message from mobile terminal, wherein, the message is used to inform the electricity
What brain had detected that the mobile terminal rocks operation;
Authentication unit 804, for being authenticated to the mobile terminal;
Transmitting element 806, in certification in the case of, under the triggering of the message, to the mobile terminal
Send the information of currently processed content.
In a preferred embodiment of the embodiment of the present invention, the transmitting element 806 is used for:
It is determined that when receiving the message, the computer opens webpage;
The URL and summary of the webpage are sent to the mobile terminal by WIFI network.
In a preferred embodiment of the embodiment of the present invention, the transmitting element 806 is used for:
It is determined that when receiving the message, the computer edits document;
The document is sent to the mobile terminal by WIFI network.
In a preferred embodiment of the embodiment of the present invention, the transmitting element 806 is used for:
It is determined that when receiving the message, the computer is just in Display directory;
When the file in the selected catalogue of the computer, the selected file is sent by WIFI network
It is whole to the movement by WIFI network when the computer is without the file in the catalogue is selected to the mobile device
End sends the catalogue.
In a preferred embodiment of the embodiment of the present invention, the transmitting element 806 is used for:
It is determined that when receiving the message, the computer plays Internet video;
The network address of the Internet video is sent to the mobile terminal.
In a preferred embodiment of the embodiment of the present invention, the authentication unit 806 is used for:
If determine that the mobile terminal belongs to blacklist according to the MAC of the mobile terminal, it is determined that certification does not pass through;
If determine that the mobile terminal belongs to keeper according to the MAC of the mobile terminal, it is determined that certification passes through;
If determining that the mobile terminal is both not belonging to blacklist according to the MAC of the mobile terminal, also it is not belonging to manage
Member, then pop-up prompting user input predetermined information, if input predetermined information meet rule, it is determined that certification by, otherwise,
Certification does not pass through.
As shown in figure 9, in a preferred embodiment of the embodiment of the present invention, the computer also includes:
Determining unit 902, for after receiving the message, judge window that the computer is being handled be desktop,
Taskbar or program window, if the window that the computer is being handled is desktop, the content in current shear plate is made
For the currently processed content of the computer;If the window that the computer is being handled is taskbar, the journey opened is selected
The uppermost program window content currently processed as the computer in sequence window;If the window that computer is being handled is journey
Sequence window, then using the described program window handled the content currently processed as the computer.
As shown in figure 9, in a preferred embodiment of the embodiment of the present invention, the computer also includes:
Unit 904 is established, for establishing the WIFI connections between the computer and the mobile terminal.
Reference picture 10, a kind of structured flowchart of mobile terminal apparatus embodiment of the present invention is shown, can specifically included such as
Lower module:
Detection unit 1002, rock operation for detect the mobile terminal;
Transmitting element 1004, for detecting when rocking operation of the mobile terminal, message is sent to computer, its
In, the message is currently processed to the mobile terminal transmission computer for triggering computer side mobile terminal administration program
The information of content.
As shown in figure 11, in a preferred embodiment of the embodiment of the present invention, the mobile terminal also includes:
Receiving unit 1102, for when the computer side mobile terminal administration program is receiving the message,
In the case of opening webpage, the webpage that the computer side mobile terminal administration program is sent by WIFI network is received
URL and summary.
In a preferred embodiment of the embodiment of the present invention, the mobile terminal also includes:
Receiving unit 1102, for when the computer side mobile terminal administration program is receiving the message,
In the case of editing document, the document that the computer side mobile terminal administration program is sent by WIFI network is received.
In a preferred embodiment of the embodiment of the present invention, the mobile terminal also includes:
Receiving unit 1102, for when the computer side mobile terminal administration program is receiving the message,
In the case of Display directory, when the file in the selected catalogue of the computer, receive the computer and pass through WIFI nets
The selected file that network is sent, when the computer is without the file in the catalogue is selected, receive the computer sidesway
The catalogue that dynamic terminal supervisory program is sent by WIFI network.
In a preferred embodiment of the embodiment of the present invention, the mobile terminal also includes:
Receiving unit 1102, for when the computer side mobile terminal administration program is receiving the message,
In the case of playing Internet video, receive described in the computer side mobile terminal administration program sent by the WIFI network
The network address of Internet video.
In a preferred embodiment of the embodiment of the present invention, the mobile terminal also includes:
Unit 1104 is established, for establishing the WIFI connections between the computer and the mobile terminal.
Provided herein information transmission scheme not with the intrinsic phase of any certain computer, virtual system or miscellaneous equipment
Close.Various general-purpose systems can also be used together with teaching based on this.As described above, construction has present invention side
Structure required by the system of case is obvious.In addition, the present invention is not also directed to any certain programmed language.Should be bright
In vain, various programming languages can be utilized to realize the content of invention described herein, and that is done above to language-specific retouches
State is to disclose the preferred forms of the present invention.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the embodiment, wherein the conduct of each claim in itself
The separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use and appoint
What combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so
All processes or unit of any method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint
Claim, summary and accompanying drawing) disclosed in each feature can by alternative features that identical, equivalent or similar purpose are provided Lai
Instead of.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Mode it can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) come realize in information transmission scheme according to embodiments of the present invention some or
The some or all functions of person's whole part.The present invention is also implemented as perform method as described herein one
Divide either whole equipment or program of device (for example, computer program and computer program product).It is such to realize this hair
Bright program can store on a computer-readable medium, or can have the form of one or more signal.It is such
Signal can be downloaded from internet website and obtained, and either provided on carrier signal or provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
The embodiment of the invention discloses A1, a kind of information transferring method, including:
Computer side mobile terminal administration program receives the message from mobile terminal, wherein, the message is used to inform
What the computer had detected that the mobile terminal rocks operation;
The computer side mobile terminal administration program is authenticated to the mobile terminal;
If certification is by the way that the computer side mobile terminal administration program is under the triggering of the message, to the shifting
Dynamic terminal sends the information of currently processed content.
A2, the method according to A1, wherein, triggering of the computer side mobile terminal administration program in the message
Under, the information of the content currently processed to mobile terminal transmission, including:
The computer side mobile terminal administration program determines that when receiving the message computer opens net
Page;
The computer side mobile terminal administration program sends the URL of the webpage by WIFI network to the mobile terminal
And summary.
A3, the method according to A1, wherein, triggering of the computer side mobile terminal administration program in the message
Under, the information of the content currently processed to mobile terminal transmission, including:
The computer side mobile terminal administration program determines that when receiving the message computer edits text
Shelves;
The computer side mobile terminal administration program sends the document by WIFI network to the mobile terminal.
A4, the method according to A1, wherein, triggering of the computer side mobile terminal administration program in the message
Under, the information of the content currently processed to mobile terminal transmission, including:
The computer side mobile terminal administration program determines that when receiving the message computer shows mesh
Record;
When the file in the selected catalogue of computer side mobile terminal administration program, the computer passes through
The selected file is sent to the mobile device by WIFI network, when the computer is without the file selected in the catalogue
When, the computer sends the catalogue by WIFI network to the mobile terminal.
A5, the method according to A1, wherein, triggering of the computer side mobile terminal administration program in the message
Under, the information of the content currently processed to mobile terminal transmission, including:
The computer side mobile terminal administration program determines that when receiving the message computer plays network
Video;
The network address of the Internet video is sent to the mobile terminal by the computer side mobile terminal administration program.
A6, the method according to A1, wherein, the computer side mobile terminal administration program is carried out to the mobile terminal
Certification, including:
If the computer side mobile terminal administration program determines the mobile terminal category according to the MAC of the mobile terminal
In blacklist, then certification does not pass through;
If the computer side mobile terminal administration program determines the mobile terminal category according to the MAC of the mobile terminal
In keeper, then certification passes through;
If the computer side mobile terminal administration program had determined the mobile terminal both according to the MAC of the mobile terminal
Blacklist is not belonging to, is also not belonging to keeper, then pop-up prompting user inputs predetermined information, if the predetermined information of input meets
Rule, then certification is by the way that otherwise, certification does not pass through.
A7, the method according to A1 to 6 any one, wherein, the computer side mobile terminal administration program is receiving
After the message, judge that the window that the computer is being handled is desktop, taskbar or program window, if the computer is just
It is desktop in the window of processing, then the computer side mobile terminal administration program is using the content in current shear plate as the electricity
The currently processed content of brain;If the window that the computer is being handled is taskbar, the computer side mobile terminal administration
The uppermost program window content currently processed as the computer in the program window that procedure selection has been opened;If computer
The window handled is program window, then the described program window that the computer side mobile terminal administration program will handled
The content currently processed as the computer.
A8, the method according to any one of A1 to 6, wherein, receive to come in computer side mobile terminal administration program
From before the message of mobile terminal, methods described also includes:
The WIFI connections that the computer side mobile terminal administration program is established between the computer and the mobile terminal.
The embodiment of the invention discloses B9, a kind of information transferring method, including:
What the management program that mobile terminal side passes soon detected the mobile terminal rocks operation;
The mobile terminal side passes management program and is detecting when rocking operation of the mobile terminal soon, is sent to computer
Message, wherein, the message is worked as triggering computer side mobile terminal administration program to the mobile terminal transmission computer
The information of the content of pre-treatment.
B10, the method according to B9, wherein, management program is passed soon in the mobile terminal side sends message to computer
Afterwards, methods described also includes:
If the computer side mobile terminal administration program opens webpage when receiving the message, then described
Mobile terminal side passes management program and receives the net that the computer side mobile terminal administration program is sent by WIFI network soon
The URL and summary of page.
B11, the method according to B9, wherein, management program is passed soon in the mobile terminal side sends message to computer
Afterwards, methods described also includes:
If the computer side mobile terminal administration program edits document when receiving the message, then described
Mobile terminal side passes management program and receives the text that the computer side mobile terminal administration program is sent by WIFI network soon
Shelves.
B12, the method according to B9, wherein, management program is passed soon in the mobile terminal side sends message to computer
Afterwards, methods described also includes:
If the computer side mobile terminal administration program when receiving the message, just in Display directory, then works as institute
When stating the file in the selected catalogue of computer, the mobile terminal side passes the management program reception computer and passed through soon
The selected file that WIFI network is sent, it is described mobile whole when the computer is without the file in the catalogue is selected
Side passes management program and receives the catalogue that the computer side mobile terminal administration program is sent by WIFI network soon.
B13, the method according to B9, wherein, management program is passed soon in the mobile terminal side sends message to computer
Afterwards, methods described also includes:
If the computer side mobile terminal administration program plays Internet video, then when receiving the message
The mobile terminal side passes the management program reception computer side mobile terminal administration program and sent by the WIFI network soon
The Internet video network address.
B14, the method according to any one of B9 to 13, wherein, the mobile terminal side pass soon management program to
Before computer sends message, methods described also includes:
The WIFI connections that the mobile terminal is established between the computer and the mobile terminal.
The embodiment of the invention discloses C15, a kind of computer, including:
Receiving unit, for receiving the message from mobile terminal, wherein, the message is used to inform the computer
Detect the mobile terminal rocks operation;
Authentication unit, for being authenticated to the mobile terminal;
Transmitting element, in the case of, under the triggering of the message, being sent in certification to the mobile terminal
The information of currently processed content.
C16, the computer according to C15, wherein, the transmitting element is used for:
It is determined that when receiving the message, the computer opens webpage;
The URL and summary of the webpage are sent to the mobile terminal by WIFI network.
C17, the computer according to C15, wherein, the transmitting element is used for:
It is determined that when receiving the message, the computer edits document;
The document is sent to the mobile terminal by WIFI network.
C18, the computer according to C15, wherein, the transmitting element is used for:
It is determined that when receiving the message, the computer is just in Display directory;
When the file in the selected catalogue of the computer, the selected file is sent by WIFI network
It is whole to the movement by WIFI network when the computer is without the file in the catalogue is selected to the mobile device
End sends the catalogue.
C19, the computer according to C15, wherein, the transmitting element is used for:
It is determined that when receiving the message, the computer plays Internet video;
The network address of the Internet video is sent to the mobile terminal.
C20, the computer according to C15, wherein, the authentication unit is used for:
If determine that the mobile terminal belongs to blacklist according to the MAC of the mobile terminal, it is determined that certification does not pass through;
If determine that the mobile terminal belongs to keeper according to the MAC of the mobile terminal, it is determined that certification passes through;
If determining that the mobile terminal is both not belonging to blacklist according to the MAC of the mobile terminal, also it is not belonging to manage
Member, then pop-up prompting user inputs predetermined information, if the predetermined information of input meets rule, it is determined that certification passes through no
Then, certification does not pass through.
C21, the computer according to C15 to 20 any one, wherein, the computer also includes:
Determining unit, for after receiving the message, judging that the window that the computer is being handled is desktop, task
Column or program window, if the window that the computer is being handled is desktop, using the content in current shear plate as institute
State the currently processed content of computer;If the window that the computer is being handled is taskbar, the program window opened is selected
The uppermost program window content currently processed as the computer in mouthful;If the window that computer is being handled is program window
Mouthful, then using the described program window handled the content currently processed as the computer.
C22, the computer according to any one of C15 to 20, wherein, the computer also includes:
Unit is established, for establishing the WIFI connections between the computer and the mobile terminal.
The embodiment of the invention discloses D23, a kind of mobile terminal, including:
Detection unit, rock operation for detect the mobile terminal;
Transmitting element, for detecting when rocking operation of the mobile terminal, message is sent to computer, wherein, institute
State message and be used to trigger computer side mobile terminal administration program to the currently processed content of the mobile terminal transmission computer
Information.
D24, the mobile terminal according to D23, wherein, the mobile terminal also includes:
Receiving unit, for when the computer side mobile terminal administration program is receiving the message, opening
In the case of webpage, receive the webpage that the computer side mobile terminal administration program is sent by WIFI network URL and
Summary.
D25, the mobile terminal according to D23, wherein, the mobile terminal also includes:
Receiving unit, for when the computer side mobile terminal administration program is receiving the message, editing
In the case of document, the document that the computer side mobile terminal administration program is sent by WIFI network is received.
D26, the mobile terminal according to D23, wherein, the mobile terminal also includes:
Receiving unit, for when the computer side mobile terminal administration program is receiving the message, showing
In the case of catalogue, when the file in the selected catalogue of the computer, receive the computer and sent out by WIFI network
The selected file sent, when the computer is without the file in the catalogue is selected, receive the computer side movement eventually
The catalogue that end management program is sent by WIFI network.
D27, the mobile terminal according to D23, wherein, the mobile terminal also includes:
Receiving unit, for when the computer side mobile terminal administration program is receiving the message, playing
In the case of Internet video, the network that the computer side mobile terminal administration program is sent by the WIFI network is received
The network address of video.
D28, the mobile terminal according to any one of D23 to 27, wherein, the mobile terminal also includes:
Unit is established, for establishing the WIFI connections between the computer and the mobile terminal.