[go: up one dir, main page]

WO2018196413A1 - Method and apparatus for operating mobile terminal, electronic device, and computer readable storage medium - Google Patents

Method and apparatus for operating mobile terminal, electronic device, and computer readable storage medium Download PDF

Info

Publication number
WO2018196413A1
WO2018196413A1 PCT/CN2017/117940 CN2017117940W WO2018196413A1 WO 2018196413 A1 WO2018196413 A1 WO 2018196413A1 CN 2017117940 W CN2017117940 W CN 2017117940W WO 2018196413 A1 WO2018196413 A1 WO 2018196413A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
information
operation information
acquired
button
Prior art date
Application number
PCT/CN2017/117940
Other languages
French (fr)
Chinese (zh)
Inventor
杨超锋
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018196413A1 publication Critical patent/WO2018196413A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a mobile terminal operating method and apparatus, an electronic device, and a computer readable storage medium.
  • mobile terminals eg, smartphones, tablets, etc.
  • users are increasingly dependent on mobile terminals.
  • the mobile terminal In the process of using the mobile terminal, there are some situations in which the user is inconvenient to operate the mobile terminal, for example, when the mobile terminal is charging, or when an input module of the mobile terminal is faulty, thereby affecting the user experience.
  • the purpose of the embodiments of the present application is to provide a mobile terminal operating method and device, an electronic device, and a computer readable storage medium, which solve the problem that the user operates the mobile terminal more conveniently.
  • an embodiment of the present application provides a method for operating a mobile terminal.
  • the method includes: after the first mobile terminal establishes a communication connection with the second mobile terminal, the second mobile terminal detects whether the first operation information is acquired; and when the second mobile terminal acquires the first operation information, Performing a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal, so that the first mobile terminal is according to the first The operation information performs the first operation.
  • the embodiment of the present application further provides a mobile terminal operating device.
  • the device includes: a first detecting module, configured to detect whether the first operation information is acquired after the first mobile terminal and the second mobile terminal establish a communication connection; and the executing module is configured to: when the first operation information is acquired Performing a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal, so that the first mobile terminal is according to the first The operation information performs the first operation.
  • An embodiment of the present application further provides an electronic device, including: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory, and configured to Executed by the one or more processors, the program is implemented to implement the steps in the above mobile terminal operating method.
  • the embodiment of the present application further provides a computer readable storage medium, where a computer program is stored thereon, and when the computer program is executed by the processor, the steps in the mobile terminal operation method are implemented.
  • the second mobile terminal After the first mobile terminal and the second mobile terminal establish a communication connection, the second mobile terminal detects whether the first operation information is acquired, and the second mobile terminal acquires the first operation information. And executing, according to the first operation information, a target event, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal, so that the first mobile terminal is according to the first An operation information performs a first operation. Therefore, the operation of the second mobile terminal may be controlled by the first mobile terminal, or the operation of the first terminal may be controlled by the second terminal, thereby solving the problem that the user is less convenient to operate the mobile terminal.
  • FIG. 1 is a flowchart of a method for operating a mobile terminal according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method for operating a mobile terminal according to another embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a mobile terminal operating system according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a mobile terminal operating device according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an electronic device according to an embodiment of the present application.
  • an embodiment of the present application provides a mobile terminal operation method, including the following steps:
  • Step S101 After the first mobile terminal establishes a communication connection with the second mobile terminal, the second mobile terminal detects whether the first operation information is acquired.
  • the first mobile terminal and the second mobile terminal may be a tablet computer, a smart phone, or the like.
  • the first mobile terminal and the second mobile terminal may establish a communication connection by using a wireless manner, for example, establishing a communication connection through WIFI, Bluetooth, or the Internet.
  • the first operation information may be operation information generated by the first mobile terminal in response to the user's operation, or may be received operation information from the second mobile terminal.
  • the first operation information may include button information, information detected by the touch screen, or information detected by the sensor, where the button information includes button information of a volume key or button information of a power button,
  • the information detected by the touch screen includes touch coordinate information for the touch screen, and the information detected by the sensor includes fingerprint information detected by the fingerprint sensor.
  • Step S102 When acquiring the first operation information, the second mobile terminal performs a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation to the first mobile terminal.
  • the first operation information is configured to cause the first mobile terminal to perform a first operation according to the first operation information.
  • the target event is executed according to the first operation information.
  • the first operation information is the received operation information from the first mobile terminal
  • the first operation is performed according to the first operation information.
  • the second mobile terminal receives the button information of the volume key sent by the first mobile terminal, and performs a volume adjustment operation according to the button information.
  • the first operation information is the operation information generated by the second mobile terminal, sending the first operation information to the first mobile terminal, so that the first mobile terminal performs the first operation according to the first operation information, for example,
  • the button information generated by the user operating the volume key of the second mobile terminal is sent to the first mobile terminal, and the first mobile terminal performs a volume adjustment operation according to the button information.
  • the user can remotely control the operation of the second mobile terminal by operating the first mobile terminal or remotely control the operation of the first mobile terminal by operating the second mobile terminal, so that the user can directly operate the mobile terminal inconveniently.
  • the operation of the mobile terminal A is remotely controlled by another mobile terminal B connected thereto.
  • the second mobile terminal detects whether the first operation information is acquired; when the second mobile terminal acquires the first operation information, Performing a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal, so that the first mobile terminal is according to the first
  • the operation information performs the first operation. Therefore, the operation of the second mobile terminal may be controlled by the first mobile terminal, or the operation of the first terminal may be controlled by the second terminal, thereby solving the problem that the user is less convenient to operate the mobile terminal.
  • the method before the second mobile terminal detects whether the first operation information is acquired, the method further includes: determining an operation mode of the second mobile terminal, where the operation mode includes a main operation mode, a slave operation Mode or master-slave mode of operation.
  • the foregoing main operation mode refers to that the current mobile terminal is a master device, and the mobile terminal connected thereto is a slave device (that is, the second mobile terminal is a master device, and the first mobile terminal is a slave device), and is controlled by the master device.
  • the slave operation mode refers to that the current mobile terminal is a slave device, and the mobile terminal connected thereto is a master device (that is, the second mobile terminal is a slave device, and the first mobile terminal is a master device), and is controlled by the master device.
  • the operation of the slave device means that the current mobile terminal can be used as a master device or a slave device, and the mobile terminal connected thereto can be used as a slave device or a master device.
  • a plurality of operation modes are set for the user to select, so that the control between the mobile terminals is more flexible and convenient.
  • the operation mode of the second mobile terminal is determined before the second mobile terminal detects whether the first operation information is acquired. Specifically, the setting interface may be popped up when the second mobile terminal starts to execute the mobile terminal operation method.
  • the operation mode of the second mobile terminal set by the user may be obtained by acquiring the operation mode of the second mobile terminal preset by the user.
  • the foregoing operation mode, the connection mode between the mobile terminals, and/or the operation information type may be preset, wherein the operation mode includes a main operation mode, a slave operation mode, or a master-slave operation mode, and the connection mode may be Including WIFI connection, Bluetooth connection or internet connection, the operation information type may include button information, touch information or sensor information.
  • the second mobile terminal detects whether the first operation information is acquired, including: the second mobile terminal detects whether the First operation information of the first mobile terminal;
  • the target event is performed according to the first operation information, including: when the second mobile terminal acquires the first operation information, according to the The first operation information performs a first operation.
  • the second mobile terminal detects whether the slave terminal receives The first operation information of the first mobile terminal, and performing the first operation according to the first operation information when receiving the first operation information from the first mobile terminal, implementing the first mobile terminal to the second mobile terminal control.
  • the second mobile terminal when the operation mode of the second mobile terminal is the main operation mode, the second mobile terminal detects whether the first operation information is acquired, and the second mobile terminal detects whether the First operational information;
  • the second mobile terminal When the second mobile terminal acquires the first operation information, performing the target event according to the first operation information, the second mobile terminal, when acquiring the first operation information, to the The first mobile terminal sends the first operation information to enable the first mobile terminal to perform a first operation according to the first operation information.
  • the second mobile terminal when the operation mode of the second mobile terminal is the main operation mode (that is, the second mobile terminal is the master device and the first mobile terminal is the slave device), the second mobile terminal detects whether the first operation information is generated. And transmitting the generated first operation information to the first mobile terminal to control the operation of the first mobile terminal.
  • the second mobile terminal may perform the first operation or the operation information in response to the operation information, and the specific operation may be set according to actual conditions.
  • the operation mode of the second mobile terminal when the operation mode of the second mobile terminal is the main operation mode, the first operation information generated by the second mobile terminal is sent to the first mobile terminal, so that the first mobile terminal performs the first operation according to the first operation information.
  • the second mobile terminal controls the first mobile terminal.
  • the second mobile terminal when the operation mode of the second mobile terminal is the master-slave operation mode, the second mobile terminal detects whether the first operation information is acquired, including: the second mobile terminal detects whether the second mobile terminal detects First operational information from the first mobile terminal;
  • the target event is performed according to the first operation information, including: when the second mobile terminal acquires the first operation information, according to the The first operation information performs a first operation;
  • the method further includes: the second mobile terminal detecting whether the second operation information is generated; When the second mobile terminal detects that the second operation information is generated, the second mobile terminal sends the second operation information to the first mobile terminal, so that the first mobile terminal performs according to the second operation information. The second operation.
  • the operation mode of the second mobile terminal is the master-slave operation mode (that is, the second mobile terminal is time-sharing as the master device and the slave device, correspondingly, the first mobile terminal is time-sharing as the slave device and the master device. device).
  • the operation of the second mobile terminal may be switched every preset time.
  • the second mobile terminal may be used as a slave device to receive operation information sent by the first mobile terminal and perform corresponding operations according to the operation information. After 30 ms, the second mobile terminal is switched as the master device, and the operation information generated by the second mobile terminal is detected and sent to the first mobile terminal, so that the first mobile terminal performs the corresponding operation according to the operation information, and then switches the second time again after 30 ms.
  • the mobile terminal acts as a slave device, and so on.
  • the second mobile terminal may receive the operation information from the first mobile terminal and perform an operation according to the operation information of the first mobile terminal, or may send the operation information generated by itself to the first mobile terminal.
  • the first mobile terminal is caused to perform an operation according to the operation information of the second mobile terminal, and the bidirectional control between the first mobile terminal and the second mobile is realized.
  • performing the first operation according to the first operation information including: when the first operation information is the button information of the volume key, performing a volume adjustment operation according to the button information of the volume button; When the first operation information is the button information of the power button, performing one of the following operations according to the button information of the power button: a standby operation, a wake-up operation, a shutdown operation, and a power-on operation; when the first operation information is touch information And performing an operation corresponding to the touch information; and when the first operation information is sensor information, performing an operation corresponding to the sensor information.
  • the first operation information may be button information of a volume key, button information of a power button, touch information, or sensor information.
  • the key information of the volume key may include a key value of the volume key.
  • the key value of the volume key may be reported to the application layer, and the application layer according to the volume The key value of the key performs a volume adjustment operation.
  • the button information of the power button may include a key value of the power button.
  • the key value of the power button may be reported to the application layer, and the application layer is based on the button of the power button. The value is determined to be a standby operation, a wake-up operation, a shutdown operation, or a power-on operation.
  • the touch information may include coordinate information (ie, x coordinate and y coordinate) corresponding to the touch screen, and a touch event type, and the touch event type may include a press event, a lift event, a move event, and the like.
  • the coordinate information in the touch information may be converted according to the resolution of the second mobile terminal and the resolution of the first mobile terminal, and the converted coordinate information and The touch event type is reported to the application layer, and the application layer performs a corresponding operation according to the converted coordinate information and the touch event type.
  • coordinate information conversion can be performed by using the following formula:
  • the X1 and Y1 are the horizontal resolution and the vertical resolution of the first mobile terminal, and the X2 and Y2 are the horizontal resolution and the vertical resolution of the second mobile terminal, and x1 and y1 are the touch coordinates of the first mobile terminal. X2 and y2 are touch coordinates of the second mobile terminal.
  • the sensor information may include the fingerprint information detected by the fingerprint sensor.
  • the fingerprint information is reported to the application layer, and the application layer is configured according to the fingerprint information. Perform fingerprint unlocking or fingerprint payment.
  • the second mobile terminal detecting whether the first operation information is acquired includes: at the second mobile terminal and the When the screen display interface of the first mobile terminal is the same, the second mobile terminal detects whether the first operation information is acquired.
  • the operation information is information detected by the touch screen (for example, touch coordinate information) or information detected by the sensor (for example, fingerprint information detected by the fingerprint sensor)
  • the operation information is information detected by the touch screen (for example, touch coordinate information) or information detected by the sensor (for example, fingerprint information detected by the fingerprint sensor)
  • the screen display interface of the first mobile terminal may be different from the screen display interface of the second mobile terminal, and the screen display interface of the first mobile terminal may also be the screen of the second mobile terminal.
  • the display interface is the same.
  • the operating system of the first mobile terminal and the operating system of the second mobile terminal may be the same or different.
  • the model of the first mobile terminal and the model of the second mobile terminal may be the same or different.
  • the screen display interfaces of the second mobile terminal and the first mobile terminal are set to be the same, so that the first mobile terminal can control the second mobile terminal or the second mobile terminal can be improved.
  • the accuracy of a mobile terminal control reduces misoperation.
  • the embodiment of the present application further provides a mobile terminal operating method, including the following steps:
  • Step S201 Determine an operation mode of the second mobile terminal.
  • the operation mode of the second mobile terminal includes a main operation mode, a slave operation mode, or a master-slave operation mode.
  • the foregoing main operation mode refers to that the second mobile terminal is the master device, the first mobile terminal is the slave device, and the master device controls the operation of the slave device; the slave operation mode refers to the second mobile terminal being the slave device, the first mobile terminal.
  • the terminal is a master device, and the master device controls the operation of the slave device.
  • the master-slave operation mode refers to the second mobile terminal being a master device.
  • the first mobile terminal functions as a slave device, and the second mobile terminal can also function as a slave device.
  • the device correspondingly, the first mobile terminal acts as the master device.
  • step S201 a connection manner, an operation information type, and the like of the second mobile terminal with the first mobile terminal may also be determined.
  • step S202 if the operation mode of the second mobile terminal is the slave operation mode, step S202 is performed, and if the operation mode of the second mobile terminal is the master operation mode, step S203 is performed, when the operation mode of the second mobile terminal is In the master-slave operation mode, step S204 is performed.
  • Step S202 The second mobile terminal detects whether the first operation information from the first mobile terminal is received, and when the first operation information is received, performs an operation according to the first operation information.
  • the second mobile terminal cyclically performs whether to detect the first operation information from the first mobile terminal.
  • Step S203 The second mobile terminal detects whether the second operation information is generated, and when detecting that the second operation information is generated, sends the second operation information to the first mobile terminal, so that the first mobile terminal performs the second operation information according to the second operation information. Perform the operation.
  • the second mobile terminal cyclically executes whether the detection of the second operation information is generated.
  • Step S204 The second mobile terminal performs the first event and the second event in a time-sharing manner.
  • the first event includes the following steps: detecting whether the first operation information from the first mobile terminal is received, and when receiving the first operation information, performing an operation according to the first operation information.
  • the foregoing second event includes the following steps: detecting whether the second operation information is generated, and when detecting that the second operation information is generated, transmitting the second operation information to the first mobile terminal, so that the first mobile terminal performs the second operation according to the second operation. Information is performed.
  • the second mobile terminal can work in different working modes, so that the second mobile terminal can control the operation of the first mobile terminal, and can also perform corresponding operations according to the operation information of the first terminal, thereby implementing the mobile terminal. Two-way control between.
  • the embodiment of the present application further provides a mobile terminal operating system, including a first mobile terminal 31 and a second mobile terminal 32, where the first mobile terminal 31 and the second mobile terminal 32 can be established by using a wireless manner.
  • a communication connection for example, establishing a communication connection through WIFI, Bluetooth, or the Internet.
  • the first mobile terminal 31 detects whether the operation information is generated, and transmits the detected operation information to the second mobile terminal.
  • Terminal 32 the second mobile terminal 32 performs a corresponding operation according to the received operation information from the first mobile terminal 31.
  • the first mobile terminal 31 If the first mobile terminal 31 is set to the slave operating mode and the second mobile terminal 32 is set to the master mode of operation, the first mobile terminal 31 detects whether the operation information from the second mobile terminal 32 is received, and receives the second mobile terminal. When the operation information of the terminal 32 is performed, an operation is performed according to the operation information of the second mobile terminal.
  • the first mobile terminal 31 may detect whether the operation information is generated and the detected information is generated within the first time period.
  • the operation information is transmitted to the second mobile terminal 32, and the second mobile terminal performs a corresponding operation according to the received operation information from the first mobile terminal 31.
  • the first mobile terminal 31 detects whether operation information from the second mobile terminal 32 is received, and when receiving the operation information from the second mobile terminal 32, performs an operation according to the operation information of the second mobile terminal. .
  • two connected mobile terminals can operate with each other as follows:
  • the video in the master device (that is, the first mobile terminal) can be displayed on the screen of the slave device (ie, the second mobile terminal).
  • the master device connected to the WIFI display can control the playback volume of the slave device.
  • the specific steps are as follows:
  • step a1 the first mobile terminal that plays the video is set to the master mode, the second mobile terminal is set to the slave mode, and the control volume button is set to control the local device and the remote device.
  • the above control of the local device and the remote device means that both the volume control of the master device and the volume control of the slave device are performed.
  • step b1 the user presses the volume key on the first mobile terminal.
  • the volume button information is sent to the second mobile terminal.
  • the volume button information is reported to the application layer of the first mobile terminal in response to the volume button information.
  • the first mobile terminal reports the volume button information (for example, the key value of the volume button) to the application layer, so that the application layer can transmit the volume button information to the volume adjustment function, and perform volume adjustment by calling the volume adjustment function.
  • the volume button information for example, the key value of the volume button
  • Step c1 After receiving the volume button information, the second mobile terminal analyzes and converts the received volume button information.
  • step d1 the analyzed and converted volume button information is reported to the application layer of the second mobile terminal in response to the operation of pressing the volume button.
  • step a2 the first mobile terminal that plays the video is set as the master-slave mode, the second mobile terminal is set as the master-slave mode, and the touch screen is set to control only the remote device.
  • the above only controlling the remote device means controlling only the slave device.
  • step b2 the screen is touched on the second mobile terminal, and the progress bar of the play is moved to the expected position.
  • step c2 the second mobile terminal sends the touch information to the connected first mobile terminal, and the second mobile terminal shields the touch information, that is, the second mobile terminal does not respond to the touch event corresponding to the touch information.
  • step d2 after receiving the touch screen information, the first mobile terminal analyzes and converts the touch information.
  • step e2 the analyzed and converted touch information is reported to the application layer of the first mobile terminal in response to the touch event.
  • the video playback also displays the above progress.
  • step f2 if the touch screen of the second mobile terminal is touched again, the process returns to step b2.
  • the video played by the slave device connected to the WIFI display fast forwards to the master device can also adopt the following second implementation mode:
  • step a3 the first mobile terminal that plays the video is set to the slave mode, the second mobile terminal is set to the master mode, and the touch screen is set to control only the remote device.
  • the above only controlling the remote device means controlling only the slave device.
  • Step b3 Touch the screen on the second mobile terminal, and after detecting the touch information, the second mobile terminal sends the touch information to the first mobile terminal. At the same time, the second mobile terminal shields the touch information screen, that is, the second mobile terminal does not respond to the touch event corresponding to the touch information.
  • step d3 after receiving the touch screen information, the first mobile terminal analyzes and converts the touch information.
  • step e3 the first mobile terminal reports the touch information after the analysis and the conversion to the application layer of the first mobile terminal, in response to the touch event corresponding to the touch information.
  • the video playback also displays the above progress.
  • step f3 if the touch screen of the second mobile terminal is touched again, the above step b3 is returned.
  • WIFI display also known as WIFI display
  • WIFI display is a specification developed by the WIFI Alliance (that is, the WiFI Alliance) to establish and maintain a WiFi-based connection between multimedia devices, and use this connection to advance video or The audio is rendered and played on the target device.
  • an embodiment of the present application provides a mobile terminal operating device, including:
  • the first detecting module 41 is configured to detect whether the first operation information is acquired after the first mobile terminal establishes a communication connection with the second mobile terminal;
  • the execution module 42 is configured to: when the first operation information is acquired, perform a target event according to the first operation information, where the target event comprises performing a first operation, or sending the first to the first mobile terminal An operation information to cause the first mobile terminal to perform a first operation according to the first operation information.
  • the first detection module 41 detects whether the first operation information is acquired.
  • the execution module 42 obtains the first operation information
  • the execution module 42 Determining, by the first operation information, a target event, the target event includes performing a first operation, or transmitting the first operation information to the first mobile terminal, so that the first mobile terminal performs according to the first operation information.
  • the first operation Therefore, the operation of the second mobile terminal may be controlled by the first mobile terminal, or the operation of the first terminal may be controlled by the second terminal, thereby solving the problem that the user is less convenient to operate the mobile terminal.
  • the apparatus further includes: a determining module configured to determine whether an operation mode of the second mobile terminal is determined before the first operation information is acquired, where the operation mode includes a main operation mode and a slave operation mode Or master-slave operation mode.
  • the first detecting module 41 is configured to: when the operating mode of the second mobile terminal is a slave operating mode, detecting whether the first operation information from the first mobile terminal is received;
  • the execution module 42 is configured to perform a first operation according to the first operation information when the first operation information is acquired.
  • the first detecting module 41 is configured to: detect whether the first operation information is generated when the operation mode of the second mobile terminal is the main operation mode; and the executing module 42 is configured to: And when the first operation information is acquired, sending the first operation information to the first mobile terminal, so that the first mobile terminal performs a first operation according to the first operation information.
  • the first detecting module 41 is configured to: detect whether the first operation information from the first mobile terminal is received when the operation mode of the second mobile terminal is a master-slave operation mode;
  • the execution module 42 is configured to: when the first operation information is acquired, perform a first operation according to the first operation information;
  • the device further includes: a second detecting module, configured to: after performing the first operation according to the first operation information, detecting whether to generate second operation information; Upon detecting that the second operation information is generated, transmitting the second operation information to the first mobile terminal, so that the first mobile terminal performs a second operation according to the second operation information.
  • a second detecting module configured to: after performing the first operation according to the first operation information, detecting whether to generate second operation information; Upon detecting that the second operation information is generated, transmitting the second operation information to the first mobile terminal, so that the first mobile terminal performs a second operation according to the second operation information.
  • the execution module 42 is configured to: when the first operation information is the button information of the volume button, perform a volume adjustment operation according to the button information of the volume button; and the first operation information is When the button information of the power button is used, performing one of the following operations according to the button information of the power button: a standby operation, a wake-up operation, a shutdown operation, and a power-on operation; and when the first operation information is touch information, performing the touch An operation corresponding to the information; when the first operation information is sensor information, performing an operation corresponding to the sensor information.
  • the execution module 42 is configured to: when the operation information is the information detected by the touch screen or the information detected by the fingerprint sensor, the screen display interface of the second mobile terminal and the first mobile terminal When the same, it is detected whether the first operation information is acquired.
  • the mobile terminal operating device can implement the various processes implemented by the mobile operation method in the method embodiments of FIG. 1 to FIG. 2, and can achieve the same beneficial effects. To avoid repetition, details are not described herein again.
  • each step performed by each module in the mobile terminal operating device of the embodiment of the present application may be performed by a processor of the mobile terminal, that is, the first detecting module, the executing module, the determining module, and the second detecting module are implemented.
  • the various processes can be implemented by the processor.
  • an embodiment of the present application further includes an electronic device, including:
  • the first mobile terminal After the first mobile terminal establishes a communication connection with the second mobile terminal, detecting whether the first operation information is acquired;
  • the first operation information when the first operation information is acquired, performing a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal to enable The first mobile terminal performs a first operation according to the first operation information.
  • the method before the detecting whether the first operation information is acquired, the method further includes: determining an operation mode of the second mobile terminal, where the operation mode includes a main operation mode, a slave operation mode, or a master-slave mode Operating mode.
  • detecting whether the first operation information is acquired includes: detecting whether the first operation information from the first mobile terminal is received; When the first operation information is obtained, the target event is executed according to the first operation information, and the second mobile terminal performs the first operation information according to the first operation information when the first operation information is acquired. An operation.
  • detecting whether the first operation information is acquired includes: detecting whether the first operation information is generated; and acquiring the first When the operation information is performed, performing the target event according to the first operation information, including: when the first operation information is acquired, sending the first operation information to the first mobile terminal to enable the first mobile terminal Performing a first operation according to the first operation information.
  • detecting whether the first operation information is acquired includes: detecting whether the first operation information from the first mobile terminal is received Performing the target event according to the first operation information when the first operation information is obtained, including: performing the first operation according to the first operation information when acquiring the first operation information; After the first operation information is performed, after the first operation is performed according to the first operation information, the method further includes: detecting whether the second operation information is generated; and when detecting that the second operation information is generated, The first mobile terminal sends the second operation information, so that the first mobile terminal performs a second operation according to the second operation information.
  • performing the first operation according to the first operation information including: when the first operation information is the button information of the volume key, performing a volume adjustment operation according to the button information of the volume button; When the first operation information is the button information of the power button, performing one of the following operations according to the button information of the power button: a standby operation, a wake-up operation, a shutdown operation, and a power-on operation; when the first operation information is touch information And performing an operation corresponding to the touch information; and when the first operation information is sensor information, performing an operation corresponding to the sensor information.
  • the second mobile terminal detecting whether the first operation information is acquired includes: at the second mobile terminal and the When the screen display interface of the first mobile terminal is the same, it is detected whether the first operation information is acquired.
  • the embodiment of the present application further provides a computer readable storage medium, where the computer program is stored, and when the computer program is executed by the processor, the steps in the mobile terminal operation method in any of the foregoing method embodiments are implemented.
  • the first mobile terminal After the first mobile terminal establishes a communication connection with the second mobile terminal, detecting whether the first operation information is acquired;
  • the first operation information when the first operation information is acquired, performing a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal to enable The first mobile terminal performs a first operation according to the first operation information.
  • the method before the detecting whether the first operation information is acquired, the method further includes: determining an operation mode of the second mobile terminal, where the operation mode includes a main operation mode, a slave operation mode, or a master-slave mode Operating mode.
  • detecting whether the first operation information is acquired includes: detecting whether the first operation information from the first mobile terminal is received; When the first operation information is obtained, the target event is executed according to the first operation information, and the second mobile terminal performs the first operation information according to the first operation information when the first operation information is acquired. An operation.
  • detecting whether the first operation information is acquired includes: detecting whether the first operation information is generated; and acquiring the first When the operation information is performed, performing the target event according to the first operation information, including: when the first operation information is acquired, sending the first operation information to the first mobile terminal to enable the first mobile terminal Performing a first operation according to the first operation information.
  • detecting whether the first operation information is acquired includes: detecting whether the first operation information from the first mobile terminal is received Performing the target event according to the first operation information when the first operation information is obtained, including: performing the first operation according to the first operation information when acquiring the first operation information; After the first operation information is performed, after the first operation is performed according to the first operation information, the method further includes: detecting whether the second operation information is generated; and when detecting that the second operation information is generated, The first mobile terminal sends the second operation information, so that the first mobile terminal performs a second operation according to the second operation information.
  • performing the first operation according to the first operation information including: when the first operation information is the button information of the volume key, performing a volume adjustment operation according to the button information of the volume button; When the first operation information is the button information of the power button, performing one of the following operations according to the button information of the power button: a standby operation, a wake-up operation, a shutdown operation, and a power-on operation; when the first operation information is touch information And performing an operation corresponding to the touch information; and when the first operation information is sensor information, performing an operation corresponding to the sensor information.
  • the second mobile terminal detecting whether the first operation information is acquired includes: at the second mobile terminal and the When the screen display interface of the first mobile terminal is the same, it is detected whether the first operation information is acquired.
  • the storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the second mobile terminal detects whether the first operation information is acquired; the second mobile terminal acquires the When the first operation information is performed, performing a target event according to the first operation information, the target event includes performing a first operation, or transmitting the first operation information to the first mobile terminal to enable the first mobile terminal Performing a first operation according to the first operation information. Therefore, the operation of the second mobile terminal may be controlled by the first mobile terminal, or the operation of the first terminal may be controlled by the second terminal, thereby solving the problem that the user is less convenient to operate the mobile terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

