CN110557509A - mobile phone control method and device, electronic equipment and readable storage medium - Google Patents
mobile phone control method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN110557509A CN110557509A CN201910857873.7A CN201910857873A CN110557509A CN 110557509 A CN110557509 A CN 110557509A CN 201910857873 A CN201910857873 A CN 201910857873A CN 110557509 A CN110557509 A CN 110557509A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- server
- target
- control
- control instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
the application provides a mobile phone control method, a mobile phone control device, an electronic device and a readable storage medium, wherein the method comprises the following steps: the server establishes wireless communication connection with the mobile phone; the server acquires the identity of the mobile phone through the established wireless communication connection; the server judges whether the mobile phone has the control authority; if the mobile phone has the control authority, the server sends the identity of the mobile phone to the operation terminal so that the operation terminal returns a control instruction carrying the target identity; and the control instruction is used for sending to the mobile phone corresponding to the target identity. According to the method and the device, the server is in wireless communication connection with the mobile phone, so that the mobile phone can be controlled by the operation terminal in a wireless connection mode, and the number of the mobile phones connected with the operation terminal is not limited.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling a mobile phone, an electronic device, and a readable storage medium.
background
In the processes of software development testing, micro-business operation and customer management, multiple mobile phones are generally required to be controlled.
In the related art, the mobile phone control method mostly controls the mobile phone through an Android Debug Bridge (adb) toolkit, the adb toolkit is an auxiliary toolkit for the Android mobile phone provided by google and plays a role of debugging the Bridge, and the mobile phone can be connected to the mobile phone from an operation terminal by means of the tool, so that the mobile phone is controlled. However, when the mobile phone is controlled by the adb toolkit, the computer and the mobile phone need to be connected through a data line, so that the number of the mobile phones connected with the computer is limited.
Disclosure of Invention
In view of the above, an object of the present application is to provide a method, an apparatus, an electronic device and a readable storage medium for controlling a mobile phone, so that an operation terminal wirelessly communicates with the mobile phone.
In a first aspect, an embodiment of the present application provides a method for controlling a mobile phone, including:
The server establishes wireless communication connection with the mobile phone;
the server acquires the identity of the mobile phone through the established wireless communication connection;
the server judges whether the mobile phone has a control authority or not;
If the mobile phone has the control authority, the server sends the identity of the mobile phone to an operation terminal so that the operation terminal returns a control instruction carrying a target identity; and the control instruction is used for sending to the mobile phone corresponding to the target identity.
with reference to the first aspect, an embodiment of the present application provides a first possible implementation manner of the first aspect, where if the mobile phone has a control right, after the server sends the identity of the mobile phone to an operation terminal, the method further includes:
The server receives a control instruction which is returned by the operation terminal and carries a target identity mark;
the server determines a mobile phone corresponding to the target identity mark according to the target identity mark, and takes the mobile phone as a target mobile phone;
And the server forwards the control instruction to the target mobile phone so as to enable the target mobile phone to execute the operation corresponding to the control instruction.
with reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a second possible implementation manner of the first aspect, where the control instruction includes a continuous screen capture instruction;
the server forwards the control instruction to the target mobile phone, so that after the target mobile phone performs an operation corresponding to the control instruction, the method further includes:
The server receives a plurality of intercepted screen images returned by the mobile phone;
and the server forwards the screen images to the operation terminal.
With reference to the second possible implementation manner of the first aspect, an embodiment of the present application provides a third possible implementation manner of the first aspect, where the control instruction includes a screen capture stopping instruction;
the server forwards the control instruction to the target mobile phone to enable the target mobile phone to execute an operation corresponding to the control instruction, and the operation includes:
and the server forwards the screen capture stopping instruction to the target mobile phone so as to enable the target mobile phone to stop the operation of capturing the screen image.
with reference to the first possible implementation manner of the first aspect, an embodiment of the present application provides a fourth possible implementation manner of the first aspect, where the control instruction includes a clicked control instruction;
the server forwards the control instruction to the target mobile phone to enable the target mobile phone to execute an operation corresponding to the control instruction, and the operation includes:
And the server forwards the clicked control command to the target mobile phone so as to enable the target mobile phone to execute the clicking operation.
In a second aspect, an embodiment of the present application further provides a mobile phone control device, including:
the establishing module is used for establishing wireless communication connection between the server and the mobile phone;
The acquisition module is used for acquiring the identity of the mobile phone by the server through the established wireless communication connection;
The judging module is used for judging whether the mobile phone has the control authority or not by the server;
The sending module is used for sending the identity identifier of the mobile phone to an operation terminal by the server if the mobile phone has the control authority so as to enable the operation terminal to return a control instruction carrying a target identity identifier; and the control instruction is used for sending to the mobile phone corresponding to the target identity.
With reference to the second aspect, an embodiment of the present application provides a first possible implementation manner of the second aspect, further including:
The first receiving module is used for receiving a control instruction which is returned by the operating terminal and carries a target identity mark by the server;
the determining module is used for determining the mobile phone corresponding to the target identity identifier by the server according to the target identity identifier and taking the mobile phone as a target mobile phone;
And the first forwarding module is used for forwarding the control instruction to the target mobile phone by the server so as to enable the target mobile phone to execute the operation corresponding to the control instruction.
with reference to the first possible implementation manner of the second aspect, the present application provides a second possible implementation manner of the second aspect, and further includes:
the second receiving module is used for receiving the intercepted multiple screen images returned by the mobile phone by the server;
And the second forwarding module is used for forwarding the plurality of screen images to the operation terminal by the server.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine-readable instructions being executable by the processor to perform the steps of any one of the possible implementations of the first aspect.
In a fourth aspect, this application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps in any one of the possible implementation manners of the first aspect.
The embodiment of the application provides a mobile phone control method, a mobile phone control device, an electronic device and a readable storage medium, wherein the mobile phone control method comprises the following steps: the server establishes wireless communication connection with the mobile phone; the server acquires the identity of the mobile phone through the established wireless communication connection; the server judges whether the mobile phone has the control authority; if the mobile phone has the control authority, the server sends the identity of the mobile phone to the operation terminal so that the operation terminal returns a control instruction carrying the target identity; and the control instruction is used for sending to the mobile phone corresponding to the target identity. According to the method and the device, the server is in wireless communication connection with the mobile phone, so that the mobile phone can be controlled by the operation terminal in a wireless connection mode, and the number of the mobile phones connected with the operation terminal is not limited.
in order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
in order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
fig. 1 shows a flowchart of a method for controlling a mobile phone according to an embodiment of the present application;
Fig. 2 shows a system block diagram of a method for controlling a mobile phone according to an embodiment of the present application;
fig. 3 is a schematic structural diagram illustrating a name of a mobile phone control device according to an embodiment of the present application;
fig. 4 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
in order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
in some scenarios, such as software development testing, vendor-wide operations, and customer management, developers need to operate and control multiple mobile phones. At present, a plurality of mobile phone control systems generally control a mobile phone through an Android Debug Bridge (adb for short), the adb toolkit is an auxiliary toolkit for the Android mobile phone provided by Google, the adb toolkit plays a role in debugging the Bridge, and the adb toolkit can be connected to a shell (shell) of the mobile phone from a computer end so as to control the mobile phone.
However, when the mobile phone is controlled by the adb toolkit, the computer and the mobile phone need to be connected through a data line, so that the number of the mobile phones connected with the computer end is limited.
Based on this, embodiments of the present application provide a method and an apparatus for controlling a mobile phone, an electronic device, and a readable storage medium, which are described below by way of embodiments.
To facilitate understanding of the present embodiment, a detailed description is first given of a mobile phone control method disclosed in the embodiments of the present application. As shown in fig. 1, a flow diagram of a mobile phone control method is shown, where the mobile phone control method includes the following steps:
S101: the server establishes wireless communication connection with the mobile phone.
S102: the server acquires the identity of the mobile phone through the established wireless communication connection.
s103: the server judges whether the mobile phone has the control authority.
S104: if the mobile phone has the control authority, the server sends the identity of the mobile phone to the operation terminal so that the operation terminal returns a control instruction carrying the target identity; and the control instruction is used for sending to the mobile phone corresponding to the target identity.
In the present application, a system in which the mobile phone control method is located includes a server, a mobile phone, and an operation terminal, and as shown in a system block diagram of the mobile phone control method in fig. 2, communication connections can be established between the server and the mobile phone, and between the server and the operation terminal.
the operating terminal sends the control instruction to the server, and the server forwards the control instruction to the mobile phone; meanwhile, the server can also forward the operation for the control instruction returned by the mobile phone to the operation terminal.
The handset may acquire a connection address of the server through which the handset makes a wireless communication connection with the server before step S101.
In step S101, the server may be a server deployed on a public network, and the mobile phone may access the server and the mobile phone at any network location.
the operation terminal can also access the server at any position with a network, thereby realizing that the mobile phone and the operation terminal can wirelessly interact at any position. Generally, the operation terminal refers to a computer.
WebSocket protocol is used as communication protocol between the server and the mobile phone, and between the server and the operation terminal, and because the connection is carried out by using wireless network communication mode in the application, the number of the mobile phones connected to the server is not limited and is not limited by regions.
In step S102, when the mobile phone opens an application, the application may read an identity of the current mobile phone, such as an equipment identifier of the mobile phone, from the written configuration file, and then the application sends the identity to the server through the mobile phone, and the server receives the identity through the established wireless communication connection.
After the server is connected with the mobile phone, the server can keep connection all the time, the server can store the acquired identity, and after the mobile phone is disconnected from the server, the server deletes the stored identity. When the mobile phone is connected with the server next time, the server acquires the identity of the mobile phone again, so that the cache in the server can be cleared, and the data information stored by the server is reduced.
In step S103, the server determines whether the mobile phone corresponding to the identity information has a control right according to the received identity information.
Here, the control authority refers to an authority that the application program has for the mobile phone. Specifically, the control authority may include an authority to allow an application to screen-capture the mobile phone, an authority to read a file stored in the mobile phone, a super administrator authority, and the like. When the application program has the control authority, the application program can carry out authority operation on the mobile phone.
Generally, when a user installs an application program on a mobile phone, the application program can apply whether to start a control authority to the user, and the user can independently select a corresponding control authority. When the user opens the application program again, the mobile phone defaults to the opened control authority.
When the user opens the control authority, that is, the server judges that the application program has the control authority to the mobile phone, the server can tell the operation terminal in a broadcast mode that the mobile phone has the control authority.
In step S104, if the mobile phone has a control right, that is, the application program can perform a corresponding operation on the mobile phone, the server sends the identity of the mobile phone to the operation terminal, the operation terminal stores the identity in an information table, where the identity corresponding to the mobile phone that has opened a certain application program is recorded, and the operation terminal can select a part or all of the identities in the information table and send the control instruction to the server. The server can forward the control instruction to the mobile phone corresponding to the identity.
therefore, after the server sends the identity of the mobile phone to the operation terminal, the method further comprises the following steps:
Step 1041, the server receives a control instruction carrying a target identity returned by the operation terminal;
step 1042, the server determines the mobile phone corresponding to the target identity according to the target identity, and takes the mobile phone as the target mobile phone;
In step 1043, the server forwards the control instruction to the target mobile phone, so that the target mobile phone executes the operation corresponding to the control instruction.
in specific implementation, the target identity refers to a part or all of the identity selected by the operation terminal in the information table, and the operation terminal sends a control instruction to the mobile phone corresponding to the target identity.
The server can determine the mobile phone corresponding to the target identity according to the selected target identity.
after the server forwards the control instruction to the target mobile phone, the target mobile phone can execute corresponding operation.
The server can simultaneously receive a plurality of control instructions sent by the operation terminal, and the control instructions can be different among different mobile phones, namely the operation terminal can simultaneously send the same control instructions to the mobile phones corresponding to a plurality of identity identifiers; the operating terminal can also send different control instructions to the mobile phones corresponding to the multiple identity identifiers at the same time, that is, the control instructions between each mobile phone can be different.
Table 1 and table 2 show the relationship between the mobile phone corresponding to the selected target id and the control instruction when the operation terminal sends the control instruction.
TABLE 1
TABLE 2
identity label | mobile phone | control instruction |
Identity mark A | Mobile phone A | Control instruction A |
Identity mark B | mobile phone B | Control instruction B |
Identity C | Mobile phone C | Control instruction B |
identity D | Mobile phone D | Control instruction C |
Identity E | Mobile phone E | Is free of |
Through the table 1, it can be seen that the operation terminal can select a part of the identity as the target identity, and then return the same control instruction, so that the server forwards the control instruction to the mobile phone corresponding to the target identity; as can be seen from table 2, the operation terminal may select a part of the identity as the target identity, and then return the corresponding control instruction for different target identities, so that the server forwards the corresponding control instruction to the corresponding mobile phone.
The server can receive a continuous screen capturing instruction, a screen capturing stopping instruction, a clicking control instruction, a double-clicking control instruction, a sliding control instruction and the like sent by the operation terminal. The mobile phone can execute the operation corresponding to the control instruction.
Specifically, if the control instruction returned by the operation terminal is a continuous screen capture instruction, the mobile phone can capture a plurality of screen images.
In specific implementation, the mobile phone may continuously capture a preset number of screen images within a preset time, or capture one screen image after each preset interval.
The mobile phone can convert the intercepted screen image into an image of base64, then send the image to the server, and then the server forwards the image to the operation terminal. The mobile phone can continuously send images to the operation terminal, and the operation terminal can see the screen change condition of the mobile phone in real time.
In a specific implementation, the handset can also send screen content in the form of a video stream to the server.
And if the control instruction returned by the operation terminal is a screen capture stopping instruction, the mobile phone executes screen capture stopping operation after receiving the screen capture stopping instruction forwarded by the server. Normally, the stop screen capture command is issued after the continuous screen capture command.
If the control instruction returned by the operation terminal is the clicked control instruction, the mobile phone opens the clicked target object after receiving the clicked control instruction forwarded by the server.
Specifically, in the embodiments of the present application, a server, a mobile phone, and a computer are taken as examples, and the method for controlling the mobile phone is specifically described.
Step 1, the mobile phone acquires a connection address of the server and establishes wireless communication connection with the server.
The computer also establishes a wireless communication link with the server at or before this step. The mobile phone and the server, and the server and the computer can interact in a wireless communication mode.
And 2, when a certain application program on the mobile phone is started, the server acquires the equipment identification code of the mobile phone through the established wireless communication connection.
And 3, judging whether the mobile phone has the control authority by the server.
the control authority is generally selected to be opened by the user when the application program is installed, and when the application program is opened again by the user, the opened control authority is defaulted by the mobile phone.
and 4, if the mobile phone has the control authority, the server tells the operation terminal that the mobile phone has the control authority in a broadcasting mode.
And 5, the server sends the equipment identification code of the mobile phone to the computer terminal.
And 6, the computer end sends the selected target equipment identification code and the continuous screen capturing instruction to the server.
the computer end can display a graphical interface, and the graphical interface is provided with a screen of the mobile phone, control buttons and some information tables containing identification codes of the mobile phone equipment.
And the computer terminal selects the identification code of the target equipment according to the information table and sends a continuous screen capturing instruction through the control button.
And 7, the server determines the target mobile phone according to the received target equipment identification code and sends the continuous screen capturing instruction to the target mobile phone.
And 8, intercepting a plurality of screen images by the target mobile phone according to the received continuous screen intercepting instruction, and sending the screen images to the server.
And 9, the server forwards the received screen image to a computer terminal.
the screen image of the mobile phone can be displayed on the graphical interface of the computer end.
And step 10, the computer end sends the selected target equipment identification code and a screen capture stopping instruction to the server.
And step 11, the server determines the target mobile phone according to the received target equipment identification code and sends a screen capture stopping instruction to the target mobile phone.
and step 12, the target mobile phone stops capturing the screen image according to the received screen capture stopping instruction.
Based on the same technical concept, embodiments of the present application further provide a mobile phone control device, an electronic device, a computer storage medium, and the like, which can be specifically referred to in the following embodiments.
fig. 3 is a block diagram illustrating a mobile phone control apparatus according to some embodiments of the present application, which implements functions corresponding to the above-described steps of executing a mobile phone control method on a terminal device. The device can be understood as a component of a server including a processor, which can implement the above-mentioned handset control method, as shown in fig. 3, the handset control device may include:
the establishing module 301 is used for establishing wireless communication connection between the server and the mobile phone;
An obtaining module 302, configured to obtain, by the server, an identity of the mobile phone through the established wireless communication connection;
the judging module 303 is used for judging whether the mobile phone has the control authority by the server;
A sending module 304, configured to send the identity identifier of the mobile phone to the operation terminal by the server if the mobile phone has the control authority, so that the operation terminal returns a control instruction carrying the target identity identifier; and the control instruction is used for sending to the mobile phone corresponding to the target identity.
The mobile phone control device further comprises:
The first receiving module is used for receiving a control instruction which is returned by the operating terminal and carries a target identity;
The determining module is used for determining the mobile phone corresponding to the target identity identifier by the server according to the target identity identifier and taking the mobile phone as the target mobile phone;
and the first forwarding module is used for forwarding the control instruction to the target mobile phone by the server so as to enable the target mobile phone to execute the operation corresponding to the control instruction.
The mobile phone control device further comprises:
the second receiving module is used for receiving the intercepted multiple screen images returned by the mobile phone by the server;
And the second forwarding module is used for forwarding the plurality of screen images to the operation terminal by the server.
as shown in fig. 4, which is a schematic structural diagram of an electronic device 400 provided in an embodiment of the present application, the electronic device 400 includes: at least one processor 401, at least one network interface 404 and at least one user interface 403, memory 405, at least one communication bus 402. A communication bus 402 is used to enable connective communication between these components. The user interface 403 includes a display (e.g., a touch screen), a keyboard, or a pointing device (e.g., a touch pad or touch screen, etc.).
Memory 405 may include both read-only memory and random-access memory and provides instructions and data to processor 401. A portion of the memory 405 may also include non-volatile random access memory (NVRAM).
In some embodiments, memory 405 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
An operating system 4051, which contains various system programs, for implementing various basic services and processing hardware-based tasks;
the application 4052 includes various applications for implementing various application services.
in an embodiment of the present application, processor 401, by invoking programs or instructions stored by memory 405, is configured to:
The server establishes wireless communication connection with the mobile phone;
The server acquires the identity of the mobile phone through the established wireless communication connection;
the server judges whether the mobile phone has the control authority;
if the mobile phone has the control authority, the server sends the identity of the mobile phone to the operation terminal so that the operation terminal returns a control instruction carrying the target identity; and the control instruction is used for sending to the mobile phone corresponding to the target identity.
the processor 401 is further configured to:
If the mobile phone has the control authority, after the server sends the identity of the mobile phone to the operation terminal, the method further comprises the following steps:
The server receives a control instruction which is returned by the operation terminal and carries a target identity;
The server determines a mobile phone corresponding to the target identity mark according to the target identity mark, and takes the mobile phone as a target mobile phone;
and the server forwards the control instruction to the target mobile phone so as to enable the target mobile phone to execute the operation corresponding to the control instruction.
The processor 401 is further configured to:
The server forwards the control instruction to the target mobile phone, so that after the target mobile phone executes the operation corresponding to the control instruction, the server receives a plurality of intercepted screen images returned by the mobile phone;
And the server forwards the plurality of screen images to the operation terminal.
The processor 401 is further configured to:
the server forwards the control instruction to the target mobile phone so that the target mobile phone executes the operation corresponding to the control instruction, and the server forwards the screen capture stopping instruction to the target mobile phone so that the target mobile phone stops the operation of capturing the screen image.
The processor 401 is further configured to:
the server forwards the control instruction to the target mobile phone so that the target mobile phone executes the operation corresponding to the control instruction, and the server forwards the clicked control instruction to the target mobile phone so that the target mobile phone executes the clicked operation.
the computer program product for performing the mobile phone control method provided in the embodiment of the present application includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
in the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
in addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A mobile phone control method is characterized by comprising the following steps:
The server establishes wireless communication connection with the mobile phone;
the server acquires the identity of the mobile phone through the established wireless communication connection;
the server judges whether the mobile phone has a control authority or not;
If the mobile phone has the control authority, the server sends the identity of the mobile phone to an operation terminal so that the operation terminal returns a control instruction carrying a target identity; and the control instruction is used for sending to the mobile phone corresponding to the target identity.
2. The method as claimed in claim 1, wherein if the mobile phone has the control right, after the server sends the identity of the mobile phone to the operation terminal, the method further comprises:
the server receives a control instruction which is returned by the operation terminal and carries a target identity mark;
The server determines a mobile phone corresponding to the target identity mark according to the target identity mark, and takes the mobile phone as a target mobile phone;
And the server forwards the control instruction to the target mobile phone so as to enable the target mobile phone to execute the operation corresponding to the control instruction.
3. the mobile phone control method according to claim 2, wherein the control command comprises a continuous screen capture command;
The server forwards the control instruction to the target mobile phone, so that after the target mobile phone performs an operation corresponding to the control instruction, the method further includes:
the server receives a plurality of intercepted screen images returned by the mobile phone;
And the server forwards the screen images to the operation terminal.
4. the mobile phone control method according to claim 3, wherein the control command comprises a screen capture stop command;
The server forwards the control instruction to the target mobile phone to enable the target mobile phone to execute an operation corresponding to the control instruction, and the operation includes:
And the server forwards the screen capture stopping instruction to the target mobile phone so as to enable the target mobile phone to stop the operation of capturing the screen image.
5. The mobile phone control method according to claim 2, wherein the control command comprises a click control command;
The server forwards the control instruction to the target mobile phone to enable the target mobile phone to execute an operation corresponding to the control instruction, and the operation includes:
And the server forwards the clicked control command to the target mobile phone so as to enable the target mobile phone to execute the clicking operation.
6. a mobile phone control device, comprising:
the establishing module is used for establishing wireless communication connection between the server and the mobile phone;
The acquisition module is used for acquiring the identity of the mobile phone by the server through the established wireless communication connection;
the judging module is used for judging whether the mobile phone has the control authority or not by the server;
The sending module is used for sending the identity identifier of the mobile phone to an operation terminal by the server if the mobile phone has the control authority so as to enable the operation terminal to return a control instruction carrying a target identity identifier; and the control instruction is used for sending to the mobile phone corresponding to the target identity.
7. The handset control device according to claim 6, further comprising:
the first receiving module is used for receiving a control instruction which is returned by the operating terminal and carries a target identity mark by the server;
the determining module is used for determining the mobile phone corresponding to the target identity identifier by the server according to the target identity identifier and taking the mobile phone as a target mobile phone;
and the first forwarding module is used for forwarding the control instruction to the target mobile phone by the server so as to enable the target mobile phone to execute the operation corresponding to the control instruction.
8. the handset control device according to claim 7, further comprising:
The second receiving module is used for receiving the intercepted multiple screen images returned by the mobile phone by the server;
And the second forwarding module is used for forwarding the plurality of screen images to the operation terminal by the server.
9. an electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the handset control method according to any one of claims 1 to 5.
10. A computer-readable storage medium, having stored thereon a computer program for performing, when executed by a processor, the steps of the handset control method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910857873.7A CN110557509A (en) | 2019-09-09 | 2019-09-09 | mobile phone control method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910857873.7A CN110557509A (en) | 2019-09-09 | 2019-09-09 | mobile phone control method and device, electronic equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110557509A true CN110557509A (en) | 2019-12-10 |
Family
ID=68739966
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910857873.7A Pending CN110557509A (en) | 2019-09-09 | 2019-09-09 | mobile phone control method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110557509A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111427525A (en) * | 2020-02-27 | 2020-07-17 | 深圳壹账通智能科技有限公司 | Synchronous control method and device for cluster equipment, computer equipment and storage medium |
CN112805651A (en) * | 2020-03-30 | 2021-05-14 | 深圳市大疆创新科技有限公司 | Control method, control terminal, server and storage medium for unmanned aerial vehicle |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102821015A (en) * | 2012-08-07 | 2012-12-12 | 歌尔声学股份有限公司 | Method and system for realizing mutual control of multimedia terminals in home |
CN104050407A (en) * | 2014-06-13 | 2014-09-17 | 北京奇虎科技有限公司 | Method, device and system for controlling operation of PC by mobile terminal |
US20160012717A1 (en) * | 2011-05-09 | 2016-01-14 | Glamo, Inc. | Remote Control Device, Server, Method, and Computer Program |
CN105487389A (en) * | 2015-11-17 | 2016-04-13 | 小米科技有限责任公司 | Method and device for controlling intelligent equipment |
CN105491229A (en) * | 2015-11-26 | 2016-04-13 | 小米科技有限责任公司 | Method and device for remotely controlling mobile terminal |
CN105592364A (en) * | 2016-02-25 | 2016-05-18 | 腾讯科技(深圳)有限公司 | Trans-terminal screen-shot image acquiring method and trans-terminal screen-shot image acquiring device |
CN106789460A (en) * | 2016-12-08 | 2017-05-31 | 青岛海信移动通信技术股份有限公司 | For the control method and system of smart home |
-
2019
- 2019-09-09 CN CN201910857873.7A patent/CN110557509A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160012717A1 (en) * | 2011-05-09 | 2016-01-14 | Glamo, Inc. | Remote Control Device, Server, Method, and Computer Program |
CN102821015A (en) * | 2012-08-07 | 2012-12-12 | 歌尔声学股份有限公司 | Method and system for realizing mutual control of multimedia terminals in home |
CN104050407A (en) * | 2014-06-13 | 2014-09-17 | 北京奇虎科技有限公司 | Method, device and system for controlling operation of PC by mobile terminal |
CN105487389A (en) * | 2015-11-17 | 2016-04-13 | 小米科技有限责任公司 | Method and device for controlling intelligent equipment |
CN105491229A (en) * | 2015-11-26 | 2016-04-13 | 小米科技有限责任公司 | Method and device for remotely controlling mobile terminal |
CN105592364A (en) * | 2016-02-25 | 2016-05-18 | 腾讯科技(深圳)有限公司 | Trans-terminal screen-shot image acquiring method and trans-terminal screen-shot image acquiring device |
CN106789460A (en) * | 2016-12-08 | 2017-05-31 | 青岛海信移动通信技术股份有限公司 | For the control method and system of smart home |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111427525A (en) * | 2020-02-27 | 2020-07-17 | 深圳壹账通智能科技有限公司 | Synchronous control method and device for cluster equipment, computer equipment and storage medium |
CN112805651A (en) * | 2020-03-30 | 2021-05-14 | 深圳市大疆创新科技有限公司 | Control method, control terminal, server and storage medium for unmanned aerial vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108040108B (en) | Communication switching method, device, coordination server and readable storage medium | |
US8254908B2 (en) | Server and method for remotely testing electronic devices | |
US20180285053A1 (en) | Screenshot method and apparatus | |
CN110442502B (en) | Point burying method, device, equipment and storage medium | |
CN110557509A (en) | mobile phone control method and device, electronic equipment and readable storage medium | |
CN109041267B (en) | Network connection fault processing method and device and electronic equipment | |
CN104079717A (en) | Method for displaying device interface and server | |
CN113347269A (en) | Data updating method of industrial system, electronic equipment and storage medium | |
CN111061448A (en) | Log information display method and device, electronic equipment and storage medium | |
CN114222320A (en) | Method, device, apparatus, storage medium, and program for testing communication device | |
CN109343944B (en) | Data processing method and device for eSIM card, terminal and storage medium | |
CN107404456B (en) | Error positioning method and device | |
CN111092780A (en) | Method and system for dynamically debugging android system | |
CN108345508B (en) | Interface call testing method and device | |
CN112486733A (en) | System restoring method, device, terminal and storage medium | |
CN111142885A (en) | eSIM device management method, device, equipment and storage medium | |
CN109995931B (en) | Method and device for realizing automatic calling | |
CN107786420B (en) | Message revocation method, message revocation server and user equipment | |
JP7230951B2 (en) | Mobile terminal, information processing system, control method, and program | |
CN114490323A (en) | Terminal device testing method and device and electronic device | |
CN111147400B (en) | Method and device for command line configuration synchronization and electronic equipment | |
CN113297513A (en) | Sensitive information coding method and device based on cloud mobile phone and storage medium | |
CN113961162A (en) | Screen projection control method, screen projection sending end, screen projection receiving end and screen projection system | |
CN114764349A (en) | Control method, device, medium and electronic equipment for cross-application running of sub-applications | |
KR20130065387A (en) | Update method for application installed on terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191210 |