WeChat-based lighting system control method and device

文档序号:1617585 发布日期:2020-01-10 浏览:17次 中文

阅读说明:本技术 一种基于微信的照明系统控制方法及装置 (WeChat-based lighting system control method and device ) 是由 夏灿铭 于 2019-09-29 设计创作,主要内容包括:本发明公开了一种基于微信的照明系统控制方法及装置,方法包括:云服务器从微信公众号平台的用户消息接收端中获取用户输入的秘钥信息和照明系统的MAC地址;云服务器访问数据库并下载秘钥信息所匹配的照明参数表;从数据表中获取预设的照明参数表;云服务器根据所述MAC地址将照明参数表传递给照明系统;照明系统以照明参数表上的参数值作为目标值调整自身参数,并反馈给云服务器;云服务器将反馈信息传递给客服消息发送端。装置包括:微信端、云服务器和数据库。通过云服务器以秘钥信息作为纽带下载到数据表,并将数据表发送给照明系统,照明系统可以智能的识别出不同的用户,调整自身的参数值以满足用户的期待。该方法主要用于物联网领域。(The invention discloses a WeChat-based lighting system control method and a WeChat-based lighting system control device, wherein the method comprises the following steps: the cloud server acquires key information input by a user and an MAC (media access control) address of the lighting system from a user message receiving end of the WeChat public number platform; the cloud server accesses the database and downloads the illumination parameter table matched with the key information; acquiring a preset lighting parameter table from the data table; the cloud server transmits the illumination parameter table to the illumination system according to the MAC address; the lighting system adjusts the parameters by taking the parameter values on the lighting parameter table as target values and feeds the target values back to the cloud server; and the cloud server transmits the feedback information to the customer service message transmitting terminal. The device comprises: WeChat end, cloud server and database. The cloud server downloads the data table by taking the secret key information as a link, and sends the data table to the lighting system, so that the lighting system can intelligently identify different users and adjust the parameter values of the lighting system to meet the expectation of the users. The method is mainly used in the field of Internet of things.)

1. A WeChat-based lighting system control method, comprising:

step 1, a cloud server acquires key information input by a user and an MAC (media access control) address of an illumination system from a user message receiving end of a WeChat public number platform;

step 2, the cloud server accesses the database and downloads the illumination parameter table matched with the key information;

step 3, acquiring a preset illumination parameter table from the data table;

step 4, the cloud server transmits the illumination parameter table to an illumination system according to the MAC address;

step 5, the lighting system adjusts the parameters of the lighting system by taking the parameter values on the lighting parameter table as target values;

step 6, after the lighting system is adjusted, feeding back the adjusted parameter information to the cloud server;

and 7, the cloud server transmits the parameter information fed back by the lighting system to a customer service message transmitting end of the WeChat public number platform.

2. A WeChat-based lighting system control method according to claim 1, wherein the key information includes any one of password information, fingerprint information, or face information.

3. A WeChat-based lighting system control method as claimed in claim 2, wherein said lighting parameter tabulation comprises: luminance value and color temperature value.

4. A WeChat-based lighting system control apparatus, comprising: the system comprises a WeChat end, a cloud server and a database, wherein the WeChat end and an illumination system are connected with the Internet, and the WeChat end is used for acquiring secret key information input by a user and an MAC (media access control) address of the illumination system and transmitting the secret key information and the MAC address of the illumination system to a user message receiving end of a WeChat public number platform;

the database is used for recording an illumination parameter table input by a user in advance;

the cloud server is used for comprising: acquiring the secret key information and the MAC address of the lighting system from a user message receiving end of the WeChat public number platform, accessing a database and downloading a data table matched with the secret key information, transmitting the lighting parameter table to the lighting system according to the MAC address, and transmitting the parameter information fed back by the lighting system to a customer service message transmitting end of the WeChat public number platform;

the lighting system is used for adjusting the parameters of the lighting system by taking the parameter values on the lighting parameter table as target values, and feeding back the adjusted parameter information to the cloud server after the adjustment is finished.

5. A WeChat-based lighting system control apparatus according to claim 4, wherein said WeChat end is provided with: the password acquisition module, the fingerprint acquisition module or the face information acquisition module.

6. A WeChat-based lighting system control apparatus as claimed in claim 5, wherein said lighting system is provided with: the device comprises a brightness value adjusting module and a color temperature adjusting module.

Technical Field

The invention relates to the technical field of Internet of things, in particular to a WeChat-based lighting system control method and device.

Background

The lamp control system of most current families only realizes that auto-induction opens lamp or manual switch and opens the lamp, only controls the bright of lamp and goes out, can not provide the luminance of remote control and control lamp for the user, and the flexibility convenience is lower, can not satisfy the user more convenient control lighting system or control lighting system in the family when going out. Furthermore, the existing control method for the lighting system generally sets specific parameter values by itself and then performs control. However, for families, different individuals have different requirements on the state of the lighting system, and people tend to like dim light, soft color temperature, light and the like. The intelligent degree of the control device of the existing lighting system is not enough, and the individualized requirement cannot be met.

Disclosure of Invention

The invention aims to provide a control method and a control system of a lighting system with high intelligence degree.

The solution of the invention for solving the technical problem is as follows: a WeChat-based lighting system control method, comprising:

step 1, a cloud server acquires key information input by a user and an MAC (media access control) address of an illumination system from a user message receiving end of a WeChat public number platform;

step 2, the cloud server accesses the database and downloads the illumination parameter table matched with the key information;

step 3, acquiring a preset illumination parameter table from the data table;

step 4, the cloud server transmits the illumination parameter table to an illumination system according to the MAC address;

step 5, the lighting system adjusts the parameters of the lighting system by taking the parameter values on the lighting parameter table as target values;

step 6, after the lighting system is adjusted, feeding back the adjusted parameter information to the cloud server;

and 7, the cloud server transmits the parameter information fed back by the lighting system to a customer service message transmitting end of the WeChat public number platform.

Further, the key information includes any one of password information, fingerprint information, or face information.

Further, the listing of the lighting parameter includes: luminance value and color temperature value.

A WeChat-based lighting system control apparatus, comprising: the system comprises a WeChat end, a cloud server and a database, wherein the WeChat end and an illumination system are connected with the Internet, and the WeChat end is used for acquiring secret key information input by a user and an MAC (media access control) address of the illumination system and transmitting the secret key information and the MAC address of the illumination system to a user message receiving end of a WeChat public number platform;

the database is used for recording an illumination parameter table input by a user in advance;

the cloud server is used for comprising: acquiring the secret key information and the MAC address of the lighting system from a user message receiving end of the WeChat public number platform, accessing a database and downloading a data table matched with the secret key information, transmitting the lighting parameter table to the lighting system according to the MAC address, and transmitting the parameter information fed back by the lighting system to a customer service message transmitting end of the WeChat public number platform;

the lighting system is used for adjusting the parameters of the lighting system by taking the parameter values on the lighting parameter table as target values, and feeding back the adjusted parameter information to the cloud server after the adjustment is finished.

Further, the WeChat end is provided with: the password acquisition module, the fingerprint acquisition module or the face information acquisition module.

Further, the lighting system is provided with: the device comprises a brightness value adjusting module and a color temperature adjusting module.

The invention has the beneficial effects that: the user message receiving end of the WeChat public number platform is utilized, the data table is downloaded through the cloud server by taking the secret key information as a link, and the data table is sent to the lighting system, so that the lighting system can intelligently identify different users, and the parameter values of the lighting system are adjusted to meet the expectations of different users.

Drawings

In order to more clearly illustrate the technical solution in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is clear that the described figures are only some embodiments of the invention, not all embodiments, and that a person skilled in the art can also derive other designs and figures from them without inventive effort.

Fig. 1 is a flow chart of steps of a WeChat-based lighting system control method;

fig. 2 is a system block diagram of a WeChat based lighting system control apparatus.

Detailed Description

The conception, the specific structure, and the technical effects produced by the present invention will be clearly and completely described below in conjunction with the embodiments and the accompanying drawings to fully understand the objects, the features, and the effects of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and those skilled in the art can obtain other embodiments without inventive effort based on the embodiments of the present invention, and all embodiments are within the protection scope of the present invention. In addition, all the coupling/connection relationships mentioned herein do not mean that the components are directly connected, but mean that a better coupling structure can be formed by adding or reducing coupling accessories according to specific implementation conditions. All technical characteristics in the invention can be interactively combined on the premise of not conflicting with each other.

Referring to fig. 1, a WeChat-based lighting system control method includes:

s100, the cloud server acquires key information input by a user and an MAC (media access control) address of the lighting system from a user message receiving end of a WeChat public number platform;

step S200, the cloud server accesses a database and downloads a data table matched with the key information;

step S300, acquiring a preset illumination parameter table from the data table;

s400, the cloud server transmits the illumination parameter table to an illumination system according to the MAC address;

s500, the lighting system adjusts the parameters of the lighting system by taking the parameter values on the lighting parameter table as target values;

step S600, after the lighting system is adjusted, feeding back the adjusted parameter information to the cloud server;

and S700, the cloud server transmits the parameter information fed back by the lighting system to a customer service message transmitting end of the WeChat public number platform.

Due to the data table, different users can establish different data tables and use the key information as a basis for distinguishing and accessing. Wherein the key information includes: password information, fingerprint information or face information. The data table may record the values of the lighting system parameters, such as luminance values and color temperature values, desired by the user.

The control method creatively utilizes the user message receiving end of the WeChat public number platform, downloads the data sheet by taking the secret key information as a link through the cloud server, and sends the data sheet to the lighting system, so that the lighting system can intelligently identify different users, and the parameter value of the lighting system is adjusted to meet the expectation of different users.

Referring to fig. 2, a WeChat-based lighting system control apparatus that may perform the above-described WeChat-based lighting system control method, wherein the control apparatus includes: the system comprises a micro-trusted terminal 110, a cloud server 120 and a database 130, wherein the micro-trusted terminal 110 and a lighting system 140 are both connected to the internet, and the micro-trusted terminal 110 is used for acquiring key information input by a user and a MAC address of the lighting system 140, and transmitting the key information and the MAC address of the lighting system 140 to a user message receiving terminal of a micro-trusted public number platform;

the database 130 is used for recording a lighting parameter table pre-entered by a user;

the cloud server 120 is configured to include: acquiring the key information and the MAC address of the lighting system 140 from a user message receiving end of the WeChat public number platform, accessing the database 130 and downloading a data table matched with the key information, transmitting the lighting parameter table to the lighting system 140 according to the MAC address, and transmitting the parameter information fed back by the lighting system 140 to a customer service message transmitting end of the WeChat public number platform;

the lighting system 140 is configured to adjust its own parameters by using the parameter values in the lighting parameter table as target values, and after the adjustment is completed, feed back the adjusted parameter information to the cloud server 120.

The control device creatively utilizes the user message receiving end of the WeChat public number platform, downloads the data sheet by taking the secret key information as a link through the cloud server 120, and sends the data sheet to the lighting system 140, so that the lighting system 140 can intelligently identify different users, and the parameter value of the lighting system is adjusted to meet the expectations of different users.

As an optimization, the WeChat end 110 is provided with: the password acquisition module, the fingerprint acquisition module or the face information acquisition module. The password obtaining module can obtain password information input by a user, the fingerprint obtaining module can obtain fingerprint information input by the user, and the face information obtaining module can obtain face information input by the user.

As an optimization, the lighting system 140 is provided with: the device comprises a brightness value adjusting module and a color temperature adjusting module. The brightness value and the color temperature of the lighting system can be adjusted by arranging the brightness value adjusting module and the color temperature adjusting module.

The WeChat-based lighting system control device can be operated in computing equipment such as desktop computers, notebooks, palm computers and cloud servers. The WeChat-based lighting system control device can be operated by a device comprising, but not limited to, a processor and a memory. It will be appreciated by those skilled in the art that the example is merely an example of a WeChat based lighting system control apparatus and does not constitute a limitation of a WeChat based lighting system control apparatus and may include more or less components than, or in combination with, certain components, or different components, for example, the WeChat based lighting system control apparatus may also include input output devices, network access devices, buses, etc.

The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center for the device operating the entire WeChat based lighting system control device, with various interfaces and lines connecting the various parts of the entire WeChat based lighting system control device operable device.

The memory may be used to store the computer programs and/or modules, and the processor may implement the various functions of the one kind of WeChat based lighting system control apparatus by running or executing the computer programs and/or modules stored in the memory, and by invoking the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.

While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that the present invention is not limited to the details of the embodiments shown and described, but is capable of numerous equivalents and substitutions without departing from the spirit of the invention and its scope is defined by the claims appended hereto.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种进料仓的除静电除尘装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!