A method and apparatus for operating a mobile terminal, an electronic device, and a computer readable storage medium. The method comprises: after a communication connection is established between a first mobile terminal and a second mobile terminal, the second mobile terminal detects whether first operation information is acquired (S101); and when acquiring the first operation information, the second mobile terminal executes a target event according to the first operation information, the target event comprising executing a first operation or sending the first operation information to the first mobile terminal to enable the first mobile terminal to execute a first operation according to the first operation information (S102).

Description

移动终端操作方法及装置、电子设备、计算机可读存储介质Mobile terminal operating method and device, electronic device, and computer readable storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201710270390.8、申请日为2017年04月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 24, 2017, filed on-
技术领域Technical field
本申请涉及通信技术领域,特别涉及一种移动终端操作方法及装置、电子设备、计算机可读存储介质。The present application relates to the field of communications technologies, and in particular, to a mobile terminal operating method and apparatus, an electronic device, and a computer readable storage medium.
背景技术Background technique
随着移动终端(例如,智能手机、平板电脑等)功能的日益丰富,用户对于移动终端的依赖性越来越强。在使用移动终端的过程中,存在一些情形用户不便于对该移动终端进行操作,例如,在移动终端充电的时候,或是移动终端的某个输入模块存在故障的时候,从而影响用户使用体验。With the increasing functionality of mobile terminals (eg, smartphones, tablets, etc.), users are increasingly dependent on mobile terminals. In the process of using the mobile terminal, there are some situations in which the user is inconvenient to operate the mobile terminal, for example, when the mobile terminal is charging, or when an input module of the mobile terminal is faulty, thereby affecting the user experience.
现有技术中针对用户操作移动终端较为不便捷的问题,目前尚未提出有效的解决方案。In the prior art, for the problem that the user operates the mobile terminal is relatively inconvenient, an effective solution has not been proposed yet.
申请内容Application content
本申请实施例的目的在于提供一种移动终端操作方法及装置、电子设备、计算机可读存储介质,解决了用户操作移动终端较为不便捷的问题。The purpose of the embodiments of the present application is to provide a mobile terminal operating method and device, an electronic device, and a computer readable storage medium, which solve the problem that the user operates the mobile terminal more conveniently.
为了达到上述目的,本申请实施例提供一种移动终端操作方法。该方法包括:在第一移动终端和第二移动终端建立通信连接后,所述第二移动终端检测是否获取到第一操作信息;所述第二移动终端在获取到所述第一 操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。In order to achieve the above objective, an embodiment of the present application provides a method for operating a mobile terminal. The method includes: after the first mobile terminal establishes a communication connection with the second mobile terminal, the second mobile terminal detects whether the first operation information is acquired; and when the second mobile terminal acquires the first operation information, Performing a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal, so that the first mobile terminal is according to the first The operation information performs the first operation.
本申请实施例还提供一种移动终端操作装置。该装置包括:第一检测模块,配置为在第一移动终端和第二移动终端建立通信连接后,检测是否获取到第一操作信息;执行模块,配置为在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。The embodiment of the present application further provides a mobile terminal operating device. The device includes: a first detecting module, configured to detect whether the first operation information is acquired after the first mobile terminal and the second mobile terminal establish a communication connection; and the executing module is configured to: when the first operation information is acquired Performing a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal, so that the first mobile terminal is according to the first The operation information performs the first operation.
本申请实施例还提供一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述一个或多个处理器执行,所述程序被执行时实现上述移动终端操作方法中的步骤。An embodiment of the present application further provides an electronic device, including: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory, and configured to Executed by the one or more processors, the program is implemented to implement the steps in the above mobile terminal operating method.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述移动终端操作方法中的步骤。The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored thereon, and when the computer program is executed by the processor, the steps in the mobile terminal operation method are implemented.
上述技术方案中的一个技术方案具有如下优点或有益效果:One of the above technical solutions has the following advantages or benefits:
本申请实施例通过在第一移动终端和第二移动终端建立通信连接后,所述第二移动终端检测是否获取到第一操作信息;所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。从而可以通过第一移动终端控制第二移动终端的操作,或是通过第二终端控制第一终端的操作,解决了用户操作移动终端较为不便捷的问题。After the first mobile terminal and the second mobile terminal establish a communication connection, the second mobile terminal detects whether the first operation information is acquired, and the second mobile terminal acquires the first operation information. And executing, according to the first operation information, a target event, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal, so that the first mobile terminal is according to the first An operation information performs a first operation. Therefore, the operation of the second mobile terminal may be controlled by the first mobile terminal, or the operation of the first terminal may be controlled by the second terminal, thereby solving the problem that the user is less convenient to operate the mobile terminal.
附图说明DRAWINGS
图1为本申请实施例提供的移动终端操作方法的流程图;FIG. 1 is a flowchart of a method for operating a mobile terminal according to an embodiment of the present application;
图2为本申请又一实施例提供的移动终端操作方法的流程图;FIG. 2 is a flowchart of a method for operating a mobile terminal according to another embodiment of the present disclosure;
图3为本申请实施例提供的移动终端操作系统的示意图;FIG. 3 is a schematic diagram of a mobile terminal operating system according to an embodiment of the present application;
图4为本申请实施例提供的移动终端操作装置的示意图;4 is a schematic diagram of a mobile terminal operating device according to an embodiment of the present application;
图5为本申请实施例提供的电子设备的示意图。FIG. 5 is a schematic diagram of an electronic device according to an embodiment of the present application.
具体实施方式detailed description
为使本申请要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages of the present application more clear, the following detailed description will be made with reference to the accompanying drawings and specific embodiments.
如图1所示,本申请实施例提供一种移动终端操作方法,包括以下步骤:As shown in FIG. 1 , an embodiment of the present application provides a mobile terminal operation method, including the following steps:
步骤S101、在第一移动终端和第二移动终端建立通信连接后,所述第二移动终端检测是否获取到第一操作信息。Step S101: After the first mobile terminal establishes a communication connection with the second mobile terminal, the second mobile terminal detects whether the first operation information is acquired.
本实施例中,第一移动终端和第二移动终端可以是平板电脑、智能手机等。可选的,第一移动终端和第二移动终端可以通过无线方式建立通信连接,例如,通过WIFI、蓝牙或互联网等建立通信连接。第一操作信息可以是第一移动终端响应于用户的操作生成的操作信息,也可以是接收的来自于第二移动终端的操作信息。在一实施方式中,所述第一操作信息可以包括按键信息、触摸屏检测到的信息或传感器检测到的信息,其中,所述按键信息包括音量键的按键信息或电源键的按键信息,所述触摸屏检测到的信息包括针对触摸屏的触摸坐标信息,所述传感器检测到的信息包括指纹传感器检测到的指纹信息。In this embodiment, the first mobile terminal and the second mobile terminal may be a tablet computer, a smart phone, or the like. Optionally, the first mobile terminal and the second mobile terminal may establish a communication connection by using a wireless manner, for example, establishing a communication connection through WIFI, Bluetooth, or the Internet. The first operation information may be operation information generated by the first mobile terminal in response to the user's operation, or may be received operation information from the second mobile terminal. In an embodiment, the first operation information may include button information, information detected by the touch screen, or information detected by the sensor, where the button information includes button information of a volume key or button information of a power button, The information detected by the touch screen includes touch coordinate information for the touch screen, and the information detected by the sensor includes fingerprint information detected by the fingerprint sensor.
步骤S102、所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。Step S102: When acquiring the first operation information, the second mobile terminal performs a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation to the first mobile terminal. The first operation information is configured to cause the first mobile terminal to perform a first operation according to the first operation information.
在本实施例中,在第二移动终端获取到第一操作信息时,根据第一操 作信息执行目标事件,具体的,若第一操作信息是接收的来自于第一移动终端的操作信息,则根据第一操作信息执行第一操作,例如,在第二移动终端接收到第一移动终端发送的音量键的按键信息,根据该按键信息执行音量调节操作。若第一操作信息是第二移动终端生成的操作信息,则将第一操作信息发送给第一移动终端,以使所述第一移动终端根据所述第一操作信息执行第一操作,例如,将用户操作第二移动终端的音量键生成的按键信息发送给第一移动终端,第一移动终端根据该按键信息执行音量调节操作。In this embodiment, when the second mobile terminal acquires the first operation information, the target event is executed according to the first operation information. Specifically, if the first operation information is the received operation information from the first mobile terminal, The first operation is performed according to the first operation information. For example, the second mobile terminal receives the button information of the volume key sent by the first mobile terminal, and performs a volume adjustment operation according to the button information. And if the first operation information is the operation information generated by the second mobile terminal, sending the first operation information to the first mobile terminal, so that the first mobile terminal performs the first operation according to the first operation information, for example, The button information generated by the user operating the volume key of the second mobile terminal is sent to the first mobile terminal, and the first mobile terminal performs a volume adjustment operation according to the button information.
由上可知,本实施例中用户可以通过操作第一移动终端远程控制第二移动终端的操作或是通过操作第二移动终端远程控制第一移动终端的操作,从而用户可以在不便直接操作移动终端A时通过与其相连的另一移动终端B远程控制移动终端A的操作。It can be seen that, in this embodiment, the user can remotely control the operation of the second mobile terminal by operating the first mobile terminal or remotely control the operation of the first mobile terminal by operating the second mobile terminal, so that the user can directly operate the mobile terminal inconveniently. At time A, the operation of the mobile terminal A is remotely controlled by another mobile terminal B connected thereto.
本实施例通过在第一移动终端和第二移动终端建立通信连接后,所述第二移动终端检测是否获取到第一操作信息;所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。从而可以通过第一移动终端控制第二移动终端的操作,或是通过第二终端控制第一终端的操作,解决了用户操作移动终端较为不便捷的问题。In this embodiment, after the first mobile terminal and the second mobile terminal establish a communication connection, the second mobile terminal detects whether the first operation information is acquired; when the second mobile terminal acquires the first operation information, Performing a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal, so that the first mobile terminal is according to the first The operation information performs the first operation. Therefore, the operation of the second mobile terminal may be controlled by the first mobile terminal, or the operation of the first terminal may be controlled by the second terminal, thereby solving the problem that the user is less convenient to operate the mobile terminal.
在一实施方式中,所述第二移动终端检测是否获取到第一操作信息之前,所述方法还包括:确定所述第二移动终端的操作模式,所述操作模式包括主操作模式、从操作模式或主从操作模式。In an embodiment, before the second mobile terminal detects whether the first operation information is acquired, the method further includes: determining an operation mode of the second mobile terminal, where the operation mode includes a main operation mode, a slave operation Mode or master-slave mode of operation.
本实施例中,上述主操作模式是指当前移动终端为主设备,与其连接的移动终端为从设备(也即第二移动终端为主设备,第一移动终端为从设备),通过主设备控制从设备的操作;上述从操作模式是指当前移动终端为 从设备,与其连接的移动终端为主设备(也即第二移动终端为从设备,第一移动终端为主设备),通过主设备控制从设备的操作;上述主从操作模式是指当前移动终端即可以作为主设备,也可以作为从设备,对应的,与其连接的移动终端即可以作为从设备,也可以作为主设备。本实施例通过设置多种操作模式供用户选择,使得移动终端之间的控制更加灵活和方便。In this embodiment, the foregoing main operation mode refers to that the current mobile terminal is a master device, and the mobile terminal connected thereto is a slave device (that is, the second mobile terminal is a master device, and the first mobile terminal is a slave device), and is controlled by the master device. The slave operation mode refers to that the current mobile terminal is a slave device, and the mobile terminal connected thereto is a master device (that is, the second mobile terminal is a slave device, and the first mobile terminal is a master device), and is controlled by the master device. The operation of the slave device; the above-mentioned master-slave operation mode means that the current mobile terminal can be used as a master device or a slave device, and the mobile terminal connected thereto can be used as a slave device or a master device. In this embodiment, a plurality of operation modes are set for the user to select, so that the control between the mobile terminals is more flexible and convenient.
在本实施中,在第二移动终端检测是否获取到第一操作信息之前,先确定第二移动终端的操作模式,具体的,可以在第二移动终端开始执行上述移动终端操作方法时弹出设置界面以接收用户设置的第二移动终端的操作模式,也可以是通过获取用户预先设置的第二移动终端的操作模式。In this implementation, before the second mobile terminal detects whether the first operation information is acquired, the operation mode of the second mobile terminal is determined. Specifically, the setting interface may be popped up when the second mobile terminal starts to execute the mobile terminal operation method. The operation mode of the second mobile terminal set by the user may be obtained by acquiring the operation mode of the second mobile terminal preset by the user.
需要说明的是,本实施例可以预先设置上述操作模式、移动终端之间的连接方式和/或操作信息类型,其中,操作模式包括主操作模式、从操作模式或主从操作模式,连接方式可以包括WIFI连接、蓝牙连接或互联网连接,操作信息类型可以包括按键信息、触摸信息或传感器信息。It should be noted that, in this embodiment, the foregoing operation mode, the connection mode between the mobile terminals, and/or the operation information type may be preset, wherein the operation mode includes a main operation mode, a slave operation mode, or a master-slave operation mode, and the connection mode may be Including WIFI connection, Bluetooth connection or internet connection, the operation information type may include button information, touch information or sensor information.
在一实施方式中,当所述第二移动终端的操作模式为从操作模式时,所述第二移动终端检测是否获取到第一操作信息,包括:所述第二移动终端检测是否接收到来自所述第一移动终端的第一操作信息;In an embodiment, when the operation mode of the second mobile terminal is a slave operation mode, the second mobile terminal detects whether the first operation information is acquired, including: the second mobile terminal detects whether the First operation information of the first mobile terminal;
所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作。When the second mobile terminal acquires the first operation information, the target event is performed according to the first operation information, including: when the second mobile terminal acquires the first operation information, according to the The first operation information performs a first operation.
在本实施例中,当第二移动终端的操作模式为从操作模式时(也即第二移动终端为从设备,第一移动终端为主设备),所述第二移动终端检测是否接收到来自所述第一移动终端的第一操作信息,并在接收到来自所述第一移动终端的第一操作信息时根据第一操作信息执行第一操作,实现了第一移动终端对第二移动终端的控制。In this embodiment, when the operation mode of the second mobile terminal is the slave operation mode (that is, the second mobile terminal is the slave device, the first mobile terminal is the master device), the second mobile terminal detects whether the slave terminal receives The first operation information of the first mobile terminal, and performing the first operation according to the first operation information when receiving the first operation information from the first mobile terminal, implementing the first mobile terminal to the second mobile terminal control.
在一实施方式中,当所述第二移动终端的操作模式为主操作模式时, 所述第二移动终端检测是否获取到第一操作信息,包括:所述第二移动终端检测是否生成所述第一操作信息;In an embodiment, when the operation mode of the second mobile terminal is the main operation mode, the second mobile terminal detects whether the first operation information is acquired, and the second mobile terminal detects whether the First operational information;
所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:所述第二移动终端在获取到所述第一操作信息时,向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。When the second mobile terminal acquires the first operation information, performing the target event according to the first operation information, the second mobile terminal, when acquiring the first operation information, to the The first mobile terminal sends the first operation information to enable the first mobile terminal to perform a first operation according to the first operation information.
在本实施例中,当第二移动终端的操作模式为主操作模式时(也即第二移动终端为主设备,第一移动终端为从设备),第二移动终端检测是否生成第一操作信息,并将生成了的第一操作信息发送给第一移动终端,以控制第一移动终端的操作。In this embodiment, when the operation mode of the second mobile terminal is the main operation mode (that is, the second mobile terminal is the master device and the first mobile terminal is the slave device), the second mobile terminal detects whether the first operation information is generated. And transmitting the generated first operation information to the first mobile terminal to control the operation of the first mobile terminal.
需要说明的是,对于第一操作信息,第二移动终端既可以响应该操作信息执行第一操作,也可屏蔽该操作信息,具体的可以根据实际情况进行设置。It should be noted that, for the first operation information, the second mobile terminal may perform the first operation or the operation information in response to the operation information, and the specific operation may be set according to actual conditions.
本实施例在第二移动终端的操作模式为主操作模式时,将第二移动终端生成的第一操作信息送给第一移动终端,以使第一移动终端根据第一操作信息执行第一操作,实现了第二移动终端对第一移动终端的控制。In this embodiment, when the operation mode of the second mobile terminal is the main operation mode, the first operation information generated by the second mobile terminal is sent to the first mobile terminal, so that the first mobile terminal performs the first operation according to the first operation information. The second mobile terminal controls the first mobile terminal.
在一实施方式中,当所述第二移动终端的操作模式为主从操作模式时,所述第二移动终端检测是否获取到第一操作信息,包括:所述第二移动终端检测是否接收到来自所述第一移动终端的第一操作信息;In an embodiment, when the operation mode of the second mobile terminal is the master-slave operation mode, the second mobile terminal detects whether the first operation information is acquired, including: the second mobile terminal detects whether the second mobile terminal detects First operational information from the first mobile terminal;
所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作;When the second mobile terminal acquires the first operation information, the target event is performed according to the first operation information, including: when the second mobile terminal acquires the first operation information, according to the The first operation information performs a first operation;
所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作之后,所述方法还包括:所述第二移动终端检测是否生成第二操作信息;所述第二移动终端在检测到生成了所述第二操作信息时, 向所述第一移动终端发送所述第二操作信息,以使所述第一移动终端根据所述第二操作信息执行第二操作。After the second mobile terminal obtains the first operation information, after performing the first operation according to the first operation information, the method further includes: the second mobile terminal detecting whether the second operation information is generated; When the second mobile terminal detects that the second operation information is generated, the second mobile terminal sends the second operation information to the first mobile terminal, so that the first mobile terminal performs according to the second operation information. The second operation.
在本实施例中,当第二移动终端的操作模式为主从操作模式时(也即第二移动终端分时作为主设备和从设备,相应的,第一移动终端分时作为从设备和主设备)。具体的,可以每隔预设时间切换第二移动终端的操作,例如,可以在启动时将第二移动终端作为从设备,接收第一移动终端发送的操作信息并根据该操作信息执行对应的操作,30ms后切换第二移动终端作为主设备,检测第二移动终端生成的操作信息并发送给第一移动终端,以使第一移动终端根据该操作信息执行对应的操作,30ms后再次切换第二移动终端作为从设备,以此类推。In this embodiment, when the operation mode of the second mobile terminal is the master-slave operation mode (that is, the second mobile terminal is time-sharing as the master device and the slave device, correspondingly, the first mobile terminal is time-sharing as the slave device and the master device. device). Specifically, the operation of the second mobile terminal may be switched every preset time. For example, the second mobile terminal may be used as a slave device to receive operation information sent by the first mobile terminal and perform corresponding operations according to the operation information. After 30 ms, the second mobile terminal is switched as the master device, and the operation information generated by the second mobile terminal is detected and sent to the first mobile terminal, so that the first mobile terminal performs the corresponding operation according to the operation information, and then switches the second time again after 30 ms. The mobile terminal acts as a slave device, and so on.
由上可知,本实施例中,第二移动终端可以接收来自第一移动终端的操作信息并根据第一移动终端的操作信息执行操作,也可以发送自身生成的操作信息给第一移动终端,以使第一移动终端根据第二移动终端的操作信息执行操作,实现了第一移动终端和第二移动之间的双向控制。As can be seen from the above, in the embodiment, the second mobile terminal may receive the operation information from the first mobile terminal and perform an operation according to the operation information of the first mobile terminal, or may send the operation information generated by itself to the first mobile terminal. The first mobile terminal is caused to perform an operation according to the operation information of the second mobile terminal, and the bidirectional control between the first mobile terminal and the second mobile is realized.
在一实施方式中,根据所述第一操作信息执行第一操作,包括:在所述第一操作信息为音量键的按键信息时,根据所述音量键的按键信息执行音量调节操作;在所述第一操作信息为电源键的按键信息时,根据所述电源键的按键信息执行如下操作之一:待机操作、唤醒操作、关机操作和开机操作;在所述第一操作信息为触摸信息时,执行与所述触摸信息对应的操作;在所述第一操作信息为传感器信息时,执行与所述传感器信息对应的操作。In an embodiment, performing the first operation according to the first operation information, including: when the first operation information is the button information of the volume key, performing a volume adjustment operation according to the button information of the volume button; When the first operation information is the button information of the power button, performing one of the following operations according to the button information of the power button: a standby operation, a wake-up operation, a shutdown operation, and a power-on operation; when the first operation information is touch information And performing an operation corresponding to the touch information; and when the first operation information is sensor information, performing an operation corresponding to the sensor information.
本实施例中,第一操作信息可以是音量键的按键信息、电源键的按键信息、触摸信息或传感器信息。In this embodiment, the first operation information may be button information of a volume key, button information of a power button, touch information, or sensor information.
在一实施方式中,音量键的按键信息可以包括音量键的键值,在所述第一操作信息为音量键的按键信息时,可以将音量键的键值上报给应用层, 应用层根据音量键的键值执行音量调节操作。In an embodiment, the key information of the volume key may include a key value of the volume key. When the first operation information is the key information of the volume key, the key value of the volume key may be reported to the application layer, and the application layer according to the volume The key value of the key performs a volume adjustment operation.
同样的,电源键的按键信息可以包括电源键的键值,在所述第一操作信息为电源键的按键信息时,可以将电源键的键值上报给应用层,应用层根据电源键的键值确定是执行待机操作、唤醒操作、关机操作或开机操作。Similarly, the button information of the power button may include a key value of the power button. When the first operation information is the button information of the power button, the key value of the power button may be reported to the application layer, and the application layer is based on the button of the power button. The value is determined to be a standby operation, a wake-up operation, a shutdown operation, or a power-on operation.
在一实施方式中,触摸信息可以包括在触摸屏上所对应的坐标信息(也即x坐标和y坐标),以及触摸事件类型,触摸事件类型可以包括压下事件、抬起事件和移动事件等。具体的,在所述第一操作信息为触摸信息时,可以根据第二移动终端的分辨率和第一移动终端的分辨率对触摸信息中的坐标信息进行转换,并将转换后的坐标信息和触摸事件类型上报给应用层,应用层根据转换后的坐标信息和触摸事件类型执行对应的操作。In an embodiment, the touch information may include coordinate information (ie, x coordinate and y coordinate) corresponding to the touch screen, and a touch event type, and the touch event type may include a press event, a lift event, a move event, and the like. Specifically, when the first operation information is touch information, the coordinate information in the touch information may be converted according to the resolution of the second mobile terminal and the resolution of the first mobile terminal, and the converted coordinate information and The touch event type is reported to the application layer, and the application layer performs a corresponding operation according to the converted coordinate information and the touch event type.
具体的,本实施例可以采用以下公式进行坐标信息转换:Specifically, in this embodiment, coordinate information conversion can be performed by using the following formula:
X1/x1=X2/x2,Y1/y1=Y2/y2X1/x1=X2/x2, Y1/y1=Y2/y2
其中,上述X1、Y1为第一移动终端的横向分辨率和纵向分辨率,上述X2、Y2为第二移动终端的横向分辨率和纵向分辨率,x1、y1为第一移动终端的触摸坐标,x2、y2为第二移动终端的触摸坐标。The X1 and Y1 are the horizontal resolution and the vertical resolution of the first mobile terminal, and the X2 and Y2 are the horizontal resolution and the vertical resolution of the second mobile terminal, and x1 and y1 are the touch coordinates of the first mobile terminal. X2 and y2 are touch coordinates of the second mobile terminal.
在一实施方式中,传感器信息可以包括指纹传感器检测到的指纹信息,在所述第一操作信息为指纹传感器检测到的指纹信息时,将指纹信息传上报给应用层,应用层根据该指纹信息执行指纹解锁或是指纹支付等操作。In an embodiment, the sensor information may include the fingerprint information detected by the fingerprint sensor. When the first operation information is the fingerprint information detected by the fingerprint sensor, the fingerprint information is reported to the application layer, and the application layer is configured according to the fingerprint information. Perform fingerprint unlocking or fingerprint payment.
在一实施方式中,所述操作信息为触摸屏检测到的信息或是传感器检测到的信息时,所述第二移动终端检测是否获取到第一操作信息包括:在所述第二移动终端和所述第一移动终端的屏幕显示界面相同时,所述第二移动终端检测是否获取到第一操作信息。In an embodiment, when the operation information is the information detected by the touch screen or the information detected by the sensor, the second mobile terminal detecting whether the first operation information is acquired includes: at the second mobile terminal and the When the screen display interface of the first mobile terminal is the same, the second mobile terminal detects whether the first operation information is acquired.
在本实施例中,当操作信息为触摸屏检测到的信息(例如,触摸坐标信息)或是传感器检测到的信息(例如,指纹传感器检测到的指纹信息)时,为了提高控制的准确性,需要将第一移动终端的屏幕显示界面和第二 移动终端的屏幕显示界面设置为相同,例如,第一移动终端和第二移动终端的屏幕当前均显示相同的网页界面或视频播放界面或支付界面等。In this embodiment, when the operation information is information detected by the touch screen (for example, touch coordinate information) or information detected by the sensor (for example, fingerprint information detected by the fingerprint sensor), in order to improve the accuracy of the control, it is required Setting the screen display interface of the first mobile terminal and the screen display interface of the second mobile terminal to be the same, for example, the screens of the first mobile terminal and the second mobile terminal currently display the same webpage interface or video playing interface or payment interface, etc. .
需要说明的是,当操作信息为按键信息时,第一移动终端的屏幕显示界面可以和第二移动终端的屏幕显示界面不同,第一移动终端的屏幕显示界面也可以和第二移动终端的屏幕显示界面相同。It should be noted that when the operation information is the button information, the screen display interface of the first mobile terminal may be different from the screen display interface of the second mobile terminal, and the screen display interface of the first mobile terminal may also be the screen of the second mobile terminal. The display interface is the same.
需要说明的是,第一移动终端的操作系统和第二移动终端的操作系统可以相同,也可以不同。第一移动终端的型号和第二移动终端的型号可以相同,也可以不同。It should be noted that the operating system of the first mobile terminal and the operating system of the second mobile terminal may be the same or different. The model of the first mobile terminal and the model of the second mobile terminal may be the same or different.
本实施例在操作信息为触摸信息时,将第二移动终端和第一移动终端的屏幕显示界面设置为相同,从而可以提高第一移动终端对第二移动终端控制或是第二移动终端对第一移动终端控制的准确性,减少误操作。In this embodiment, when the operation information is touch information, the screen display interfaces of the second mobile terminal and the first mobile terminal are set to be the same, so that the first mobile terminal can control the second mobile terminal or the second mobile terminal can be improved. The accuracy of a mobile terminal control reduces misoperation.
如图2所示,本申请实施例还提供一种移动终端操作方法,包括以下步骤:As shown in FIG. 2, the embodiment of the present application further provides a mobile terminal operating method, including the following steps:
步骤S201、确定第二移动终端的操作模式。Step S201: Determine an operation mode of the second mobile terminal.
第二移动终端的操作模式包括主操作模式、从操作模式或主从操作模式。其中,上述主操作模式是指第二移动终端为主设备,第一移动终端为从设备,通过主设备控制从设备的操作;上述从操作模式是指第二移动终端为从设备,第一移动终端为主设备,通过主设备控制从设备的操作;上述主从操作模式是指第二移动终端即可以作为主设备,相应的,第一移动终端作为从设备,第二移动终端也可以作为从设备,相应的,第一移动终端作为主设备。The operation mode of the second mobile terminal includes a main operation mode, a slave operation mode, or a master-slave operation mode. The foregoing main operation mode refers to that the second mobile terminal is the master device, the first mobile terminal is the slave device, and the master device controls the operation of the slave device; the slave operation mode refers to the second mobile terminal being the slave device, the first mobile terminal. The terminal is a master device, and the master device controls the operation of the slave device. The master-slave operation mode refers to the second mobile terminal being a master device. Correspondingly, the first mobile terminal functions as a slave device, and the second mobile terminal can also function as a slave device. The device, correspondingly, the first mobile terminal acts as the master device.
在一实施方式中,在步骤S201中,还可以确定第二移动终端与第一移动终端的连接方式、操作信息类型等。In an embodiment, in step S201, a connection manner, an operation information type, and the like of the second mobile terminal with the first mobile terminal may also be determined.
在本实施例中,如果第二移动终端的操作模式为从操作模式时,执行步骤S202,如果第二移动终端的操作模式为主操作模式时,执行步骤S203, 当第二移动终端的操作模式为主从操作模式时,执行步骤S204。In this embodiment, if the operation mode of the second mobile terminal is the slave operation mode, step S202 is performed, and if the operation mode of the second mobile terminal is the master operation mode, step S203 is performed, when the operation mode of the second mobile terminal is In the master-slave operation mode, step S204 is performed.
步骤S202、第二移动终端检测是否接收到来自第一移动终端的第一操作信息,并在接收到第一操作信息时,根据第一操作信息执行操作。Step S202: The second mobile terminal detects whether the first operation information from the first mobile terminal is received, and when the first operation information is received, performs an operation according to the first operation information.
需要说明的是,如果第二移动终端未接收到来自第一移动终端的第一操作信息,第二移动终端循环执行是否接收到来自上述第一移动终端的第一操作信息的检测。It should be noted that, if the second mobile terminal does not receive the first operation information from the first mobile terminal, the second mobile terminal cyclically performs whether to detect the first operation information from the first mobile terminal.
步骤S203、第二移动终端检测是否生成第二操作信息,并在检测到生成了第二操作信息时,将第二操作信息发送给第一移动终端,以使第一移动终端根据第二操作信息执行操作。Step S203: The second mobile terminal detects whether the second operation information is generated, and when detecting that the second operation information is generated, sends the second operation information to the first mobile terminal, so that the first mobile terminal performs the second operation information according to the second operation information. Perform the operation.
需要说明的是,如果第二移动终端未检测到生成了第二操作信息,第二移动终端循环执行是否生成了上述第二操作信息的检测。It should be noted that, if the second mobile terminal does not detect that the second operation information is generated, the second mobile terminal cyclically executes whether the detection of the second operation information is generated.
步骤S204、第二移动终端分时执行第一事件和第二事件。Step S204: The second mobile terminal performs the first event and the second event in a time-sharing manner.
其中,上述第一事件包括如下步骤:检测是否接收到来自第一移动终端的第一操作信息,并在接收到第一操作信息时,根据第一操作信息执行操作。上述第二事件包括如下步骤:检测是否生成第二操作信息,并在检测到生成了第二操作信息时,将第二操作信息发送给第一移动终端,以使第一移动终端根据第二操作信息执行操作。The first event includes the following steps: detecting whether the first operation information from the first mobile terminal is received, and when receiving the first operation information, performing an operation according to the first operation information. The foregoing second event includes the following steps: detecting whether the second operation information is generated, and when detecting that the second operation information is generated, transmitting the second operation information to the first mobile terminal, so that the first mobile terminal performs the second operation according to the second operation. Information is performed.
本实施例中,第二移动终端可以工作在不同的工作模式下,从而第二移动终端可以控制第一移动终端的操作,也可以根据第一终端的操作信息执行对应的操作,实现了移动终端之间的双向控制。In this embodiment, the second mobile terminal can work in different working modes, so that the second mobile terminal can control the operation of the first mobile terminal, and can also perform corresponding operations according to the operation information of the first terminal, thereby implementing the mobile terminal. Two-way control between.
如图3所示,本申请实施例还提供一种移动终端操作系统,包括第一移动终端31和第二移动终端32,其中,第一移动终端31和第二移动终端32可以通过无线方式建立通信连接,例如,通过WIFI、蓝牙或互联网等建立通信连接。As shown in FIG. 3, the embodiment of the present application further provides a mobile terminal operating system, including a first mobile terminal 31 and a second mobile terminal 32, where the first mobile terminal 31 and the second mobile terminal 32 can be established by using a wireless manner. A communication connection, for example, establishing a communication connection through WIFI, Bluetooth, or the Internet.
具体的,若第一移动终端31设置为主操作模式,第二移动终端32设 置为从工作模式,则第一移动终端31检测是否生成操作信息,并将检测到的操作信息发送给第二移动终端32。相应的,第二移动终端32根据接收到的来自第一移动终端31的操作信息,执行对应的操作。Specifically, if the first mobile terminal 31 is set to the main operation mode and the second mobile terminal 32 is set to the slave operation mode, the first mobile terminal 31 detects whether the operation information is generated, and transmits the detected operation information to the second mobile terminal. Terminal 32. Correspondingly, the second mobile terminal 32 performs a corresponding operation according to the received operation information from the first mobile terminal 31.
若第一移动终端31设置为从操作模式,第二移动终端32设置为主工作模式,则第一移动终端31检测是否接收到来自第二移动终端32的操作信息,在接收到来自第二移动终端32的操作信息时,根据第二移动终端的操作信息执行操作。If the first mobile terminal 31 is set to the slave operating mode and the second mobile terminal 32 is set to the master mode of operation, the first mobile terminal 31 detects whether the operation information from the second mobile terminal 32 is received, and receives the second mobile terminal. When the operation information of the terminal 32 is performed, an operation is performed according to the operation information of the second mobile terminal.
若第一移动终端31设置为主从操作模式,第二移动终端32设置为主从工作模式,则可以在第一时间段内,第一移动终端31检测是否生成操作信息,并将检测到的操作信息发送给第二移动终端32,第二移动终端根据接收到的来自第一移动终端31的操作信息,执行对应的操作。在第二时间段内,第一移动终端31检测是否接收到来自第二移动终端32的操作信息,在接收到来自第二移动终端32的操作信息时,根据第二移动终端的操作信息执行操作。If the first mobile terminal 31 is set to the master-slave operation mode and the second mobile terminal 32 is set to the master-slave mode, the first mobile terminal 31 may detect whether the operation information is generated and the detected information is generated within the first time period. The operation information is transmitted to the second mobile terminal 32, and the second mobile terminal performs a corresponding operation according to the received operation information from the first mobile terminal 31. During the second time period, the first mobile terminal 31 detects whether operation information from the second mobile terminal 32 is received, and when receiving the operation information from the second mobile terminal 32, performs an operation according to the operation information of the second mobile terminal. .
以下以实例对上述实施例的应用场景进行说明:The following describes the application scenario of the foregoing embodiment by using an example:
在使用WIFI display功能时,连接的两个移动终端可以相互操作,具体如下:When using the WIFI display function, two connected mobile terminals can operate with each other as follows:
第一移动终端与第二移动终端通过WIFI display连接后,即可将主设备(也即第一移动终端)中的视频在从设备(也即第二移动终端)屏幕上显示。After the first mobile terminal and the second mobile terminal are connected through the WIFI display, the video in the master device (that is, the first mobile terminal) can be displayed on the screen of the slave device (ie, the second mobile terminal).
此时,可以通过WIFI display连接的主设备控制从设备的播放音量,具体步骤如下:At this time, the master device connected to the WIFI display can control the playback volume of the slave device. The specific steps are as follows:
步骤a1,将播放视频的第一移动终端设置为主模式,将第二移动终端设置为从模式,设定控制音量按键,控制本地设备和远程设备。In step a1, the first mobile terminal that plays the video is set to the master mode, the second mobile terminal is set to the slave mode, and the control volume button is set to control the local device and the remote device.
上述控制本地设备和远程设备是指既对主设备进行音量控制,也对从 设备进行音量控制。The above control of the local device and the remote device means that both the volume control of the master device and the volume control of the slave device are performed.
步骤b1,用户按下第一移动终端上的音量键,此时第一移动终端检测到音量按键信息后,将该音量按键信息发送给第二移动终端。同时,将该音量按键信息上报到第一移动终端的应用层,以响应该音量按键信息。In step b1, the user presses the volume key on the first mobile terminal. After the first mobile terminal detects the volume button information, the volume button information is sent to the second mobile terminal. At the same time, the volume button information is reported to the application layer of the first mobile terminal in response to the volume button information.
具体的,第一移动终端将音量按键信息(例如,音量按键的键值)上报给应用层,从而应用层可以将音量按键信息传给音量调节函数,通过调用该音量调节函数执行音量的调节。Specifically, the first mobile terminal reports the volume button information (for example, the key value of the volume button) to the application layer, so that the application layer can transmit the volume button information to the volume adjustment function, and perform volume adjustment by calling the volume adjustment function.
步骤c1,第二移动终端在接收到上述音量按键信息后,对接收到的音量按键信息进行分析和转换。Step c1: After receiving the volume button information, the second mobile terminal analyzes and converts the received volume button information.
步骤d1,将分析和转换后的音量按键信息上报到第二移动终端的应用层中,以响应按下上述音量键的操作。In step d1, the analyzed and converted volume button information is reported to the application layer of the second mobile terminal in response to the operation of pressing the volume button.
也可以通过WIFI display连接的从设备快进主设备上播放的视频,具体可以采用如下第一种实现方式:You can also use the WIFI display to connect to the video played by the slave device on the master device. You can use the following first implementation:
步骤a2,将播放视频的第一移动终端设置为主从模式,将第二移动终端设置为主从模式,设定控制触摸屏,只控制远程设备。In step a2, the first mobile terminal that plays the video is set as the master-slave mode, the second mobile terminal is set as the master-slave mode, and the touch screen is set to control only the remote device.
上述只控制远程设备是指只控制从设备。The above only controlling the remote device means controlling only the slave device.
步骤b2,在第二移动终端上触摸屏幕,将播放的进度条移动到预期的位置。In step b2, the screen is touched on the second mobile terminal, and the progress bar of the play is moved to the expected position.
步骤c2,第二移动终端将上述的触摸信息发送给连接的第一移动终端,同时,第二移动终端屏蔽该触摸信息,也即第二移动终端不响应上述触摸信息对应的触摸事件。In step c2, the second mobile terminal sends the touch information to the connected first mobile terminal, and the second mobile terminal shields the touch information, that is, the second mobile terminal does not respond to the touch event corresponding to the touch information.
步骤d2,第一移动终端接收到触摸屏信息后,对该触摸信息进行分析和转换。In step d2, after receiving the touch screen information, the first mobile terminal analyzes and converts the touch information.
步骤e2,将分析和转换后的触摸信息上报到第一移动终端的应用层,以响应上述触摸事件。In step e2, the analyzed and converted touch information is reported to the application layer of the first mobile terminal in response to the touch event.
此时,由于第一移动终端和第二移动终端通过WIFI display连接,在第二移动终端上,视频播放也显示上述进度。At this time, since the first mobile terminal and the second mobile terminal are connected through the WIFI display, on the second mobile terminal, the video playback also displays the above progress.
步骤f2,如若再次触摸第二移动终端的触摸屏,返回执行步骤b2。In step f2, if the touch screen of the second mobile terminal is touched again, the process returns to step b2.
通过WIFI display连接的从设备快进主设备上播放的视频,还可以采用如下第二种实现方式:The video played by the slave device connected to the WIFI display fast forwards to the master device can also adopt the following second implementation mode:
步骤a3,将播放视频的第一移动终端设置为从模式,将第二移动终端设置为主模式,设定控制触摸屏,只控制远程设备。In step a3, the first mobile terminal that plays the video is set to the slave mode, the second mobile terminal is set to the master mode, and the touch screen is set to control only the remote device.
上述只控制远程设备是指只控制从设备。The above only controlling the remote device means controlling only the slave device.
步骤b3,在第二移动终端上触摸屏幕,第二移动终端在检测到触摸信息后,并将上述触摸信息发送给第一移动终端。同时,第二移动终端屏蔽该触摸信息屏,也即第二移动终端不响应上述触摸信息对应的触摸事件。Step b3: Touch the screen on the second mobile terminal, and after detecting the touch information, the second mobile terminal sends the touch information to the first mobile terminal. At the same time, the second mobile terminal shields the touch information screen, that is, the second mobile terminal does not respond to the touch event corresponding to the touch information.
步骤d3,第一移动终端接收到触摸屏信息后,对该触摸信息进行分析和转换。In step d3, after receiving the touch screen information, the first mobile terminal analyzes and converts the touch information.
步骤e3,第一移动终端在分析和转换后的触摸信息上报到第一移动终端的应用层中,以响应该触摸信息对应的触摸事件。In step e3, the first mobile terminal reports the touch information after the analysis and the conversion to the application layer of the first mobile terminal, in response to the touch event corresponding to the touch information.
此时,由于第一移动终端和第二移动终端通过WIFI display连接,在第二移动终端上,视频播放也显示上述进度。At this time, since the first mobile terminal and the second mobile terminal are connected through the WIFI display, on the second mobile terminal, the video playback also displays the above progress.
步骤f3,如若再次触摸第二移动终端的触摸屏,返回执行上述步骤b3。In step f3, if the touch screen of the second mobile terminal is touched again, the above step b3 is returned.
需要说明的是,上述WIFI display(也即WIFI显示)是WIFI联盟(也即WiFI Alliance)制定的一种规范,使多媒体设备之间建立和维持一个基于WiFi的连接,并且利用这个连接推进视频或音频在目标设备呈现和播放。It should be noted that the above WIFI display (also known as WIFI display) is a specification developed by the WIFI Alliance (that is, the WiFI Alliance) to establish and maintain a WiFi-based connection between multimedia devices, and use this connection to advance video or The audio is rendered and played on the target device.
如图4所示,本申请实施例提供一种移动终端操作装置,包括:As shown in FIG. 4, an embodiment of the present application provides a mobile terminal operating device, including:
第一检测模块41,配置为在第一移动终端和第二移动终端建立通信连接后,检测是否获取到第一操作信息;The first detecting module 41 is configured to detect whether the first operation information is acquired after the first mobile terminal establishes a communication connection with the second mobile terminal;
执行模块42,配置为在获取到所述第一操作信息时,根据所述第一操 作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。The execution module 42 is configured to: when the first operation information is acquired, perform a target event according to the first operation information, where the target event comprises performing a first operation, or sending the first to the first mobile terminal An operation information to cause the first mobile terminal to perform a first operation according to the first operation information.
本申请实施例通过第一检测模块41在第一移动终端和第二移动终端建立通信连接后,检测是否获取到第一操作信息;执行模块42在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。从而可以通过第一移动终端控制第二移动终端的操作,或是通过第二终端控制第一终端的操作,解决了用户操作移动终端较为不便捷的问题。After the first mobile terminal and the second mobile terminal establish a communication connection, the first detection module 41 detects whether the first operation information is acquired. When the execution module 42 obtains the first operation information, the execution module 42 Determining, by the first operation information, a target event, the target event includes performing a first operation, or transmitting the first operation information to the first mobile terminal, so that the first mobile terminal performs according to the first operation information. The first operation. Therefore, the operation of the second mobile terminal may be controlled by the first mobile terminal, or the operation of the first terminal may be controlled by the second terminal, thereby solving the problem that the user is less convenient to operate the mobile terminal.
在一实施方式中,所述装置还包括:确定模块,配置为检测是否获取到第一操作信息之前,确定所述第二移动终端的操作模式,所述操作模式包括主操作模式、从操作模式或主从操作模式。In an embodiment, the apparatus further includes: a determining module configured to determine whether an operation mode of the second mobile terminal is determined before the first operation information is acquired, where the operation mode includes a main operation mode and a slave operation mode Or master-slave operation mode.
在一实施方式中,所述第一检测模块41配置为:当所述第二移动终端的操作模式为从操作模式时,检测是否接收到来自所述第一移动终端的第一操作信息;所述执行模块42配置为:在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作。In an embodiment, the first detecting module 41 is configured to: when the operating mode of the second mobile terminal is a slave operating mode, detecting whether the first operation information from the first mobile terminal is received; The execution module 42 is configured to perform a first operation according to the first operation information when the first operation information is acquired.
在一实施方式中,所述第一检测模块41配置为:当所述第二移动终端的操作模式为主操作模式时,检测是否生成所述第一操作信息;所述执行模块42配置为:在获取到所述第一操作信息时,向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。In an embodiment, the first detecting module 41 is configured to: detect whether the first operation information is generated when the operation mode of the second mobile terminal is the main operation mode; and the executing module 42 is configured to: And when the first operation information is acquired, sending the first operation information to the first mobile terminal, so that the first mobile terminal performs a first operation according to the first operation information.
在一实施方式中,所述第一检测模块41配置为:当所述第二移动终端的操作模式为主从操作模式时,检测是否接收到来自所述第一移动终端的第一操作信息;所述执行模块42配置为:在获取到所述第一操作信息时, 根据所述第一操作信息执行第一操作;In an embodiment, the first detecting module 41 is configured to: detect whether the first operation information from the first mobile terminal is received when the operation mode of the second mobile terminal is a master-slave operation mode; The execution module 42 is configured to: when the first operation information is acquired, perform a first operation according to the first operation information;
所述装置还包括:第二检测模块,配置为在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作之后,检测是否生成第二操作信息;发送模块,配置为在检测到生成了所述第二操作信息时,向所述第一移动终端发送所述第二操作信息,以使所述第一移动终端根据所述第二操作信息执行第二操作。The device further includes: a second detecting module, configured to: after performing the first operation according to the first operation information, detecting whether to generate second operation information; Upon detecting that the second operation information is generated, transmitting the second operation information to the first mobile terminal, so that the first mobile terminal performs a second operation according to the second operation information.
在一实施方式中,所述执行模块42配置为:在所述第一操作信息为音量键的按键信息时,根据所述音量键的按键信息执行音量调节操作;在所述第一操作信息为电源键的按键信息时,根据所述电源键的按键信息执行如下操作之一:待机操作、唤醒操作、关机操作和开机操作;在所述第一操作信息为触摸信息时,执行与所述触摸信息对应的操作;在所述第一操作信息为传感器信息时,执行与所述传感器信息对应的操作。In an embodiment, the execution module 42 is configured to: when the first operation information is the button information of the volume button, perform a volume adjustment operation according to the button information of the volume button; and the first operation information is When the button information of the power button is used, performing one of the following operations according to the button information of the power button: a standby operation, a wake-up operation, a shutdown operation, and a power-on operation; and when the first operation information is touch information, performing the touch An operation corresponding to the information; when the first operation information is sensor information, performing an operation corresponding to the sensor information.
在一实施方式中,所述执行模块42配置为:所述操作信息为触摸屏检测的信息或是指纹传感器检测的信息时,在所述第二移动终端和所述第一移动终端的屏幕显示界面相同时,检测是否获取到第一操作信息。In an embodiment, the execution module 42 is configured to: when the operation information is the information detected by the touch screen or the information detected by the fingerprint sensor, the screen display interface of the second mobile terminal and the first mobile terminal When the same, it is detected whether the first operation information is acquired.
所述移动终端操作装置能够实现图1至图2的方法实施例中移动操作方法实现的各个过程,以及能达到相同的有益效果,为避免重复,这里不再赘述。The mobile terminal operating device can implement the various processes implemented by the mobile operation method in the method embodiments of FIG. 1 to FIG. 2, and can achieve the same beneficial effects. To avoid repetition, details are not described herein again.
需要说明的是,本申请实施例的移动终端操作装置中的各个模块执行的各个步骤可以由移动终端的处理器执行,也即上述第一检测模块、执行模块、确定模块和第二检测模块实现的各个过程,可以由处理器实现。It should be noted that each step performed by each module in the mobile terminal operating device of the embodiment of the present application may be performed by a processor of the mobile terminal, that is, the first detecting module, the executing module, the determining module, and the second detecting module are implemented. The various processes can be implemented by the processor.
参见图5,本申请实施例还通过一种电子设备,包括:Referring to FIG. 5, an embodiment of the present application further includes an electronic device, including:
一个或多个处理器51;存储器52;以及一个或多个程序,其中,所述一个或多个程序521被存储在所述存储器52中,并且被配置成由所述一个或多个处理器执行,所述程序被执行时,包括以下步骤:One or more processors 51; a memory 52; and one or more programs, wherein the one or more programs 521 are stored in the memory 52 and configured to be configured by the one or more processors Execution, when the program is executed, the following steps are included:
在第一移动终端和第二移动终端建立通信连接后,检测是否获取到第一操作信息;After the first mobile terminal establishes a communication connection with the second mobile terminal, detecting whether the first operation information is acquired;
在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。And when the first operation information is acquired, performing a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal to enable The first mobile terminal performs a first operation according to the first operation information.
在一实施方式中,所述检测是否获取到第一操作信息之前,所述方法还包括:确定所述第二移动终端的操作模式,所述操作模式包括主操作模式、从操作模式或主从操作模式。In an embodiment, before the detecting whether the first operation information is acquired, the method further includes: determining an operation mode of the second mobile terminal, where the operation mode includes a main operation mode, a slave operation mode, or a master-slave mode Operating mode.
在一实施方式中,当所述第二移动终端的操作模式为从操作模式时,检测是否获取到第一操作信息,包括:检测是否接收到来自所述第一移动终端的第一操作信息;在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作。In an embodiment, when the operation mode of the second mobile terminal is the slave operation mode, detecting whether the first operation information is acquired includes: detecting whether the first operation information from the first mobile terminal is received; When the first operation information is obtained, the target event is executed according to the first operation information, and the second mobile terminal performs the first operation information according to the first operation information when the first operation information is acquired. An operation.
在一实施方式中,当所述第二移动终端的操作模式为主操作模式时,检测是否获取到第一操作信息,包括:检测是否生成所述第一操作信息;在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:在获取到所述第一操作信息时,向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。In an embodiment, when the operation mode of the second mobile terminal is the main operation mode, detecting whether the first operation information is acquired includes: detecting whether the first operation information is generated; and acquiring the first When the operation information is performed, performing the target event according to the first operation information, including: when the first operation information is acquired, sending the first operation information to the first mobile terminal to enable the first mobile terminal Performing a first operation according to the first operation information.
在一实施方式中,当所述第二移动终端的操作模式为主从操作模式时,检测是否获取到第一操作信息,包括:检测是否接收到来自所述第一移动终端的第一操作信息;在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作;在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作之后,所述方法还包括:检测是否生成第二操作信息;在检测到生成了所述第二操作信息时,向所述第一移动终端发送所述第二 操作信息,以使所述第一移动终端根据所述第二操作信息执行第二操作。In an embodiment, when the operation mode of the second mobile terminal is the master-slave operation mode, detecting whether the first operation information is acquired includes: detecting whether the first operation information from the first mobile terminal is received Performing the target event according to the first operation information when the first operation information is obtained, including: performing the first operation according to the first operation information when acquiring the first operation information; After the first operation information is performed, after the first operation is performed according to the first operation information, the method further includes: detecting whether the second operation information is generated; and when detecting that the second operation information is generated, The first mobile terminal sends the second operation information, so that the first mobile terminal performs a second operation according to the second operation information.
在一实施方式中,根据所述第一操作信息执行第一操作,包括:在所述第一操作信息为音量键的按键信息时,根据所述音量键的按键信息执行音量调节操作;在所述第一操作信息为电源键的按键信息时,根据所述电源键的按键信息执行如下操作之一:待机操作、唤醒操作、关机操作和开机操作;在所述第一操作信息为触摸信息时,执行与所述触摸信息对应的操作;在所述第一操作信息为传感器信息时,执行与所述传感器信息对应的操作。In an embodiment, performing the first operation according to the first operation information, including: when the first operation information is the button information of the volume key, performing a volume adjustment operation according to the button information of the volume button; When the first operation information is the button information of the power button, performing one of the following operations according to the button information of the power button: a standby operation, a wake-up operation, a shutdown operation, and a power-on operation; when the first operation information is touch information And performing an operation corresponding to the touch information; and when the first operation information is sensor information, performing an operation corresponding to the sensor information.
在一实施方式中,所述操作信息为触摸屏检测到的信息或是传感器检测到的信息时,所述第二移动终端检测是否获取到第一操作信息包括:在所述第二移动终端和所述第一移动终端的屏幕显示界面相同时,检测是否获取到第一操作信息。In an embodiment, when the operation information is the information detected by the touch screen or the information detected by the sensor, the second mobile terminal detecting whether the first operation information is acquired includes: at the second mobile terminal and the When the screen display interface of the first mobile terminal is the same, it is detected whether the first operation information is acquired.
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一方法实施例中移动终端操作方法中的步骤。The embodiment of the present application further provides a computer readable storage medium, where the computer program is stored, and when the computer program is executed by the processor, the steps in the mobile terminal operation method in any of the foregoing method embodiments are implemented.
本领域普通技术人员可以理解实现上述实施例方法的全部或者部分步骤是可以通过程序指令相关的硬件来完成,所述的程序可以存储于一计算机可读取介质中,该程序在执行时,包括以下步骤:It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be performed by hardware associated with program instructions, which may be stored in a computer readable medium, including when executed, including The following steps:
在第一移动终端和第二移动终端建立通信连接后,检测是否获取到第一操作信息;After the first mobile terminal establishes a communication connection with the second mobile terminal, detecting whether the first operation information is acquired;
在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。And when the first operation information is acquired, performing a target event according to the first operation information, where the target event includes performing a first operation, or sending the first operation information to the first mobile terminal to enable The first mobile terminal performs a first operation according to the first operation information.
在一实施方式中,所述检测是否获取到第一操作信息之前,所述方法还包括:确定所述第二移动终端的操作模式,所述操作模式包括主操作模 式、从操作模式或主从操作模式。In an embodiment, before the detecting whether the first operation information is acquired, the method further includes: determining an operation mode of the second mobile terminal, where the operation mode includes a main operation mode, a slave operation mode, or a master-slave mode Operating mode.
在一实施方式中,当所述第二移动终端的操作模式为从操作模式时,检测是否获取到第一操作信息,包括:检测是否接收到来自所述第一移动终端的第一操作信息;在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作。In an embodiment, when the operation mode of the second mobile terminal is the slave operation mode, detecting whether the first operation information is acquired includes: detecting whether the first operation information from the first mobile terminal is received; When the first operation information is obtained, the target event is executed according to the first operation information, and the second mobile terminal performs the first operation information according to the first operation information when the first operation information is acquired. An operation.
在一实施方式中,当所述第二移动终端的操作模式为主操作模式时,检测是否获取到第一操作信息,包括:检测是否生成所述第一操作信息;在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:在获取到所述第一操作信息时,向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。In an embodiment, when the operation mode of the second mobile terminal is the main operation mode, detecting whether the first operation information is acquired includes: detecting whether the first operation information is generated; and acquiring the first When the operation information is performed, performing the target event according to the first operation information, including: when the first operation information is acquired, sending the first operation information to the first mobile terminal to enable the first mobile terminal Performing a first operation according to the first operation information.
在一实施方式中,当所述第二移动终端的操作模式为主从操作模式时,检测是否获取到第一操作信息,包括:检测是否接收到来自所述第一移动终端的第一操作信息;在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作;在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作之后,所述方法还包括:检测是否生成第二操作信息;在检测到生成了所述第二操作信息时,向所述第一移动终端发送所述第二操作信息,以使所述第一移动终端根据所述第二操作信息执行第二操作。In an embodiment, when the operation mode of the second mobile terminal is the master-slave operation mode, detecting whether the first operation information is acquired includes: detecting whether the first operation information from the first mobile terminal is received Performing the target event according to the first operation information when the first operation information is obtained, including: performing the first operation according to the first operation information when acquiring the first operation information; After the first operation information is performed, after the first operation is performed according to the first operation information, the method further includes: detecting whether the second operation information is generated; and when detecting that the second operation information is generated, The first mobile terminal sends the second operation information, so that the first mobile terminal performs a second operation according to the second operation information.
在一实施方式中,根据所述第一操作信息执行第一操作,包括:在所述第一操作信息为音量键的按键信息时,根据所述音量键的按键信息执行音量调节操作;在所述第一操作信息为电源键的按键信息时,根据所述电源键的按键信息执行如下操作之一:待机操作、唤醒操作、关机操作和开机操作;在所述第一操作信息为触摸信息时,执行与所述触摸信息对应的操作;在所述第一操作信息为传感器信息时,执行与所述传感器信息对应 的操作。In an embodiment, performing the first operation according to the first operation information, including: when the first operation information is the button information of the volume key, performing a volume adjustment operation according to the button information of the volume button; When the first operation information is the button information of the power button, performing one of the following operations according to the button information of the power button: a standby operation, a wake-up operation, a shutdown operation, and a power-on operation; when the first operation information is touch information And performing an operation corresponding to the touch information; and when the first operation information is sensor information, performing an operation corresponding to the sensor information.
在一实施方式中,所述操作信息为触摸屏检测到的信息或是传感器检测到的信息时,所述第二移动终端检测是否获取到第一操作信息包括:在所述第二移动终端和所述第一移动终端的屏幕显示界面相同时,检测是否获取到第一操作信息。In an embodiment, when the operation information is the information detected by the touch screen or the information detected by the sensor, the second mobile terminal detecting whether the first operation information is acquired includes: at the second mobile terminal and the When the screen display interface of the first mobile terminal is the same, it is detected whether the first operation information is acquired.
所述的存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
以上所述是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above is a preferred embodiment of the present application, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present application. It should be considered as the scope of protection of this application.
工业实用性Industrial applicability
本申请实施例的技术方案,通过在第一移动终端和第二移动终端建立通信连接后,所述第二移动终端检测是否获取到第一操作信息;所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。从而可以通过第一移动终端控制第二移动终端的操作,或是通过第二终端控制第一终端的操作,解决了用户操作移动终端较为不便捷的问题。The technical solution of the embodiment of the present application, after the first mobile terminal and the second mobile terminal establish a communication connection, the second mobile terminal detects whether the first operation information is acquired; the second mobile terminal acquires the When the first operation information is performed, performing a target event according to the first operation information, the target event includes performing a first operation, or transmitting the first operation information to the first mobile terminal to enable the first mobile terminal Performing a first operation according to the first operation information. Therefore, the operation of the second mobile terminal may be controlled by the first mobile terminal, or the operation of the first terminal may be controlled by the second terminal, thereby solving the problem that the user is less convenient to operate the mobile terminal.

