CN113743143B - Distribution network binding method and system of intelligent equipment of Internet of things - Google Patents
Distribution network binding method and system of intelligent equipment of Internet of things Download PDFInfo
- Publication number
- CN113743143B CN113743143B CN202111054443.5A CN202111054443A CN113743143B CN 113743143 B CN113743143 B CN 113743143B CN 202111054443 A CN202111054443 A CN 202111054443A CN 113743143 B CN113743143 B CN 113743143B
- Authority
- CN
- China
- Prior art keywords
- intelligent
- internet
- things
- router
- service platform
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10009—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
- G06K7/10297—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/50—Secure pairing of devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Computer Security & Cryptography (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a network allocation binding method and system of intelligent equipment of the Internet of things, comprising the following steps: when the NFC card is touched with an NFC module of the intelligent equipment of the Internet of things, the NFC module acquires router information stored in the NFC card in advance; the NFC module sends router information to the intelligent module, the intelligent module is connected with a corresponding router, after the connection is successful, a device registration request is sent to the cloud service platform through the router, and when the mobile terminal is adopted to scan the SN label, the mobile terminal sends the scanned SN label to the cloud service platform; after receiving the SN label, the cloud service platform binds the intelligent device of the Internet of things corresponding to the SN label with the mobile terminal sending the SN label. The invention can greatly reduce the occurrence of the situation that the equipment network distribution is not smooth due to the fact that the user fails to send the router password.
Description
Technical Field
One or more embodiments of the present disclosure relate to the technical field of intelligent devices, and in particular, to a method and a system for binding a distribution network of an intelligent device of an internet of things.
Background
The network distribution binding of the Internet of things equipment refers to that when the Internet of things equipment is used for the first time, a router in the home of a user needs to be connected, after the equipment has the function of surfing the Internet, equipment registration can be further carried out on a cloud platform, equipment binding is carried out with a mobile phone APP of the user, and the user can operate the equipment conveniently at a mobile phone end. At present, although developers have made various simplifications on the network distribution flow of the internet of things equipment, from the point of market feedback, the network distribution binding problem of the equipment is still a great pain point of user experience, and the main problem is that a user needs to input router information on a mobile phone APP in the network distribution process of the equipment, but a router password is easy to forget, so that the network distribution binding of the internet of things equipment is not facilitated.
Disclosure of Invention
One or more embodiments of the present specification describe a network allocation binding method and system for an intelligent device of the internet of things.
According to a first aspect, there is provided a network allocation binding method of an intelligent device of the internet of things, including:
when an NFC card is touched with an NFC module of an intelligent device of the Internet of things, the NFC module acquires router information pre-stored in the NFC card; the intelligent equipment of the Internet of things comprises the NFC module, an intelligent module and an SN tag, wherein the NFC module and the intelligent module are connected through a serial port;
the NFC module in the intelligent equipment of the Internet of things sends the router information to the intelligent module; the intelligent module is connected with a corresponding router according to the router information, and after the router is connected successfully, a device registration request is sent to a cloud service platform through the router, so that the cloud service platform registers device information corresponding to the intelligent device of the Internet of things in a device information base;
when the mobile terminal is adopted to scan the SN label, the mobile terminal sends the scanned SN label to the cloud service platform; and after receiving the SN label, the cloud service platform binds the intelligent equipment of the Internet of things corresponding to the SN label with the mobile terminal for sending the SN label.
According to a second aspect, there is provided a network binding system for an intelligent device of the internet of things, including: NFC card, mobile terminal, high in the clouds service platform and thing networking smart machine, thing networking smart machine includes NFC module, intelligent module and SN label, NFC module with the intelligent module passes through the serial ports connection; wherein:
the NFC module is used for acquiring router information pre-stored in the NFC card and sending the router information to the intelligent module when the NFC card is touched with the NFC module of the intelligent equipment of the Internet of things; the intelligent module is used for connecting the corresponding router according to the router information, and sending a device registration request to a cloud service platform through the router after the router is connected successfully, so that the cloud service platform registers device information corresponding to the intelligent device of the Internet of things in a device information base; the mobile terminal is used for: when the mobile terminal is adopted to scan the SN label, the scanned SN label is sent to the cloud service platform; and the cloud service platform is used for binding the intelligent equipment of the internet of things corresponding to the SN with the mobile terminal for sending the SN after receiving the SN.
According to the network distribution binding method and system for the intelligent equipment of the Internet of things, the NFC card and the NFC module built in the intelligent equipment of the Internet of things are adopted to achieve operations such as equipment registration of the intelligent equipment of the Internet of things, binding between the intelligent equipment and the mobile terminal and the like. Once the router information is stored on the NFC card by the user, any intelligent equipment supporting the NFC reading function of the Internet of things can realize one touch of the Internet. The operation flow of the distribution network in the traditional sense is reduced no matter the mobile terminal or the intelligent module, because the mobile terminal does not need to be connected with the intelligent equipment of the Internet of things any more. Meanwhile, the network distribution operation steps of the user are simplified, and the NFC card which is written with the router information is adopted, so that the user does not need to manually input the password information of the router, and the network distribution method has good application prospect in the future. According to the invention, the NFC technology is introduced into the intelligent equipment, so that the network distribution binding procedure is simplified, and the operation of a user is simpler. Because the mobile terminal does not need to be connected with the intelligent module any more, the router information acquisition mode of the intelligent device is obtained from the NFC card in a touch mode through the NFC module, and therefore the situation that the equipment network distribution is not smooth due to the fact that a user fails to send a router password can be greatly reduced.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present description, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a network allocation binding method of an intelligent device of the internet of things in an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a network binding system for an intelligent device of the Internet of things in the prior art;
fig. 3 is a schematic diagram of a network binding system of an intelligent device of the internet of things according to an embodiment of the present disclosure.
Detailed Description
The following describes the scheme provided in the present specification with reference to the drawings.
In a first aspect, the present invention provides a network allocation binding method of an intelligent device of the internet of things, referring to fig. 1, the method includes the following steps S110 to S130:
s110, when an NFC card is touched with an NFC module of an intelligent device of the Internet of things, the NFC module acquires router information stored in the NFC card in advance;
The intelligent equipment of the Internet of things comprises an NFC module, an intelligent module and an SN tag, wherein the NFC module and the intelligent module are connected through a serial port.
NFC (english: near Field Communication, chinese: near field communication) is a radio technology of short-range high frequency.
It can be understood that the SN tag is tag information for identifying the internet of things device. An intelligent module, e.g., a WIFI module. The NFC module has an NFC reading function.
It can be appreciated that the router information (i.e. the router account number, the password, etc.) needs to be written in the NFC card in advance, and then the NFC module of the internet of things intelligent device (e.g. the intelligent air conditioner) of the NFC card to which the router information is written is touched, so that the NFC module can read the router information in the NFC card.
In particular implementations, the pre-storing of router information in the NFC card may include: and after the user fills in the router information and submits the router information, the second application program on the mobile terminal prompts the user to touch the NFC card on the mobile terminal so that an NFC identification chip in the mobile terminal writes the router information filled in and submitted on the second application program into the NFC card.
The mobile terminal with the second application installed therein may not be the same as the application terminal with the first application installed therein. The second application program is used for writing router information into the NFC card, and the NFC identification chip is arranged in the mobile terminal provided with the second application program. And the first application program is used for controlling the intelligent equipment of the Internet of things.
Specifically, the user may input the router information on the router information filling interface of the second application program, and then submit the information, so that the second application program prompts the user to touch the NFC card on the mobile terminal, and when the user touches the NFC card on the mobile terminal, the NFC identification chip in the mobile terminal identifies the NFC card, and then the router information filled and submitted by the user on the second application program is pulled out and written into the NFC card. Of course, after the writing is completed, the NFC identification chip may notify the second application program, and further display the prompt information of the writing completion on the display interface of the mobile terminal, and then the NFC card may be removed.
It is understood that only one write operation is required in the NFC card, and then the application of the NFC card does not need to rewrite the router information.
S120, the NFC module in the intelligent equipment of the Internet of things sends the router information to the intelligent module; the intelligent module is connected with a corresponding router according to the router information, and after the router is connected successfully, a device registration request is sent to a cloud service platform through the router, so that the cloud service platform registers device information corresponding to the intelligent device of the Internet of things in a device information base;
the NFC module for acquiring the router information sends the router information to the intelligent module through the serial port, then the intelligent module searches in the surrounding environment according to the router information, and the router is connected after the corresponding router is searched, so that networking of the intelligent equipment of the Internet of things can be realized. That is, the internet of things intelligent device (e.g., a brand-a intelligent air conditioner) may perform information interaction through the router and a corresponding cloud service platform (e.g., a brand-a air conditioner cloud platform).
It can be understood that the first information interaction between the intelligent device of the internet of things and the cloud service platform is device registration, namely adding the device information of the intelligent device of the internet of things in the device information base of the cloud service platform. Specifically, the intelligent device of the internet of things sends a device registration request to the cloud service platform through the router, so that when the cloud service platform receives the device registration request, device information corresponding to the intelligent device of the internet of things is registered in the device information base.
Of course, after the cloud service platform finishes registering, a message of successful registering is issued to the intelligent equipment of the Internet of things through the router, and the message is displayed through a display panel of the intelligent equipment of the Internet of things.
S130, when the mobile terminal is adopted to scan the SN, the mobile terminal sends the scanned SN to the cloud service platform; and after receiving the SN label, the cloud service platform binds the intelligent equipment of the Internet of things corresponding to the SN label with the mobile terminal for sending the SN label.
After the device registration is performed through S120, the internet of things intelligent device and the mobile terminal of the user are bound, typically, the mobile terminal installed with the first application program is bound, and after the binding, the user can control the internet of things intelligent device through the first application program.
Specifically, a user scans an SN (serial number) tag on an intelligent device of the Internet of things through scanning software on the mobile terminal, the scanned SN tag is sent to a cloud service platform, and the mobile terminal can carry device information of the mobile terminal when sending the SN tag. The cloud service platform receives the SN label and also knows which mobile terminal sends the SN label, so that the SN label and the equipment information of the mobile terminal are bound, and further the binding of the intelligent equipment of the Internet of things and the mobile terminal is realized.
It can be understood that the mobile terminal and the cloud service platform can communicate through a router, and can also communicate through data traffic (for example, 2G-5G), and other communication modes can be adopted.
In specific implementation, the method provided by the invention can further comprise S140-S150:
s140, the cloud service platform determines the equipment model corresponding to the intelligent equipment of the Internet of things according to the SN label, and sends a control interface data packet corresponding to the equipment model to the mobile terminal; the cloud service platform is provided with control interface data packages of intelligent devices of the Internet of things with various device models;
after the binding between the internet of things intelligent device and the mobile terminal is completed through S130, an interface for controlling the internet of things intelligent device through the mobile terminal may be entered. The control of the intelligent equipment of the Internet of things can be realized through a first application program installed on the mobile terminal. However, since one brand of intelligent equipment generally has a plurality of models, and control modes, control parameters and the like of the intelligent equipment of the internet of things of different models may be different, corresponding control interfaces can be designed in advance for the intelligent equipment of the internet of things of each model, and then data packets of the control interfaces corresponding to the intelligent equipment of the internet of things of each model are stored on the cloud service platform.
After the cloud service platform binds the equipment, the model of the intelligent equipment of the Internet of things can be determined according to the received SN label, and then the corresponding control interface data packet is found according to the model, and then the control interface data packet is issued to the mobile terminal.
The pre-deployment process of the control interface data packet of the cloud service platform may include:
(1) The method comprises the steps that through the creation operation of a continuous integrated task in a Jenkins system on an operation and maintenance platform, the Jenkins system displays the task configuration interface so that personnel can configure a plurality of configuration parameters on the task configuration interface;
the configuration parameters comprise equipment model numbers, storage paths of compressed files of the control interface data packets and deployment paths of the compressed files. The storage path of the compressed file of the control interface data packet is the storage path of the compressed file on the ftp server, and the deployment path of the compressed file is the deployment path on the cloud service platform.
Wherein the control interface data packet is a UI packet.
The Jenkins system is an open source software project, is a continuous integration tool based on Java development, is used for monitoring continuous repeated work, and aims to provide an open and easy-to-use software platform so that continuous integration of software becomes possible. The Jenkins system is installed on an operation and maintenance platform. A persistent integration task, i.e., CI JOB, is a task that builds multiple projects through automated integration.
That is, when a person creates a continuous integration task on the Jenkins system of the operation and maintenance platform, the Jenkins system displays a task configuration interface, so that a user can configure relevant parameters of the task on the task configuration interface, and the user submits the relevant parameters after the parameter configuration is completed, so that the Jenkins system can create a continuous integration task according to each configured parameter, further execute the continuous integration task, and complete the task.
(2) After the configuration and submitting operations on the plurality of configuration parameters, the Jenkins system on the operation and maintenance platform executes corresponding script files according to the plurality of configuration parameters so as to perform automatic deployment operations, wherein the automatic deployment operations comprise: and acquiring a compressed file of a control interface data packet corresponding to the equipment model from an ftp server according to the storage path, uploading the compressed file to a deployment path of the cloud service platform for automatic deployment, and automatically deleting a cache file of the Jenkins system after deployment is completed.
That is, personnel submit (e.g., click a "CI build" button) after setting each parameter on the task configuration interface, so that the Jenkins system executes the corresponding script file according to each configuration parameter, thereby realizing the deployment of the compressed file.
That is, executing the script code may implement: and downloading a compressed file of a control interface data packet corresponding to the equipment model from the ftp server according to the storage path, uploading the compressed file to a deployment path of the cloud service platform for automatic deployment, and automatically deleting the cache file of the Jenkins system after the deployment is completed.
In a specific implementation, the Jenkins system executes the corresponding script file according to the plurality of configuration parameters to perform an automatic deployment operation, and may include: forming corresponding deployment projects according to each configuration parameter and the corresponding script file; different configuration parameters correspond to different deployment projects; the automatic deployment operation is realized by executing each deployment project.
It can be understood that different configuration parameters correspond to different script files, thereby forming different deployment projects. For example, the device model corresponds to deployment item 1, the deposit path corresponds to deployment item 2, and the deployment path corresponds to deployment item 3. After personnel set and submit each configuration parameter, the Jenkins system forms each corresponding task item and sequentially executes each task item, so that the deployment of the UI package is realized.
It can be understood that the compressed file of the UI package can be downloaded from the ftp server through the above steps, and configuration information of the downloaded compressed file and configuration input by personnel on the task configuration interface can be checked, and the configuration information is uploaded to the cloud service platform after checking without errors, and the cache file is deleted. After the compressed file is deployed to the corresponding cloud service platform, the first application program of the mobile phone end can find the corresponding UI package compressed file according to the equipment model of the intelligent equipment, and download and update the corresponding UI interface.
Through the steps, the UI package compressed file can be automatically downloaded and automatically uploaded to the corresponding cloud service platform to realize the automatic deployment of the UI package, so that repeated manual intervention can be reduced, subjective errors can be reduced, the accuracy of the automatic deployment of the UI package is effectively improved, manpower and material resources are saved, and the product development efficiency is improved.
Of course, besides performing UI package deployment on the cloud service platform in the above manner, the UI package deployment may also be performed on the test service platform in the above manner, so for distinguishing, the configuration parameters may further include deployment environments, where the deployment environments include a test environment and a formal environment, the test environment corresponds to the test service platform, and the formal environment corresponds to the cloud service platform. Before the compressed file of the control interface data packet corresponding to the equipment model is obtained from the ftp server according to the storage path, the automatic deployment operation may further include: judging whether the deployment environment is a formal environment or not, if so, allowing the step of acquiring the compressed file of the control interface data packet corresponding to the equipment model from the ftp server according to the storage path.
That is, after the deployment environment input by the personnel on the task configuration interface is determined to be the formal environment, the compressed file of the UI package can be downloaded from the ftp server according to the device model, because different deployment environments, different servers for downloading the UI package, different service platforms for deploying the UI package, the compressed file of the UI package can be downloaded from the ftp server only in the formal environment, and the compressed file of the UI package is deployed on the cloud service platform.
And S150, after receiving the control interface data packet, the mobile terminal determines a control interface of a first application program on the intelligent equipment of the Internet of things according to the control interface data packet, wherein the first application program is an application program for controlling the intelligent equipment of the Internet of things.
That is, after receiving the control interface data packet sent by the cloud service platform, the mobile terminal performs a certain operation according to the data packet, so as to set the control interface of the first application program. And then the user can control the intelligent equipment of the Internet of things on the control interface of the first application program. Specifically, the mobile terminal sends the control instruction to the intelligent equipment of the Internet of things through the router, and an intelligent module on the intelligent equipment of the Internet of things sends the control instruction to a controller of the intelligent equipment of the Internet of things, so that the operation of the intelligent equipment of the Internet of things is controlled through the controller.
Of course, if the internet of things intelligent device is disconnected due to network and equipment faults, the internet of things intelligent device cannot feed back the control of the mobile terminal, so that a user is unknown and does not know where the problem is. The method provided by the invention can further comprise: the mobile terminal acquires the network connection state of the intelligent device of the Internet of things from the cloud service platform by adopting the first application program, and allows a user to control the operation of the intelligent device of the Internet of things through a control interface of the first application program when the network connection state is an on-line state.
That is, before the first application program of the mobile terminal issues the control instruction to the intelligent device of the internet of things, the network connection state of the intelligent device of the internet of things is acquired from the cloud service platform, and if the acquired network connection state is an online state, the user can control on the first application program. If the acquired network connection state is an offline state, the first application program displays that the intelligent device of the Internet of things is in the offline state so as to remind the user, and the first application program can also enable the user to be unable to operate on the control interface in a mode of locking the control interface.
In order to more conveniently control the intelligent equipment of the Internet of things by a user through the mobile terminal and realize personalized control, the method provided by the invention can further comprise the following steps:
s160, after the NFC card is touched on the mobile terminal, a first application program on the mobile terminal acquires the identification information of the NFC card, displays a personalized customization interface for the equipment state, and sends the identification information of the NFC card and the personalized customization information to a cloud service platform for storage in response to filling and submitting operations of a user on the personalized customization information of the equipment state;
that is, before the personalized control is performed, the personalized control information needs to be set. Specifically, the user firstly touches the NFC card on the mobile terminal, and after the NFC identification chip of the mobile terminal senses the NFC card, the NFC card identification information is read, and then the identification information is sent to the first application program, and after the first application program receives the identification information, the personalized customization interface is displayed, so that the user can fill in relevant control information on the personalized customization interface, for example, for an intelligent air conditioner, the temperature and the operation mode of a certain time period are set, and when the sleep mode is started, and the like. After the user fills out and submits the identification information and the personalized customization information of the NFC are sent to the cloud service platform for storage by the first application program.
Here, the identification information of NFC refers to identification information of NFC, which is different from the SN tag described above.
S170, after the NFC card is touched to the mobile terminal again, the first application program obtains the identification information of the NFC card, and sends a control request for personalized customization of the intelligent equipment of the Internet of things to the cloud service platform, wherein the control request comprises the identification information;
and S180, after receiving the control request, the cloud service platform searches corresponding personalized customization information according to the identification information, generates a corresponding control instruction according to the personalized customization information, and sends the control instruction to the intelligent equipment of the Internet of things through the router so that the intelligent equipment of the Internet of things can control according to the control instruction.
That is, when the NFC card is touched to the mobile terminal again, the first application program obtains the identification information thereof through the NFC identification chip, and then sends a control request for personalized customization of the bound intelligent device of the internet of things to the cloud service platform.
It is understood that the step S160 needs to be performed only once, and the personalized customization information pre-stored in S160 may be used an unlimited number of times in S170 and S180. That is, after the personalized customization information is set through S160, parameter setting is not required on the first application program every time the user wants to control the intelligent device of the internet of things, and personalized control on the intelligent device of the internet of things can be realized only by touching the NFC card on the mobile terminal.
If the user needs to enter the first application program of the mobile phone terminal first according to the original operation steps of the mobile phone terminal, and enter the management interface of the intelligent device to be controlled online, setting of each parameter is carried out one by one, which is troublesome. The NFC card is just like a customized key, and a user can realize the control of the preset function by only one key 'swiping card'.
In specific implementation, the method provided by the invention can further comprise the following steps:
s190, when the NFC card is touched to the NFC module of the intelligent equipment of the Internet of things, the NFC module acquires the identification information of the NFC card and sends the identification information to the intelligent module, and the intelligent module sends the identification information to the cloud service platform through the router;
S200, the cloud service platform searches corresponding personalized customization information according to the identification information, generates corresponding control instructions according to the personalized customization information, and sends the control instructions to the intelligent equipment of the Internet of things through the router so that the intelligent equipment of the Internet of things can be controlled according to the control instructions.
That is, when the user contacts the NFC module of the intelligent device of the Internet of things with the NFC card, the NFC module can acquire the identification information of the NFC card, and then the identification information is sent to the intelligent module, the intelligent module sends the identification information to the cloud service platform through the router, the cloud service platform searches personalized customization information corresponding to the identification information, and then generates a corresponding control instruction, the control instruction is sent to the intelligent module of the intelligent device of the Internet of things, the intelligent module forwards the control instruction to the controller, and then the controller controls the intelligent device of the Internet of things according to the control instruction.
That is, the step S160 needs to be performed only once, and S190 and S200 may use the personalized customization information stored in advance in S160 an unlimited number of times. That is, after the personalized customization information is set through S160, each time the user wants to control the intelligent device of the internet of things, parameter setting is not required on the first application program, and personalized control on the intelligent device of the internet of things can be realized only by touching the NFC card to the NFC module of the intelligent device of the internet of things.
Therefore, the NFC card can be used as a dedicated control key for a certain family member, and similarly, according to step S160, a plurality of NFC cards can be added as dedicated control keys for other family members, so that the running state of the intelligent air conditioner can be switched by one key according to different requirements, and the operation is quite convenient.
Referring to fig. 2, a network binding system for intelligent devices in the prior art mainly relates to intelligent devices to be connected, a home router, a mobile phone APP and a cloud service platform.
The intelligent equipment to be distributed with the network carries an equipment tag of SN, an intelligent module is arranged, the intelligent module is connected with a home router after being distributed with the network through a mobile phone APP, and then a cloud platform can be accessed to complete equipment registration, so that binding of the mobile phone APP and the intelligent equipment is realized.
The intelligent module comprises a single WiFi module and a WiFi+BT module. When the device is to be configured with a network, the single WiFi module is in an AP (Access Point) mode with an SN hot spot. In the network distribution process, the mobile phone APP establishes UDP (namely User Datagram Protocol, user data packet protocol) network connection with the SN hot spot of the WiFi module, then sends router information (namely account number and password) to the WiFi module, and after the WiFi module acquires the router information, the WiFi module switches to STA (namely Station) mode to connect the router. For the WiFi+BT module, the Bluetooth function is added on the basis of the original WiFi function, and when the equipment is to be configured with a network, the module plays a role in playing a WiFi hotspot of SN and plays a role in playing a Bluetooth hotspot of SN. In the network configuration process, the mobile phone APP can search and connect with the Bluetooth hot spot preferentially, then the information of the router is sent to the WiFi+BT module (because compared with UDP data transmission, the Bluetooth transmission is more reliable and effectively reduces the packet loss rate of the data), after the WiFi+BT module acquires the router information, the WiFi state is switched to the STA mode and is connected with the router, and the Bluetooth hot spot can be selected to be continuously opened or closed (namely, the Bluetooth function of the WiFi+BT module is only used in the network configuration stage of equipment at present).
Based on fig. 2, the network binding flow of the intelligent device in the prior art can be briefly described as:
(1) The mobile phone APP is firstly connected to a home router;
(2) The mobile phone APP scans an SN (serial number) tag carried by the intelligent equipment to be distributed, searches WiFi hot spots/Bluetooth hot spots and establishes connection with the WiFi hot spots/Bluetooth hot spots to carry out data communication;
(3) The mobile phone APP sends the information packet of the home router to the intelligent module through WiFi or Bluetooth, and the intelligent module starts to connect the router after receiving the router information;
(4) After the intelligent module is connected with the router, equipment registration is started at the cloud end and equipment binding is completed (when equipment registration is performed, registration information comprises information such as SN labels of equipment, equipment models and the like);
(5) After the mobile phone APP is loaded to the UI control interface of the equipment, the running state of the intelligent equipment can be operated.
Because before the mobile phone APP sends the home router information to the intelligent module, the mobile phone terminal can only acquire the account number of the router by itself, and the password of the router needs to be manually input to the mobile phone APP, the process is a pain point of user experience, and when the password of the router is set too complex or the user wants not to get up the password of the home router, poor experience is necessarily brought to equipment network allocation.
Referring to fig. 3, fig. 3 depicts a network binding system according to the present invention, where the system includes an intelligent device to be connected to a network, a home router, an NFC card, a mobile phone application 2 (i.e., a second application), a mobile phone application 1 (i.e., a first application), and a cloud service platform.
The intelligent equipment of the distribution network carries an equipment tag of SN, and is provided with an intelligent module and an NFC module, wherein the NFC module performs serial data interaction with the intelligent module. NFC (i.e., near Field Communication, near field communication) is a wireless connection technology that provides easy, secure, and quick communication. The home router, the NFC card and the mobile phone application 2 complete a function, namely the information of the home router is written on the NFC card through the mobile phone application 2. Such an operation needs to be performed only once, once the user saves the router information on the NFC card (the NFC card at this time is an accessory of the home router). When other devices want to acquire the information of the home router, the information can be acquired only by touching the NFC card. When the intelligent device is in a network state to be configured, the NFC card which is written with the home router information is touched with the NFC module of the intelligent device, the NFC module obtains the router information and sends the information to the intelligent module through the serial port, and the intelligent module is connected with the router after obtaining the router information and registers the device on the cloud service platform.
After the mobile phone application program 1 scans the SN tag of the intelligent device, the corresponding UI package is directly pulled at the cloud service platform according to the SN tag, the control interface is configured according to the UI package, and meanwhile the cloud service platform binds the SN tag and the mobile phone. Further, the application program 1 obtains the network connection state of the device on the cloud service platform according to the SN tag of the intelligent device, and operates the operation of the intelligent device according to the network connection state of the intelligent device.
Based on fig. 3, the network binding flow of the intelligent device can be briefly described as:
(1) Storing the home router information into the NFC card through the mobile phone application program 2, and omitting the step if the NFC card has the home router information;
(2) And the NFC module of the intelligent equipment to be connected with the network is touched with the NFC card, and the NFC module acquires the home router information. Further, the intelligent module acquires information of the home router from the NFC module through the serial port, and the intelligent module is connected with the home router and registers equipment in the cloud server;
(3) The mobile phone application program 1 scans the SN label of the intelligent device, directly pulls the UI package with the corresponding model from the cloud service platform, and binds the intelligent device and the mobile terminal on the cloud service platform. Further operating the running state of the intelligent equipment according to the network connection condition of the intelligent equipment;
The mobile phone application 2, the mobile phone application 1, the NFC card, and the NFC module set forth above are further explained as follows: the mobile phone application 2 is only used to complete writing home router information into the NFC card, and the user is not used once the router information is stored on the NFC card by the application 2. The mobile phone application program 1 is an APP which needs to be used by a user in the process of using the intelligent equipment, and has the main function that after the user scans the SN of the intelligent equipment through the mobile phone application program 1, the control interface of the intelligent equipment is directly obtained from a cloud server, the mobile phone of the application program 1 and the intelligent equipment are bound, and the mobile phone application program 1 also controls the intelligent equipment according to the network connection condition of the intelligent equipment. The NFC card is an NFC tag, and the NFC module is an NFC card reader.
It can be understood that the NFC card and the NFC module built in the intelligent equipment of the Internet of things are adopted to realize the operations of equipment registration, binding with the mobile terminal and the like of the intelligent equipment of the Internet of things. From the application scenario, once the user stores the router information on the NFC card, any internet of things intelligent device supporting the NFC reading function can realize one touch of internet. From the development perspective of the intelligent device of the internet of things, the operation flow of the distribution network in the traditional sense is reduced no matter whether the intelligent device is a mobile terminal or an intelligent module, because the mobile terminal does not need to be connected with the intelligent device of the internet of things any more. From the perspective of user experience, the network distribution operation steps of the user are simplified, and the NFC card which is written with the router information is adopted, so that the user does not need to manually input the password information of the router, and the network distribution method has good application prospect in the future. According to the invention, the NFC technology is introduced into the intelligent equipment, so that the network distribution binding procedure is simplified, and the operation of a user is simpler.
Furthermore, the intelligent module in the invention can only select a module with a single WiFi function, and the network state is not switched by the AP and the STA in the network distribution process of the equipment, because the mobile phone APP does not need to be connected with the intelligent module any more, the router information acquisition mode of the intelligent equipment to be distributed is obtained from the NFC card in a touch mode through the NFC module. The invention can greatly reduce the occurrence of the situation that the equipment network distribution is not smooth due to the fact that the user fails to send the router password.
Moreover, since the process of writing home router information in the NFC card can be operated by using one APP (i.e., the second application program) alone, it is required that the user manually inputs the router password once. Once this step is completed, any internet of things intelligent device supporting the NFC reading function can realize a touch of internet by touching the NFC card, and this function brings great convenience to people in life. Compared with the prior single WiFi intelligent module, the method does not need the switching between the home router and the AP hot spot of the intelligent module by a user, and does not need the connection between the mobile phone APP and the intelligent module and the data transmission
In a second aspect, a network allocation binding system of an intelligent device of the internet of things is provided, referring to fig. 3, the system includes: NFC card, mobile terminal, high in the clouds service platform and thing networking smart machine, thing networking smart machine includes NFC module, intelligent module and SN label, NFC module with the intelligent module passes through the serial ports connection; wherein:
The NFC module is used for acquiring router information pre-stored in the NFC card and sending the router information to the intelligent module when the NFC card is touched with the NFC module of the intelligent equipment of the Internet of things; the intelligent module is used for connecting the corresponding router according to the router information, and sending a device registration request to a cloud service platform through the router after the router is connected successfully, so that the cloud service platform registers device information corresponding to the intelligent device of the Internet of things in a device information base; the mobile terminal is used for: when the mobile terminal is adopted to scan the SN label, the scanned SN label is sent to the cloud service platform; and the cloud service platform is used for binding the intelligent equipment of the internet of things corresponding to the SN with the mobile terminal for sending the SN after receiving the SN.
It may be understood that, for the explanation, examples, beneficial effects, etc. of the content provided by the embodiment of the present invention, reference may be made to corresponding parts in the above method, and details are not repeated herein.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the present invention may be implemented in hardware, software, a pendant, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention in further detail, and are not to be construed as limiting the scope of the invention, but are merely intended to cover any modifications, equivalents, improvements, etc. based on the teachings of the invention.
Claims (9)
1. The network allocation binding method of the intelligent equipment of the Internet of things is characterized by comprising the following steps of:
when an NFC card is touched with an NFC module of an intelligent device of the Internet of things, the NFC module acquires router information pre-stored in the NFC card; the intelligent equipment of the Internet of things comprises the NFC module, an intelligent module and an SN tag, wherein the NFC module and the intelligent module are connected through a serial port;
The NFC module in the intelligent equipment of the Internet of things sends the router information to the intelligent module; the intelligent module is connected with a corresponding router according to the router information, and after the router is connected successfully, a device registration request is sent to a cloud service platform through the router, so that the cloud service platform registers device information corresponding to the intelligent device of the Internet of things in a device information base;
when the mobile terminal is adopted to scan the SN label, the mobile terminal sends the scanned SN label to the cloud service platform; after receiving the SN label, the cloud service platform binds the intelligent equipment of the Internet of things corresponding to the SN label with the mobile terminal for sending the SN label;
wherein the method further comprises:
after the NFC card is touched on the mobile terminal, a first application program on the mobile terminal acquires the identification information of the NFC card, displays a personalized customization interface for the equipment state, and sends the identification information of the NFC card and the personalized customization information to a cloud service platform for storage in response to filling and submitting operations of a user on the personalized customization information of the equipment state;
After the NFC card is touched to the mobile terminal again, the first application program obtains the identification information of the NFC card, and sends a control request for personalized customization of the intelligent equipment of the Internet of things to the cloud service platform, wherein the control request comprises the identification information;
after receiving the control request, the cloud service platform searches corresponding personalized customization information according to the identification information, generates a corresponding control instruction according to the personalized customization information, and sends the control instruction to the intelligent equipment of the Internet of things through the router so that the intelligent equipment of the Internet of things can control according to the control instruction.
2. The method as recited in claim 1, further comprising:
the cloud service platform determines the equipment model corresponding to the intelligent equipment of the Internet of things according to the SN label, and sends a control interface data packet corresponding to the equipment model to the mobile terminal; the cloud service platform is provided with control interface data packages of intelligent devices of the Internet of things with various device models;
after receiving the control interface data packet, the mobile terminal determines a control interface of a first application program on the intelligent equipment of the Internet of things according to the control interface data packet, wherein the first application program is an application program for controlling the intelligent equipment of the Internet of things.
3. The method as recited in claim 2, further comprising:
the mobile terminal acquires the network connection state of the intelligent device of the Internet of things from the cloud service platform by adopting the first application program, and allows a user to control the operation of the intelligent device of the Internet of things through a control interface of the first application program when the network connection state is an on-line state.
4. The method as recited in claim 1, further comprising:
when the NFC card is touched to the NFC module of the intelligent equipment of the Internet of things, the NFC module acquires identification information of the NFC card and sends the identification information to the intelligent module, and the intelligent module sends the identification information to the cloud service platform through the router;
the cloud service platform searches corresponding personalized customization information according to the identification information, generates corresponding control instructions according to the personalized customization information, and sends the control instructions to the intelligent equipment of the Internet of things through the router so that the intelligent equipment of the Internet of things can be controlled according to the control instructions.
5. The method of claim 1, wherein the pre-storing of router information in the NFC card includes:
And after the user fills in the router information and submits the router information, the second application program on the mobile terminal prompts the user to touch the NFC card on the mobile terminal so that an NFC identification chip in the mobile terminal writes the router information filled in and submitted on the second application program into the NFC card.
6. The method of claim 2, wherein the pre-deployment process of the control interface data package of the cloud service platform comprises:
the method comprises the steps that through the creation operation of a continuous integrated task in a Jenkins system on an operation and maintenance platform, the Jenkins system displays the task configuration interface so that personnel can configure a plurality of configuration parameters on the task configuration interface; the configuration parameters comprise equipment model numbers, storage paths of compressed files of control interface data packets and deployment paths of the compressed files;
after the configuration and submitting operations on the plurality of configuration parameters, the Jenkins system on the operation and maintenance platform executes corresponding script files according to the plurality of configuration parameters so as to perform automatic deployment operations, wherein the automatic deployment operations comprise: and acquiring a compressed file of a control interface data packet corresponding to the equipment model from an ftp server according to the storage path, uploading the compressed file to a deployment path of the cloud service platform for automatic deployment, and automatically deleting a cache file of the Jenkins system after deployment is completed.
7. The method of claim 6, wherein the Jenkins system executing the corresponding script file according to the plurality of configuration parameters for automatic deployment operations comprises: forming corresponding deployment projects according to each configuration parameter and the corresponding script file; different configuration parameters correspond to different deployment projects; the automatic deployment operation is realized by executing each deployment project.
8. The method of claim 6, wherein the configuration parameters further comprise a deployment environment; before the compressed file of the control interface data packet corresponding to the equipment model is obtained from the ftp server according to the storage path, the automatic deployment operation further comprises: judging whether the deployment environment is a formal environment or not, if so, allowing the step of acquiring the compressed file of the control interface data packet corresponding to the equipment model from the ftp server according to the storage path.
9. The utility model provides a join in marriage net binding system of thing networking smart machine which characterized in that includes: NFC card, mobile terminal, high in the clouds service platform and thing networking smart machine, thing networking smart machine includes NFC module, intelligent module and SN label, NFC module with the intelligent module passes through the serial ports connection; wherein:
The NFC module is used for acquiring router information pre-stored in the NFC card and sending the router information to the intelligent module when the NFC card is touched with the NFC module of the intelligent equipment of the Internet of things; the intelligent module is used for connecting the corresponding router according to the router information, and sending a device registration request to a cloud service platform through the router after the router is connected successfully, so that the cloud service platform registers device information corresponding to the intelligent device of the Internet of things in a device information base; the mobile terminal is used for: when the mobile terminal is adopted to scan the SN label, the scanned SN label is sent to the cloud service platform; the cloud service platform is used for binding the intelligent equipment of the internet of things corresponding to the SN with the mobile terminal sending the SN after receiving the SN;
after the NFC card is touched on the mobile terminal, a first application program on the mobile terminal is used for acquiring identification information of the NFC card, displaying a personalized customization interface for equipment states, and sending the identification information of the NFC card and the personalized customization information to a cloud service platform for storage in response to filling and submitting operations of a user on the personalized customization information for the equipment states;
After the NFC card touches the mobile terminal again, the first application program is used for acquiring identification information of the NFC card, and sending a control request for personalized customization of the intelligent equipment of the Internet of things to the cloud service platform, wherein the control request comprises the identification information;
the cloud service platform is used for searching corresponding personalized customization information according to the identification information after receiving the control request, generating a corresponding control instruction according to the personalized customization information, and sending the control instruction to the intelligent equipment of the Internet of things through the router so that the intelligent equipment of the Internet of things can control according to the control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111054443.5A CN113743143B (en) | 2021-09-09 | 2021-09-09 | Distribution network binding method and system of intelligent equipment of Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111054443.5A CN113743143B (en) | 2021-09-09 | 2021-09-09 | Distribution network binding method and system of intelligent equipment of Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113743143A CN113743143A (en) | 2021-12-03 |
CN113743143B true CN113743143B (en) | 2023-08-22 |
Family
ID=78737422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111054443.5A Active CN113743143B (en) | 2021-09-09 | 2021-09-09 | Distribution network binding method and system of intelligent equipment of Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113743143B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114383278B (en) * | 2021-12-20 | 2024-08-16 | 青岛海尔空调器有限总公司 | Method and device for controlling air conditioner and air conditioner |
CN115022857A (en) * | 2022-05-26 | 2022-09-06 | 四川虹美智能科技有限公司 | Terminal system supporting rapid distribution network and setting NFC label function |
CN115190476B (en) * | 2022-06-28 | 2024-08-20 | 四川虹美智能科技有限公司 | Method for improving connection safety of air conditioner of Internet of things |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559516A (en) * | 2013-10-25 | 2014-02-05 | 小米科技有限责任公司 | NFC data transmission method, terminal equipment and server |
CN105721579A (en) * | 2016-02-17 | 2016-06-29 | 四川长虹电器股份有限公司 | Method for remotely controlling air conditioner through mobile terminal |
CN105785786A (en) * | 2016-04-22 | 2016-07-20 | 广东格兰仕集团有限公司 | NFC control-based intelligent household appliance and distribution network method thereof |
CN106375167A (en) * | 2016-10-13 | 2017-02-01 | 杭州鸿雁智能科技有限公司 | NFC-based intelligent home network distribution device and network distribution method |
WO2017206337A1 (en) * | 2016-06-02 | 2017-12-07 | 深圳朝伟达科技有限公司 | Vehicle control system |
CN110677474A (en) * | 2019-09-25 | 2020-01-10 | 中土智能科技(广州)有限公司 | Equipment adding method, device, equipment and storage medium |
CN111413883A (en) * | 2020-03-31 | 2020-07-14 | 广东美的制冷设备有限公司 | Control method and control device for household electrical appliance and computer storage medium |
CN111565137A (en) * | 2020-04-28 | 2020-08-21 | 北京芯创睿胜科技有限公司 | System and method for binding WiFi distribution network and equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150001186A (en) * | 2013-06-26 | 2015-01-06 | 삼성전자주식회사 | Image forming apparatus supporting function of near field communication (NFC) and method for providing user interface (UI) screen customized to NFC device |
KR20160027803A (en) * | 2014-09-02 | 2016-03-10 | 삼성전자주식회사 | Image forming apparatus supporting function of near field communication (nfc) and method for previewing scan data of image forming apparatus on mobile terminal |
CN105450655B (en) * | 2015-12-14 | 2019-05-28 | 小米科技有限责任公司 | Apparatus bound method and apparatus |
-
2021
- 2021-09-09 CN CN202111054443.5A patent/CN113743143B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559516A (en) * | 2013-10-25 | 2014-02-05 | 小米科技有限责任公司 | NFC data transmission method, terminal equipment and server |
CN105721579A (en) * | 2016-02-17 | 2016-06-29 | 四川长虹电器股份有限公司 | Method for remotely controlling air conditioner through mobile terminal |
CN105785786A (en) * | 2016-04-22 | 2016-07-20 | 广东格兰仕集团有限公司 | NFC control-based intelligent household appliance and distribution network method thereof |
WO2017206337A1 (en) * | 2016-06-02 | 2017-12-07 | 深圳朝伟达科技有限公司 | Vehicle control system |
CN106375167A (en) * | 2016-10-13 | 2017-02-01 | 杭州鸿雁智能科技有限公司 | NFC-based intelligent home network distribution device and network distribution method |
CN110677474A (en) * | 2019-09-25 | 2020-01-10 | 中土智能科技(广州)有限公司 | Equipment adding method, device, equipment and storage medium |
CN111413883A (en) * | 2020-03-31 | 2020-07-14 | 广东美的制冷设备有限公司 | Control method and control device for household electrical appliance and computer storage medium |
CN111565137A (en) * | 2020-04-28 | 2020-08-21 | 北京芯创睿胜科技有限公司 | System and method for binding WiFi distribution network and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113743143A (en) | 2021-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113743143B (en) | Distribution network binding method and system of intelligent equipment of Internet of things | |
US10893094B2 (en) | System and method for appliance detection and app configuration | |
CN109819426B (en) | Network distribution method of household appliance, mobile terminal and storage medium | |
US6529728B1 (en) | Method and apparatus in a wireless communication system for selectively providing information specific to a location | |
CN100372328C (en) | Network and method for controlling appliances | |
CN106792023B (en) | Method and system for controlling smart television application by mobile terminal | |
CN109669714A (en) | Firmware upgrade method, device and computer readable storage medium | |
KR100713045B1 (en) | Network electronic appliance control system | |
CN113760302B (en) | Jenkins-based UI package deployment method and system | |
CN108055339B (en) | Household appliance interconnection method and device, storage medium and cloud platform server | |
CN103605531A (en) | Household appliance control method and device and mobile terminal | |
CN106648781B (en) | Method and system for upgrading remote firmware of communication equipment | |
CN108198026B (en) | Household appliance sharing method, terminal and computer readable storage medium | |
KR20120089000A (en) | Apparatus and method for providing application auto install function in digital device | |
CN112436986B (en) | Distribution network method, distribution network device, distribution network equipment and computer readable storage medium | |
CN116347563A (en) | Method for accessing equipment to network | |
CN103180836A (en) | Control device, control system, and control method | |
CN112817593A (en) | Control page display method and device, storage medium and electronic device | |
CN106648805A (en) | Intelligent device, intelligent system, and method for intelligently installing application | |
CN113709256B (en) | Switching method of test environment and application environment | |
CN114780121A (en) | Sewing machine upgrading device | |
CN115022857A (en) | Terminal system supporting rapid distribution network and setting NFC label function | |
CN111726396B (en) | Device binding method and device, cloud and storage medium | |
CN104378403A (en) | Terminal and updating method thereof | |
CN106843870A (en) | The start resource loading method and device of multimedia terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |