WO2022109937A1 - Procédé de commande pour équipement utilisateur distribué - Google Patents

Procédé de commande pour équipement utilisateur distribué Download PDF

Info

Publication number
WO2022109937A1
WO2022109937A1 PCT/CN2020/131830 CN2020131830W WO2022109937A1 WO 2022109937 A1 WO2022109937 A1 WO 2022109937A1 CN 2020131830 W CN2020131830 W CN 2020131830W WO 2022109937 A1 WO2022109937 A1 WO 2022109937A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
user equipment
control
app
data
Prior art date
Application number
PCT/CN2020/131830
Other languages
English (en)
Chinese (zh)
Inventor
韩帅
孙乐平
吴宛潞
郭小璇
肖静
秦丽娟
Original Assignee
广西电网有限责任公司电力科学研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广西电网有限责任公司电力科学研究院 filed Critical 广西电网有限责任公司电力科学研究院
Priority to PCT/CN2020/131830 priority Critical patent/WO2022109937A1/fr
Publication of WO2022109937A1 publication Critical patent/WO2022109937A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • 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]

Definitions

  • the present invention relates to the technical field of equipment control, in particular to a control method of distributed user equipment.
  • the present invention provides a control method for distributed user equipment, and the specific technical solutions are as follows:
  • a control method for distributed user equipment The user equipment is connected to a server through a WIFI gateway, and the server is connected to a control APP.
  • the user equipment communicates with the WIFI gateway through the LonTalk protocol;
  • the server communicates with the WIFI gateway through the TCP/IP Sokcet protocol;
  • the server communicates with the control APP through the WebSokcet protocol;
  • the control method includes the following steps:
  • S1 Collect and upload the status data of the user equipment to the server through the WIFI gateway;
  • the server stores the state data of the user equipment in the database and pushes it to the control APP;
  • S3 The user checks the status of the user equipment through the control APP and sends a control command
  • the LonTalk protocol follows the ISO/OSI model and provides all seven-layer services defined by the OSI reference model. It is a direct object-oriented network protocol, which is not supported by communication buses such as RS485. This establishes a common standard for the exchange of control status information between devices, integrates those isolated systems and products in the past, and solves the problem of interoperability between products of different manufacturers, so that a system can be formed within a residential area. Unified network control system.
  • Socket transmits data at the byte level, and the transmitted data can be customized.
  • the amount of data is small, which can save the traffic cost of mobile phone applications; the data transmission time is short and the performance is high; it is suitable for real-time information exchange between the client and the server; it can be encrypted, Strong data security.
  • the WebSokcet protocol implements multiplexing, is full-duplex communication, supports persistent connections, and the server actively pushes information to the client, which solves the problem of delay in the synchronization of the http protocol.
  • the user equipment is connected to the WIFI gateway through a LonWorks module.
  • the WIFI gateway converts the information of the LonWorks module into WIFI interface information, collects the data of the LonWorks module, and converts the LonTalk communication protocol to the TCP/IP protocol and transmits it from the WIFI interface to the server.
  • the LonWorks module includes the LonWorks chip.
  • the user equipment binds variables through the LonWorks chip.
  • the LonWorks chip immediately pushes the state data of the user equipment to the server connected to the upper layer.
  • the data interaction method between the server and the control APP includes establishing a secure communication connection, sending and pushing data, maintaining and disconnecting the connection, and the details are as follows:
  • the control APP carries the SessionID to carry out the WebSokcet connection request. After the server receives the request, it first checks the validity of the SessionID, establishes a connection with the control APP after the verification is passed, and pushes the currently collected state information of the user equipment to the control APP;
  • control APP When controlling the APP to control the device, the control APP first detects the connection status with the server, and if the connection is not interrupted, it sends a control command to the server. The results are fed back to the control APP;
  • the user equipment pushes the status information to the server through the WIFI gateway; after the server receives the status information of the user equipment, it first checks all WebSokcet connections, and pushes the status data of the user equipment to all available connections;
  • Control the APP to regularly detect the connection status with the server. If it is found to be disconnected, it will continuously try to connect to the server.
  • the user equipment communicates with the WIFI gateway through the LonTalk protocol, which effectively solves the shortcomings of network instability, poor penetration and coverage with blind spots caused by using the wireless communication module as the internal network of the smart home.
  • the server communicates with the WIFI gateway through the TCP/IP Sokcet protocol; the server communicates with the control APP through the WebSokcet protocol, which can quickly and safely obtain the real-time status of the device without wasting a lot of mobile phone resources.
  • Fig. 1 is the schematic flow chart of the present invention
  • Fig. 2 is a schematic flow chart of a server and a control APP establishing a secure communication connection
  • Fig. 3 is a schematic flow chart of server and control APP data distribution and push
  • Fig. 4 is the structural representation of control APP
  • Fig. 5 is the schematic flow chart of the login module of the control APP
  • Fig. 6 is the schematic flow chart of the home page module of the control APP
  • Fig. 7 is the schematic flow chart of the room module of the control APP.
  • FIG. 8 is a schematic flowchart of a device module controlling an APP
  • FIG. 9 is a schematic flowchart of controlling an energy-consuming module of an APP.
  • a control method of distributed user equipment the user equipment is connected to a server through a WIFI gateway, the server is connected to a control APP, and the server and the WIFI gateway communicate through the TCP/IP Sokcet protocol; the server Communicate with the control APP through the WebSokcet protocol; the control method includes the following steps:
  • S1 Collect and upload the status data of the user equipment to the server through the WIFI gateway;
  • the server stores the state data of the user equipment in the database and pushes it to the control APP;
  • S3 The user checks the status of the user equipment through the control APP and sends a control command
  • the user equipment is connected with the WIFI gateway through the LonWorks module.
  • the WIFI gateway converts the information of the LonWorks module into the information of the WIFI interface, collects the data of the LonWorks module and converts the LonTalk communication protocol to the TCP/IP protocol and transmits it from the WIFI interface to the server.
  • the user can directly view the bottom layer and LonWorks through the control APP connected to the server.
  • the status information of the user equipment connected to the module is controlled and managed accordingly.
  • the WIFI gateway adopts LH-GW300B programmable gateway.
  • the WIFI gateway communicates with the LonWorks module using the LonTalk protocol.
  • the LonWorks module includes the LonWorks chip, and the user equipment binds variables through the LonWorks chip. When the state of the user equipment changes, the LonWorks chip immediately pushes the state data of the user equipment to the server connected to the upper layer.
  • the user equipment in this embodiment includes an intake pump and a terminal electric energy meter; the intake pump is connected to the controller through a relay, the terminal electric energy meter is connected to the controller, the controller is connected to the LonWorks module, and the LonWorks module and the WIFI gateway are connected through HF-A21 -SMT module connection, HF-A21-SMT module mainly converts the information of LonWorks serial port into WIFI interface information.
  • the controller controls the start and stop of the inlet water pump through the relay, and the controller collects the energy consumption data of the terminal electric energy meter and uploads it to the server.
  • the data interaction method between the server and the control APP includes establishing a secure communication connection, sending and pushing data, maintaining and disconnecting the connection, as follows:
  • the control APP carries the SessionID to make a WebSokcet connection request.
  • the server After receiving the request, the server first checks the validity of the SessionID, establishes a WebSokcet two-way connection with the control APP after the verification is passed, and pushes the currently collected state information of the user equipment to the control APP.
  • the control APP When the control APP has a request instruction, the control APP carries the SessionID to request the server.
  • the server receives the request from the control APP, it first checks whether the carried SessionID is invalid in the background. If there is no invalid server, obtain the user name corresponding to the SessionID, execute the corresponding command according to the user name, and push the execution result to the specified WebSokcet connection through the SessionID.
  • Control the APP to regularly detect the connection status with the server. If it is found to be disconnected, it will continuously try to connect to the server.
  • control APP includes a login module, a home page module, a room module, a device module, an energy consumption module, and a message module.
  • the login module mainly implements user management functions, including user login, user registration and forgotten password retrieval functions.
  • the startup process is shown in Figure 5.
  • the control APP will enter the startup program, and in the program login page, the program will determine whether the user has successfully logged in. If you have successfully logged in, you do not need to enter the user password to log in with the user password in the cache. If you succeed, you will directly enter the home page, and if you fail, you will enter the login page. If you have not logged in, go directly to the login page. On the user login page, if there is no registration, you can enter the registration page. On the registration page, first verify the mobile phone verification code, and then enter the user information details page after success. If the save is successful, it will jump back to the login page.
  • the password retrieval page On the user login page, if the user forgets the password, he can enter the password retrieval page. On the password retrieval page, first verify the mobile phone verification code. If the mobile phone number exists, enter the password modification page. If the modification is successful, the login page is returned.
  • the home page module mainly manages user modes, including mode setting, mode addition, and mode editing.
  • the user can perform mode setting, display mode setting, and mode adding operations on the home page.
  • the mode displayed on the home page As the current mode, the background will go to the back to obtain the detailed data of the device in the mode, and set the device on or off accordingly.
  • the program When the user clicks the setting of the mode, the program will enter the setting page of the mode. In the setting page, the user can set the status of the device according to the needs, and return to the home page after completion.
  • the program When the user clicks the new mode, the program will enter the new mode page and set the mode. name and device status, and return to the home page when done.
  • the program When the user clicks more modes, the program will enter the more modes page, where the user can add, edit, delete and set the current mode.
  • the room module mainly implements the management of rooms on each floor, including adding rooms, deleting rooms, adding devices in rooms, and setting devices.
  • the user can choose to add a room or enter the room details page on the page.
  • the Add button he enters the Add Room page, selects the floor and room name on the page, and returns to the Room page after saving.
  • the user clicks the corresponding room button the room details page is displayed, and the equipment of the room is displayed on the page. The equipment can be set, and the equipment can be added as needed. You can also choose to delete the room. If the deletion is successful, you will be returned to the room home page.
  • the device module mainly implements the classification management function of the device, including opening, closing, adding, and so on of the device. After entering the equipment module, the user can switch the equipment on and off, enter the equipment setting or enter the parameter page of the inlet pump.
  • the user can directly control the switch of the device, and some devices have other control items, such as air conditioner, TV and so on. It requires the user to enter the device settings page to perform detailed operations.
  • the inlet pump has a parameter details page.
  • the parameter details page there is a display of the inlet water level and a curve display of the history of the liquid level today.
  • Timing setting button Users can also click the timing setting button to enter the timing setting page, where the switch, switching time, running time, and minimum liquid level of the timing control can be controlled on the page. After the setting is successful, the details page will be returned.
  • the user wants to view the history of the liquid level in the details, he can also click the history query button to enter the liquid level query page.
  • the query page select the query time period and enter the liquid level history detail page.
  • the liquid level data will be displayed in the form of a curve graph.
  • the energy consumption module mainly realizes the display and query of energy consumption data, including water consumption, electricity consumption and electricity consumption load.
  • the user can choose whether to use electricity or water to use energy on the page.
  • the electricity consumption page On the electricity consumption page, the total electricity consumption trend graph of the day, the power and consumption data of each floor, and the energy consumption data of several important devices are displayed. Users can also click the More button and choose to query historical data of electricity consumption and electricity load data. Enter the power consumption historical data query page, then select the conditions, and enter the details data page after completion. Also in the water use interface, you can also select the query of water history, and the steps are similar to the query of electricity consumption.
  • the message module mainly displays the alarm data of the equipment, including the overload alarm of the equipment, the energy consumption exceeding the limit alarm and the moving alarm of the people leaving home.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

La présente invention concerne le domaine technique de la commande d'équipement, et plus particulièrement, un procédé de commande pour un équipement utilisateur distribué. Dans la présente invention, l'équipement utilisateur communique avec une passerelle WiFi au moyen d'un protocole LonTalk, de manière à résoudre efficacement les défauts tels qu'une faible stabilité, une faible performance de pénétration et un point mort de couverture d'un réseau interne domestique intelligent fourni par un module de communication sans fil. Un serveur communique avec une passerelle WiFi au moyen d'un protocole de prise TCP/IP, et communique avec une application (APP) de commande au moyen d'un protocole WebSocket, de telle sorte qu'un état en temps réel de l'équipement peut être obtenu rapidement et de manière sécurisée sans utiliser efficacement une grande quantité de ressources d'un téléphone mobile.
PCT/CN2020/131830 2020-11-26 2020-11-26 Procédé de commande pour équipement utilisateur distribué WO2022109937A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/131830 WO2022109937A1 (fr) 2020-11-26 2020-11-26 Procédé de commande pour équipement utilisateur distribué

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/131830 WO2022109937A1 (fr) 2020-11-26 2020-11-26 Procédé de commande pour équipement utilisateur distribué

Publications (1)

Publication Number Publication Date
WO2022109937A1 true WO2022109937A1 (fr) 2022-06-02