Claims (15)

  1. 一种移动终端操作方法,包括:A mobile terminal operating method includes:
    在第一移动终端和第二移动终端建立通信连接后,所述第二移动终端检测是否获取到第一操作信息;After the first mobile terminal establishes a communication connection with the second mobile terminal, the second mobile terminal detects whether the first operation information is acquired;
    所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。When acquiring the first operation information, the second mobile terminal performs a target event according to the first operation information, where the target event includes performing a first operation, or sending the first to the first mobile terminal An operation information to cause the first mobile terminal to perform a first operation according to the first operation information.
  2. 根据权利要求1所述的方法,其中,所述第二移动终端检测是否获取到第一操作信息之前,所述方法还包括:The method according to claim 1, wherein the method further comprises: before the second mobile terminal detects whether the first operation information is acquired, the method further comprises:
    确定所述第二移动终端的操作模式,所述操作模式包括主操作模式、从操作模式或主从操作模式。Determining an operation mode of the second mobile terminal, the operation mode including a main operation mode, a slave operation mode, or a master-slave operation mode.
  3. 根据权利要求2所述的方法,其中,当所述第二移动终端的操作模式为从操作模式时,所述第二移动终端检测是否获取到第一操作信息,包括:所述第二移动终端检测是否接收到来自所述第一移动终端的第一操作信息;The method according to claim 2, wherein when the operation mode of the second mobile terminal is a slave operation mode, the second mobile terminal detects whether the first operation information is acquired, including: the second mobile terminal Detecting whether the first operation information from the first mobile terminal is received;
    所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作。When the second mobile terminal acquires the first operation information, the target event is performed according to the first operation information, including: when the second mobile terminal acquires the first operation information, according to the The first operation information performs a first operation.
  4. 根据权利要求2所述的方法,其中,当所述第二移动终端的操作模式为主操作模式时,所述第二移动终端检测是否获取到第一操作信息,包括:所述第二移动终端检测是否生成所述第一操作信息;The method according to claim 2, wherein when the operation mode of the second mobile terminal is the main operation mode, the second mobile terminal detects whether the first operation information is acquired, including: the second mobile terminal Detecting whether the first operation information is generated;
    所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:所述第二移动终端在获取到所述第一操作信息时,向所述第一移动终端发送所述第一操作信息以使所述第一移动 终端根据所述第一操作信息执行第一操作。When the second mobile terminal acquires the first operation information, performing the target event according to the first operation information, the second mobile terminal, when acquiring the first operation information, to the The first mobile terminal sends the first operation information to enable the first mobile terminal to perform a first operation according to the first operation information.
  5. 根据权利要求2所述的方法,其中,当所述第二移动终端的操作模式为主从操作模式时,所述第二移动终端检测是否获取到第一操作信息,包括:所述第二移动终端检测是否接收到来自所述第一移动终端的第一操作信息;The method according to claim 2, wherein when the operation mode of the second mobile terminal is a master-slave operation mode, the second mobile terminal detects whether the first operation information is acquired, including: the second movement The terminal detects whether the first operation information from the first mobile terminal is received;
    所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,包括:所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作;When the second mobile terminal acquires the first operation information, the target event is performed according to the first operation information, including: when the second mobile terminal acquires the first operation information, according to the The first operation information performs a first operation;
    所述第二移动终端在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作之后,所述方法还包括:After the second mobile terminal performs the first operation according to the first operation information, the method further includes:
    所述第二移动终端检测是否生成第二操作信息;The second mobile terminal detects whether to generate second operation information;
    所述第二移动终端在检测到生成了所述第二操作信息时,向所述第一移动终端发送所述第二操作信息,以使所述第一移动终端根据所述第二操作信息执行第二操作。When the second mobile terminal detects that the second operation information is generated, the second mobile terminal sends the second operation information to the first mobile terminal, so that the first mobile terminal performs according to the second operation information. The second operation.
  6. 根据权利要求1至5中任一项所述的方法,其中,根据所述第一操作信息执行第一操作,包括:The method according to any one of claims 1 to 5, wherein performing the first operation according to the first operation information comprises:
    在所述第一操作信息为音量键的按键信息时,根据所述音量键的按键信息执行音量调节操作;When the first operation information is the button information of the volume button, performing a volume adjustment operation according to the button information of the volume button;
    在所述第一操作信息为电源键的按键信息时,根据所述电源键的按键信息执行如下操作之一:待机操作、唤醒操作、关机操作和开机操作;When the first operation information is the button information of the power button, performing one of the following operations according to the button information of the power button: a standby operation, a wake-up operation, a shutdown operation, and a power-on operation;
    在所述第一操作信息为触摸信息时,执行与所述触摸信息对应的操作;When the first operation information is touch information, performing an operation corresponding to the touch information;
    在所述第一操作信息为传感器信息时,执行与所述传感器信息对应的操作。When the first operation information is sensor information, an operation corresponding to the sensor information is performed.
  7. 根据权利要求1至5中任一项所述的方法,其中,所述操作信息 为触摸屏检测到的信息或是传感器检测到的信息时,所述第二移动终端检测是否获取到第一操作信息包括:The method according to any one of claims 1 to 5, wherein, when the operation information is information detected by a touch screen or information detected by a sensor, the second mobile terminal detects whether the first operation information is acquired. include:
    在所述第二移动终端和所述第一移动终端的屏幕显示界面相同时,所述第二移动终端检测是否获取到第一操作信息。When the screen display interface of the second mobile terminal and the first mobile terminal are the same, the second mobile terminal detects whether the first operation information is acquired.
  8. 一种移动终端操作装置,包括:A mobile terminal operating device includes:
    第一检测模块,配置为在第一移动终端和第二移动终端建立通信连接后,检测是否获取到第一操作信息;The first detecting module is configured to detect whether the first operation information is acquired after the first mobile terminal establishes a communication connection with the second mobile terminal;
    执行模块,配置为在获取到所述第一操作信息时,根据所述第一操作信息执行目标事件,所述目标事件包括执行第一操作,或者向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操作信息执行第一操作。An execution module, configured to: when the first operation information is acquired, perform a target event according to the first operation information, where the target event includes performing a first operation, or sending the first to the first mobile terminal Operating information to cause the first mobile terminal to perform a first operation according to the first operational information.
  9. 根据权利要求8所述的装置,其中,所述装置还包括:The apparatus of claim 8 wherein said apparatus further comprises:
    确定模块,配置为检测是否获取到第一操作信息之前,确定所述第二移动终端的操作模式,所述操作模式包括主操作模式、从操作模式或主从操作模式。And a determining module, configured to detect whether an operation mode of the second mobile terminal is determined before the first operation information is acquired, where the operation mode includes a main operation mode, a slave operation mode, or a master-slave operation mode.
  10. 根据权利要求9所述的装置,其中,所述第一检测模块配置为:当所述第二移动终端的操作模式为从操作模式时,检测是否接收到来自所述第一移动终端的第一操作信息;The apparatus according to claim 9, wherein the first detecting module is configured to: detect whether a first one from the first mobile terminal is received when an operation mode of the second mobile terminal is a slave operating mode Operational information;
    所述执行模块配置为:在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作。The execution module is configured to perform a first operation according to the first operation information when the first operation information is acquired.
  11. 根据权利要求9所述的装置,其中,所述第一检测模块配置为:当所述第二移动终端的操作模式为主操作模式时,检测是否生成所述第一操作信息;The apparatus according to claim 9, wherein the first detecting module is configured to: detect whether the first operation information is generated when an operation mode of the second mobile terminal is a main operation mode;
    所述执行模块配置为:在获取到所述第一操作信息时,向所述第一移动终端发送所述第一操作信息以使所述第一移动终端根据所述第一操 作信息执行第一操作。The execution module is configured to: when the first operation information is acquired, send the first operation information to the first mobile terminal, so that the first mobile terminal performs the first operation according to the first operation information. operating.
  12. 根据权利要求9所述的装置,其中,所述第一检测模块配置为:当所述第二移动终端的操作模式为主从操作模式时,检测是否接收到来自所述第一移动终端的第一操作信息;The apparatus according to claim 9, wherein the first detecting module is configured to: detect whether a first slave mobile terminal is received when an operation mode of the second mobile terminal is a master-slave operation mode An operational information;
    所述执行模块配置为:在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作;The execution module is configured to perform a first operation according to the first operation information when the first operation information is acquired;
    所述装置还包括:The device also includes:
    第二检测模块,配置为在获取到所述第一操作信息时,根据所述第一操作信息执行第一操作之后,检测是否生成第二操作信息;a second detecting module, configured to detect whether to generate second operation information after performing the first operation according to the first operation information, when the first operation information is acquired;
    发送模块,配置为在检测到生成了所述第二操作信息时,向所述第一移动终端发送所述第二操作信息,以使所述第一移动终端根据所述第二操作信息执行第二操作。a sending module, configured to: when detecting that the second operation information is generated, send the second operation information to the first mobile terminal, so that the first mobile terminal performs the first Second operation.
  13. 根据权利要求8至12中任一项所述的装置,其中,所述执行模块配置为:The apparatus of any one of claims 8 to 12, wherein the execution module is configured to:
    在所述第一操作信息为音量键的按键信息时,根据所述音量键的按键信息执行音量调节操作;When the first operation information is the button information of the volume button, performing a volume adjustment operation according to the button information of the volume button;
    在所述第一操作信息为电源键的按键信息时,根据所述电源键的按键信息执行如下操作之一:待机操作、唤醒操作、关机操作和开机操作;When the first operation information is the button information of the power button, performing one of the following operations according to the button information of the power button: a standby operation, a wake-up operation, a shutdown operation, and a power-on operation;
    在所述第一操作信息为触摸信息时,执行与所述触摸信息对应的操作;When the first operation information is touch information, performing an operation corresponding to the touch information;
    在所述第一操作信息为传感器信息时,执行与所述传感器信息对应的操作。When the first operation information is sensor information, an operation corresponding to the sensor information is performed.
  14. 一种电子设备,包括:An electronic device comprising:
    一个或多个处理器;One or more processors;
    存储器;以及Memory;
    一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置成由所述一个或多个处理器执行,所述程序被执行时实现权利要求1-7中任一项所述的移动终端操作方法中的步骤。One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the program being executed to implement claims 1-7 The steps in the method of operating a mobile terminal according to any of the preceding claims.
  15. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-7中任一项所述的移动终端操作方法中的步骤。A computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the steps of the mobile terminal operating method of any of claims 1-7.
PCT/CN2017/117940 2017-04-24 2017-12-22 Method and apparatus for operating mobile terminal, electronic device, and computer readable storage medium WO2018196413A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710270390.8A CN108733588A (en) 2017-04-24 2017-04-24 A kind of mobile terminal operating method and device
CN201710270390.8 2017-04-24

Publications (1)

Publication Number Publication Date
WO2018196413A1 true WO2018196413A1 (en) 2018-11-01

Family

ID=63920191

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/117940 WO2018196413A1 (en) 2017-04-24 2017-12-22 Method and apparatus for operating mobile terminal, electronic device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN108733588A (en)
WO (1) WO2018196413A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262744B (en) * 2019-05-20 2022-12-09 广州视源电子科技股份有限公司 Switching method of touch device, terminal equipment and storage medium
CN114371823B (en) * 2020-10-14 2023-06-09 荣耀终端有限公司 Multimedia playing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246901A1 (en) * 2012-03-19 2013-09-19 Litera Technologies, LLC. System and method for synchronizing bi-directional document management
CN105744075A (en) * 2016-03-31 2016-07-06 大连楼兰科技股份有限公司 Interconnection Method of Mobile Phone Based on OTG Technology
CN105808223A (en) * 2014-12-31 2016-07-27 深圳富泰宏精密工业有限公司 Electronic device synchronous operation method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101784466B1 (en) * 2009-09-15 2017-11-06 삼성전자주식회사 Apparatus and method for actuating function of portable terminal
CN103581725A (en) * 2013-09-27 2014-02-12 深圳市同洲电子股份有限公司 Method for controlling smart TV terminal through mobile terminal and relevant terminals
CN104135712A (en) * 2014-07-30 2014-11-05 上海斐讯数据通信技术有限公司 Short-range control method and system for mobile terminal
CN105681584A (en) * 2016-03-21 2016-06-15 珠海格力电器股份有限公司 Remote control method and device for mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246901A1 (en) * 2012-03-19 2013-09-19 Litera Technologies, LLC. System and method for synchronizing bi-directional document management
CN105808223A (en) * 2014-12-31 2016-07-27 深圳富泰宏精密工业有限公司 Electronic device synchronous operation method and system
CN105744075A (en) * 2016-03-31 2016-07-06 大连楼兰科技股份有限公司 Interconnection Method of Mobile Phone Based on OTG Technology

