CN107608247B - Data processing method, electronic equipment and data processing system - Google Patents

Data processing method, electronic equipment and data processing system Download PDF

Info

Publication number
CN107608247B
CN107608247B CN201710897073.9A CN201710897073A CN107608247B CN 107608247 B CN107608247 B CN 107608247B CN 201710897073 A CN201710897073 A CN 201710897073A CN 107608247 B CN107608247 B CN 107608247B
Authority
CN
China
Prior art keywords
electronic device
operation instruction
instruction
indication information
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710897073.9A
Other languages
Chinese (zh)
Other versions
CN107608247A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710897073.9A priority Critical patent/CN107608247B/en
Publication of CN107608247A publication Critical patent/CN107608247A/en
Application granted granted Critical
Publication of CN107608247B publication Critical patent/CN107608247B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a data processing method, an electronic device and a data processing system, wherein a first electronic device can send a second operation instruction for performing a first operation on the second electronic device to at least one second electronic device when receiving a first operation instruction for performing the first operation on the first electronic device, so that the second electronic device performs the first operation on the second electronic device when receiving the second operation instruction, and the first electronic device performs the first operation on the first electronic device, and as can be seen from the above process, when a user operates the first electronic device and triggers the first electronic device to perform the first operation, the first electronic device can trigger the second electronic device to also perform the first operation, that is, the user only needs to perform one operation on the first electronic device, so that the first electronic device and the at least one second electronic device can both perform the first operation, and for the user, the operation is greatly simplified, the operation time is greatly shortened, and the user experience is improved.

Description

Data processing method, electronic equipment and data processing system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data processing method, an electronic device, and a data processing system.
Background
In a network system formed by connecting a first electronic device with a plurality of second electronic devices, when certain operation needs to be performed on each electronic device in the whole network system, each electronic device generally needs to be operated one by one, and the operation mode is complicated, time-consuming and poor in user experience.
Disclosure of Invention
In view of the above, the present invention provides a data processing method, an electronic device, and a data processing system, so as to solve the problems in the prior art that when a certain operation is performed on each electronic device in an entire network system, the operation process is relatively complicated, the time consumption is relatively long, and the user experience is very poor, and the technical scheme is as follows:
a data processing method is applied to a first electronic device, the first electronic device can communicate with at least one second electronic device, and the data processing method comprises the following steps:
receiving a first operation instruction, wherein the first operation instruction is used for performing first operation on the first electronic device;
sending a second operation instruction to the at least one second electronic device, wherein the second operation instruction is used for performing the first operation on the second electronic device;
and responding to the first operation instruction, and performing the first operation on the first electronic equipment.
The first electronic device and the at least one electronic device form a master-slave architecture network, the first electronic device is a master device in the master-slave architecture network, and the at least one electronic device is a slave device in the master-slave architecture network;
or,
the first electronic device has at least a first function and a second function, and the second electronic device has a third function corresponding to the second function.
Wherein the first operation is an operation of changing a target parameter of the first electronic device and the second electronic device, wherein the target parameter is a device state parameter or a device configuration parameter.
Preferably, the data processing method further includes:
receiving indication information, wherein the indication information is used for indicating the second electronic device to receive the second operation instruction;
the responding to the first operation instruction, performing the first operation on the first electronic device, including:
after the indication information is received, responding to the first operation instruction, and performing the first operation on the first electronic device.
Preferably, the data method further comprises:
judging whether indication information of all second electronic equipment is received;
the responding to the first operation instruction, performing the first operation on the first electronic device, including:
and when the indication information of all the second electronic devices is received, responding to the first operation instruction, and performing the first operation on the first electronic device.
Preferably, the data processing method further includes:
judging whether the indication information is received within a preset time period;
and if the indication information is not received within the preset time period, retransmitting the second operation instruction to the second electronic equipment which does not transmit the indication information.
A data processing method is applied to a second electronic device, wherein the second electronic device can communicate with a first electronic device, and the data processing method comprises the following steps:
receiving a second operation instruction, wherein the second operation instruction is used for performing a first operation on the second electronic device, the second operation instruction is an instruction sent to the second electronic device by the first electronic device when the first operation instruction is received, and the first operation instruction is used for performing the first operation on the first electronic device;
and responding to the second operation instruction, and performing the first operation on the second electronic equipment.
An electronic device communicable with at least one second electronic device as a first electronic device, comprising: the device comprises a first receiving module, a sending module and a response module;
the first receiving module is configured to receive a first operation instruction, where the first operation instruction is used to perform a first operation on the first electronic device;
the sending module is configured to send a second operation instruction to the at least one second electronic device, where the second operation instruction is used to perform the first operation on the second electronic device;
the response module is configured to respond to the first operation instruction and perform the first operation on the first electronic device.
An electronic device communicable with a first electronic device as a second electronic device, comprising: a receiving module and a response module;
the receiving module is configured to receive a second operation instruction, where the second operation instruction is used to perform a first operation on the second electronic device, the second operation instruction is an instruction sent to the second electronic device by the first electronic device when receiving a first operation instruction, and the first operation instruction is used to perform the first operation on the first electronic device;
and the response module is used for responding to the second operation instruction and carrying out the first operation on the second electronic equipment.
A data processing system comprising: a first electronic device and at least one second electronic device, the first electronic device being communicable with the at least one second electronic device;
the first electronic device is configured to receive a first operation instruction and send a second operation instruction to the at least one second electronic device, where the first operation instruction is used to perform a first operation on the first electronic device, and the second operation instruction is used to perform the first operation on the second electronic device;
the at least one second electronic device is used for receiving the second operation instruction and responding to the second operation instruction to perform the first operation on the second electronic device;
the first electronic device is further configured to respond to the first operation instruction and perform the first operation on the first electronic device.
The technical scheme has the following beneficial effects:
in the data processing method, the electronic device and the data processing system provided by the invention, when receiving a first operation instruction for performing a first operation on the first electronic device, the first electronic device can send a second operation instruction for performing the first operation on the second electronic device to at least one second electronic device, so that the second electronic device performs the first operation on the second electronic device when receiving the second operation instruction, and the first electronic device also performs the first operation on the first electronic device, and as can be seen from the above process, when the first electronic device is triggered to perform the first operation by operating the first electronic device, the first electronic device can trigger the second electronic device to also perform the first operation, that is, the first electronic device only needs to be operated once, and the second electronic devices do not need to be operated one by one, so that the first electronic device and the at least one second electronic device can both perform the first operation, the operation is greatly simplified, the operation time is greatly shortened, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data processing system according to an embodiment 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
An embodiment of the present invention provides a data processing method, where the method is applied to a first electronic device, and the first electronic device may communicate with at least one second electronic device, please refer to fig. 1, which shows a flowchart of the data processing method, and the method may include:
step S101: a first operation instruction is received.
The first operation instruction is used for carrying out first operation on the first electronic equipment.
Step S102: and sending a second operation instruction to at least one second electronic device.
The second operation instruction is used for performing the first operation on the second electronic device, that is, the second operation instruction is sent to at least one second electronic device to control the second electronic device to perform the first operation.
Step S103: and responding to the first operation instruction, and performing first operation on the first electronic equipment.
In one possible implementation manner, the first electronic device has at least a first function and a second function, and the second electronic device has a third function corresponding to the second function.
Illustratively, the first electronic device is a router, the second electronic device is an expander, and the router can automatically select and set a path according to the condition of a channel and can send a signal by using the optimal path.
In this embodiment, the first operation may be an operation of changing a target parameter of the first electronic device and the second electronic device, where the target parameter may be a device state parameter or a device configuration parameter.
The data processing method is described below by taking as an example that the first electronic device is a router, the second electronic device is an expander, and the first operation is an operation of changing device configuration parameters of the router and the expander (specifically, the first operation is an operation of clearing connection configuration parameters of the router and the expander):
in order to meet the internet access requirement of a user, a terminal device on a general user side is directly connected with a wireless local area network provided by a router, however, a wireless signal sent by the router has a certain coverage range, if the terminal is out of the coverage range, the terminal device cannot be connected to the router, that is, cannot effectively communicate with the router, based on which, an expander can be arranged between the router and the terminal device, so that the terminal device out of the coverage range of the wireless signal sent by the router can be connected to the router through the expander to communicate with the router, assuming that the router is simultaneously connected with a plurality of expanders, when the user wants to clear the configuration information of the router and the plurality of expanders, the user presses a reset key of the router or resets the router on a control interface, the router receives a reset instruction and sends the reset instruction to the plurality of expanders, the method includes that an expander executes reset operation after receiving a reset instruction sent by a router, and clears own configuration information, specifically, the configuration information cleared by the expander can include information of a router connected with the expander, a WiFi name and password, and a management account and password, the router also executes reset operation after sending the reset instruction, and clears own configuration information, and specifically, the configuration information cleared by the router can include information of the expander connected with the router, information of a terminal connected with the router, the WiFi name and password, and the management account and password. It should be noted that, after the router and the expanders are reset, the configuration information of the router and the expanders can be restored to default configuration information, where the default configuration information may be configuration information of the router and the expanders when leaving the factory, and after the router and the expanders restore the default configuration, if the router and the expanders have a pairing relationship, the expanders and the router still can establish communication connection, that is, after the router and the expanders are reset, a network between the router and the expanders is not disconnected, but the configuration information after the reset is different from the configuration information before the reset, and if the router and the expanders do not have a pairing relationship, the router and the expanders cannot establish communication connection, that is, after the router and the expanders are reset, the network formed by the router and the expanders is disconnected. According to the process, the user only needs to press the reset key of the router or reset the router on the control interface, the router and the expander can both execute reset operation, the reset key of the expander does not need to be pressed one by one or reset and expand one by one on the control interface, the operation process is greatly simplified for the user, the operation time is greatly shortened, and the user experience is better.
The following describes the data processing method by taking as an example that the first electronic device is a router, the second electronic device is an expander, the router is connected to the plurality of expanders, and the first operation is an operation of changing a device state parameter:
when a user presses a shutdown key (or a restart key) of the router, the router receives a shutdown instruction (or a restart instruction), the router sends the shutdown instruction (or the restart instruction) to a plurality of expanders after receiving a reset instruction (or the restart instruction), the expanders execute shutdown operation (or the restart operation) when receiving the shutdown instruction (or the restart instruction), and change own equipment state parameters, and the router also executes the shutdown operation (or the restart operation) after sending the shutdown instruction to the plurality of expanders, and changes own equipment state parameters. According to the process, the user only needs to press the shutdown key (or the restart key) of the router, so that the router and the expander can both execute shutdown operation (or restart operation), and the expanders do not need to be shut down (or restarted) one by one.
In another possible implementation manner, the first electronic device and the at least one second electronic device form a master-slave architecture network, the first electronic device is a master device in the master-slave architecture network, and the at least one second electronic device is a slave device in the master-slave architecture network. The first electronic device has a master control right and can control at least one second electronic device, and the second electronic device cannot obtain the master control right and can only be controlled by the first electronic device.
Illustratively, the first electronic device is a control device in an intelligent home, the second electronic device is an intelligent household appliance, such as an intelligent television, an intelligent refrigerator, an intelligent electric cooker, and the like, the control device and the plurality of intelligent household appliances may be connected through a zigbee or z-wave network, and the control device may send a control instruction to the intelligent household appliance through the zigbee or z-wave network, so as to implement control of the intelligent household appliance, and at some times, the user may wish to clear connection configuration information of the control device and the intelligent household appliance connected to the control device, at this time: the user operates the control equipment to reset, the control equipment receives the reset instruction and sends the reset instruction to the intelligent household appliance, the intelligent household appliance executes the reset operation after receiving the reset instruction and clears the connection configuration information of the intelligent household appliance, and the control equipment clears the connection configuration information of the intelligent household appliance after sending the reset instruction.
The data processing method provided by the invention can send a second operation instruction for performing the first operation on the second electronic equipment to at least one second electronic equipment when the first electronic equipment receives the first operation instruction for performing the first operation on the first electronic equipment, so that the second electronic equipment performs the first operation on the second electronic equipment when receiving the second operation instruction, and the first electronic equipment performs the first operation on the first electronic equipment, and the first electronic equipment can trigger the second electronic equipment to perform the first operation when the first electronic equipment is triggered to perform the first operation by the operation of the first electronic equipment by a user, namely, the first electronic equipment and the at least one second electronic equipment can both perform the first operation only by one-time operation on the first electronic equipment by the user, the operation is greatly simplified for the user, and the operation time is greatly shortened, the user experience is improved.
Referring to fig. 2, another schematic flow chart of a data processing method according to an embodiment of the present invention is shown, where the method is applied to a first electronic device, and the first electronic device may communicate with at least one second electronic device, and the data processing method may include:
step S201: a first operation instruction is received.
The first operation instruction is used for carrying out first operation on the first electronic equipment. The first operation may be an operation of changing a target parameter of the first electronic device and the second electronic device, and the target parameter may be a device state parameter or a device configuration parameter.
Step S202: and sending a second operation instruction to at least one second electronic device.
The second operation instruction is used for carrying out first operation on the second electronic equipment.
In one possible implementation manner, the first electronic device has at least a first function and a second function, and the second electronic device has a third function corresponding to the second function. Illustratively, the first electronic device is a router, the second electronic device is an expander, and the router can automatically select and set a path according to the condition of a channel and can send a signal by using the optimal path.
In another possible implementation manner, the first electronic device and the at least one second electronic device form a master-slave architecture network, the first electronic device is a master device in the master-slave architecture network, and the at least one second electronic device is a slave device in the master-slave architecture network. The first electronic device has a master control right and can control at least one second electronic device, and the second electronic device cannot obtain the master control right and can only be controlled by the first electronic device. Illustratively, the first electronic device is a control device in an intelligent home, the second electronic device is an intelligent home appliance, the control device has a master control right and can control the intelligent home appliance, for example, the controller is turned on or off, and the intelligent home appliance can only be controlled by the control device.
Step S203: indication information is received.
The indication information is used for indicating that the second electronic equipment receives a second operation instruction.
Step S204: after the indication information is received, responding to a first operation instruction, and performing first operation on the first electronic equipment.
The first electronic device receives the indication information from the second electronic device, and it may be determined that the second electronic device received the second operation command.
In a possible implementation manner, the first electronic device performs the first operation in response to the first operation instruction as long as the first electronic device receives the indication information from the second electronic device within the preset time period. In another preferred implementation, the first electronic device performs the first operation in response to the first operation instruction after receiving the indication information of all the second electronic devices, and for this implementation, the first electronic device needs to determine whether to receive the indication information of all the second electronic devices, and if so, performs the first operation in response to the first operation instruction. Under normal conditions, when the second electronic device receives the second operation instruction, the second electronic device feeds back indication information to the first electronic device, based on the indication information, the number of the indication information received in the preset time period can be determined, and if the number of the indication information is the same as the number of the second electronic devices, the second electronic device can be determined to receive the indication information of all the second electronic devices.
In some cases, there may be a case that the second electronic device does not receive the second operation instruction sent by the first electronic device, at this time, the second electronic device does not send the indication information to the first electronic device, and even does not execute the first operation, in order to ensure that the second electronic device receives the second operation instruction, the data processing method provided in this embodiment may further include: judging whether indication information is received within a preset time period; and if the indication information is not received within the preset time period, retransmitting the second operation instruction to the second electronic equipment which does not transmit the indication information.
The data processing method is described below by taking as an example that the first electronic device is a router, the second electronic device is an expander (the expander has a routing function and can transmit and receive signals), and the first operation is an operation of changing device configuration parameters of the router and the expander (specifically, the first operation is an operation of clearing connection configuration parameters of the router and the expander):
assuming that a router and a plurality of expanders form a mesh network, when a user wants to reset the router and the expanders in the whole mesh network, the user presses a reset key of the router or resets the router on a control interface, the router receives a reset instruction, the router sends the reset instruction to the plurality of expanders after receiving the reset instruction, the expanders return an ACK signal to the router after receiving the reset instruction sent by the router, then reset operation is executed, self connection configuration information (the configuration information can comprise information, WiFi names and passwords, management account numbers and passwords of routers connected with the router) is cleared, and if the router receives the ACK signals returned by all the expanders within a preset time period, the self connection configuration information (the configuration information can comprise information of the expanders connected with the router) is cleared in response to the reset instruction, Information of a terminal connected thereto, WiFi name and password, management account and password). If the router does not receive the ACK signals returned by one or more expanders within the preset time period, the router sends a reset instruction to the expanders which do not return the ACK signals again until the ACK signals returned by all the expanders are received, and then responds to the reset instruction to clear the connection configuration information of the router. It should be noted that, after the router and the expanders are reset, the configuration information of the router and the expanders can be restored to default configuration information, where the default configuration information may be configuration information of the router and the expanders when leaving the factory, and after the router and the expanders restore the default configuration, if the router and the expanders have a pairing relationship, the expanders and the router still can establish communication connection, that is, after the router and the expanders are reset, a network between the router and the expanders is not disconnected, but the configuration information after the reset is different from the configuration information before the reset, and if the router and the expanders do not have a pairing relationship, the router and the expanders cannot establish communication connection, that is, after the router and the expanders are reset, the network formed by the router and the expanders is disconnected. According to the process, a user only needs to press a reset key of the router or reset the router on the control interface, so that the router and the expander can both execute reset operation, and the user does not need to press the reset keys of the expanders one by one or reset the expanders one by one on the control interface.
The data processing method provided by the invention can send a second operation instruction for performing the first operation on the second electronic equipment to at least one second electronic equipment when the first electronic equipment receives the first operation instruction for performing the first operation on the first electronic equipment, so that the second electronic equipment performs the first operation on the second electronic equipment when receiving the second operation instruction, and the first electronic equipment performs the first operation on the first electronic equipment when receiving the indication information for indicating the second electronic equipment to receive the second operation instruction, and the process can indicate that when the first electronic equipment is triggered to perform the first operation by the operation of the first electronic equipment by a user, the first electronic equipment can trigger the second electronic equipment to perform the first operation, namely, the first electronic equipment only needs to be operated by the user once, so that the first electronic equipment and the at least one second electronic equipment can both perform the first operation, and for the user, the operation is greatly simplified, the operation time is greatly shortened, and the user experience is improved.
Referring to fig. 3, a flow chart of the data processing method is shown, where the data processing method includes:
step S301: and receiving a second operation instruction.
The second operation instruction is used for performing first operation on the second electronic device, the second operation instruction is an instruction sent to the second electronic device by the first electronic device when the first operation instruction is received, and the first operation instruction is used for performing first operation on the first electronic device.
The first operation may be an operation of changing a target parameter of the first electronic device and the second electronic device, where the target parameter may be a device state parameter or a device configuration parameter. Illustratively, the first operation may be a reset operation, a shutdown operation, or a restart operation.
Step S301: and responding to the second operation instruction, and performing first operation on the second electronic equipment.
In one possible implementation manner, the first electronic device has at least a first function and a second function, and the second electronic device has a third function corresponding to the second function. Illustratively, the first electronic device is a router, the second electronic device is an expander, and the router can automatically select and set a path according to the condition of a channel and can send a signal by using the optimal path.
In another possible implementation manner, the first electronic device and the at least one second electronic device form a master-slave architecture network, the first electronic device is a master device in the master-slave architecture network, and the at least one second electronic device is a slave device in the master-slave architecture network. The first electronic device has a master control right and can control at least one second electronic device, and the second electronic device cannot obtain the master control right and can only be controlled by the first electronic device. Illustratively, the first electronic device is a control device in an intelligent home, the second electronic device is an intelligent home appliance, the control device has a master control right and can control the intelligent home appliance, for example, the intelligent home appliance is controlled to be turned on or turned off, and the intelligent home appliance can only be controlled by the control device.
The method provided by the embodiment of the invention can also comprise the following steps: after receiving the second operation instruction, sending indication information to the first electronic device, wherein the indication information is used for indicating that the second electronic device receives the second operation instruction.
According to the data processing method provided by the embodiment of the invention, the first electronic equipment and the at least one second electronic equipment can execute the first operation only by one-time operation on the first electronic equipment by a user, and for the user, the operation is greatly simplified, the operation time is greatly shortened, and the user experience is improved.
An embodiment of the present invention further provides an electronic device, where the electronic device may be used as a first electronic device to communicate with at least one second electronic device, please refer to fig. 4, which shows a schematic structural diagram of the electronic device 40, and the electronic device may include: a first receiving module 401, a sending module 402 and a response module 403. Wherein:
the first receiving module 401 is configured to receive a first operation instruction, where the first operation instruction is used to perform a first operation on the first electronic device.
A sending module 402, configured to send a second operation instruction to at least one second electronic device, where the second operation instruction is used to perform the first operation on the second electronic device.
A response module 403, configured to perform the first operation on the first electronic device in response to the first operation instruction.
The first electronic device provided in the embodiment of the present invention, when receiving a first operation instruction for performing a first operation on the first electronic device, may send a second operation instruction for performing the first operation on the second electronic device to at least one second electronic device, so that the second electronic device performs the first operation on itself when receiving the second operation instruction, and the first electronic device performs the first operation on itself, as can be seen from the above process, when the first electronic device is triggered to perform the first operation by a user operating the first electronic device, the first electronic device may trigger the second electronic device to also perform the first operation, that is, the user only needs to perform one operation on the first electronic device, so that the first electronic device and the at least one second electronic device can both perform the first operation, and for the user, the operation is greatly simplified, and the operation time is greatly shortened, the user experience is improved.
In a possible implementation manner, the first electronic device in the above embodiment has at least a first function and a second function, and the second electronic device has a third function corresponding to the second function. Illustratively, the first electronic device is a router, the second electronic device is an expander, and the router can automatically select and set a path according to the condition of a channel and can send a signal by using the optimal path.
In another possible implementation manner, the first electronic device and the at least one second electronic device in the above embodiment form a master-slave architecture network, where the first electronic device is a master device in the master-slave architecture network, and the at least one second electronic device is a slave device in the master-slave architecture network. The first electronic device has a master control right and can control at least one second electronic device, and the second electronic device cannot obtain the master control right and can only be controlled by the first electronic device. Illustratively, the first electronic device is a control device in an intelligent home, the second electronic device is an intelligent home appliance, the control device has a master control right and can control the intelligent home appliance, for example, the controller is turned on or off, and the intelligent home appliance can only be controlled by the control device.
The first operation in the above embodiment may be an operation of changing a target parameter of the first electronic device and the second electronic device, where the target parameter is a device state parameter or a device configuration parameter.
The electronic device provided by the above embodiment may further include: and a second receiving module.
And the second receiving module is used for receiving indication information, wherein the indication information is used for indicating the second electronic equipment to receive the second operation instruction.
The response module is specifically configured to, after receiving the indication information, respond to the first operation instruction and perform a first operation on the first electronic device.
The electronic device provided by the above embodiment may further include: a first judging module.
And the first judgment module is used for judging whether the indication information of all the second electronic equipment is received.
The response module is specifically configured to respond to the first operation instruction to perform the first operation on the first electronic device when the indication information of all the second electronic devices is received.
The electronic device provided by the above embodiment may further include: and a second judgment module.
And the second judgment module is used for judging whether the indication information is received in the preset time period.
The sending module is further configured to resend the second operation instruction to a second electronic device that does not send the indication information when the indication information is not received within a preset time period.
Referring to fig. 5, a schematic structural diagram of another electronic device 50 according to an embodiment of the present invention is shown, where the electronic device may be used as a second electronic device to communicate with a first electronic device, and includes: a receiving module 501 and a responding module 502.
The receiving module 501 is configured to receive a second operation instruction.
The second operation instruction is used for performing first operation on the second electronic device, the second operation instruction is an instruction sent to the second electronic device by the first electronic device when the first operation instruction is received, and the first operation instruction is used for performing first operation on the first electronic device.
A response module 502, configured to respond to the second operation instruction, and perform the first operation on the second electronic device.
According to the electronic device provided by the embodiment of the invention, the first electronic device and the at least one second electronic device can execute the first operation only by one-time operation on the first electronic device by a user, and for the user, the operation is greatly simplified, the operation time is greatly shortened, and the user experience is improved.
In a possible implementation manner, the first electronic device in the above embodiment has at least a first function and a second function, and the second electronic device has a third function corresponding to the second function. Illustratively, the first electronic device is a router, the second electronic device is an expander, and the router can automatically select and set a path according to the condition of a channel and can send a signal by using the optimal path.
In another possible implementation manner, the first electronic device and the at least one second electronic device in the above embodiment form a master-slave architecture network, where the first electronic device is a master device in the master-slave architecture network, and the at least one second electronic device is a slave device in the master-slave architecture network. The first electronic device has a master control right and can control at least one second electronic device, and the second electronic device cannot obtain the master control right and can only be controlled by the first electronic device. Illustratively, the first electronic device is a control device in an intelligent home, the second electronic device is an intelligent home appliance, the control device has a master control right and can control the intelligent home appliance, for example, the controller is turned on or off, and the intelligent home appliance can only be controlled by the control device.
The electronic device provided by the above embodiment may further include: and a sending module.
And the sending module is used for sending indication information to the first electronic equipment after receiving the second operation instruction, wherein the indication information is used for indicating the second electronic equipment to receive the second operation instruction.
An embodiment of the present invention further provides a data processing system, please refer to fig. 6, which shows a schematic structural diagram of the data processing system, and the data processing system may include: a first electronic device 601 and at least one second electronic device 602, the first electronic device 601 being communicable with the at least one second electronic device 602. Wherein:
the first electronic device 601 is configured to receive a first operation instruction and send a second operation instruction to at least one second electronic device, where the first operation instruction is used to perform a first operation on the first electronic device, and the second operation instruction is used to perform the first operation on the second electronic device.
And the at least one second electronic device 602 is configured to receive a second operation instruction, and perform a first operation on itself in response to the second operation instruction.
The first electronic device 601 is further configured to perform a first operation on itself in response to the first operation instruction.
In the data processing system provided by the invention, when receiving a first operation instruction for performing a first operation on the first electronic device, the first electronic device can send a second operation instruction for performing the first operation on the second electronic device to at least one second electronic device, and when receiving the second operation instruction, the second electronic device performs the first operation on the second electronic device, and the first electronic device also performs the first operation on the second electronic device, as can be seen from the above process, when the first electronic device is triggered to perform the first operation by the operation of the first electronic device by a user, the first electronic device can trigger the second electronic device to also perform the first operation, that is, the user only needs to perform one operation on the first electronic device, so that the first operation can be performed on both the first electronic device and the at least one second electronic device, and for the user, the operation is greatly simplified, and the operation time is greatly shortened, the user experience is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
In the several embodiments provided in the present application, it should be understood that the disclosed method, apparatus, and device may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A data processing method applied to a first electronic device, the first electronic device being communicable with at least one second electronic device, the data processing method comprising:
receiving a first operation instruction, wherein the first operation instruction is used for performing first operation on the first electronic device;
sending a second operation instruction to the at least one second electronic device, wherein the second operation instruction is used for performing the first operation on the second electronic device;
responding to the first operation instruction, and performing the first operation on the first electronic equipment;
the data processing method further comprises:
receiving indication information, wherein the indication information is used for indicating the second electronic device to receive the second operation instruction;
the responding to the first operation instruction, performing the first operation on the first electronic device, including:
after the indication information is received, responding to the first operation instruction, and performing the first operation on the first electronic equipment;
when the first operation is an operation of changing the device configuration parameters, after the first electronic device and the second electronic device recover default configuration, if the first electronic device and the second electronic device have a pairing relationship, the first electronic device and the second electronic device still establish communication connection.
2. The data processing method according to claim 1, wherein the first electronic device and the at least one second electronic device form a master-slave architecture network, the first electronic device is a master device in the master-slave architecture network, and the at least one second electronic device is a slave device in the master-slave architecture network;
or,
the first electronic device has at least a first function and a second function, and the second electronic device has a third function corresponding to the second function.
3. The data processing method of claim 1, further comprising:
judging whether indication information of all second electronic equipment is received;
the responding to the first operation instruction, performing the first operation on the first electronic device, including:
and when the indication information of all the second electronic devices is received, responding to the first operation instruction, and performing the first operation on the first electronic device.
4. The data processing method according to claim 1 or 3, characterized in that the data processing method further comprises:
judging whether the indication information is received within a preset time period;
and if the indication information is not received within the preset time period, retransmitting the second operation instruction to the second electronic equipment which does not transmit the indication information.
5. A data processing method applied to a second electronic device, the second electronic device being communicable with a first electronic device, the data processing method comprising:
receiving a second operation instruction, wherein the second operation instruction is used for performing a first operation on the second electronic device, the second operation instruction is an instruction sent to the second electronic device by the first electronic device when the first operation instruction is received, and the first operation instruction is used for performing the first operation on the first electronic device;
sending indication information to the first electronic device, wherein the indication information is used for indicating the second electronic device to receive the second operation instruction;
responding to the second operation instruction, and performing the first operation on the second electronic equipment;
when the first operation is an operation of changing the device configuration parameters, after the first electronic device and the second electronic device recover default configuration, if the first electronic device and the second electronic device have a pairing relationship, the first electronic device and the second electronic device still establish communication connection.
6. An electronic device, wherein the electronic device is communicable with at least one second electronic device as a first electronic device, comprising: the device comprises a first receiving module, a sending module and a response module;
the first receiving module is configured to receive a first operation instruction, where the first operation instruction is used to perform a first operation on the first electronic device;
the sending module is configured to send a second operation instruction to the at least one second electronic device, where the second operation instruction is used to perform the first operation on the second electronic device;
the response module is used for responding to the first operation instruction and performing the first operation on the first electronic equipment;
a second receiving module, configured to receive indication information, where the indication information is used to indicate that the second electronic device receives the second operation instruction;
the response module is specifically configured to respond to the first operation instruction after receiving the indication information, and perform the first operation on the first electronic device;
when the first operation is an operation of changing the device configuration parameters, after the first electronic device and the second electronic device recover default configuration, if the first electronic device and the second electronic device have a pairing relationship, the first electronic device and the second electronic device still establish communication connection.
7. An electronic device that is communicable with a first electronic device as a second electronic device, comprising: a receiving module and a response module;
the receiving module is configured to receive a second operation instruction, where the second operation instruction is used to perform a first operation on the second electronic device, the second operation instruction is an instruction sent to the second electronic device by the first electronic device when receiving a first operation instruction, and the first operation instruction is used to perform the first operation on the first electronic device;
a sending module, configured to send indication information to the first electronic device, where the indication information is used to indicate that the second electronic device receives the second operation instruction;
the response module is used for responding to the second operation instruction and performing the first operation on the second electronic equipment;
when the first operation is an operation of changing the device configuration parameters, after the first electronic device and the second electronic device recover default configuration, if the first electronic device and the second electronic device have a pairing relationship, the first electronic device and the second electronic device still establish communication connection.
8. A data processing system, comprising: a first electronic device and at least one second electronic device, the first electronic device being communicable with the at least one second electronic device;
the first electronic device is configured to receive a first operation instruction and send a second operation instruction to the at least one second electronic device, where the first operation instruction is used to perform a first operation on the first electronic device, and the second operation instruction is used to perform the first operation on the second electronic device;
the at least one second electronic device is configured to receive the second operation instruction, perform the first operation on the second electronic device in response to the second operation instruction, and send indication information to the first electronic device, where the indication information is used to indicate that the second electronic device receives the second operation instruction;
the first electronic device is further configured to respond to the first operation instruction after receiving the indication information, and perform the first operation on the first electronic device;
when the first operation is an operation of changing the device configuration parameters, after the first electronic device and the second electronic device recover default configuration, if the first electronic device and the second electronic device have a pairing relationship, the first electronic device and the second electronic device still establish communication connection.
CN201710897073.9A 2017-09-28 2017-09-28 Data processing method, electronic equipment and data processing system Active CN107608247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710897073.9A CN107608247B (en) 2017-09-28 2017-09-28 Data processing method, electronic equipment and data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710897073.9A CN107608247B (en) 2017-09-28 2017-09-28 Data processing method, electronic equipment and data processing system

