CN107948424B - Method for remotely controlling computer by mobile phone - Google Patents

Method for remotely controlling computer by mobile phone Download PDF

Info

Publication number
CN107948424B
CN107948424B CN201711188482.8A CN201711188482A CN107948424B CN 107948424 B CN107948424 B CN 107948424B CN 201711188482 A CN201711188482 A CN 201711188482A CN 107948424 B CN107948424 B CN 107948424B
Authority
CN
China
Prior art keywords
computer
mobile phone
server
identification code
operation type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711188482.8A
Other languages
Chinese (zh)
Other versions
CN107948424A (en
Inventor
许学添
陈晓明
黄少荣
谢向斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Justice Police Vocational College
Original Assignee
Guangdong Justice Police Vocational College
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Justice Police Vocational College filed Critical Guangdong Justice Police Vocational College
Priority to CN201711188482.8A priority Critical patent/CN107948424B/en
Publication of CN107948424A publication Critical patent/CN107948424A/en
Application granted granted Critical
Publication of CN107948424B publication Critical patent/CN107948424B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72445User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a method for remotely controlling a computer by a mobile phone, which comprises the following steps: establishing a database containing a plurality of operation type fields and connection code fields in a server; generating an identification code by the computer end, sending the identification code to the server and writing the identification code into the connection code field; the mobile phone terminal acquires the identification code, modifies and sets a record corresponding to the identification code in a database on the server, and sets the value of a corresponding operation type field as 1; and the computer end continuously monitors the value of the operation type field of the record corresponding to the identification code in the database on the server, and if the value is 1, the operation corresponding to the operation type field is executed. Compared with the prior art, the method can avoid the complex network connection establishment and the inconvenience caused by the direct operation of the computer by the mobile phone, and can simply and effectively realize the remote control of the computer by the mobile phone.

Description

Method for remotely controlling computer by mobile phone
Technical Field
The invention belongs to the field of information technology application, and particularly relates to a method for remotely controlling a computer by a mobile phone.
Background
At present, due to the development of random networks and information technologies, smart phones are completely integrated into the lives of people, compared with the traditional computer end application, the proportion of the smart phone end application in work and life is heavier, and the smart phone is generally carried about and can be operated when going out. However, the existing methods for remotely and directly controlling a computer by a mobile phone all need to connect according to a specific communication protocol and perform a plurality of verification settings on the computer, and once the connection is established, the desktop of the computer is displayed by a mobile phone screen. The invention provides a method for remotely controlling a computer by a mobile phone, which can simply and conveniently realize the control of the computer by the mobile phone.
Disclosure of Invention
The invention aims to provide a method for remotely controlling a computer by a mobile phone, which comprises the steps of presetting computer operation to be executed, establishing a database on a remote server, wherein an operation type field of the database corresponds to the computer operation to be executed, uniquely identifying the computer by an identification code, finding a corresponding record of the computer to be controlled in the database by the mobile phone through the identification code, modifying the value of the operation type field of the database, and executing the operation when the computer monitors that the value of the operation type field of the database changes, so that the remote control of the computer by the mobile phone is realized.
The invention is realized by the following technical scheme:
a method for remotely controlling a computer by a mobile phone comprises the following steps:
s1: establishing a database at a server, wherein the database comprises a plurality of operation type fields and connection code fields;
s2: generating an identification code by a computer end, sending the identification code to the server, writing the identification code into a connection code field, and setting the value of an initialization operation type field to be 0;
s3: the mobile phone terminal acquires the identification code, connects with the server, modifies and sets a record corresponding to the identification code in a database on the server, and sets the value of a corresponding operation type field as 1;
and S4, the computer continuously monitors the value of the operation type field of the record corresponding to the identification code generated by the computer in the database on the server, if the value is 1, the operation corresponding to the operation type field is executed, and the operation type field is set to be 0.
Compared with the prior art, the method can avoid the complex network connection establishment and the inconvenience caused by the direct operation of the computer by the mobile phone, and can simply and effectively realize the remote control of the computer by the mobile phone.
Furthermore, the identification codes are generated randomly by the computer terminal, each identification code corresponds to one record in the database of the server, different identification codes correspond to different computer terminals, and the mobile phone terminal can remotely control a plurality of computers according to different identification codes.
Further, the computer operation type corresponding to the operation type field includes shutdown, computer screen capture, computer camera shooting, application program starting or script program execution.
Furthermore, pictures of the computer after screenshot or camera shooting can be transmitted back to the social software on the mobile phone through the social software installed on the computer.
Furthermore, the picture of the computer after screenshot or camera shooting can be uploaded to the server through the computer, and the mobile phone downloads the picture from the server.
Further, the identification code can be a two-dimensional code, and the mobile phone scans the code to obtain.
In order that the invention may be more clearly understood, specific embodiments thereof will be described hereinafter with reference to the accompanying drawings.
Drawings
FIG. 1 is a flow chart of a method for remotely controlling a computer by a mobile phone according to the present invention.
FIG. 2 is a schematic diagram of the connection structure of the computer, the server and the mobile phone according to the present invention.
Detailed Description
The invention provides a method for remotely controlling a computer by a mobile phone, which can simply and conveniently realize the control of the computer by the mobile phone. Referring to fig. 1, the method for remotely controlling a computer by a mobile phone of the present invention includes the following steps:
s1: and establishing a database at the server, wherein the database comprises a plurality of operation type fields and connection code fields.
As shown in fig. 2, which is a schematic structural diagram of the present invention, a database 11 is established on the server 1, and as shown in table 1 below, the database 11 includes a plurality of operation type fields and connection code fields. The connection code field is a character string type, and the operation type field is a Boolean type.
Table 1 database setup
Connection code Operation type 1 Operation type 2 Operation type n
xt083 0 0 0
Figure DEST_PATH_IMAGE001
Figure 6359DEST_PATH_IMAGE001
Figure 376030DEST_PATH_IMAGE001
Figure 296712DEST_PATH_IMAGE001
jd0h7 0 0 0
The operation type field corresponds to preset computer operation, such as shutdown, computer screen capture, computer camera shooting, application program starting, script program executing and the like, a user can preset behaviors needing to remotely control the computer operation according to the requirement of remote control of the user, the script program can be written through programming, and then the computer is controlled to execute the script program, such as a bat batch processing script file.
S2: and generating an identification code by the computer end, sending the identification code to the server, writing the identification code into the connection code field, and setting the value of the initialization operation type field to be 0.
As shown in fig. 2, the computer terminals 2 are connected to the server 1, each computer terminal 2 randomly generates a unique identification code, sends the identification code to the server 1 and writes the identification code into a connection code field of the database 11, each identification code corresponds to a record in the database 11, each record corresponds to a computer terminal 2, and different identification codes correspond to different computer terminals 2.
S3: and the mobile phone terminal acquires the identification code, connects with the server, modifies and sets the record corresponding to the identification code in a database on the server, and sets the value of the corresponding operation type field as 1.
As shown in fig. 2, the mobile phone end 3 obtains the identification code, connects to the server 1, and can find a corresponding record in the database 11 on the server according to the identification code, and the mobile phone end 3 sets other operation type fields on the record, and sets an operation type field corresponding to an operation to be executed to 1.
The mobile phone terminal 3 can acquire the identification code by scanning the two-dimensional code.
S4, the computer end 2 continuously monitors the value of the operation type field of the record corresponding to the identification code generated by the computer in the database 11 of the server 1, if the value is 1, the operation corresponding to the operation type field is executed, and the operation type field is set to 0.
The computer end 2 reads the values of other operation type fields of records corresponding to the identification codes generated by the database computer on the server at regular intervals, for example, 1 minute, if the value is 1, the mobile phone end 3 is indicated to initiate an operation request corresponding to the operation type field, then the computer end 2 executes the corresponding operation request, if a plurality of requests exist, the operation is executed in sequence, and after the operation is executed, the operation type field corresponding to the operation is set to be 0
After the computer end 2 performs screen capture or camera shooting, the obtained picture can be transmitted back to the social software on the mobile phone through the social software installed on the computer end 2. For example, the file can be sent back to the wechat software on the mobile phone end by the 'file transmission assistant' of the wechat or the file can be transmitted to the mobile phone QQ by a dialog box in the 'my equipment' on the QQ. In addition, the picture obtained after the computer end 2 performs screen capture or camera shooting can also be uploaded to the server 1 through the computer end 2, and the mobile phone end 3 downloads the picture from the server.
The following describes the process and specific application of the method for remotely controlling a computer by a mobile phone.
Firstly, generating an identification code by a computer, sending the identification code to a server, and writing the identification code into a recorded connection code field in a database;
secondly, inputting the identification code into the mobile phone, when the mobile phone is required to control the computer to complete a certain operation, for example, a computer screen capture is required to be obtained, the mobile phone is connected with the server, a record corresponding to the computer to be controlled is found according to the identification code, and then the value of an operation type field corresponding to the computer screen capture is set to be 1;
and thirdly, the computer monitors that the value of the operation type field corresponding to the computer screen capture in the record corresponding to the identification code generated by the local database on the server is 1, then screen capture processing is carried out, then the picture obtained by screen capture is sent to the mobile phone WeChat terminal through the WeChat file transmission assistant, and finally the value of the operation type field corresponding to the computer screen capture is set to 0.
Compared with the prior art, the method for remotely controlling the computer by the mobile phone has the advantages that the database is arranged on the remote server, the host computer of the computer is uniquely identified according to the identification code, the preset computer operation is used as the operation type field of the database, whether the operation is executed or not is judged through 0, 1, the mobile phone can realize the control of the computer only by modifying the 0, 1 value of the operation type field of the database, the method can avoid the complex network connection establishment and the inconvenience caused by the direct operation of the mobile phone on the computer, and can simply and effectively realize the remote control of the mobile phone on the computer.
The present invention is not limited to the above-described embodiments, and various modifications and variations of the present invention are intended to be included within the scope of the claims and the equivalent technology of the present invention if they do not depart from the spirit and scope of the present invention.

Claims (6)

1. A method for remotely controlling a computer by a mobile phone is characterized by comprising the following steps: the method comprises the following steps:
s1: establishing a database at a server, wherein the database comprises a plurality of operation type fields and connection code fields;
s2: generating an identification code by a computer end, sending the identification code to the server, writing the identification code into a connection code field, and setting the value of an initialization operation type field to be 0;
s3: the mobile phone terminal acquires the identification code, connects with the server, modifies and sets a record corresponding to the identification code in a database on the server, and sets the value of a corresponding operation type field as 1;
and S4, the computer continuously monitors the value of the operation type field of the record corresponding to the identification code generated by the computer in the database on the server, if the value is 1, the operation corresponding to the operation type field is executed, and the operation type field is set to be 0.
2. The method for remotely controlling a computer by a mobile phone according to claim 1, wherein: the identification codes are generated at random by the computer end, each identification code corresponds to one record in the database of the server, different identification codes correspond to different computer ends, and the mobile phone end can remotely control a plurality of computers according to different identification codes.
3. The method for remotely controlling a computer by a mobile phone according to claim 2, wherein: the computer operation type corresponding to the operation type field comprises shutdown, computer screen capture, computer camera shooting, application program starting and script program executing.
4. The method for remotely controlling a computer by a mobile phone according to claim 3, wherein: the pictures of the computer after the screen capture or the camera shooting can be transmitted back to the social software on the mobile phone through the social software installed on the computer.
5. The method for remotely controlling a computer by a mobile phone according to claim 3, wherein: the picture of the computer after screenshot or camera shooting can be uploaded to the server through the computer, and the picture is downloaded from the server by the mobile phone.
6. The method for remotely controlling a computer by a mobile phone according to claim 4 or 5, wherein: the identification code can be a two-dimensional code, and the mobile phone scans the code and obtains the code.
CN201711188482.8A 2017-11-24 2017-11-24 Method for remotely controlling computer by mobile phone Active CN107948424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711188482.8A CN107948424B (en) 2017-11-24 2017-11-24 Method for remotely controlling computer by mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711188482.8A CN107948424B (en) 2017-11-24 2017-11-24 Method for remotely controlling computer by mobile phone

Publications (2)

Publication Number Publication Date
CN107948424A CN107948424A (en) 2018-04-20
CN107948424B true CN107948424B (en) 2020-05-12

Family

ID=61948563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711188482.8A Active CN107948424B (en) 2017-11-24 2017-11-24 Method for remotely controlling computer by mobile phone

Country Status (1)

Country Link
CN (1) CN107948424B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767112A (en) * 2020-07-23 2020-10-13 深圳快学教育科技有限公司 Method and system for mutually controlling software and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932786A (en) * 2005-09-16 2007-03-21 孙丹 System and method for realizing mobile phone access and controlling computer
CN101132459A (en) * 2007-06-27 2008-02-27 朱在国 Method for computer remote control by mobile phone
CN102594997A (en) * 2012-04-05 2012-07-18 何乙诚 Method for remotely controlling computer by using mobile phone
CN104679524A (en) * 2015-03-17 2015-06-03 郑波 Method for controlling computer through mobile phone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060250578A1 (en) * 2005-05-06 2006-11-09 Pohl Garrick G Systems and methods for controlling, monitoring, and using remote applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932786A (en) * 2005-09-16 2007-03-21 孙丹 System and method for realizing mobile phone access and controlling computer
CN101132459A (en) * 2007-06-27 2008-02-27 朱在国 Method for computer remote control by mobile phone
CN102594997A (en) * 2012-04-05 2012-07-18 何乙诚 Method for remotely controlling computer by using mobile phone
CN104679524A (en) * 2015-03-17 2015-06-03 郑波 Method for controlling computer through mobile phone

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
远程控制+实用的才是最好的;飞雪散花;《电脑迷》;20111130(第22期);第8-12页 *

Also Published As

Publication number Publication date
CN107948424A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
US20190349417A1 (en) Data transmission method and device
CN104144470B (en) A kind of Bluetooth connecting method and client
CN108959430B (en) Advertisement promotion data acquisition method, device and equipment
US20160179493A1 (en) System and method for transferring software applications and data between two mobile devices with different operating systems
CN111290695B (en) Terminal control method and device based on priority control and terminal
CN108388988A (en) Synergetic office work method, system and computer readable storage medium based on block chain
CN110430280B (en) Account automatic login method and system, storage medium and cloud desktop server
US11695756B2 (en) Display system, display method, and recording medium
US20170277526A1 (en) Software categorization method and electronic device
CN111953642A (en) Method for uploading and downloading shared file by two-dimensional code
CN103902339A (en) Application installation method, terminal and server
CN110008019B (en) Method, device and system for sharing server resources
CN106559312B (en) Group management method and device based on controlled equipment
CN103281460A (en) Method and system for remotely controlling displaying device by mobile terminal
CN104125485A (en) Method, equipment and system for sharing user information
CN107948424B (en) Method for remotely controlling computer by mobile phone
CN104102884A (en) Method and system for promoting safety and privacy of job hunter information or recruit enterprise information
CN110798824A (en) Electronic table card control method, intelligent terminal and system
CN112929257A (en) Multi-scenario message sending method, device, server and storage medium
CN105227597A (en) A kind of method, Apparatus and system obtaining terminal equipment screen-picture
CN103490984A (en) Method and device for obtaining user information
CN108521394B (en) Identification code generation method and device with storage function
CN104955026A (en) Method for modifying MAC addresses of Bluetooth (Personal Digital Assistant) and WiFi of PDA
CN205787869U (en) A kind of tele-control system
CN104283940A (en) Sharing path tracking system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant