CN113572671A - Equipment control method and device and electronic equipment - Google Patents
Equipment control method and device and electronic equipment Download PDFInfo
- Publication number
- CN113572671A CN113572671A CN202110876046.XA CN202110876046A CN113572671A CN 113572671 A CN113572671 A CN 113572671A CN 202110876046 A CN202110876046 A CN 202110876046A CN 113572671 A CN113572671 A CN 113572671A
- Authority
- CN
- China
- Prior art keywords
- equipment
- network
- information
- home
- household
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 238000004891 communication Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 13
- 230000003993 interaction Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Human Computer Interaction (AREA)
- Selective Calling Equipment (AREA)
- Small-Scale Networks (AREA)
Abstract
The application discloses a device control method and device and electronic equipment, and belongs to the technical field of communication. The method mainly comprises the steps that under the condition that a first network is accessed, equipment information of first household equipment sent by a first router corresponding to the first network is received, wherein the first household equipment is equipment accessed to the first network, and the equipment information is sent to the first router by the first household equipment; sending a device control request to the first household device according to the device information; and under the condition of receiving the control permission information sent by the first household equipment, displaying a target interface, wherein the target interface comprises a first household equipment identifier corresponding to the first household equipment and a first control used for controlling the first household equipment.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a device control method and device and an electronic device.
Background
With the continuous development of electronic technology, the electronic device may establish a connection with the home device, so that a user may control the home device through the electronic device, for example, the electronic device controls the home device to access or disconnect a network, and controls the home device to be turned on or turned off.
At present, a mode that a user controls home equipment through electronic equipment is to download and install a special application program corresponding to the home equipment through the electronic equipment, and control the home equipment through the special application program. At this time, if a user needs to control home devices provided by different manufacturers, the electronic device may need to install a plurality of dedicated application programs, which may cause a complicated and complicated process for controlling the home devices through the electronic device, and affect the efficiency of device control.
Disclosure of Invention
The embodiment of the application aims to provide a device control method, a device, household equipment, electronic equipment, a router and a storage medium, and can solve the problems that the process of controlling the household equipment by the electronic equipment is complicated and complicated at present, and the efficiency of controlling the equipment is influenced.
In a first aspect, an embodiment of the present application provides an apparatus control method, which is applied to an electronic apparatus, and the method may include:
under the condition of accessing a first network, receiving equipment information of first household equipment, which is sent by a first router corresponding to the first network, wherein the first household equipment is equipment accessed to the first network, and the equipment information is sent to the first router by the first household equipment;
sending a device control request to the first household device according to the device information;
and under the condition of receiving the control permission information sent by the first household equipment, displaying a target interface, wherein the target interface comprises a first household equipment identifier corresponding to the first household equipment and a first control used for controlling the first household equipment.
In a second aspect, an embodiment of the present application provides an apparatus control method, which is applied to a home apparatus, and the method may include:
determining a target network from a plurality of networks under the condition that the household equipment detects that the household equipment is connected with a power supply, wherein the target network comprises a first network;
sending distribution network request information to a router corresponding to a target network;
under the condition that request permission information sent by a router corresponding to a target network is received, equipment information is sent to the router corresponding to the target network;
and under the condition of receiving a device control request sent by the electronic device, sending control permission information to the electronic device, wherein the control permission information is used for instructing the electronic device to generate a target interface.
In a third aspect, an embodiment of the present application provides an apparatus control method, which is applied to a first router, and the method may include:
receiving distribution network request information sent by home equipment, and sending request permission information to the home equipment;
under the condition that the home equipment is detected to be accessed to a first network corresponding to a first router, storing equipment information sent by the home equipment;
and sending the equipment information of the first household equipment in the household equipment to the electronic equipment under the condition that the electronic equipment is detected to be accessed to the first network.
In a fourth aspect, an embodiment of the present application provides an apparatus control device, which is applied to an electronic device, and the apparatus may include:
the system comprises a receiving module, a first router and a second router, wherein the receiving module is used for receiving equipment information of first household equipment sent by the first router corresponding to a first network under the condition of accessing the first network, the first household equipment is equipment accessed to the first network, and the equipment information is sent to the first router by the first household equipment;
the sending module is used for sending an equipment control request to the first household equipment according to the equipment information;
the display module is used for displaying a target interface under the condition that the control permission information sent by the first household equipment is received, wherein the target interface comprises a first household equipment identifier corresponding to the first household equipment and a first control used for controlling the first household equipment.
In a fifth aspect, an embodiment of the present application provides an apparatus control device, which is applied to home equipment, and the apparatus may include:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a target network from a plurality of networks under the condition that the household equipment detects that a power supply is connected, and the target network comprises a first network;
the sending module is used for sending distribution network request information to a router corresponding to a target network;
the sending module is further used for sending the equipment information to the router corresponding to the target network under the condition of receiving the request permission information sent by the router corresponding to the target network;
the sending module is further configured to send control permission information to the electronic device when receiving a device control request sent by the electronic device, where the control permission information is used to instruct the electronic device to generate a target interface.
In a sixth aspect, an embodiment of the present application provides an apparatus control device, which is applied to a first router, and the apparatus may include:
the receiving and transmitting module is used for receiving the distribution network request information sent by the household equipment and sending request permission information to the household equipment;
the storage module is used for storing the equipment information sent by the household equipment under the condition that the household equipment is detected to be accessed to the first network corresponding to the first router;
the sending module is used for sending the equipment information of the first household equipment in the household equipment to the electronic equipment under the condition that the electronic equipment is detected to be accessed to the first network.
In a seventh aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the device control method according to the first aspect.
In an eighth aspect, an embodiment of the present application provides a home device, where the electronic device includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, and the program or the instruction, when executed by the processor, implements the steps of the device control method shown in the second aspect.
In a ninth aspect, the present application provides a first router, where the electronic device includes a processor, a memory, and a program or an instruction stored in the memory and executable on the processor, and the program or the instruction, when executed by the processor, implements the steps of the device control method according to the third aspect.
In a tenth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the device control method shown in the first aspect, the steps of the device control method shown in the second aspect, or the steps of the device control method shown in the third aspect.
In an eleventh aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the device control method shown in the first aspect, the steps of the device control method shown in the second aspect, or the steps of the device control method shown in the third aspect.
In this embodiment of the application, when the electronic device accesses the first network, the electronic device receives device information of the first home device, which is sent by a first router corresponding to the first network, where the first home device is a device accessing the first network, and the device information is sent to the first router by the first home device, so that the device information actively reported by the home device is stored and synchronized to the electronic device by the first router, so that a user can confirm connection with the first home device by the electronic device according to the device information, and send a device control request to the first home device. And then, under the condition that the control permission information sent by the first household equipment is received, displaying a target interface comprising a first household equipment identifier corresponding to the first household equipment and a first control used for controlling the first household equipment according to the control permission information. Therefore, the home equipment actively reports the equipment information, the equipment information is stored by the router and is synchronously sent to the electronic equipment, and the user confirms the connection of the home equipment and controls the connection of the home equipment through the electronic equipment, so that the process of connecting the home equipment by the user is simplified, the user operation when the user connects the home equipment is reduced, and the equipment control efficiency is improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a device control according to an embodiment of the present disclosure;
fig. 2 is a schematic information interaction diagram of a device control method according to an embodiment of the present application;
fig. 3 is a flowchart of an apparatus control method based on an electronic apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a first target interface jump provided in the embodiment of the present application;
fig. 5 is a schematic diagram of a second target interface jump provided in the embodiment of the present application;
fig. 6 is a flowchart of an apparatus control method based on a home device according to an embodiment of the present application;
fig. 7 is a flowchart of a device control method based on a first router according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an apparatus control device based on an electronic device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus control device based on a home device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an apparatus control device based on a first router according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
Based on this, the following describes in detail the device control method provided by the embodiment of the present application through a specific embodiment and an application scenario thereof with reference to fig. 1 to fig. 2.
An embodiment of the present application provides an apparatus control architecture, and as shown in fig. 1, the apparatus control architecture may include a household apparatus 10, a first router 20, and an electronic apparatus 30. The home device 10 may include an intelligent device placed in a home environment, such as a copier, a printer, a projector, an intelligent floor sweeping robot, an intelligent refrigerator, an air conditioner, and the like, and may further include an intelligent device in a work environment, such as a copier, a printer, a projector, an air purifier, and the like. The electronic device 30 may include a target application program provided by the operating system, where the target application program is control permission information sent to the electronic device 30 according to the first home device, and generates a first home device identifier of the first home device and a target control for controlling the first home device based on the control permission information and device information sent to the first home device of the electronic device 30 by the first router 20, so that a user can control home devices of different manufacturers and different models according to the first home device identifier and the target control provided by the target application program, thereby implementing unified management and cooperative work on multiple home devices.
Based on the above device control architecture, the device control method provided in the embodiment of the present application may include three processes, where the three processes include a first interaction process between the home device 10 and the first router 20, a second interaction process between the first router 20 and the electronic device 30, and a third interaction process between the electronic device 30 and the first furniture device, and include steps 101 to 109, which are specifically described as follows.
First, a first interactive process may include steps 101-104.
Step 101, the home device 10 acquires a plurality of network information within a preset range when the home device detects that a power supply is connected. Step 102, the home equipment determines a target network according to a plurality of network information, wherein the target network comprises a first network. Determining a network connected with the household equipment in the plurality of networks as a target network; or, determining a network with a network signal greater than or equal to a preset threshold value in the plurality of networks as a target network. Next, in step 103, the household device 10 sends the distribution network request information to the first router 20 corresponding to the first network. And step 104, the first router 20 receives the distribution network request information sent by the home equipment, and sends request permission information to the home equipment. In step 105, the home device sends the device information to the first router when receiving the request permission information sent by the first router. And 105, under the condition that the home equipment is detected to be accessed to the first network corresponding to the first router, the first router stores the equipment information sent by the home equipment.
Secondly, the second interaction process may include step 106, that is, the first router 20 sends, to the electronic device, device information of a first household device in the household devices when detecting that the electronic device accesses the first network, where the first household device is at least one of the household devices 10. Based on this, the electronic device 30 receives the device information of the first home device sent by the first router, where the first home device is a device accessing the first network, and the device information is sent to the first router by the first home device. Here, in order to prevent another person from connecting to the home device of the user, the electronic device 30 may display the device list when receiving the device information, select the device list by the user, input the first information of the home device selected by the user, and execute the third interaction process when determining that the first information matches the home device identification information.
The third interactive process may then comprise steps 107-109.
Step 107, the electronic device 30 sends a device control request to the first home device according to the device information. In step 108, the first home device transmits control permission information to the electronic device when receiving the device control request transmitted by the electronic device. In step 108, the electronic device 30 displays a target interface under the condition of receiving the control permission information sent by the first home device, where the target interface includes a first home device identifier corresponding to the first home device and a first control for controlling the first home device.
Based on this, the user may control the first home device through the first home device identifier and the first control corresponding to the first application program displayed by the target application program in the electronic device 30.
It should be noted that the device control method provided in this embodiment of the present application may be applied to the scenario that, when the device control method is in one network, the device information of the home devices stored in the router corresponding to the network is sent to the electronic device, and may also be applied to the scenario that, when two or more networks are provided, the device information of the home devices stored in the router corresponding to each network in the two or more networks is sent to the electronic device, respectively, so that the electronic device may control different home devices based on different networks.
Therefore, in the embodiment of the application, when the electronic device accesses the first network, the electronic device receives the device information of the first home device, which is sent by the first router corresponding to the first network, where the first home device is a device accessing the first network, and the device information is sent to the first router by the first home device, so that the device information actively reported by the home device is stored and synchronized to the electronic device by the first router, so that a user can confirm connection with the first home device by the electronic device according to the device information, and send a device control request to the first home device. And then, under the condition that the control permission information sent by the first household equipment is received, displaying a target interface comprising a first household equipment identifier corresponding to the first household equipment and a first control used for controlling the first household equipment according to the control permission information. Therefore, the home equipment actively reports the equipment information, the equipment information is stored by the router and is synchronously sent to the electronic equipment, and the user confirms the connection of the home equipment and controls the connection of the home equipment through the electronic equipment, so that the process of connecting the home equipment by the user is simplified, the user operation when the user connects the home equipment is reduced, and the equipment control efficiency is improved.
In addition, the equipment identification of the household equipment and the target control used for controlling the household equipment are displayed in the target application program, so that a user can control the household equipment of different models and provided by different manufacturers according to the equipment identification and the target control provided by the target application program, unified management and cooperative work of a plurality of household equipment can be realized only through one target application program, a plurality of special application programs do not need to be installed on the electronic equipment by the user, the complexity of controlling the household equipment by the user through the electronic equipment is reduced, and the equipment control efficiency is further improved.
According to the display architecture, the device control method provided by the embodiment of the present application is described in detail below with reference to fig. 3.
Fig. 3 is a flowchart of an apparatus control method based on an electronic apparatus according to an embodiment of the present disclosure.
As shown in fig. 3, the device control method may be applied to any electronic device as shown in fig. 1-2, and specifically may include the following steps based on this:
step 310, receiving device information of the first home device sent by a first router corresponding to the first network under the condition of accessing the first network, where the first home device is a device accessing the first network, and the device information is sent to the first router by the first home device. And 320, sending a device control request to the first household device according to the device information. And 330, displaying a target interface under the condition that the control permission information sent by the first household equipment is received, wherein the target interface comprises a first household equipment identifier corresponding to the first household equipment and a first control used for controlling the first household equipment.
Therefore, the home equipment actively reports the equipment information, the equipment information is stored by the router and is synchronously sent to the electronic equipment, and the user confirms the connection of the home equipment and controls the connection of the home equipment through the electronic equipment, so that the process of connecting the home equipment by the user is simplified, the user operation when the user connects the home equipment is reduced, and the equipment control efficiency is improved.
The above steps are described in detail below, specifically as follows:
first, in step 310, when there are multiple networks in a preset range, the electronic device may select to access each network respectively, and control the device information of the home devices stored in the router corresponding to each network, so that the user may complete control of different home devices by using the electronic device when connecting to different networks.
Referring next to step 320, in one or more alternative embodiments, step 320 may specifically include steps 3201-3202.
Step 3201, when the first home device includes M home devices, and M is a positive integer greater than or equal to 2, a device list is displayed according to device information of the M home devices.
Further, under the condition that each first household device in the plurality of first household devices is from a different provider, a device list of the plurality of first household devices is displayed in the target application program according to the plurality of device information of the plurality of first household devices.
Step 3202, receive a first input to a target home device among the M home devices.
Step 3203, in response to the first input, a device control request is sent to the target home device.
Based on this, in another or various optional embodiments, sending the device control request to the first home equipment may specifically include:
receiving first information input by a user under the condition that the equipment information comprises home equipment identity identification information;
and sending an equipment control request to the first household equipment under the condition that the first information is matched with the household equipment identity identification information, wherein the first household equipment corresponds to the first information.
Here, the identification information is used to indicate an identity of the home device, and may be an identification code uniquely corresponding to the home device, a password set corresponding to the home device, a specific model corresponding to the home device, or the like.
Then, referring to step 330, in one or more alternative embodiments, based on step 3201-step 3202, step 330 may specifically include:
under the condition that control permission information sent by first household equipment is received and the control permission information comprises control authority for controlling the first household equipment, displaying a first target interface in a target application program, wherein the first target interface comprises a first household equipment identifier of the first household equipment;
and under the condition that a third input for the first household equipment identifier is received, displaying a second target interface, wherein the second target interface comprises a first control for controlling the first household equipment, so that the first household equipment is controlled according to the input for the first control.
Illustratively, as shown in fig. 4, device identifiers of first home devices such as a copier, a printer, a projector and an air conditioner are displayed in the target application, and as shown in fig. 5, in the case that the user clicks the first home device identifier of the air conditioner, authority controls of the air conditioner, such as authority controls of turning up the temperature, turning down the temperature, turning on the device and turning off the device, are displayed.
It should be noted that, under the condition that M pieces of home equipment are from different providers, a device list is displayed in a target application program according to device information of the M pieces of home equipment, and the target application program is provided by an operating system, so that a user can control home equipment of different models and provided by various manufacturers according to a device identifier and a target control provided by the target application program by displaying a device identifier of the home equipment and the target control for controlling the home equipment in the target application program, so as to implement unified management and cooperative work on a plurality of home equipment by only one target application program, and without installing a plurality of dedicated application programs on the electronic equipment by the user, thereby reducing complexity of controlling the home equipment by the user through the electronic equipment, and further improving efficiency of device control.
Based on the same inventive concept, the application provides a device control method based on household equipment. The details are described with reference to fig. 6.
Fig. 6 is a flowchart of an apparatus control method based on a home device according to an embodiment of the present application.
As shown in fig. 6, the device control method may be applied to any household device as shown in fig. 1 to fig. 2, and based on this, may specifically include the following steps:
in step 610, a target network is determined from a plurality of networks, the target network including a first network, when the home device detects that a power supply is connected. And step 620, sending the distribution network request information to the router corresponding to the target network. In step 630, when the request permission information transmitted by the router corresponding to the target network is received, the device information is transmitted to the router corresponding to the target network. And step 640, in the case of receiving the device control request sent by the electronic device, sending control permission information to the electronic device, where the control permission information is used to instruct the electronic device to generate a target interface.
The above steps are described in detail below, specifically as follows:
first, in one or more optional embodiments, the step 610 mentioned above may specifically include:
and acquiring a plurality of network information within a preset range under the condition that the household equipment detects that the household equipment is connected with the power supply.
Based on this, the embodiments of the present application provide at least two ways to determine a target network, which are specifically shown below.
In the first mode, a network connected with the home equipment in the plurality of networks is determined as a target network.
And secondly, determining the network with the network signal greater than or equal to the preset threshold value in the plurality of networks as the target network.
It should be noted that, in one or more possible embodiments, the target network in this embodiment is a first network, that is, the home device accesses the first router.
It should be noted that the distribution network device information in the embodiment of the present application includes at least one of the following: the home equipment identity information, the home equipment provider information and the home equipment type.
Based on the same inventive concept, the application provides a device control method based on a first router. The details are described with reference to fig. 7.
Fig. 7 is a flowchart of a device control method based on a first router according to an embodiment of the present application.
As shown in fig. 7, the device control method may be applied to the first router as shown in fig. 1-2, and specifically includes the following steps based on this:
and step 710, receiving the distribution network request information sent by the home equipment, and sending request permission information to the home equipment. And 720, storing the device information sent by the household equipment under the condition that the household equipment is detected to be accessed to the first network corresponding to the first router. Step 730, sending the device information of the first home device in the home devices to the electronic device when it is detected that the electronic device accesses the first network.
In this embodiment of the application, when the electronic device accesses the first network, the electronic device receives device information of the first home device, which is sent by a first router corresponding to the first network, where the first home device is a device accessing the first network, and the device information is sent to the first router by the first home device, so that the device information actively reported by the home device is stored and synchronized to the electronic device by the first router, so that a user can confirm connection with the first home device by the electronic device according to the device information, and send a device control request to the first home device. And then, under the condition that the control permission information sent by the first household equipment is received, displaying a target interface comprising a first household equipment identifier corresponding to the first household equipment and a first control used for controlling the first household equipment according to the control permission information. Therefore, the home equipment actively reports the equipment information, the equipment information is stored by the router and is synchronously sent to the electronic equipment, and the user confirms the connection of the home equipment and controls the connection of the home equipment through the electronic equipment, so that the process of connecting the home equipment by the user is simplified, the user operation when the user connects the home equipment is reduced, and the equipment control efficiency is improved.
In addition, the equipment identification of the household equipment and the target control used for controlling the household equipment are displayed in the target application program, so that a user can control the household equipment of different models and provided by different manufacturers according to the equipment identification and the target control provided by the target application program, unified management and cooperative work of a plurality of household equipment can be realized only through one target application program, a plurality of special application programs do not need to be installed on the electronic equipment by the user, the complexity of controlling the household equipment by the user through the electronic equipment is reduced, and the equipment control efficiency is further improved.
In the device control method provided in the embodiment of the present application, the execution main body may be a device control apparatus, or a control module in the device control apparatus for executing the device control method. In the embodiment of the present application, an apparatus control method executed by an apparatus control apparatus is taken as an example, and an apparatus for controlling an apparatus provided in the embodiment of the present application is described.
Based on the same inventive concept, the application also provides a device control device. The details are described with reference to fig. 8.
Fig. 8 is a schematic structural diagram of an apparatus control device based on an electronic device according to an embodiment of the present application.
As shown in fig. 8, the device control apparatus 80 is applied to the electronic devices shown in fig. 1-2, and may specifically include:
a receiving module 801, configured to receive, when accessing a first network, device information of a first home device sent by a first router corresponding to the first network, where the first home device is a device accessing the first network, and the device information is sent to the first router by the first home device;
a sending module 802, configured to send a device control request to the first home device according to the device information;
the display module 803 is configured to display a target interface under the condition that the control permission information sent by the first home device is received, where the target interface includes a first home device identifier corresponding to the first home device and a first control for controlling the first home device.
The device control apparatus 80 is described in detail below, specifically as follows:
in one or more possible embodiments, the display module 803 may be further configured to, when the first home device includes M home devices, where M is a positive integer greater than or equal to 2, display a device list according to device information of the M home devices;
the receiving module 801 is further configured to receive a first input to a target home device in the M home devices;
the sending module 802 is further configured to send a device control request to the target home device in response to the first input.
In another or more possible embodiments, the receiving module 801 may be further configured to receive first information input by a user in a case that the device information includes home device identification information;
the sending module 802 is further configured to send an equipment control request to the first home equipment when the first information is matched with the home equipment identification information, where the first home equipment corresponds to the first information.
Based on the same inventive concept, the application also provides a device control device. The details are described with reference to fig. 9.
Fig. 9 is a schematic structural diagram of an apparatus control device based on home equipment according to an embodiment of the present application.
As shown in fig. 9, the device control apparatus 90 is applied to the household devices shown in fig. 1-2, and may specifically include:
a determining module 901, configured to determine a target network from multiple networks when the home device detects that a power supply is connected, where the target network includes a first network;
a sending module 902, configured to send distribution network request information to a router corresponding to a target network;
the sending module 902 is further configured to send the device information to the router corresponding to the target network when receiving the request permission information sent by the router corresponding to the target network;
the sending module 902 is further configured to send control permission information to the electronic device when receiving a device control request sent by the electronic device, where the control permission information is used to instruct the electronic device to generate a target interface.
The device control apparatus 80 is described in detail below, specifically as follows:
in one or more possible embodiments, the determining module 901 may be specifically configured to determine, as a target network, a network connected to a home device in a plurality of networks; or,
and determining a network with a network signal greater than or equal to a preset threshold value in the plurality of networks as a target network.
Based on the same inventive concept, the application also provides a device control device. This is explained in detail with reference to fig. 10.
Fig. 10 is a schematic structural diagram of an apparatus control device based on a router according to an embodiment of the present application.
As shown in fig. 10, the device control apparatus 100 is applied to the routers shown in fig. 1 to fig. 2, and may specifically include:
the transceiver module 1001 is configured to receive distribution network request information sent by the home equipment, and send request permission information to the home equipment;
the storage module 1002 is configured to store device information sent by the home device when it is detected that the home device is accessed to a first network corresponding to the first router;
the sending module 1003 is configured to send, to the electronic device, device information of a first home device in the home devices when it is detected that the electronic device accesses the first network.
The device control apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in an electronic device. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The device control apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The device control apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 7, and is not described here again to avoid repetition.
In this embodiment of the application, when the electronic device accesses the first network, the electronic device receives device information of the first home device, which is sent by a first router corresponding to the first network, where the first home device is a device accessing the first network, and the device information is sent to the first router by the first home device, so that the device information actively reported by the home device is stored and synchronized to the electronic device by the first router, so that a user can confirm connection with the first home device by the electronic device according to the device information, and send a device control request to the first home device. And then, under the condition that the control permission information sent by the first household equipment is received, displaying a target interface comprising a first household equipment identifier corresponding to the first household equipment and a first control used for controlling the first household equipment according to the control permission information. Therefore, the home equipment actively reports the equipment information, the equipment information is stored by the router and is synchronously sent to the electronic equipment, and the user confirms the connection of the home equipment and controls the connection of the home equipment through the electronic equipment, so that the process of connecting the home equipment by the user is simplified, the user operation when the user connects the home equipment is reduced, and the equipment control efficiency is improved.
Optionally, as shown in fig. 11, an apparatus control device such as the electronic device 110 is further provided in the embodiment of the present application, and includes a processor 1101, a memory 1102, and a program or an instruction stored in the memory 1102 and capable of being executed on the processor 1101, where the program or the instruction is executed by the processor 1101 to implement each process of the apparatus control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210, and the like.
Those skilled in the art will appreciate that the electronic device 1200 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1210 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
In this embodiment of the present application, the network module 1202 is configured to receive, under the condition that the first network is accessed, device information of the first home device sent by a first router corresponding to the first network, where the first home device is a device accessed to the first network, and the device information is sent to the first router by the first home device. The network module 1202 is further configured to send a device control request to the first home device according to the device information. The display unit 1206 is configured to display a target interface under the condition that the control permission information sent by the first home device is received, where the target interface includes a first home device identifier corresponding to the first home device and a first control for controlling the first home device.
It is to be understood that the input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics processor 12041 processes image data of a still image or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. A touch panel 12071, also referred to as a touch screen. The touch panel 12071 may include two parts of a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 12017 may be used to store software programs as well as various data, including but not limited to application programs and an operating system. Processor 1210 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the device control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
In addition, an embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above device control method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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.
Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application may be embodied in the form of a computer 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, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. An apparatus control method applied to an electronic apparatus, comprising:
under the condition of accessing a first network, receiving device information of first household equipment sent by a first router corresponding to the first network, wherein the first household equipment is a device accessed to the first network, and the device information is sent to the first router by the first household equipment;
sending a device control request to the first household device according to the device information;
and under the condition of receiving the control permission information sent by the first home equipment, displaying a target interface, wherein the target interface comprises a first home equipment identifier corresponding to the first home equipment and a first control used for controlling the first home equipment.
2. The method of claim 1, wherein the first home device comprises M home devices, M being a positive integer greater than or equal to 2; the sending of the device control request to the first home device according to the device information includes:
displaying an equipment list according to the equipment information of the M pieces of home equipment;
receiving a first input to a target household device in the M household devices;
and responding to the first input, and sending a device control request to the target household device.
3. The method according to claim 1 or 2, wherein the device information comprises home device identification information;
the sending of the device control request to the first home device includes:
receiving first information input by a user;
and sending an equipment control request to the first household equipment under the condition that the first information is matched with the household equipment identity identification information, wherein the first household equipment corresponds to the first information.
4. An equipment control method is applied to household equipment and is characterized by comprising the following steps:
under the condition that the household equipment detects that a power supply is connected, determining a target network from a plurality of networks, wherein the target network comprises a first network;
sending distribution network request information to a router corresponding to the target network;
sending device information to a router corresponding to the target network when request permission information sent by the router corresponding to the target network is received;
the method comprises the steps of sending control permission information to the electronic equipment under the condition of receiving an equipment control request sent by the electronic equipment, wherein the control permission information is used for indicating the electronic equipment to generate a target interface.
5. The method of claim 5, wherein determining the target network from the plurality of networks comprises:
determining a network connected with the household equipment in the plurality of networks as a target network; or,
and determining the network with the network signal greater than or equal to a preset threshold value in the plurality of networks as a target network.
6. An apparatus control method applied to a first router, comprising:
receiving distribution network request information sent by home equipment, and sending request permission information to the home equipment;
under the condition that the home equipment is detected to be accessed to a first network corresponding to the first router, storing equipment information sent by the home equipment;
and sending the equipment information of the first household equipment in the household equipment to the electronic equipment under the condition that the electronic equipment is detected to be accessed to the first network.
7. An apparatus control device applied to an electronic apparatus, comprising:
the system comprises a receiving module, a first router and a second router, wherein the receiving module is used for receiving equipment information of first household equipment sent by the first router corresponding to a first network under the condition of accessing the first network, the first household equipment is equipment accessed to the first network, and the equipment information is sent to the first router by the first household equipment;
the sending module is used for sending an equipment control request to the first household equipment according to the equipment information;
and the display module is used for displaying a target interface under the condition of receiving the control permission information sent by the first household equipment, wherein the target interface comprises a first household equipment identifier corresponding to the first household equipment and a first control used for controlling the first household equipment.
8. The utility model provides an equipment control device, is applied to house equipment, its characterized in that includes:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a target network from a plurality of networks under the condition that the household equipment detects that a power supply is connected, and the target network comprises a first network;
the sending module is used for sending distribution network request information to a router corresponding to the target network;
the sending module is further configured to send device information to the router corresponding to the target network when the request permission information sent by the router corresponding to the target network is received;
the sending module is further configured to send control permission information to the electronic device when receiving a device control request sent by the electronic device, where the control permission information is used to instruct the electronic device to generate a target interface.
9. An apparatus control device applied to a first router, comprising:
the receiving and sending module is used for receiving the distribution network request information sent by the household equipment and sending request permission information to the household equipment;
the storage module is used for storing the equipment information sent by the household equipment under the condition that the household equipment is detected to be accessed to the first network corresponding to the first router;
the sending module is used for sending the equipment information of the first household equipment in the household equipment to the electronic equipment under the condition that the electronic equipment is detected to be accessed to the first network.
10. An electronic device, comprising: a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the device control method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110876046.XA CN113572671B (en) | 2021-07-30 | 2021-07-30 | Equipment control method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110876046.XA CN113572671B (en) | 2021-07-30 | 2021-07-30 | Equipment control method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113572671A true CN113572671A (en) | 2021-10-29 |
CN113572671B CN113572671B (en) | 2023-03-24 |
Family
ID=78169786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110876046.XA Active CN113572671B (en) | 2021-07-30 | 2021-07-30 | Equipment control method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113572671B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114968451A (en) * | 2022-04-18 | 2022-08-30 | 厦门智小金智能科技有限公司 | Operation interface building method and system based on combination of household equipment |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908989A (en) * | 2010-08-16 | 2010-12-08 | 海尔集团公司 | Control method for intelligent appliance |
CN102938818A (en) * | 2012-11-20 | 2013-02-20 | 广东欧珀移动通信有限公司 | Household appliance intelligent controlling method based on smart mobile phone |
CN203219317U (en) * | 2013-03-13 | 2013-09-25 | 广州英卡里尔电子科技有限公司 | Wireless local area network (WLAN) based control system for household electrical appliance |
CN104660685A (en) * | 2015-01-30 | 2015-05-27 | 小米科技有限责任公司 | Method and device for obtaining equipment information |
CN105530149A (en) * | 2014-09-30 | 2016-04-27 | 青岛海尔智能家电科技有限公司 | Method and device for providing household appliance control scheme |
CN106487622A (en) * | 2016-10-24 | 2017-03-08 | 北京小米移动软件有限公司 | Equipment control sharing method and device |
CN107222466A (en) * | 2017-05-15 | 2017-09-29 | 上海与德科技有限公司 | A kind of method, router, smart machine and system for connecting WLAN |
CN108319151A (en) * | 2018-02-09 | 2018-07-24 | 广东美的制冷设备有限公司 | Control method, device, system, mobile terminal and the storage medium of household appliance |
CN108693784A (en) * | 2018-08-03 | 2018-10-23 | 深圳绿米联创科技有限公司 | Management method, device, terminal device and the storage medium of home equipment |
CN109936845A (en) * | 2017-12-19 | 2019-06-25 | 九阳股份有限公司 | A kind of smart machine distribution method and apparatus |
CN110034985A (en) * | 2019-03-26 | 2019-07-19 | 珠海格力电器股份有限公司 | Control method of intelligent device, control device, intelligent device and storage medium |
CN112752325A (en) * | 2020-12-30 | 2021-05-04 | 珠海格力电器股份有限公司 | Network distribution method and device of household appliance, computer readable storage medium and processor |
-
2021
- 2021-07-30 CN CN202110876046.XA patent/CN113572671B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908989A (en) * | 2010-08-16 | 2010-12-08 | 海尔集团公司 | Control method for intelligent appliance |
CN102938818A (en) * | 2012-11-20 | 2013-02-20 | 广东欧珀移动通信有限公司 | Household appliance intelligent controlling method based on smart mobile phone |
CN203219317U (en) * | 2013-03-13 | 2013-09-25 | 广州英卡里尔电子科技有限公司 | Wireless local area network (WLAN) based control system for household electrical appliance |
CN105530149A (en) * | 2014-09-30 | 2016-04-27 | 青岛海尔智能家电科技有限公司 | Method and device for providing household appliance control scheme |
CN104660685A (en) * | 2015-01-30 | 2015-05-27 | 小米科技有限责任公司 | Method and device for obtaining equipment information |
CN106487622A (en) * | 2016-10-24 | 2017-03-08 | 北京小米移动软件有限公司 | Equipment control sharing method and device |
CN107222466A (en) * | 2017-05-15 | 2017-09-29 | 上海与德科技有限公司 | A kind of method, router, smart machine and system for connecting WLAN |
CN109936845A (en) * | 2017-12-19 | 2019-06-25 | 九阳股份有限公司 | A kind of smart machine distribution method and apparatus |
CN108319151A (en) * | 2018-02-09 | 2018-07-24 | 广东美的制冷设备有限公司 | Control method, device, system, mobile terminal and the storage medium of household appliance |
CN108693784A (en) * | 2018-08-03 | 2018-10-23 | 深圳绿米联创科技有限公司 | Management method, device, terminal device and the storage medium of home equipment |
CN110034985A (en) * | 2019-03-26 | 2019-07-19 | 珠海格力电器股份有限公司 | Control method of intelligent device, control device, intelligent device and storage medium |
CN112752325A (en) * | 2020-12-30 | 2021-05-04 | 珠海格力电器股份有限公司 | Network distribution method and device of household appliance, computer readable storage medium and processor |
Non-Patent Citations (2)
Title |
---|
TSAO TENG-FA: "A smart monitoring and control system for the household electric power usage", 《2013 IEEE PES ASIA-PACIFIC POWER AND ENERGY ENGINEERING CONFERENCE (APPEEC)》 * |
王昌志等: "基于物联网的智能家居网关系统设计与实现", 《电子科技》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114968451A (en) * | 2022-04-18 | 2022-08-30 | 厦门智小金智能科技有限公司 | Operation interface building method and system based on combination of household equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113572671B (en) | 2023-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111880870B (en) | Method and device for controlling electronic equipment and electronic equipment | |
US20220239524A1 (en) | Network configuration method for home appliance, home appliance, mobile terminal, and storage medium | |
CN102255887B (en) | Method and system for providing online services corresponding to multiple mobile devices | |
CN105634881B (en) | Application scene recommendation method and device | |
CN103049190B (en) | A kind of method of mobile communication terminal and control appliance operation | |
CN106304276B (en) | A kind of wireless network processing method and mobile terminal | |
CN105471931B (en) | Method, device and system for inquiring service data | |
CN108616897B (en) | Configuration method, terminal and network equipment for Discontinuous Reception (DRX) parameters | |
CN113141293B (en) | Message display method and device and electronic equipment | |
CN104898438A (en) | Household electrical appliance control method and apparatus, and terminal | |
CN104506923A (en) | Multimedia processing device, server and method | |
CN202799005U (en) | Cloud computing based internet monitoring system of set top box and set top box | |
CN113572671B (en) | Equipment control method and device and electronic equipment | |
CN112558833B (en) | Application running method and device and electronic equipment | |
CN113194450A (en) | Bluetooth device management method and device | |
CN104699535B (en) | A kind of information processing method and electronic equipment | |
CN104166527A (en) | Method for extending user interfaces of application programs | |
US20160170729A1 (en) | Method and device for installing smart appliance | |
CN113325980B (en) | Control method, control device, electronic equipment and readable storage medium | |
KR101828898B1 (en) | Boiler controlling method based on application and terminal apparatus | |
CN112291412B (en) | Application program control method and device and electronic equipment | |
CN112286429B (en) | Control method and control device of electronic equipment and electronic equipment | |
CN101662502A (en) | Processing method for gateway equipment configuration and device thereof | |
CN111787587B (en) | Data transmission method and device and electronic equipment | |
CN112162838B (en) | Multimedia file playing method and device 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 |