Family

ID=81755103

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131830 WO2022109937A1 (fr) 2020-11-26 2020-11-26 Procédé de commande pour équipement utilisateur distribué

Country Status (1)

Country Link
WO (1) WO2022109937A1 (fr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060168178A1 (en) * 2004-12-21 2006-07-27 Electronics And Telecommunications Research Institute Platform-independent system for remotely controlling home devices and method thereof
CN105897573A (zh) * 2016-05-20 2016-08-24 复旦大学 支持多协议多业务的智能家居网关系统
CN105915422A (zh) * 2016-06-28 2016-08-31 合肥润东通信科技股份有限公司 一种物联网网关系统
CN111083224A (zh) * 2019-12-19 2020-04-28 广西电网有限责任公司电力科学研究院 一种分散式用户设备的控制方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060168178A1 (en) * 2004-12-21 2006-07-27 Electronics And Telecommunications Research Institute Platform-independent system for remotely controlling home devices and method thereof
CN105897573A (zh) * 2016-05-20 2016-08-24 复旦大学 支持多协议多业务的智能家居网关系统
CN105915422A (zh) * 2016-06-28 2016-08-31 合肥润东通信科技股份有限公司 一种物联网网关系统
CN111083224A (zh) * 2019-12-19 2020-04-28 广西电网有限责任公司电力科学研究院 一种分散式用户设备的控制方法

Similar Documents

Publication Publication Date Title
CN110912789B (zh) 一种基于阿里云IoT Hub平台的智能家居物联网通信方法
CN204350030U (zh) 基于机顶盒的多功能家庭物联网网关装置
CN111025925A (zh) 一种基于云计算的智能家居配备系统
CN103676914A (zh) 一种智能家居控制方法及设备
CN105093944A (zh) 智能家居系统及基于该系统的云数据处理方法
CN206002870U (zh) 一种基于物联网的家居系统
CN104880952A (zh) 一种基于运营服务的智能家居管理系统
CN112421775A (zh) 基于电力物联网的本地能耗控制系统及其控制方法
CN113835348A (zh) 一种智能家居控制系统
WO2019071681A1 (fr) Procédé et système d'activation à distance fondés sur le p2p
CN111565384A (zh) 一种可防止断网的智能家居网关及实现方法
CN110519093A (zh) 一种基于泛在电力物联网的信息采集系统网络架构
CN110557356B (zh) 一种面向自动需求响应的即插即用接入终端及实现方法
CN206100019U (zh) 一种智能家居节点管理系统
WO2022109937A1 (fr) Procédé de commande pour équipement utilisateur distribué
CN202889380U (zh) 一种触摸屏空调网关系统
CN117518855A (zh) 一种基于物联网的智能家居远程控制系统
CN111245689B (zh) 基于融合网关的智能卫浴系统及其控制方法
CN105787835A (zh) 一种智能校园宿舍管理系统
CN111083224A (zh) 一种分散式用户设备的控制方法
CN205863553U (zh) 物联网智能插座
CN214901321U (zh) 基于蓝牙路由器的锁具组网系统及应用于酒店的锁具组网系统
CN204741470U (zh) 一种基于互联网的远程开关控制系统
CN206115535U (zh) 一种智能锁低功耗远程控制系统
CN109005244B (zh) 环境感知开放服务系统及应用方法

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20962828

Country of ref document: EP

Kind code of ref document: A1