Also Published As

Publication number Publication date
CN108733588A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
CN102395012B (en) Using the method for the shared video screen RTV remote television of mobile phone, system and mobile phone
CN105630452A (en) Screen transmission method and electronic devices
KR20220104236A (en) Synchronization methods and electronic devices
CN105045548A (en) Wireless screen transmission method, expansion equipment and wireless screen transmission system
JP6251352B2 (en) Method, apparatus, and system for processing busy line
EP3171252A1 (en) Terminal device and method and device for optimizing air mouse remote controller
CN109343788B (en) A kind of operation control method of mobile terminal and mobile terminal
WO2011120419A1 (en) Electronic device and input method
CN110049486B (en) SIM card selection method and terminal equipment
EP3076745A1 (en) Methods and apparatuses for controlling wireless access point
RU2649971C1 (en) Method and device for state switching
CN109407949B (en) A display control method and terminal
CN103019596A (en) Method for realizing operation of virtual key based on touch screen and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
WO2021190373A1 (en) Interaction method, interaction system, and display device
WO2015078300A1 (en) Television control method and remote controller for television
CN108521501B (en) Voice input method, mobile terminal and computer readable storage medium
WO2021104285A1 (en) Application control method and electronic device
CN110096203B (en) A screenshot method and mobile terminal
CN103200316B (en) A kind of method of stopwatch timing and mobile equipment
WO2018196413A1 (en) Method and apparatus for operating mobile terminal, electronic device, and computer readable storage medium
WO2016095641A1 (en) Data interaction method and system, and mobile terminal
CN111417929A (en) Interface display method and control terminal
CN110647276B (en) A control method and terminal device
CN111093133B (en) Wireless device control method, apparatus and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17907258

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17907258

Country of ref document: EP

Kind code of ref document: A1