CN116055236A - Intelligent device control method and device, computer device and storage medium - Google Patents

Intelligent device control method and device, computer device and storage medium Download PDF

Info

Publication number
CN116055236A
CN116055236A CN202211647196.4A CN202211647196A CN116055236A CN 116055236 A CN116055236 A CN 116055236A CN 202211647196 A CN202211647196 A CN 202211647196A CN 116055236 A CN116055236 A CN 116055236A
Authority
CN
China
Prior art keywords
equipment
intelligent
control
module
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211647196.4A
Other languages
Chinese (zh)
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.)
Shenzhen Kaihong Digital Industry Development Co Ltd
Original Assignee
Shenzhen Kaihong Digital Industry Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Kaihong Digital Industry Development Co Ltd filed Critical Shenzhen Kaihong Digital Industry Development Co Ltd
Priority to CN202211647196.4A priority Critical patent/CN116055236A/en
Publication of CN116055236A publication Critical patent/CN116055236A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total 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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application relates to the technical field of Internet, and particularly discloses an intelligent device control method, an intelligent device control device, intelligent device control equipment and a storage medium. The method comprises the following steps: acquiring equipment state information of intelligent equipment, and sending the equipment state information to user equipment; receiving an equipment control instruction set by a user according to the user equipment and the equipment state information; and when the wireless network signal does not exist, the intelligent equipment is controlled based on the wireless module or the Bluetooth module and the equipment control instruction. According to the method, the real-time equipment state of the intelligent equipment is sent to the user equipment, the equipment control instruction set by the user based on the equipment state is received, the flexibility of intelligent equipment control is improved, the intelligent equipment can be transmitted to the switch equipment through the equipment control instruction through the wireless module or the Bluetooth module under the condition of no network, the intelligent equipment is controlled, and the problem of low stability of intelligent equipment control is solved.

Description

Intelligent device control method and device, computer device and storage medium
Technical Field
The application relates to the technical field of internet, in particular to an intelligent device control method, an intelligent device control device, computer equipment and a storage medium.
Background
Along with the rapid development of science and technology, people pursue higher and higher quality of life, the design and decoration of current indoor switches mostly adopt fixed key and touch panel modes, and the traditional indoor control mode no longer meets the requirements of modern people on living standard. In order to meet the requirements of intelligent control of people, full-house intelligence and intelligent home are emerging, but the full-house intelligence needs to be planned in advance, buried wires are arranged during house decoration, equipment is complex and not easy to add, and flexibility is not enough; the intelligent home needs to be connected with a network for control, cannot be used normally under the condition of network interruption, and has low stability, so that how to improve the flexibility and stability of intelligent equipment control becomes a problem to be solved.
Disclosure of Invention
The application provides an intelligent device control method, an intelligent device control device, computer equipment and a storage medium, so as to improve the flexibility and stability of intelligent device control.
In a first aspect, the present application provides a method for controlling an intelligent device, where the method includes:
acquiring equipment state information of intelligent equipment, and sending the equipment state information to user equipment;
receiving an equipment control instruction set by a user according to the user equipment and the equipment state information;
and when the wireless network signal does not exist, the intelligent equipment is controlled based on the wireless module or the Bluetooth module and the equipment control instruction.
Further, the obtaining the device state information of the intelligent device and sending the device state information to the user device includes:
when the equipment state information is acquired, judging whether an equipment identifier exists in a connected equipment list, wherein the equipment state information comprises the equipment identifier;
and if the equipment identifier exists in the connected equipment list, sending the equipment state information to the user equipment.
Further, when the device status information of the current device is obtained, after determining whether the device identifier exists in the connected device list, the method further includes:
if the equipment identifier does not exist in the connected equipment list, judging whether an intelligent control module exists in the switch equipment of the intelligent equipment or not;
and if the intelligent control module exists in the switch equipment, equipment connection is realized through a sensor corresponding to the intelligent control module, and the connected equipment list is updated based on the equipment identifier.
Further, after the judging whether the intelligent control module exists in the switch device of the intelligent device, the method further includes:
if the intelligent control module does not exist in the switch equipment, configuring the intelligent control module for the switch equipment;
and based on the intelligent control module, realizing equipment connection, and based on the equipment identification, updating the connected equipment list.
Further, before the control of the intelligent device is implemented based on the wireless module or the bluetooth module and the device control instruction when the wireless network signal does not exist, the method further includes:
judging whether the wireless network signal exists in the current area;
if the wireless network signal exists, transmitting the equipment control instruction to a cloud platform based on the wireless network signal, and controlling the intelligent equipment based on the cloud platform.
Further, when the wireless network signal does not exist, based on the wireless module or the bluetooth module and the device control instruction, the control of the intelligent device is realized, including:
transmitting the equipment control instruction to a control chip through a wireless module or a Bluetooth module when the wireless network signal does not exist;
and calling the control chip to control the switching equipment based on the equipment control instruction.
Further, before the receiving the device control instruction set by the user according to the user device and the device state information, the method further includes:
generating a control interface corresponding to the intelligent device based on the device state information so as to enable the user to set the control interface;
and generating the equipment control instruction based on the user operation when the user operation of the control interface is detected.
In a second aspect, the present application further provides an intelligent device control apparatus, the apparatus including:
the device state information sending module is used for obtaining the device state information of the intelligent device and sending the device state information to the user device;
the device control instruction receiving module is used for receiving a device control instruction set by a user according to the user device and the device state information;
and the device control realizing module is used for realizing the control of the intelligent device based on the wireless module or the Bluetooth module and the device control instruction when no wireless network signal exists.
In a third aspect, the present application also provides a computer device comprising a memory and a processor; the memory is used for storing a computer program; the processor is configured to execute the computer program and implement the intelligent device control method as described above when the computer program is executed.
In a fourth aspect, the present application further provides a computer readable storage medium storing a computer program, which when executed by a processor causes the processor to implement a smart device control method as described above.
The application discloses an intelligent device control method, an intelligent device control device, computer equipment and a storage medium, wherein equipment state information of intelligent equipment is obtained and sent to user equipment; receiving an equipment control instruction set by a user according to the user equipment and the equipment state information; and when the wireless network signal does not exist, the intelligent equipment is controlled based on the wireless module or the Bluetooth module and the equipment control instruction. According to the method, the real-time equipment state of the intelligent equipment is sent to the user equipment, the equipment control instruction set by the user based on the equipment state is received, the flexibility of intelligent equipment control is improved, the intelligent equipment can be transmitted to the switch equipment through the equipment control instruction through the wireless module or the Bluetooth module under the condition of no network, the intelligent equipment is controlled, and the problem of low stability of intelligent equipment control is solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a first embodiment of a smart device control method provided in an embodiment of the present application;
FIG. 2 is a functional diagram of a smart switching system provided by an embodiment of the present application;
fig. 3 is a schematic diagram of a cloud platform-based control device provided in an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram of a second embodiment of a smart device control method provided by an embodiment of the present application;
FIG. 5 is a schematic flow chart diagram of a third embodiment of a smart device control method provided by an embodiment of the present application;
fig. 6 is a schematic diagram of a wireless module-based control device provided by an embodiment of the present application;
fig. 7 is a schematic diagram of a control device based on a bluetooth module according to an embodiment of the present application;
FIG. 8 is a schematic block diagram of an intelligent device control apparatus provided in an embodiment of the present application;
fig. 9 is a schematic block diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
It is to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
The embodiment of the application provides an intelligent device control method, an intelligent device control device, computer equipment and a storage medium. The intelligent device control method can be applied to a server, and can be used for controlling intelligent devices by receiving device control instructions set by a user based on device states and transmitting the device control instructions to switch devices through a wireless module or a Bluetooth module under the condition of no network. The server may be an independent server or a server cluster.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for controlling an intelligent device according to an embodiment of the present application. The intelligent equipment control method can be applied to a server and used for controlling the intelligent equipment by receiving equipment control instructions set by a user based on equipment states and transmitting the equipment control instructions to the switch equipment through a wireless module or a Bluetooth module under the condition of no network.
As shown in fig. 1, the smart device control method specifically includes steps S101 to S103.
S101, acquiring equipment state information of intelligent equipment, and sending the equipment state information to user equipment.
In one embodiment, the intelligent device control method includes an intelligent switch system, as shown in fig. 2, where the intelligent switch system includes a hardware device side, a server, and a software client, the hardware device side includes an intelligent device and a switch device (light switch) of the intelligent device, the switch device is used to control switching of a load, the software client (i.e., a user device) is used to receive device status information and receive user operations, and generate device control instructions according to the user operations, and the server is used to receive and send the status information of the intelligent device and the device control instructions of the user.
In one embodiment, the server receives smart device status information sent by the smart device side, such as that the current device is turned on, that the current device is not in use, etc., and transmits the received device information to the software client (i.e., the user device) in the form of WIFI (wireless communication).
S102, receiving an equipment control instruction set by a user according to the user equipment and the equipment state information.
Before receiving the device control instruction set by the user according to the user device and the device state information, the method further comprises: generating a control interface corresponding to the intelligent device based on the device state information so as to enable the user to set the control interface; and generating the equipment control instruction based on the user operation when the user operation of the control interface is detected.
In one embodiment, generating different control interfaces in the user device according to the device status information may facilitate user operation, for example, when the device status is that the device is turned on, the color of a key for turning on the device may be set to gray, the color of a key for turning off the device may be set to red, etc. in the control interface, user distinction is facilitated.
In one embodiment, a user operates in a control interface according to information displayed in the user equipment interface, the user equipment can detect a change of a key in the interface, such as sensing a change of temperature, pressure and the like, and generates a corresponding equipment control instruction according to the user operation, and the server receives the equipment control instruction sent by the user equipment.
And S103, when no wireless network signal exists, the intelligent equipment is controlled based on the wireless module or the Bluetooth module and the equipment control instruction.
When no wireless network signal exists, based on a wireless module or a Bluetooth module and the equipment control instruction, before the intelligent equipment is controlled, the intelligent equipment control method further comprises the following steps: judging whether the wireless network signal exists in the current area; if the wireless network signal exists, transmitting the equipment control instruction to a cloud platform based on the wireless network signal, and controlling the intelligent equipment based on the cloud platform.
In one embodiment, under the condition that a network exists in a current area, remote control can be performed through a cloud platform, as shown in fig. 3, an end user device (i.e., a mobile terminal in fig. 3) receives a device control instruction input by a user, the device control instruction is transmitted to the cloud platform, the device control instruction is transmitted to a WIFI module through the cloud platform, and an SOC (System on Chip) performs related instruction operation on a switch device according to the device control instruction, so as to further realize control on an intelligent device.
The SoC (System on Chip) is a product, which is an integrated circuit with a specific target, and contains the entire System and the entire content of embedded software. It is also a technique to achieve the whole process from determining the system functions, to software/hardware partitioning, and to complete the design.
In one embodiment, under the condition that no network exists in the current area, the intelligent switch is controlled through the WIFI module or the Bluetooth module, the terminal user equipment receives an equipment control instruction input by a user, the equipment control instruction is directly transmitted to the control chip through the wireless module or the Bluetooth module, and the SOC performs related operation on the switch equipment according to the equipment control instruction, so that the intelligent equipment is controlled.
The above embodiments provide a method, an apparatus, a computer device, and a storage medium for controlling an intelligent device, to obtain device state information of the intelligent device, and to send the device state information to a user device; receiving an equipment control instruction set by a user according to the user equipment and the equipment state information; and when the wireless network signal does not exist, the intelligent equipment is controlled based on the wireless module or the Bluetooth module and the equipment control instruction. According to the method, the real-time equipment state of the intelligent equipment is sent to the user equipment, the equipment control instruction set by the user based on the equipment state is received, the flexibility of intelligent equipment control is improved, the intelligent equipment can be transmitted to the switch equipment through the equipment control instruction through the wireless module or the Bluetooth module under the condition of no network, the intelligent equipment is controlled, and the problem of low stability of intelligent equipment control is solved.
Referring to fig. 4, fig. 4 is a schematic flowchart of a method for controlling an intelligent device according to an embodiment of the present application. The intelligent equipment control method can be applied to a server and used for controlling the intelligent equipment by receiving equipment control instructions set by a user based on equipment states and transmitting the equipment control instructions to the switch equipment through a wireless module or a Bluetooth module under the condition of no network.
As shown in fig. 4, step S101 of the smart device control method specifically includes steps S201 to S202.
S201, judging whether the equipment identifier exists in a connected equipment list or not when the equipment state information is acquired, wherein the equipment state information comprises the equipment identifier.
S202, if the equipment identifier exists in the connected equipment list, the equipment state information is sent to the user equipment.
When the device state information of the current device is acquired, judging whether the device identifier exists in the connected device list or not, and further comprising: if the equipment identifier does not exist in the connected equipment list, judging whether an intelligent control module exists in the switch equipment of the intelligent equipment or not; and if the intelligent control module exists in the switch equipment, equipment connection is realized through a sensor corresponding to the intelligent control module, and the connected equipment list is updated based on the equipment identifier.
After judging whether the intelligent control module exists in the switch equipment of the intelligent equipment, the intelligent equipment further comprises: if the intelligent control module does not exist in the switch equipment, configuring the intelligent control module for the switch equipment; and based on the intelligent control module, realizing equipment connection, and based on the equipment identification, updating the connected equipment list.
In one embodiment, the device state information includes a device identifier of the current device and a device working state, where the device identifier is used to determine whether the current device is in a connected device list, and if the current device is in the connected device list, the current device is indicated to be connected to the intelligent terminal, and if the current device is not in the connected device list, the current device is indicated to be a new device to be connected.
In one embodiment, the device status information may be sent directly to the user device (i.e., software client) for the connected device.
In one embodiment, the unconnected device is connected with the intelligent terminal, and if the switch of the device is the intelligent device, an intelligent control module exists, such as an infrared control module, a Bluetooth control module, a WIFI control module, an RFID (Radio Frequency Identification, non-contact automatic identification) control module, a ZigBee (wireless network protocol) control module and the like, the connection can be realized by carrying corresponding sensors; if the switch of the equipment is common equipment, that is, the intelligent control module does not exist, the intelligent control module needs to be added in the switch equipment, and the equipment connection is realized through the added intelligent control module.
Among them, zigBee (Zigbee) is a new wireless communication technology, which is suitable for a series of electronic devices with short transmission range and low data transmission rate. The ZigBee wireless communication technology can be applied to the fields of control, automation and the like based on wireless communication in a small range, can omit a computer device and a series of wired cables among digital devices, and can realize wireless networking among various different digital devices so as to realize mutual communication or access to the Internet.
In one embodiment, after the unconnected device makes the first connection, the device identifier of the first connected device is stored in the connected list, and the connected device list is updated so that the device status information can be directly sent to the user device when the device is used next time.
The above embodiment provides an intelligent device control method, an intelligent device control apparatus, a computer device, and a storage medium, and when obtaining the device status information, the method determines whether a device identifier exists in a connected device list, where the device status information includes the device identifier; if the equipment identifier exists in the connected equipment list, the equipment state information is sent to the user equipment; if the equipment identifier does not exist in the connected equipment list, judging whether an intelligent control module exists in the switch equipment of the intelligent equipment or not; if the intelligent control module exists in the switch equipment, equipment connection is realized through a sensor corresponding to the intelligent control module, and the connected equipment list is updated based on the equipment identifier; if the intelligent control module does not exist in the switch equipment, configuring the intelligent control module for the switch equipment; and based on the intelligent control module, realizing equipment connection, and based on the equipment identification, updating the connected equipment list. According to the method, when the equipment is new equipment, the equipment can be connected through the corresponding intelligent control module, the intelligent control module can be configured for the equipment without the intelligent control module, free addition of the equipment is realized, and the control flexibility of the intelligent equipment is improved.
Referring to fig. 5, fig. 5 is a schematic flowchart of a method for controlling an intelligent device according to an embodiment of the present application. The intelligent equipment control method can be applied to a server and used for controlling the intelligent equipment by receiving equipment control instructions set by a user based on equipment states and transmitting the equipment control instructions to the switch equipment through a wireless module or a Bluetooth module under the condition of no network.
As shown in fig. 5, the step S103 of the smart device control method specifically includes steps S301 to S302.
And S301, transmitting the equipment control instruction to a control chip through a wireless module or a Bluetooth module when the wireless network signal does not exist.
S302, calling the control chip, and controlling the switch equipment based on the equipment control instruction.
In one embodiment, under the condition that the current area has no network, the intelligent switch can be controlled by the WIFI module or the bluetooth module under the local area network, as shown in fig. 6 and fig. 7, the end user equipment (i.e. the mobile terminal) receives the equipment control instruction input by the user, the equipment control instruction is directly transmitted to the control chip (i.e. the SOC in fig. 6 and fig. 7) through the wireless module (i.e. the WIFI module in fig. 6) or the bluetooth module, and the SOC performs related operations on the switch equipment according to the equipment control instruction, so as to realize the control of the intelligent equipment.
The wireless local area network mainly comprises a wireless terminal, a wireless medium and a wireless access point. The wireless terminal is the most basic component unit of the wireless local area network, and in the application scene of the intelligent switch, the proper terminal user equipment mainly comprises a mobile phone and a small central control screen, and is used as a control center of the system. The wireless medium is a transmission medium for communication between a terminal and an access point and between terminals in a wireless local area network, and mainly refers to air. The wireless access point is an important component unit of the wireless local area network, and is similar to a base station in a cellular structure, and is used as an access point, so that each terminal can connect and access the wireless access point; meanwhile, the bridge function between the wireless local area network distributed systems is completed as a bridge point of the wireless network and the system.
The above embodiment provides a method, a device, a computer device and a storage medium for controlling an intelligent device, where when the wireless network signal does not exist, the device control instruction is transmitted to a control chip through a wireless module or a bluetooth module; and calling the control chip to control the switching equipment based on the equipment control instruction. According to the method, the router or the gateway is used as a wireless access point of the device, and the intelligent switch can be controlled through the WIFI module or the Bluetooth module under the local area network under the condition that no network exists, so that the problem that the intelligent device cannot be controlled under the condition that no network exists is solved, and the problem that the control stability of the intelligent device is low is solved.
Referring to fig. 8, fig. 8 is a schematic block diagram of a smart device control apparatus according to an embodiment of the present application, where the smart device control apparatus is configured to execute the foregoing smart device control method. The intelligent device control device can be configured on a server.
As shown in fig. 8, the smart device control apparatus 400 includes:
the device state information sending module 401 is configured to obtain device state information of an intelligent device, and send the device state information to a user device;
a device control instruction receiving module 402, configured to receive a device control instruction set by a user according to the user device and the device state information;
and the device control implementation module 403 is configured to implement control of the intelligent device based on the wireless module or the bluetooth module and the device control instruction when the wireless network signal does not exist.
Further, the device status information sending module 401 includes:
the device identification judging unit is used for judging whether the device identification exists in a connected device list or not when the device status information is acquired, wherein the device status information comprises the device identification;
and the equipment state information sending unit is used for sending the equipment state information to the user equipment if the equipment identifier exists in the connected equipment list.
Further, the device status information sending module 401 further includes an intelligent control module determining sub-module, where the intelligent control module determining sub-module includes:
the intelligent control module judging unit is used for judging whether the intelligent control module exists in the switch equipment of the intelligent equipment or not if the equipment identifier does not exist in the connected equipment list;
and the device connection unit is used for realizing device connection through a sensor corresponding to the intelligent control module if the intelligent control module exists in the switch device, and updating the connected device list based on the device identifier.
Further, the intelligent control module judges the sub-module, further includes:
the intelligent control module configuration unit is used for configuring the intelligent control module for the switch equipment if the intelligent control module does not exist in the switch equipment;
and the connected equipment list updating unit is used for realizing equipment connection based on the intelligent control module and updating the connected equipment list based on the equipment identifier.
Further, the intelligent device control apparatus 400 further includes a device control module, where the device control module includes:
a network signal judging unit for judging whether the wireless network signal exists in the current area;
and the equipment control unit is used for transmitting the equipment control instruction to a cloud platform based on the wireless network signal if the wireless network signal exists, and realizing the control of the intelligent equipment based on the cloud platform.
Further, the device control implementation module 403 includes:
the device control instruction transmission unit is used for transmitting the device control instruction to a control chip through a wireless module or a Bluetooth module when the wireless network signal does not exist;
and the equipment control unit is used for calling the control chip and controlling the switch equipment based on the equipment control instruction.
Further, the intelligent device control apparatus 400 further includes a device control instruction generating module, where the device control instruction generating module includes:
a control interface generating unit, configured to generate a control interface corresponding to the intelligent device based on the device state information, so that the user performs setting on the control interface;
and the control instruction generation unit is used for generating the equipment control instruction based on the user operation when detecting that the user operation exists on the control interface.
It should be noted that, for convenience and brevity of description, the specific working process of the apparatus and each module described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The apparatus described above may be implemented in the form of a computer program which is executable on a computer device as shown in fig. 9.
Referring to fig. 9, fig. 9 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device may be a server.
With reference to FIG. 9, the computer device includes a processor, memory, and a network interface connected by a system bus, where the memory may include a non-volatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program comprises program instructions that, when executed, cause the processor to perform any of a number of smart device control methods.
The processor is used to provide computing and control capabilities to support the operation of the entire computer device.
The internal memory provides an environment for the execution of a computer program in a non-volatile storage medium that, when executed by a processor, causes the processor to perform any of a number of smart device control methods.
The network interface is used for network communication such as transmitting assigned tasks and the like. It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
It should be appreciated that the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein in one embodiment the processor is configured to run a computer program stored in the memory to implement the steps of:
acquiring equipment state information of intelligent equipment, and sending the equipment state information to user equipment;
receiving an equipment control instruction set by a user according to the user equipment and the equipment state information;
and when the wireless network signal does not exist, the intelligent equipment is controlled based on the wireless module or the Bluetooth module and the equipment control instruction.
In one embodiment, the processor is configured to, when implementing obtaining device status information of the smart device and sending the device status information to the user device, implement:
when the equipment state information is acquired, judging whether an equipment identifier exists in a connected equipment list, wherein the equipment state information comprises the equipment identifier;
and if the equipment identifier exists in the connected equipment list, sending the equipment state information to the user equipment.
In one embodiment, when implementing obtaining the device status information of the current device, the processor is further configured to, after determining whether a device identifier exists in a connected device list, implement:
if the equipment identifier does not exist in the connected equipment list, judging whether an intelligent control module exists in the switch equipment of the intelligent equipment or not;
and if the intelligent control module exists in the switch equipment, equipment connection is realized through a sensor corresponding to the intelligent control module, and the connected equipment list is updated based on the equipment identifier.
In one embodiment, the processor is further configured to, after implementing determining whether the intelligent control module exists in the switching device of the intelligent device, implement:
if the intelligent control module does not exist in the switch equipment, configuring the intelligent control module for the switch equipment;
and based on the intelligent control module, realizing equipment connection, and based on the equipment identification, updating the connected equipment list.
In one embodiment, when implementing that the wireless network signal is not present, the processor is further configured to, before implementing control of the smart device based on the wireless module or the bluetooth module and the device control instruction:
judging whether the wireless network signal exists in the current area;
if the wireless network signal exists, transmitting the equipment control instruction to a cloud platform based on the wireless network signal, and controlling the intelligent equipment based on the cloud platform.
In one embodiment, when the processor is implemented to implement control of the intelligent device based on the wireless module or the bluetooth module and the device control instruction when the wireless network signal is not present, the processor is configured to implement:
transmitting the equipment control instruction to a control chip through a wireless module or a Bluetooth module when the wireless network signal does not exist;
and calling the control chip to control the switching equipment based on the equipment control instruction.
In one embodiment, before implementing receiving a device control instruction set by a user according to the user device and the device state information, the processor is further configured to implement:
generating a control interface corresponding to the intelligent device based on the device state information so as to enable the user to set the control interface;
and generating the equipment control instruction based on the user operation when the user operation of the control interface is detected.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program comprises program instructions, and the processor executes the program instructions to realize any intelligent device control method provided by the embodiment of the application.
The computer readable storage medium may be an internal storage unit of the computer device according to the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, which are provided on the computer device.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The intelligent equipment control method is characterized by comprising the following steps of:
acquiring equipment state information of intelligent equipment, and sending the equipment state information to user equipment;
receiving an equipment control instruction set by a user according to the user equipment and the equipment state information;
and when the wireless network signal does not exist, the intelligent equipment is controlled based on the wireless module or the Bluetooth module and the equipment control instruction.
2. The smart device control method according to claim 1, wherein the acquiring device state information of the smart device and transmitting the device state information to the user device includes:
when the equipment state information is acquired, judging whether an equipment identifier exists in a connected equipment list, wherein the equipment state information comprises the equipment identifier;
and if the equipment identifier exists in the connected equipment list, sending the equipment state information to the user equipment.
3. The method for controlling an intelligent device according to claim 2, wherein when the device status information of the current device is obtained, determining whether the device identifier exists in the connected device list further comprises:
if the equipment identifier does not exist in the connected equipment list, judging whether an intelligent control module exists in the switch equipment of the intelligent equipment or not;
and if the intelligent control module exists in the switch equipment, equipment connection is realized through a sensor corresponding to the intelligent control module, and the connected equipment list is updated based on the equipment identifier.
4. The intelligent device control method according to claim 3, wherein after the determining whether the intelligent device has an intelligent control module in the switching device of the intelligent device, further comprises:
if the intelligent control module does not exist in the switch equipment, configuring the intelligent control module for the switch equipment;
and based on the intelligent control module, realizing equipment connection, and based on the equipment identification, updating the connected equipment list.
5. The method for controlling an intelligent device according to claim 1, wherein when no wireless network signal exists, before implementing the control of the intelligent device based on a wireless module or a bluetooth module and the device control instruction, the method further comprises:
judging whether the wireless network signal exists in the current area;
if the wireless network signal exists, transmitting the equipment control instruction to a cloud platform based on the wireless network signal, and controlling the intelligent equipment based on the cloud platform.
6. The method for controlling an intelligent device according to claim 1, wherein the controlling the intelligent device based on a wireless module or a bluetooth module and the device control instruction when no wireless network signal exists comprises:
transmitting the equipment control instruction to a control chip through a wireless module or a Bluetooth module when the wireless network signal does not exist;
and calling the control chip to control the switching equipment based on the equipment control instruction.
7. The smart device control method according to any one of claims 1 to 6, wherein before receiving a device control instruction set by a user according to the user device and the device status information, further comprising:
generating a control interface corresponding to the intelligent device based on the device state information so as to enable the user to set the control interface;
and generating the equipment control instruction based on the user operation when the user operation of the control interface is detected.
8. An intelligent device control apparatus, characterized by comprising:
the device state information sending module is used for obtaining the device state information of the intelligent device and sending the device state information to the user device;
the device control instruction receiving module is used for receiving a device control instruction set by a user according to the user device and the device state information;
and the device control realizing module is used for realizing the control of the intelligent device based on the wireless module or the Bluetooth module and the device control instruction when no wireless network signal exists.
9. A computer device, the computer device comprising a memory and a processor;
the memory is used for storing a computer program;
the processor for executing the computer program and for implementing the smart device control method according to any one of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the smart device control method of any one of claims 1 to 7.
CN202211647196.4A 2022-12-21 2022-12-21 Intelligent device control method and device, computer device and storage medium Pending CN116055236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211647196.4A CN116055236A (en) 2022-12-21 2022-12-21 Intelligent device control method and device, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211647196.4A CN116055236A (en) 2022-12-21 2022-12-21 Intelligent device control method and device, computer device and storage medium

Publications (1)

Publication Number Publication Date
CN116055236A true CN116055236A (en) 2023-05-02

Family

ID=86117302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211647196.4A Pending CN116055236A (en) 2022-12-21 2022-12-21 Intelligent device control method and device, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN116055236A (en)

Similar Documents

Publication Publication Date Title
CN109548116B (en) ZigBee gateway equipment batch network access method, device and equipment based on NFC
CN108540965B (en) Internet of things communication method and device based on LoRa technology and storage medium
JP5966718B2 (en) Near field communication system and near field communication terminal
CN105684520B (en) Method for establishing wireless local area network communication connection and electronic equipment thereof
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
CN107318119B (en) Household appliance networking method, household appliance and computer readable storage medium
US20220052866A1 (en) Smart home system control method and apparatus, electronic device
CN110070654B (en) Electronic lock unlocking method, system, terminal, electronic lock and computer storage medium
US20230141055A1 (en) Edge computing system and method for recommending connection device
US20230164033A1 (en) Edge computing system and method
CN111585801A (en) ZigBee device upgrading method and related device
US20230300197A1 (en) Hub device of iot environment, and method for processing event based on local network
CN107463395B (en) Component calling method and device
CN116055236A (en) Intelligent device control method and device, computer device and storage medium
EP4319255A1 (en) Electronic device for performing network management operation and operation method thereof
CN115167378A (en) Vehicle diagnosis mode control method, system, equipment and storage medium
KR102506155B1 (en) Electronic device, application executing system and control methods thereof
CN112987597B (en) FSU control method, device, equipment and computer readable storage medium
CN112910985B (en) Protocol conversion method, device, equipment and storage medium based on intelligent contract
CN113784448A (en) Networking communication method, device and computer readable storage medium
CN110177364B (en) Bluetooth device pairing connection method and device, storage medium and electronic device
CN114024990A (en) General access method for Internet of things platform, network equipment and readable storage medium
CN114829965A (en) Position estimation method, position estimation program, fixed wireless device, and mobile wireless device
US20240015073A1 (en) Connection configuration method and apparatus
EP4210282A1 (en) Electronic device, and method for determining provisioning device in edge computing network

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