Publications (2)

Publication Number Publication Date
CN107608247A CN107608247A (en) 2018-01-19
CN107608247B true CN107608247B (en) 2020-02-21

Family

ID=61058962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710897073.9A Active CN107608247B (en) 2017-09-28 2017-09-28 Data processing method, electronic equipment and data processing system

Country Status (1)

Country Link
CN (1) CN107608247B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735283A (en) * 2013-12-18 2015-06-24 佳能株式会社 Electric power control system and electric power control apparatus
CN105224087A (en) * 2015-10-14 2016-01-06 联想(北京)有限公司 A kind of information processing method and the first electronic equipment
CN105262881A (en) * 2015-08-28 2016-01-20 北京搜狗科技发展有限公司 Communication control method and electronic equipment
CN106454444A (en) * 2016-09-27 2017-02-22 乐视控股(北京)有限公司 Equipment operation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735283A (en) * 2013-12-18 2015-06-24 佳能株式会社 Electric power control system and electric power control apparatus
CN105262881A (en) * 2015-08-28 2016-01-20 北京搜狗科技发展有限公司 Communication control method and electronic equipment
CN105224087A (en) * 2015-10-14 2016-01-06 联想(北京)有限公司 A kind of information processing method and the first electronic equipment
CN106454444A (en) * 2016-09-27 2017-02-22 乐视控股(北京)有限公司 Equipment operation method and device

Also Published As

Publication number Publication date
CN107608247A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN110830968A (en) Networking method and device, Bluetooth equipment and computer readable medium
CN104853373B (en) A kind of Working mode switching method and device of wireless module
US10959122B2 (en) Method and device for transmitting data
CN108418732B (en) Household appliance and control method thereof
CN106909081B (en) Household electrical appliance and expansion platform based on same
EP4274190A1 (en) Smart device control method and apparatus, electronic device, and computer readable medium
CN110769033A (en) Intelligent networking method and system
US10037253B2 (en) Fault handling methods in a home service system, and associated household appliances and servers
CN106789475A (en) Household electric appliance control method and device
CN104134333A (en) WIFI (wireless fidelity) module and method for controlling cooking appliances through WIFI module
CN104063033B (en) State switching method and electronic equipment based on interconnection electronic devices
CN107608247B (en) Data processing method, electronic equipment and data processing system
JP4931659B2 (en) Home appliance network system
CN104853371A (en) Mobile terminal monitoring method and system, and corresponding mobile terminal
CN104539493A (en) Intelligent terminal system and method of management and control over intelligent household electric appliances based on USB interface
CN103941839A (en) Method and device for awakening electronic device
CN105843712B (en) Data transmission method and electronic equipment
CN108931923B (en) Device control method and apparatus, storage medium, and electronic apparatus
TWI791063B (en) Device networking actuation method, device and cloud network device
CN109151014B (en) NAN-based intelligent management method and related product
CN112911624A (en) Network connection method and device of electronic equipment
CN104267619A (en) Bluetooth module and method for controlling cooking appliance through Bluetooth module
CN114039805B (en) Interaction method and device between devices and electronic device
WO2022036722A1 (en) Internet of things communication method and apparatus, device, computer storage medium, and chip
CN112188593B (en) Wireless configuration method and device, storage medium and electronic device

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