CN111400729A - Control method and electronic device - Google Patents

Control method and electronic device Download PDF

Info

Publication number
CN111400729A
CN111400729A CN202010160587.8A CN202010160587A CN111400729A CN 111400729 A CN111400729 A CN 111400729A CN 202010160587 A CN202010160587 A CN 202010160587A CN 111400729 A CN111400729 A CN 111400729A
Authority
CN
China
Prior art keywords
target
electronic device
control instruction
control
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010160587.8A
Other languages
Chinese (zh)
Other versions
CN111400729B (en
Inventor
张文文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010160587.8A priority Critical patent/CN111400729B/en
Publication of CN111400729A publication Critical patent/CN111400729A/en
Application granted granted Critical
Publication of CN111400729B publication Critical patent/CN111400729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention discloses a control method and electronic equipment. The control method applied to the first electronic device comprises the following steps: under the condition that the first electronic equipment is connected with the M second electronic equipment, responding to a first input, and determining a target control instruction; sending target indication information to the target second electronic equipment so that the target second electronic equipment can analyze a target control instruction from the target indication information and execute target operation corresponding to the target control instruction; wherein, M is a positive integer, and the target indication information comprises a target control instruction. By using the control method provided by the embodiment of the invention, the information safety of the controlled electronic equipment can be protected in the control process.

Description

Control method and electronic device
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to a control method and electronic equipment.
Background
With the continuous development of internet technology, a user can not only control one electronic device, but also control another electronic device to execute corresponding operations through one electronic device.
However, currently, in the process of controlling the controlled device to perform the related operation by using the main control device, the user needs to map the interface of the controlled device onto the main control device, so that the user can control the controlled device to perform the related operation by using the main control device.
However, since the interface of the controlled device is displayed on the main control device, the user can not only see the privacy content of the controlled device, but also perform privacy operation on the controlled device, which is very easy to cause information leakage of the controlled device.
Disclosure of Invention
The embodiment of the invention provides a control method and electronic equipment, which can protect the information security of the controlled electronic equipment in the control process.
In a first aspect, an embodiment of the present invention provides a control method, applied to a first electronic device, including:
under the condition that the first electronic equipment is connected with the M second electronic equipment, responding to a first input, and determining a target control instruction;
sending target indication information to the target second electronic equipment so that the target second electronic equipment can analyze a target control instruction from the target indication information and execute target operation corresponding to the target control instruction;
wherein, M is a positive integer, and the target indication information comprises a target control instruction.
In a second aspect, an embodiment of the present invention provides a control method, applied to a second electronic device, including:
receiving target indication information sent by first electronic equipment;
analyzing the target indication information to obtain a target control instruction;
and executing the target operation corresponding to the target control instruction.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
the first determining module is used for responding to a first input and determining a target control instruction under the condition that the first electronic equipment is connected with the M second electronic equipment;
the first sending module is used for sending target indication information to the target second electronic equipment so that the target second electronic equipment can analyze a target control instruction from the target indication information and execute target operation corresponding to the target control instruction;
wherein, M is a positive integer, and the target indication information comprises a target control instruction.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including:
the first receiving module is used for receiving target indication information sent by first electronic equipment;
the analysis module is used for analyzing the target indication information to obtain a target control instruction;
and the execution module is used for executing target operation corresponding to the target control instruction.
In a fifth aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and the processor executes the computer program instructions to implement the steps of the control method according to the first aspect or the second aspect.
In a sixth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the control method according to the first aspect or the second aspect.
In the embodiment of the invention, in the process of controlling the controlled device by using the master control device, the user can control the controlled device to execute the response operation only by sending the corresponding control instruction to the controlled device through the master control device without directly mapping the interface information of the controlled device to the master control device, so that the master control device cannot directly check the information content on the controlled device, thereby protecting the information safety of the controlled device and improving the safety performance of remote control.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a system schematic diagram of a control method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of image synthesis according to an embodiment of the present invention;
FIGS. 4a-4c are schematic diagrams of composite images provided by another embodiment of the present invention;
fig. 5 is a schematic interface diagram of a main control device according to an embodiment of the present invention;
fig. 6 is a schematic interface diagram of a main control device according to another embodiment of the present invention;
fig. 7 is a flowchart of a control method in which a target control instruction is provided in a text format according to an embodiment of the present invention;
FIG. 8 is a flowchart of a control method according to an embodiment of the present invention;
fig. 9 is a flowchart of a control method in which a target control instruction is provided in a text format according to another embodiment of the present invention;
fig. 10 is a schematic interface diagram of a master control device according to another embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to another embodiment of the present invention;
fig. 13 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Currently, when a user uses an electronic device a to control an electronic device B to perform a corresponding operation, the user needs to map an interface of the electronic device B onto the electronic device a, so that the user can use the electronic device a to control the electronic device B to perform a series of operations.
However, due to such a control method that the interface of the controlled device needs to be mapped onto the master control device, even the privacy content on the controlled device is displayed on the master control device, and further the privacy content on the controlled device is leaked.
In addition, because the interface of the controlled device is mapped to the master control device, if there is an improper operation in the master control device, the content of the controlled device is also changed or lost.
Therefore, in order to solve the above problem, embodiments of the present invention provide a control method and an electronic device, which can protect information security of a controlled electronic device during a control process.
In order to better understand the control method provided by the embodiment of the present invention, the control method provided by the embodiment of the present invention is described in detail below with reference to fig. 1.
Fig. 1 is a system schematic diagram of a control method according to an embodiment of the present invention. As shown in fig. 1, a control system of an electronic device includes a first electronic device and a second electronic device. When the first electronic device is used for controlling the second electronic device, the first electronic device is used as a main control device, and the second electronic device is used as a controlled device.
S1, sending the connection request.
Optionally, in some embodiments of the present invention, the first electronic device first needs to send a connection request to the second electronic device before controlling the second electronic device. When sending the connection request to the second electronic device, the first electronic device may send a connection request including the identification information of the second electronic device to the second electronic device.
It should be emphasized that the connection request sent by the first electronic device to the second electronic device includes the identification information of the second electronic device. Accordingly, the first electronic device may simultaneously transmit connection requests to the plurality of second electronic devices, so that the first electronic device may simultaneously control the plurality of second electronic devices. The control of the electronic equipment is not limited to a simple one-to-one mode (a first electronic equipment and a second electronic equipment) any more, and can also be a one-to-many (a first electronic equipment and a plurality of second electronic equipment) control mode, so that the use experience of a user is improved.
And S2, starting a control function.
Optionally, in some embodiments of the present invention, the control function refers to a mode in which the electronic device allows other electronic devices to control. The connection request which is sent by the first electronic device and matched with the identity identification information can be received only when the electronic device starts the control function.
S3, it is confirmed whether a control connection is established.
Optionally, in some embodiments of the present invention, when the second electronic device starts the control function, the second electronic device may, in response to the connection request sent by the first electronic device, confirm whether to establish a control connection with the first electronic device, and feed back operation result information to the first electronic device.
If the operation result information is "connection failure", the second electronic device will also feed back the failure reason to the first electronic device. Among them, the failure reasons include but are not limited to: disallowing connection establishment, request timeouts, etc.
And S4, feeding back the operation result information to the first electronic equipment.
Wherein, the operation result information comprises: "connection failure" and "connection success".
And S5, displaying the prompt message.
If the operation result information is 'connection failure', generating prompt information of 'connection failure', and displaying the prompt information of 'connection failure' and the failure reason on the first electronic equipment interface. If the operation result information is 'connection success', prompt information of 'connection success' is generated, and the prompt information of 'connection success' is displayed on the first electronic equipment.
S6, a first input of a user is received.
The first input may be a text input by the user, or a click input or a press input by the user.
S7, in response to the first input by the user, a target control instruction is determined.
Optionally, in some embodiments of the present invention, the first input may be a text input by the user, or may be a selection input of the image by the user. The target control instruction determined by the first electronic device is in a text format under the condition that the first input is character input of a user, and the target control instruction determined by the first electronic device is in an image format under the condition that the first input is selected input of an image.
S8, sending the target indication information to the target second electronic device.
The target indication information comprises a target control instruction.
Optionally, in a write embodiment of the present invention, if the first electronic device has only one second electronic device to establish the control connection, in order to improve the efficiency of data processing, the target indication information sent by the first electronic device to the target second electronic device may not include the identification information.
In addition, in order to control the target second electronic device to execute the related target operation more accurately, the target indication information sent by the first electronic device to the target second electronic device may include the identification information.
And S9, analyzing the target indication information to obtain a target control command.
Optionally, in some embodiments of the present invention, after receiving the target indication information sent by the first electronic device, the second electronic device may perform parsing to obtain the target control instruction.
S10, a target operation corresponding to the target control command is executed.
Optionally, in some embodiments of the present invention, after the second electronic device obtains the target control instruction through parsing, the second electronic device may execute a target operation corresponding to the target control instruction.
In the embodiment of the invention, the target indication information is directly sent to the controlled device, so that when the master control device controls the controlled device, the controlled device can execute related operations only by sending the target indication information without mapping an interface of the controlled device to the master control device, thereby protecting the information security of the controlled device and improving the use experience of a user.
And S11, sending operation result information.
Optionally, in some embodiments of the present invention, the second electronic device further feeds back operation result information to the first electronic device, so that the first electronic device can accurately know the specific operation condition of the second device.
For example, if the second electronic device fails to execute the target control command, the operation result information of "operation failure" is fed back to the first electronic device, so that the user operating the first electronic device can adjust the target command in time. If the second electronic device successfully executes the target control instruction, the operation result information of 'successful operation' is also fed back to the first electronic device, so that a user operating the first electronic device can judge whether to continue to send the target indication information or to end the control.
S12, an end command is sent.
After all operations executed by the first electronic device to control the second electronic device are completed, the first electronic device may further send an "end instruction" to the second electronic device.
S13, the control function is turned off.
And S14, feeding back operation result information.
After receiving the "end instruction" sent by the first electronic device, the second electronic device may prompt the second electronic device to close the control function in a prompting manner such as voice and/or vibration. After the second electronic device closes the control function, the result is also fed back to the first electronic device. So far, the control of the whole electronic equipment is completed.
By the control method provided by the embodiment of the invention, the interface content of the controlled device does not need to be mapped onto the master control device in the whole process of controlling the controlled device by the master control device, and the controlled device can analyze the target indication information by only sending the corresponding target indication information to the controlled device by the master control device to obtain the corresponding target control instruction and execute the target control instruction. Therefore, the information content on the controlled equipment cannot be leaked, the information safety of the controlled equipment is protected, and the safety performance of remote control is improved.
The above embodiment specifically describes an interaction flow of the electronic device in the control process, and below, the first electronic device is taken as a main control device, the second electronic device is taken as a controlled device, and a control method of the main control terminal and a control method of the controlled terminal are respectively described with reference to fig. 2 to 6.
As shown in fig. 2, fig. 2 is a flowchart of a control method according to an embodiment of the present invention. The control method is applied to first electronic equipment and comprises the following steps:
s210, under the condition that the first electronic device is connected with the M second electronic devices, responding to the first input, and determining a target control instruction.
Wherein M is a positive integer.
Optionally, in some embodiments of the present invention, the first input may be a text input of the user, or may be a click or press input of the user. The target control command may be in a text format or an image format. Such as pictures, GIF animations, videos, etc.
If the first input is character input, the target control instruction is in a text format, and if the first input is click or press input, the target control instruction can be in an image format. Such as pictures, GIF animations, videos, etc.
The following describes in detail a process of determining, by the first electronic device, the target control command in a text format according to some embodiments.
Optionally, in some embodiments of the present invention, if the first input is a text input of a user, the first electronic device may first determine, according to input information input by the user, a target operation and N pieces of control object keyword information corresponding to the target operation, where N is a positive integer greater than 1.
The target operation may be an operation such as "open", "screenshot", or "insert", and the control object keyword may be keyword information related to the description of the application interface, such as "application a", "contact", or "setup".
For example, if the input information input by the user is "open", "application a", and "contact" in this order, the first electronic device may determine that the target operation is "open" and the control object keywords are "application a" and "contact" according to the input information input by the user.
Secondly, the first electronic device may arrange the acquired control object keywords according to a first preset sequence, and add preset symbols between different control object keyword information to form a first character string. The first preset order may be an input order of a user.
Continuing with the example that the input information input by the user is "open", "application a", and "contact", after determining that the control object keywords are "application a" and "contact", the first electronic device may arrange "application a" and "contact" according to the input order of the user, and connect "application a" and "contact" through preset symbols such as "+", "or" space character ", to form a first character string. For example: "application A + contact".
Next, the first electronic device may determine a target control instruction according to the target operation and the first character string. For example, the target control instruction is "open contact of application a".
In addition, the user can also directly input 'open + application a + contact', and the first electronic device can obtain the contact of which the target control instruction is 'open application a' according to the 'open + application a + contact' input by the user.
It should be understood that if the second electronic device is required to perform the target operation at a certain control object, the keyword must be the last control object keyword input by the user. For example, if the user needs the second electronic device to open the contact list of application a, the user input must be "open + application a + contact".
In the embodiment of the invention, the target control instruction is input in a text format, so that when the master control device controls the controlled device, the controlled device can execute related operations only by inputting text information without mapping an interface of the controlled device to the master control device, thereby protecting the information security of the controlled device and improving the use experience of a user.
The following describes in detail a process of determining the target control command by the first electronic device in a case where the target control command is in an image format according to some embodiments.
Optionally, in some embodiments of the present invention, if the user wants to send a control command to the second electronic device through the format of an image, the first input may be a user selected input of a picture, a GIF animation, or a video. And the first input is also input performed by the user in a second preset order. The second preset order may be an order in which the user needs the second electronic device to perform the operation.
For example, if the user wants to open the application a first and then open the contact of the application a by the second electronic device, the first input may be an input that the user selects the image corresponding to the "application a" icon and the image corresponding to the "contact" icon in sequence.
And, when selecting the target image, the user may select the target image in a preset image library. And the preset image library can be an album corresponding to the electronic equipment of the user.
In order to improve the data processing efficiency of the electronic device and the operating speed of the electronic device, an image library in which only icons of application programs are stored may be used as the preset image library.
After the first electronic device receives a first input of the user to the images in the preset image library, the first electronic device may determine, in response to the first input, P target images (one target object corresponds to one control object) corresponding to the P control objects, respectively, where P is a positive integer greater than 1.
Secondly, if the user wants to combine the selected P target images, the first electronic device may further receive a second input of the user to the first control, and in response to the second input of the user, arrange the P target images according to a second preset order to obtain the target images. The second input may be a click input or a press input.
As shown in fig. 3, fig. 3 is a schematic diagram of image synthesis according to an embodiment of the present invention. The user can select to synthesize the P images into a single image or synthesize the P target images into the GIF animation according to requirements. Further, the user may also choose not to perform image synthesis.
If the user performs the second input on the first control 30 corresponding to the synthesized single image, the first electronic device may synthesize the P target images into one image according to the second preset order in response to the second input. If the user performs the second input on the first control 31 corresponding to the synthesized GIF animation, the first electronic device may synthesize the P target images into the GIF animation according to the second preset order in response to the second input. If the user performs the second input to the first control 32 that does not correspond to the image, the first electronic device may respond to the second input and not perform image synthesis.
As shown in fig. 4a-4c, fig. 4a-4c are schematic diagrams of a composite image according to another embodiment of the present invention. The synthesized image shown in fig. 4a may be a sheet of image that is longitudinally arranged or transversely arranged as shown in fig. 4b, which is synthesized by P target images according to a second preset order, or may be a sheet of image that is labeled with numbers labeled according to a second preset order at the lower corner of each target image, as shown in fig. 4c, and the P target images labeled with numbers are synthesized into a sheet of image.
In other embodiments, if the user is a second input directed to the first control corresponding to the synthesized GIF animation, the first electronic device may synthesize the P images into the GIF animation according to a preset second preset order in response to the second input.
In the embodiment of the invention, the first electronic device can determine the target control instructions in different formats according to different types of the first input, so that a user can control the second electronic device through the control instruction in the text format by using the first electronic device, and can also control the second electronic device through the control instruction in the image format, thereby improving the compatibility of the first electronic device and the second electronic device for the diversification of the control modes and improving the use experience of the user.
And S220, sending target indication information to the target second electronic equipment.
The target indication information comprises a target control instruction.
Optionally, in some embodiments of the present invention, after determining the target control instruction, the first electronic device may send the target indication information including the target control instruction to the second electronic device, so that the second electronic device may continue the target control instruction in the target indication information after receiving the target indication information, and execute the target operation corresponding to the target control instruction.
As shown in fig. 5, fig. 5 is a schematic interface diagram of a master device according to an embodiment of the present invention.
Optionally, in some embodiments of the present invention, if the first input of the user on the input interface of the first electronic device is in a text format, the first electronic device may send the target indication information to the second electronic device in the text format as shown in fig. 5. For example: "open application a".
Optionally, in some embodiments of the present invention, as shown in fig. 6, fig. 6 is a schematic interface diagram of a master control device according to another embodiment of the present invention. If the first input of the user on the input interface of the first electronic device is in the image format, the first electronic device may send the target indication information to the second electronic device in the image format as shown in fig. 6. For example: and sending the icon corresponding to the application program A to the second electronic equipment.
In the embodiment of the present invention, in the whole process of controlling the second electronic device by the first electronic device serving as the main control device, the second electronic device can execute the target control instruction according to the target control instruction obtained by analyzing the target indication information by only sending the corresponding target indication information to the second electronic device. The whole control process does not need to map the interface content of the controlled device to the first electronic device, so that the information content on the second electronic device cannot be leaked, the information safety of the second electronic device is protected, and the safety performance of remote control is improved.
In order to more clearly understand the control method applied to the main control device provided in the embodiment of the present invention, the following detailed description is made on the control method in which the target control instruction is in a text format with reference to fig. 7.
As shown in fig. 7, fig. 7 is a flowchart of a control method in which a target control instruction provided by an embodiment of the invention is in a text format.
The method comprises the following steps:
s701, the destination indication information is transmitted.
The target indication information may be "target operation + control object keyword 1+ control object keyword 2+ … + control object keyword n"
And S702, receiving operation result information which is fed back by the second electronic equipment and is about the control object keyword 1.
And S703, judging whether the operation result information is successful.
If yes, continue to execute S704; if not, the process continues to S706.
S704, whether the target object keywords which are not executed by the second electronic equipment exist in the target indication information is judged.
If yes, continuing to execute the step S705; if not, the process continues to S706.
S705, the control object keyword 2 in the target indication information is entered and operation result information on the control object keyword 2 fed back by the second electronic device is received. And returns to S703.
S706, an end instruction is sent.
And S707, receiving operation result information fed back by the second electronic equipment.
S708, judging whether the operation result information is successful.
If yes, continuing to execute S709; if not, the process continues to S706.
S709, ends the control.
In the embodiment of the invention, the target control instruction is input in a text format, so that when the master control device controls the controlled device, the controlled device can execute related operations only by inputting text information without mapping an interface of the controlled device to the master control device, thereby protecting the information security of the controlled device and improving the use experience of a user.
Furthermore, in some embodiments of the present invention, before S210, the first electronic device further needs to send connection request information to the second electronic device. The connection request information includes identity information of the second electronic device. For example, an Identity Document (ID) of the second electronic device.
After the feedback information of "connection success" fed back by the second electronic device is obtained, it indicates that the first electronic device establishes connection with the second electronic device.
It should be emphasized that in this case, the first electronic device may not only establish a connection with one second electronic device, but the first electronic device may also establish a connection by sequentially transmitting a connection request message with identification information of the second electronic device and at least two second electronic devices.
When the first electronic device establishes connection with a plurality of second electronic devices, and the first electronic device sends target indication information to the target second electronic device, it is further required to add identification information of the target second electronic device in the target indication information, so that the second electronic device can accurately execute target operation. The target indication information of the first electronic equipment is more targeted, and the use experience of a user is improved.
In addition, in order to enable the interaction between the first electronic device and the second electronic device to be more timely and accurate, after S220, the first electronic device may further receive feedback information sent by the second electronic device, where the feedback information includes operation result information of the target second electronic device executing the target operation corresponding to the target control instruction.
After receiving the operation result information fed back by the second electronic device, the first electronic device continues to send the target indication information to the second device, so that the second electronic device can execute corresponding target operations in order.
Optionally, in some embodiments of the present invention, with continuing to refer to the interface schematic diagram of the main control device shown in fig. 5 or fig. 6, the first electronic device may further receive operation result information fed back by the second electronic device shown in fig. 5 or fig. 6, for example, "application a opens successfully" or "application B opens unsuccessfully".
In addition, in order to feed back the operation result information to the first electronic device more accurately, the operation result fed back to the first electronic device by the second electronic device may further include identification information of the second electronic device, such as: the ID of the second electronic device. At this time, the operation result information received by the first electronic device may be "ID: 123456 application a opened successfully.
Optionally, in some embodiments of the present invention, when the "screenshot" relates to a target control instruction that needs to send interface content of the second electronic device to the first electronic device, only when receiving a screenshot permitted to be sent by the second electronic device, the first electronic device may receive screenshot information fed back by the second electronic device. Thereby, the information of the second electronic equipment is safely protected.
In addition, in some embodiments of the present invention, the first electronic device may further send a "read status command" (target control command) to the second electronic device, where the first electronic device receives the current interface status information of the second electronic device, which is fed back by the second electronic device. For example: "Current interface-application A-contact List".
After the first electronic device controls the second electronic device to execute all target operations, the first electronic device may further send a target control instruction of "end connection" to the second electronic device, so that the second electronic device ends control connection, and feeds back an operation result to the first electronic device. For example, the "ID: 123456 end connection success ".
In the embodiment of the invention, the first electronic device can timely and accurately acquire the current operation result state of the second electronic device by receiving the operation result information fed back by the second electronic device, so as to continuously send the target indication information to the second electronic device, and the second electronic device can orderly execute corresponding target operations.
In order to enable the second electronic device to better and accurately execute the target operation, the first electronic device sends a target control instruction of a main interface to the second electronic device to enable the second electronic device to return to the main interface, so that the target operation can be more accurately executed.
The following describes in detail a control method applied to a controlled terminal according to an embodiment of the present invention with reference to fig. 8.
Fig. 8 is a flowchart of a control method according to an embodiment of the present invention. The control method is applied to a second electronic device (controlled terminal), and comprises the following steps:
s310, receiving target indication information sent by the first electronic device.
The target indication information is information including a target instruction, and is the same as the target indication information in S220, and is not described herein again.
And S320, analyzing the target indication information to obtain a target control instruction.
And S330, executing target operation corresponding to the target control command.
In the embodiment of the invention, the second electronic device does not need to map the interface content to the first electronic device in the whole process of being controlled by the first electronic device, and the second electronic device can analyze the target indication information according to the received target indication information sent by the first electronic device to obtain the corresponding target control instruction and execute the target control instruction. Therefore, the information content on the equipment is ensured not to be leaked, and the information safety is improved.
Since the target control command transmitted by the first electronic device may be in a text format or an image format, S320-S330 will be described in detail through some embodiments according to the format of the target control command.
Optionally, in some embodiments of the present invention, if the target control instruction sent by the first electronic device to the second electronic device is in a text format, after receiving the target indication information sent by the first electronic device, the second electronic device may analyze the target indication information to obtain the target operation and the first character string corresponding to the target operation.
The first character string comprises N control object keywords corresponding to the target operation and arranged according to a first preset sequence, wherein N is a positive integer greater than 1.
As an example, if the received target indication information is "open + application a + contact list", the target operation object obtained by the analysis by the second electronic device is "open", and the first character string is "application a + contact list".
Next, the second electronic device starts to search whether the current device has the first control object keyword in the first character string according to the parsed first character string. And if the first control object keyword exists, starting to control the first control object keyword to execute the target operation, and feeding back operation result information to the first electronic equipment. And after the operation result information is fed back to the first electronic equipment, the next control object keyword in the first character string is executed continuously.
However, if the second electronic device determines that the first control object keyword does not exist in the current device after the search, the second electronic device does not continue to execute the next control object keyword in the first character string, and may feed back operation result information of the operation failure to the first electronic device.
As an example, please continue to refer to fig. 4, the target operation object parsed by the second electronic device is "open", and the first character string is "application a + contact list".
The second electronic device first starts searching whether the current device has "application a" in it. And if the application program A exists, controlling the application program A to execute the target operation of opening, and feeding back operation result information of successful opening of the application program A to the first electronic equipment. After the operation result information is fed back to the first electronic device, the operation of opening the next control object keyword 'contact list' in the first character string is continuously executed on the interface of the application program A, and the operation result information of 'contact list opening success' is fed back to the first electronic device.
If, instead, the second electronic device first starts searching for whether there is "application a" in the current device. And if the fact that the application program A does not exist in the current equipment is determined, no operation is executed, and operation result information of 'application program A failed to open' is fed back to the first electronic equipment. And the "open" operation of the next control object keyword "contact list" in the first string is not continued.
Next, in order to more clearly understand the control method when the target control instruction provided by the embodiment of the present invention is in a text format, please refer to fig. 9, and fig. 9 is a flowchart of the control method when the target control instruction provided by another embodiment of the present invention is in a text format.
The method comprises the following steps:
s901, analyzing the target indication information.
S902, the control target keyword 1 executes the target operation.
S903, determines whether the execution of the control target keyword 1 is successful.
If yes, continuing to execute S904 and S907; if not, execution continues with S912.
S904, the control object keyword 2 executes the target operation.
S905 judges whether or not execution of the control target keyword 2 is successful.
If yes, continuing to execute S906 and S907; if not, execution continues with S912.
S906, the control object keyword n performs the target operation.
S908, determines whether the execution of the control target keyword n is successful.
If yes, continuing to execute S909 and S907; if not, execution continues with S912.
At S909, it is determined whether or not an end control command is received.
If yes, continue to execute S910; if not, S911 is continuously executed.
S910, voice/vibration reminding and closing the control function.
And S911, keeping the control function on.
And S912, ending the operation.
In the embodiment of the invention, the controlled device can execute the corresponding target operation according to the requirement of the first electronic device only by analyzing the target control instruction sent by the main control device in sequence and controlling the target control object to execute the target operation in sequence, and the interface of the controlled device is not required to be mapped to the main control device, so that the information safety of the controlled device is protected, and the use experience of a user can be improved.
Optionally, in some embodiments of the present invention, if the target control instruction sent by the first electronic device to the second electronic device is in an image format, the second electronic device may obtain P target images arranged according to a second preset order by analyzing the target indication information sent by the first electronic device.
Next, the second electronic device may start to search whether the current device has a control object corresponding to the first target image in the second preset order. And if the control object corresponding to the first target image exists, starting to control the control object corresponding to the first target image to execute target operation, and feeding back operation result information to the first electronic equipment. And after the operation result information is fed back to the first electronic equipment, continuing to execute the control object corresponding to the next target image in the second preset sequence.
However, if the second electronic device determines that the control object corresponding to the first target image does not exist in the current device after the search, the second electronic device does not continue to execute the control object corresponding to the next target image in the second preset sequence, and may feed back operation result information of the operation failure to the first electronic device.
As an example, please continue to refer to fig. 6, if the first electronic device sends a single target image (icon of application a) with only one control object to the second electronic device, the second electronic device searches whether the target image (icon of application a) exists in the current interface after analyzing the target image (icon of application a), and if the target image (icon of application a) exists, starts to control the control object (application a) corresponding to the target image (icon of application a) to perform a target operation (open), and feeds back operation result information (ID: 123456 application open success) to the first electronic device. So that the first electronic device continues to transmit the target indication information.
As another example, if the target indication information sent by the first electronic device to the second electronic device is a synthesized image (target indication information), as shown in fig. 10, fig. 10 is an interface schematic diagram of the main control device according to another embodiment of the present invention.
The second electronic device can obtain 2 target images (the icon of the 'application A' and the icon of the 'contact list') arranged according to a second preset sequence by analyzing the target indication information sent by the first electronic device
Then, the second electronic device may first search whether an icon of "application a" exists in the current device, and if so, start to search whether the icon of "application a" exists in the current interface, and if so, start to control a control object (application a) corresponding to the icon of "application a" to perform a target operation (open), and feed back operation result information (ID: 123456, image operation success 1) to the first electronic device. And continuing to search the icon corresponding to the contact list in the application interface corresponding to the 1 st image, if the icon does not exist, not continuing to search the next target image in the composite image, and feeding back the operation result information (ID: 123456, 2 nd image operation failure) to the first electronic device.
In addition, in other embodiments of the present invention, if the target indication information sent by the first electronic device to the second electronic device is a GIF animation or a video, the second electronic device needs to extract a target video frame in the GIF animation or the video when analyzing the target indication information.
The extracted target video frame should be a video frame including a complete image. After the second electronic device extracts the target video frames, the obtained target video frames are arranged according to a second preset sequence, whether the same images exist in the current interface or not is sequentially searched according to the second preset sequence, if yes, the images are controlled to execute corresponding target operation, and operation result information ID is fed back to the first electronic device: 123456 the nth image is opened successfully ", and if the same image does not exist in the current interface, feeding back operation result information" ID: 123456 the nth image failed to open ", the next target image in the second preset order is not searched.
In the embodiment of the invention, the second electronic device selects different control modes according to different types of target control instructions sent by the first electronic device, so that the controlled mode of the second electronic device is not limited to a single mode, the compatibility of the first electronic device and the second electronic device for the diversification of the control modes is improved, and the use experience of a user is further improved.
Optionally, in some embodiments of the present invention, if the target control instruction input by the user is a preset instruction such as "screenshot" that needs to be sent to the first electronic device through the interface of the second electronic device, before S330, the preset interface may also be displayed.
The preset interface may be displayed on the second electronic device in a pop-up window manner, and the preset interface is used for inquiring whether the user at the second electronic device side allows the second electronic device to execute the target operation.
And if the second electronic equipment receives a fourth input of the user aiming at the second control representing 'permission', starting to execute a target operation corresponding to the target control instruction. On the contrary, if the second electronic device receives the fourth input of the second control indicating "not allowed", the target operation corresponding to the target control instruction is not executed. It should be emphasized that regardless of whether the second electronic device performs the target operation corresponding to the target control instruction, the corresponding operation result information is fed back to the first electronic device.
In the embodiment of the present invention, if the target control instruction sent by the first electronic device relates to the specific information content of the second electronic device, the second electronic device needs to obtain the permission of the user at the second electronic device end when executing the relevant target operation, so that the information content of the second electronic device can be protected more safely, and the information safety of the second electronic device is improved.
Based on the specific implementation of the control method provided by the above embodiment, correspondingly, the invention also provides a specific implementation of the control device of the electronic equipment. Please refer to fig. 11.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 11, the electronic apparatus includes:
a first determining module 1010, configured to determine a target control instruction in response to a first input when a first electronic device establishes a connection with M second electronic devices;
a first sending module 1020, configured to send target indication information to the target second electronic device, so that the target second electronic device parses a target control instruction from the target indication information and executes a target operation corresponding to the target control instruction;
wherein, M is a positive integer, and the target indication information comprises a target control instruction.
In the embodiment of the present invention, in the whole process of controlling the second electronic device by the first electronic device serving as the main control device, the second electronic device can execute the target control instruction according to the target control instruction obtained by analyzing the target indication information by only sending the corresponding target indication information to the second electronic device. The whole control process does not need to map the interface content of the controlled device to the first electronic device, so that the information content on the second electronic device cannot be leaked, the information safety of the second electronic device is protected, and the safety performance of remote control is improved.
Optionally, in some embodiments of the present invention, the format of the target control instruction is a text format.
Optionally, in some embodiments of the present invention, the first determining module 1010 further includes:
the first determining submodule is used for responding to the first input and determining target operation and N pieces of control object keyword information corresponding to the target operation; n is greater than 1 and is a positive integer;
the generating module is used for arranging the N pieces of control object keyword information according to a first preset sequence and adding preset symbols among different pieces of control object keyword information so as to form a first character string;
and the second determining submodule is used for determining a target control instruction according to the target operation and the first character string.
Optionally, in some embodiments of the present invention, the format of the target control instruction is an image format.
Alternatively, in some embodiments of the present invention,
the first determining submodule is further used for responding to first input of a user to images in a preset image library and determining P target images corresponding to the P control objects respectively; the first input is input executed by a user according to a second preset sequence; p is greater than 1 and is a positive integer;
the first receiving submodule is used for receiving a second input of the user;
the synthesis module is used for responding to second input and arranging the P target images according to a second preset sequence to obtain a synthesized image;
the second determining sub-module is further configured to determine the composite image as the target control instruction.
Optionally, in some embodiments of the present invention, the synthesis module further includes:
the second receiving submodule is used for receiving a third input of the user to the first control;
and the synthesis submodule is used for responding to a third input and arranging the P target images according to a second preset sequence to obtain a synthesized image.
Optionally, in some embodiments of the present invention, the target indication information further includes identification information of the target second electronic device.
Optionally, in some embodiments of the present invention, the electronic device further includes:
the second receiving module is used for receiving feedback information sent by the target second electronic equipment, wherein the feedback information comprises operation result information of target operation corresponding to the target control instruction executed by the target second electronic equipment;
and the first display module is used for displaying the operation result information.
Fig. 12 is a schematic structural diagram of an electronic device according to another embodiment of the present invention. As shown in fig. 12, the electronic apparatus includes:
a first receiving module 1110, configured to receive target indication information sent by a first electronic device;
the analysis module 1120 is configured to analyze the target indication information to obtain a target control instruction;
an executing module 1130 is configured to execute a target operation corresponding to the target control instruction.
Optionally, in some embodiments of the present invention, the format of the target control instruction is a text format;
the parsing module 1120 is further configured to parse the target indication information to obtain a target operation and a first character string, where the first character string includes N pieces of control object keyword information corresponding to the target operation, and the N pieces of control object keyword information are arranged according to a first preset sequence; wherein N is greater than 1 and is a positive integer;
the executing module 1130 is further configured to sequentially control, according to a first preset sequence, the control object corresponding to each piece of control object keyword information to execute the target operation corresponding to the target operation information; after the target operation is executed each time, operation result information corresponding to the target operation is sent to the first electronic equipment;
and when the operation result information of the previous target operation is failed, the next target operation is forbidden to be triggered and executed.
Optionally, in some embodiments of the present invention, the format of the target control instruction is an image format;
the parsing module 1120 is further configured to parse the target indication information to obtain P target images arranged according to a second preset order; wherein P is greater than 1 and is a positive integer;
the executing module 1130 is further configured to sequentially control the control objects corresponding to each target image one by one according to a second preset order to execute the target operation; after the target operation is executed each time, operation result information corresponding to the target operation is sent to the first electronic equipment;
and when the operation result information of the previous target operation is failed, the next target operation is forbidden to be triggered and executed.
Optionally, in some embodiments of the present invention, the electronic device further includes:
the second display module is used for displaying a preset interface;
the third receiving module is used for receiving fourth input of the user to a second control in the preset interface;
the executing module 1130 is further configured to, in response to the fourth input, execute a target operation corresponding to the target control instruction.
Fig. 13 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 13 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to, in a case where the first electronic device establishes connections with the M second electronic devices, determine a target control instruction in response to the first input; sending target indication information to the target second electronic equipment so that the target second electronic equipment can analyze a target control instruction from the target indication information and execute target operation corresponding to the target control instruction; wherein, M is a positive integer, and the target indication information comprises a target control instruction.
In the embodiment of the invention, in the process of controlling the controlled device by using the master control device, the user can control the controlled device to execute the response operation only by sending the corresponding control instruction to the controlled device through the master control device without directly mapping the interface information of the controlled device to the master control device, so that the master control device cannot directly check the information content on the controlled device, thereby protecting the information safety of the controlled device and improving the safety performance of remote control.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 13 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above-mentioned embodiment of the control method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A control method is applied to first electronic equipment and is characterized by comprising the following steps:
under the condition that the first electronic equipment is connected with M second electronic equipment, responding to a first input, and determining a target control instruction;
sending target indication information to target second electronic equipment, so that the target second electronic equipment analyzes the target control instruction from the target indication information and executes target operation corresponding to the target control instruction;
wherein, M is a positive integer, and the target indication information includes the target control instruction.
2. The method of claim 1, wherein the target control instruction is in a text format;
the determining a target control instruction in response to the first input specifically includes:
responding to the first input, and determining target operation and N pieces of control object keyword information corresponding to the target operation; wherein N is greater than 1 and is a positive integer;
arranging the N pieces of control object keyword information according to a first preset sequence, and adding preset symbols among different pieces of control object keyword information to form a first character string;
and determining the target control instruction according to the target operation and the first character string.
3. The method of claim 1, wherein the target control command is in an image format;
the determining a target control instruction in response to the first input specifically includes:
determining P target images in response to the first input of a user to an image in a preset image library; wherein one of the target images corresponds to one of the control objects; the first input is input executed by the user according to a second preset sequence; wherein P is greater than 1 and is a positive integer;
receiving a second input;
responding to the second input, and arranging the P target images according to the second preset sequence to obtain a composite image;
determining the composite image as the target control instruction.
4. The method according to claim 3, wherein the arranging the P target images according to a second preset order to obtain a composite image specifically comprises:
receiving a third input of the first control by the user;
and responding to the third input, and arranging the target images according to the second preset sequence to obtain the composite image.
5. A control method applied to a second electronic device includes:
receiving target indication information sent by first electronic equipment;
analyzing the target indication information to obtain a target control instruction;
and executing target operation corresponding to the target control instruction.
6. The method of claim 5, wherein the target control instruction is in a text format;
the analyzing the target indication information to obtain a target control instruction comprises:
analyzing the target indication information to obtain a target operation and a first character string, wherein the first character string comprises N pieces of control object keyword information corresponding to the target operation, and the N pieces of control object keyword information are arranged according to a first preset sequence; wherein N is greater than 1 and is a positive integer;
the executing the target operation corresponding to the target control instruction specifically includes:
sequentially controlling the control object corresponding to each control object keyword information to execute the target operation corresponding to the target operation information according to the first preset sequence; after the target operation is executed each time, operation result information corresponding to the target operation is sent to the first electronic equipment;
and when the operation result information of the previous target operation is failed, the next target operation is forbidden to be triggered and executed.
7. The method of claim 5, wherein the target control command is in an image format;
the analyzing the target indication information to obtain a target control instruction comprises:
analyzing the target indication information to obtain P target images arranged according to a second preset sequence; wherein one of the target images corresponds to one of the control objects; p is greater than 1 and is a positive integer;
the executing the target operation corresponding to the target control instruction specifically includes:
sequentially controlling the control object corresponding to each target image to execute target operation according to the second preset sequence; after the target operation is executed each time, operation result information corresponding to the target operation is sent to the first electronic equipment;
and when the operation result information of the previous target operation is failed, the next target operation is forbidden to be triggered and executed.
8. The method according to claim 5, wherein when the target control instruction is a preset instruction, before the executing the target operation corresponding to the target control instruction, further comprising:
displaying a preset interface;
receiving a fourth input of the user to a second control in the preset interface;
the executing the target operation corresponding to the target control instruction comprises:
and responding to the fourth input, and executing a target operation corresponding to the target control instruction.
9. An electronic device, comprising:
the first determining module is used for responding to a first input and determining a target control instruction under the condition that the first electronic equipment is connected with the M second electronic equipment;
the first sending module is used for sending target indication information to the target second electronic equipment so that the target second electronic equipment can analyze the target control instruction from the target indication information and execute target operation corresponding to the target control instruction;
wherein, M is a positive integer, and the target indication information includes the target control instruction.
10. An electronic device, comprising:
the first receiving module is used for receiving target indication information sent by first electronic equipment;
the analysis module is used for analyzing the target indication information to obtain a target control instruction;
and the execution module is used for executing the target operation corresponding to the target control instruction.
CN202010160587.8A 2020-03-10 2020-03-10 Control method and electronic equipment Active CN111400729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010160587.8A CN111400729B (en) 2020-03-10 2020-03-10 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010160587.8A CN111400729B (en) 2020-03-10 2020-03-10 Control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111400729A true CN111400729A (en) 2020-07-10
CN111400729B CN111400729B (en) 2023-10-20

Family

ID=71430617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010160587.8A Active CN111400729B (en) 2020-03-10 2020-03-10 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111400729B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934456A (en) * 2021-10-22 2022-01-14 维沃移动通信(杭州)有限公司 Control method and device and electronic equipment
CN114125011A (en) * 2021-11-15 2022-03-01 珠海格力电器股份有限公司 Device control method, device, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546352A (en) * 2013-10-30 2014-01-29 乐视致新电子科技(天津)有限公司 Remote control method and device based on wireless login
WO2015117554A1 (en) * 2014-02-10 2015-08-13 Tencent Technology (Shenzhen) Company Limited Data processing method, apparatus, and terminal device
CN105700869A (en) * 2015-12-30 2016-06-22 联想(北京)有限公司 Control method, information processing method, related device and electronic equipment
US20160350055A1 (en) * 2015-06-01 2016-12-01 Lenovo (Beijing) Co., Ltd. Electronic Device Control Method and Electronic Device
GB2542777A (en) * 2015-09-28 2017-04-05 Sony Corp A first apparatus for controlling a second apparatus
BR112015014471A2 (en) * 2012-12-21 2017-07-11 Koninklijke Philips Nv second electronic device, first electronic device, system for controlling a first electronic device, method for controlling a first electronic device from a second electronic device, and computer program product
CN110471564A (en) * 2019-07-31 2019-11-19 维沃移动通信有限公司 A kind of display control method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR112015014471A2 (en) * 2012-12-21 2017-07-11 Koninklijke Philips Nv second electronic device, first electronic device, system for controlling a first electronic device, method for controlling a first electronic device from a second electronic device, and computer program product
CN103546352A (en) * 2013-10-30 2014-01-29 乐视致新电子科技(天津)有限公司 Remote control method and device based on wireless login
WO2015117554A1 (en) * 2014-02-10 2015-08-13 Tencent Technology (Shenzhen) Company Limited Data processing method, apparatus, and terminal device
US20160350055A1 (en) * 2015-06-01 2016-12-01 Lenovo (Beijing) Co., Ltd. Electronic Device Control Method and Electronic Device
GB2542777A (en) * 2015-09-28 2017-04-05 Sony Corp A first apparatus for controlling a second apparatus
CN105700869A (en) * 2015-12-30 2016-06-22 联想(北京)有限公司 Control method, information processing method, related device and electronic equipment
CN110471564A (en) * 2019-07-31 2019-11-19 维沃移动通信有限公司 A kind of display control method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113934456A (en) * 2021-10-22 2022-01-14 维沃移动通信(杭州)有限公司 Control method and device and electronic equipment
CN114125011A (en) * 2021-11-15 2022-03-01 珠海格力电器股份有限公司 Device control method, device, electronic device and storage medium

Also Published As

Publication number Publication date
CN111400729B (en) 2023-10-20

Similar Documents

Publication Publication Date Title
CN108415652B (en) Text processing method and mobile terminal
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN111274777B (en) Thinking guide display method and electronic equipment
CN109614061B (en) Display method and terminal
CN109241775B (en) Privacy protection method and terminal
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108710458B (en) Split screen control method and terminal equipment
US11250046B2 (en) Image viewing method and mobile terminal
CN108897473B (en) Interface display method and terminal
CN109062634B (en) Application starting method and mobile terminal
CN109388456B (en) Head portrait selection method and mobile terminal
CN110913067A (en) Information sending method and electronic equipment
CN110096203B (en) Screenshot method and mobile terminal
WO2021104232A1 (en) Display method and electronic device
CN107786739B (en) Information acquisition method and mobile terminal
CN111400729B (en) Control method and electronic equipment
CN110012151B (en) Information display method and terminal equipment
CN109672845B (en) Video call method and device and mobile terminal
CN111405043A (en) Information processing method and device and electronic equipment
CN109063079B (en) Webpage labeling method and electronic equipment
CN108829306B (en) Information processing method and mobile terminal
CN108287644B (en) Information display method of application program and mobile terminal
CN107908329B (en) Application icon management method and mobile terminal
CN108647063A (en) A kind of method and terminal of display object
CN109857578B (en) Text copying method and electronic equipment

Legal Events

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