A kind of method of computer being carried out Remote by mobile phone
Technical field
The present invention relates to computer operating management, especially relate to and a kind ofly computer is carried out the Remote method of operating by mobile phone.
Background technology
Mobile phone and computer all are the information processing instruments, but on information processing speed and capacity, computer remains the leading role, but mobile phone also has the advantage that can not be substituted, and carries exactly, can not restrictedly used by time and space.Original mobile phone and the effect of computer aspect information processing are complementary, but under present technical conditions, all by coming swap data according to modes such as line or bluetooth infrared mutually, operating process is more loaded down with trivial details for mobile phone and computer, and computer and mobile phone will be near.Therefore under reality, the situation of user's swap data between mobile phone and computer is also few.The more important thing is that the storage of mobile phone can't be stored great mass of data information easily much smaller than computer, and have the danger lose, damage, the fail safe of storage data is not high, has more reduced the user stores data in mobile phone expectation.But for the people who often goes out, if want to inquire about some data in the own computer temporarily, if these data are not transferred in the mobile phone in advance, unusual trouble just.In addition, extensively popularize along with informationalized, people only have been not content with and have handled file on the computers of office or family, and the interest of mobile information allows anywhere or anytime file process has become feasible, also becomes new demand.Utilize Internet Server to store file, just can be implemented on the computer of any networking and download at any time and upload.But the file of the general webserver can only come access by computer, if the user wants to come access by other non-computer equipment such as mobile phones, or wants to allow other friends accessing file on the Virtual Space of oneself temporarily, just is difficult to realize.
Summary of the invention
The objective of the invention is to solve the problem that the cellphone subscriber can't visit own computer whenever and wherever possible, by mobile phone computer is carried out the method for Remote, comprise the steps: for the cellphone subscriber provides a kind of
Steps A: the computerized version remote supervision module is installed in controlled computer;
Step B: controlled computer expert crosses the computerized version remote supervision module and is connected to one the fixedly external network server of IP is arranged, and registers on this server, obtains an account number M that the only network sign is arranged, and keeps being connected with the communication of server by this account M; As externally registering and acquired corresponding account number M on the server with the user, then can directly use acquired account number M, needn't re-register;
Step C: mobile phone version remote supervision module is installed in the master control mobile phone, and the method among the B is registered and is obtained another account number N set by step, promptly being connected to above-mentionedly has fixedly the external network server of IP register, account N also may register by computer and obtain, as externally registering and acquired other account number on the server with the user, then can directly use acquired account number as account number N, needn't re-register;
Step D: the remote supervision module of master control mobile phone sends the request remote control command by external network to controlled computer, the remote supervision module of controlled computer is verified this remote control command of phase, checking is passed through, and sends the receipt of accepting remote control, otherwise sends the refusal receipt or do not send receipt;
Step e: the master control mobile phone receive above-mentioned accept receipt after, the master control mobile phone is set up point-to-point communication with controlled computer by external network and is connected, the master control mobile phone can send various operational orders to controlled computer, the operational order that the remote supervision module of controlled computer is sent the master control mobile phone is analyzed, and handle accordingly, result is sent to the master control mobile phone;
Step F: either party communication interrupted in master control mobile phone or the controlled computer connects, and finishes the Remote process.
Above-mentioned remote supervision module can be specific in following:
(1) MSN, correspondingly, described external network server is for inserting the instant communication server of external network, account number M is the login account number of MSN, set up online the connection by IM client separately between controlled computer and the master control mobile phone, add the contact person mutually, the transmission of the command information between controlled computer and the master control mobile phone transmits by instant communication information.The MSN here can be selected any popular brand, and as MSN, QQ etc., account number M is exactly the email address of corresponding registration MSN or QQ number, but will guarantee that its messaging protocol interface is open, and promptly other program can be read and write its message.Also can use self-built instant communicating system here.
(2) comprise the system of email client, correspondingly, described external network server is for inserting the mailing system server of external network, the E-mail address account number that account number M distributes for this mailing system, the transmission of the command information between controlled computer and the master control mobile phone transmits by Email.The e-mail system here can be selected any popular mailbox system operator, as Netease's mailbox, Sina's mailbox etc., account number M is exactly the email address of the registration of correspondence, but will guarantee that its messaging protocol interface is open, and promptly other program can be read and write its Email.Can use the user to have the E-mail address here.
Above-mentioned command information comprises instruction head and command content two parts, and the instruction head comprises the control command of straighforward operation, and command content comprises information material content to be exchanged between controlled computer and the master control mobile phone.
Above-mentioned external network can be the bigger information network of coverage rate, can comprise any in the following network:
(1) WIFI network correspondingly, all has the WIFI network adapter on controlled computer and the master control mobile phone, and the described webserver also inserts in this WIFI network.
(2) wireless network can be GSM network or cdma network or 3G network, and correspondingly, controlled computer has the adapter of above-mentioned wireless network, and the described webserver also inserts in this mobile communication network.
(3) hybrid network, wherein controlled computer and server insert the Internet, and the master control mobile phone inserts wireless network, and information transmitted realizes intercommunication by specific gateway between master control mobile phone and the controlled computer.
Verification step among the above-mentioned steps E is:
(1) user is provided with the condition that starts Remote, the account N that this condition can be specific, or specific password, or the combination of account N and password in the remote supervision module of controlled computer;
(2) user when specific controlled computer sends the remote control request, will import account M and other necessary information of controlled computer by the master control mobile phone earlier, makes the remote control request correctly be sent to the controlled computer of catalogue, and other necessary information here is the Remote password;
(3) after controlled computer receives above-mentioned remote control request, according to the condition of the prior startup Remote that is provided with of user, from the remote control request instruction, extract the prior verification condition that is provided with of relevant parameters and user and compare, if comparative result is identical, checking is passed through, otherwise checking can not be passed through.
Further optimization to technique scheme is: controlled computer and master control mobile phone are in attempting the process that connects, if network meet busy can't successful connection, then attempt automatically reconnecting, when the number of times of attempting or time surpass certain limit, stop, and connect unsuccessful reason to master control mobile phone user report.Controlled computer and master control mobile phone are after successfully being connected, the interruption if meet accident, after then causing the factor elimination of accidental interruption, controlled computer is attempted being connected with the master control mobile phone automatically, if information is arranged before interrupting in transmission, then transmit, and transmitted the impaired property of information near the detection breakpoint, keep the integrality of institute's information transmitted from the breakpoint recovering information that continues last time.
Further optimization to technique scheme is: if the information that controlled computer sends to the master control mobile phone surpasses the network traffics restriction, the master control mobile phone is user waiting prompt or carry out other mobile phone operations instructions of user then, change message transmission over to backstage and carry out, treat that message pick-up finishes and reresent the user and handle.If the network traffics instability of controlled computer when the master control mobile phone sends information, the master control mobile phone starts this machine buffer process module automatically, and information that when exceeding demand need on master control mobile phone screen in real time show good in network traffics receives this organizational security in advance and deposits, in the network traffics variation and can't satisfy the demands the time, information extraction shows from this machine buffer memory, to keep the continuation and the stability of user's reading information.
Further optimization to technique scheme is: if the user selects to show the telecreen information of controlled computer on the master control mobile phone, then on the master control mobile phone, it is dwindled, be presented on the master control mobile phone screen after the telecreen of controlled computer can being dwindled, the ratio of dwindling by the user in master control mobile phone adjusted or setting.The user can move freely the picture of telecreen in master control mobile phone screen window, so that can browse to the whole image of the telecreen of controlled computer by master control mobile phone screen window.
In said process, if the user operates controlled computer by the master control mobile phone, and when showing the screen message of controlled computer on the master control mobile phone screen, if when the communication event that generation and Remote are irrelevant or this machine reminder events, relevant information shows on mobile phone screen automatically, the user can select to handle this communication event or reminder events, if suspended Remote when handling above-mentioned incident, then finishes the back in above-mentioned incident and recovers Remote automatically.
In the present invention, the master control mobile phone is operated controlled computer and is comprised following any one or multiple combination:
(1) carries out duplicating or moving of document between master control mobile phone and the controlled computer;
(2) all kinds of documents in the controlled computer are directly browsed or read to the master control mobile phone;
(3) master control handset starting or close each class method in the controlled computer;
(4) all kinds of documents in master control mobile phone deletion, the controlled computer of modification, the user can be provided with this authority in advance in the Remote authority of controlled computer.
Further optimization to technique scheme is: the user can be provided with a suspension menu bar on the master control mobile phone, Remote is operated all kinds of instructions of controlled computer and added in this menu bar, relevant item just can be finished corresponding operation in direct later on point or the cell phone keyboard choice menus bar.The menu bar here can be hidden automatically and show, when the user does not send operational order to the remote controlled computer above certain hour, and automatic hide menu bar, when the user begins to operate, automatic display menu bar.But the menu bar here is automatic dynamic levelling project wherein also, and the instruction that all users operated is added in the menu bar automatically, and the frequency of operation height automatically ordering nearest according to the user.
Further optimization to technique scheme is: the master control mobile phone can send the instruction of shutdown and start, realizes the automatic shutdown and the start of remote controlled computer.
Further optimization to technique scheme is: the phone number of master control mobile phone can be tied to account number N, and setting can only be used the phone number logging in network system of binding in the webserver, correspondingly, the condition of checking startup Remote also is this phone number in controlled computer.Here, will be tied to account number N with phone number after, operation can only be limited on user's oneself the mobile phone of particular number to the Remote of controlled computer, fail safe is higher, but dumb.Directly adopt account number N, can use the Remote behaviour of any mobile phone to controlled computer, as long as on the mobile phone remote supervision module is being installed arbitrarily, get final product with account N and corresponding login, in order to improve fail safe, in the verification condition of startup Remote that can controlled computer, the Remote password corresponding with account N is set.
Further optimization to technique scheme is: WEB browser in the remote supervision module available handsets in the master control mobile phone or WAP browser substitute, need in address field, import specific controlled computer remote management network address this moment, select or import the account number M of the controlled computer of target after the appearance respective page, carry out the connection and the associative operation of Remote.Increased versatility like this, any mobile phone of surfing the Net all can be used for certain remote computer of remote control, but this mode function limitation, fail safe is relatively poor, and controlled computer is subjected to the attack of hacker and virus easily.
Further optimization to technique scheme is: a mobile phone can carry out Remote to the controlled computer more than two or two, can give every controlled computer registration and distribute different account number M, and each contact person M is added in the contacts list of IM client of mobile phone, the user just can carry out Remote and managed the multiple computers of oneself administration like this, and is very useful concerning the webmaster of enterprise.
Further optimization to technique scheme is: a computer can be accepted the Remote of two ones or two above mobile phones, can give every mobile telephone registration and distribute different account number N, and each account number N be added in the certificate parameter of condition of startup Remote of controlled computer.This management to network public servicer in the enterprise is more effective, can set server is set a plurality of maintenance managements
The present invention can bring following beneficial effect:
After adopting technical scheme of the present invention, the user can visit computer in own office or the family whenever and wherever possible easily by mobile phone, file on not only can the free access computer can also start or close the program in the computer, and computer is carried out the Remote operation.Thereby in the time of can realizing being away from home, still conveniently utilize the resource in the computer, and computer is worked on, all kinds of incidents in hitting the target.
Description of drawings
Fig. 1 is the operational flowchart of the controlled computer of master control mobile phone Remote of the present invention;
Fig. 2 is the method flow diagram of controlled computer authenticating remote remote control request of the present invention.
Embodiment
Understand and enforcement the present invention for the ease of those of ordinary skills, the present invention is described in further detail below in conjunction with the drawings and the specific embodiments.
By mobile phone computer is carried out the Remote operation for convenience, certain software business man has developed a cover computer remote remote control system, this system is divided into computer control module and cell phone managing module, the user will download respectively and be installed on the computer and mobile phone of oneself, wherein mobile phone is for supporting to download the smart mobile phone that software is installed, can be Linux, Symbian, operating systems such as Windows Mobile, the software business man has developed different version softwares respectively at these operating systems, the user need download suitable installing according to the operating system of own mobile phone, and method of operation is basic identical.
Here computer inserts the Internet, mobile phone is opened the GPRS online, gateway by mobile operator, realize the information transmission between mobile phone and the computer, to mobile phone, its GPRS online has fixing address designation, it is phone number, can send message by the specific target mobile phones of network, but concerning computer, just different, it inserts the Internet generally is dynamic IP, we are difficult to message is sent on the terminal computer of a certain online directly and accurately, can only be by indirect means, as just accomplishing by mail, MSN.In the present invention, realize the Remote of mobile phone to computer, the information between mobile phone and the computer that just must realize is sent out mutually, therefore in the present invention, also realize by mail, this dual mode of MSN, wherein can realize the transmission of non real-time big capacity documents, can realize real time remote control computer by instant communication information by Email.Illustrate below by two embodiment.
Embodiment 1: by the real time remote remote control of self-built IM system to computer
For the fail safe that improves remote control system and the flexibility in the system development, adopt self-built IM system (instant communicating system) to implement the present invention.Develop corresponding IM server software, set up an IM server and insert the Internet, and the computer client and the mobile phone client software of corresponding multiple version provide download.See Figure of description 1, the user will oneself mobile phone and computer in corresponding IM client (promptly edition remote supervision module) in real time 11 is installed, the user can be by computer or mobile phone to the IM server registration, obtain two IM login account numbers 12, distribute to computer as account number M for one, another distributes to mobile phone as account number N.Then computer and mobile phone all the IM account number by separately sign in to the IM server, add the contact person mutually, later on account number M is called contact person M, account number N is called contact person N, sets up point-to-point communication and connects.For the ease of timely Remote computer, require computer must keep starting shooting and making the IM client be in line states 13 later on.Here, the user also can use the effective I M account number of having registered, and just can omit the registration process here.
After the user goes out, just can use mobile phone that the computer of oneself is implemented the Remote operation, in mobile phone, start the IM client, and use account number N login back 13, and just can see online contact person M, be exactly the computer of oneself, mobile phone sends remote control request instruction 14 to contact person M, computer verifies 15 to it after receiving this remote control request instruction, and the checking here mainly is to confirm whether contact person N has the authority of remote-control computer (this proof procedure is seen accompanying drawing 2 and hereinafter described accordingly).Checking is by back 16, mobile phone is set up Remote with computer and is connected 17, mobile phone just can send all kinds of remote control commands to computer later on, after receiving, computer handles 18 accordingly, in the Remote process, either party straighforward operation interrupted 19 in mobile phone or the computer, in general, computer is operatorless, and this interruption is initiated by mobile phone.If the checking of the remote control request instruction that the BOT machine is sent can't be by 16, then refusal is accepted Remote, directly ending said process or send the IM message that a refusal is accepted Remote to mobile phone.
The proof procedure of the Remote request instruction that the BOT machine sends is as follows:
See Figure of description 2, the user at first will set verification condition 21 in computer, this verification condition is exactly to allow to send the IM contact person's of remote control command account number to this computer, an Accounts List can be set, import a plurality of IM contact persons' account number, represent that these IM contacts per capita can this computer of Remote.In order to improve fail safe, can also the remote control password be set for the account number of each the IM contact person in the tabulation, later on when the IM client of mobile phone is sent the remote control command request, computer all points out input corresponding remote control password, notice that this password is different from the password of login IM system, needs to be provided with specially.Set under the above-mentioned verification condition, just can use the mobile phone remote remote-control computer later on.The user selects to want the IM contact person M under the computer of remote control in the IM of mobile phone client, and sends remote control request instruction 22 to it, and concrete operations here are to select contact person M, click tools hurdle or press shortcut selection " Remote ".The startup authentication module handled 23 after computer received above-mentioned remote control request instruction, extract the account N remote control password 24 in the remote control request instruction, and compare 25, if more identical 26 with the prior verification condition that is provided with of user, checking is by 27, if compare difference 26, checking can not here also can successively be verified by 28, promptly verify account number N earlier, by after verify the remote control password again, efficient can be high, and is also clearer more timely to the reason that the checking of user prompt is not passed through.
In the process of above-mentioned Remote, remote control command information is transmitted by IM message, command information comprises instruction head and command content two parts, the instruction head comprises the control command of straighforward operation, as start specific program in the computer, duplicate the instruction of particular document, command content comprises information material content to be exchanged between controlled computer and the master control mobile phone.As the catalogue and the filename of the file that will duplicate, the displaying information on screen of the computer that transmit etc.Instruction head and command content are placed in a piece of news to be transmitted, its front symbol that bears obvious signs, a representative instruction character or command content.Concrete label symbol is set by the IM internal system, and the user need not be concerned about.If in remote control process, need to transmit electronic document, then utilize the file point-to-point transmission mode of IM to carry out.
In the process of attempting connecting at above-mentioned mobile phone and computer, if network meet busy can't successful connection, then automatically attempt reconnecting, when the number of times of attempting or time surpass certain limit, stop, and connect unsuccessful reason to master control mobile phone user report.Limited number of times here or time are set by the IM internal system or are set at computer in advance by the user.Controlled computer and master control mobile phone are after successfully being connected, the interruption if meet accident, after then causing the factor elimination of accidental interruption, controlled computer is attempted being connected with the master control mobile phone automatically, if information is arranged before interrupting in transmission, then transmit, and transmitted the impaired property of information near the detection breakpoint, keep the integrality of institute's information transmitted from the breakpoint recovering information that continues last time.During as bigger WORD document of tradition, have no progeny in the generation, system writes down interruption position automatically, passes from breakpoint location is continuous automatically after recovering to connect.
If the information that computer sends to mobile phone in remote control process surpasses the network traffics restriction, mobile phone is user waiting prompt or carry out other mobile phone operations instructions of user then, and mobile phone changes message transmission over to backstage to carry out, and treats that message pick-up finishes to reresent the user and handle.If the network traffics instability of computer when the master control mobile phone sends information, mobile phone starts this machine buffer process module automatically, and information that when exceeding demand need on master control mobile phone screen in real time show good in network traffics receives this organizational security in advance and deposits, in the network traffics variation and can't satisfy the demands the time, information extraction shows from this machine buffer memory, to keep the continuation and the stability of user's reading information.During carrying out caching process, can on mobile phone screen, show the progress of handling.
The user also can be tied to the phone number of own mobile phone account number N, and is provided with in the webserver and can only correspondingly, verifies that in computer the condition that starts Remote also is this phone number with the phone number logging in network system of binding.Here, will be tied to account number N with phone number after, operation can only be limited on user's oneself the mobile phone of particular number to the Remote of controlled computer, fail safe is higher, but dumb.
In the present embodiment, real-time during Remote that mobile phone is implemented computer, just need on mobile phone, show the screen or the desktop images of computer.If the user selects to show the telecreen information of computer on mobile phone, the mobile phone screen of considering is much smaller than computer screen, then on mobile phone, dwindle demonstration, be presented on the mobile phone screen after the telecreen of computer can being dwindled, the ratio of dwindling by the user in mobile phone adjusted or setting.The user also can move freely the picture of telecreen in the mobile phone screen window, so that can browse to the whole image of the telecreen of computer by the mobile phone screen window.
In said process, if the user operates controlled computer by the master control mobile phone, and when showing the screen message of controlled computer on the master control mobile phone screen, if when the communication event that generation and Remote are irrelevant or this machine reminder events, relevant information shows on mobile phone screen automatically, the user can select to handle this communication event or reminder events, if suspended Remote when handling above-mentioned incident, then finishes the back in above-mentioned incident and recovers Remote automatically.
The user can carry out following operation to computer by the mobile phone remote computer time:
(1) carries out duplicating or moving of document between mobile phone and the computer;
(2) all kinds of documents in the computer are directly browsed or read to mobile phone;
(3) master control handset starting or close each class method in the controlled computer;
(4) all kinds of documents in mobile phone deletion, the modification computer, the user can be provided with this authority in advance in the Remote authority of computer.
In order to allow the user carry out straighforward operation more easily, a suspension menu bar can be set on the mobile phone, Remote is operated all kinds of instructions of controlled computer and added in this menu bar, relevant item just can be finished corresponding operation in direct point of later user or the cell phone keyboard choice menus bar.The menu bar here can be hidden automatically and show, when the user does not send operational order to the remote controlled computer above certain hour, and automatic hide menu bar, when the user begins to operate, automatic display menu bar.But the menu bar here is automatic dynamic levelling project wherein also, and the instruction that all users operated is added in the menu bar automatically, and the frequency of operation height automatically ordering nearest according to the user.
Embodiment 2: by the non real-time Remote of mailing system to computer
Also can realize Remote with mobile phone by Email to computer, in this manner, the remote supervision module that is installed on computer and the mobile phone comprises an email disposal submodule, need two E-mail addresses, but new registration or use existing E-mail address in order to improve remote-operated efficient, is preferably used special mailbox, promptly only be used for the telemanagement of computer, do not use other mailboxes in usefulness.For convenience, will be considered as account number M for the E-mail address that computer distributes here, be called mailbox M,, be called mailbox N for the E-mail address of handset allocation is considered as account number N.
The transmission of the command information between computer and the mobile phone transmits by Email, because collecting of Email is non real-time, mobile phone also postpones the remote control of computer, the time of corresponding time control lag can be set on the telemanagement client of computer, as be set to 10 minutes, then computer was collected the primary electron mail automatically every 10 minutes, just handled remote control command one time.Result is also issued mobile phone with the Email form, and the user can collect the Remote result that computer is sent by mobile phone is automatic or manual.Above-mentioned information processing process is similar substantially to the foregoing description 1, as replacing IM message with Email Header and text, acts on behalf of file transfer among the IM with Email attachment, with the IM account number in the E-mail address proxy authentication condition, or the like.Difference is as follows:
(1) remote control process postpones to carry out
Delay degree depends primarily on collecting at interval of Email.
(2) to browse or to extract the document in the computer
Owing to exist above-mentioned delay, many straighforward operations to be difficult to carry out,, can't in time see the effect of straighforward operation as taking mode of operation flexibly according to real-time screen in the computer and desktop images.Generally can be used for browsing and transmitting of electronic document, as send instruction and make computer that the listed files under its particular category is output as text or picture sends with mail, or the specific electronic document under the particular category sent with mail, or the specific electron file in the mobile phone issued computer with lettergram mode, and designated computer is stored in e-file under the designated directory after mailing automatically.
The advantage of the maximum by the E-mail mode remote-control computer is to handle the transmission a fairly large number of or e-file that volume is bigger easily, also needn't worry the instability of network, the transmit leg of e-file can utilize the space time sheet of network and this machine to send in the mail server by the electrons transmitted file automatically, and the recipient equally also utilizes the space time sheet of network and this machine to download e-file automatically from mail server.Here the process of transceiver electronics file may be very long, realize just having alleviated greatly user's operation burden with the Email remote control mode, the user just needn't keep mobile phone operation, and the transmission of e-file or the process of collecting are finished defensive position chance automatically prompting user, does not influence other work of user.
Embodiment 3: realize the real time remote remote control of computer by WEB or WAP browser
This is a kind of remote control mode of real time remote more easily, WEB browser in the remote supervision module available handsets in the mobile phone in the foregoing description 1 or WAP browser substitute, on specific remotely administered server, set up the network system of a special telemanagement computer this moment, and formulate one and manage homepage, correspond on fixed IP addresses or the network address, the user is when carrying out Remote, need in address field, import specific controlled computer remote management network address, select or import the account number M of the controlled computer of target after the appearance respective page, just can carry out the connection and the associative operation of Remote.During user's entrance management homepage, input telemanagement account number N and the password of oneself here, also can extract the account number N of user's phone number automatically by system as binding.During the controlled computer of user's select target, controlled computer will verify that also checking is by just accepting telemanagement according to the correlation technique among the aforesaid embodiment to account number N.In the telemanagement process, set up point-to-point the connection by specific protocol between remotely administered server and the controlled computer, as ICP/IP protocol.
The method that present embodiment provides has increased the versatility of mobile phone remote remote-control computer, the mobile phone of any support WAP or WEB online all can be used for certain remote computer of remote control, but this mode function limitation, fail safe is relatively poor, and controlled computer is subjected to the attack of hacker and virus easily.